Commit Graph

3593 Commits

Author SHA1 Message Date
Linas Vepstas
64e9809878 bug fix -- reconcile code wasn't calling transaction begin/end edit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4372 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 17:36:42 +00:00
Dave Peticolas
0d738a34b9 2001-06-02 Dave Peticolas <dave@krondo.com>
* src/register/gnome/gnucash-date-picker.c (gnc_date_picker_new):
	fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4371 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 11:31:47 +00:00
Dave Peticolas
29935d54a2 2001-06-02 Dave Peticolas <dave@krondo.com>
* src/SplitLedger.c: fix mem leak

	* src/gnome/top-level.c: handle X errors ourselves


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4370 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 09:56:54 +00:00
Linas Vepstas
2e486a0b0e hostname fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4369 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 05:40:15 +00:00
Linas Vepstas
25ddd5ece4 add a note
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4368 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 05:39:39 +00:00
Linas Vepstas
4414d37d18 add support for more query types
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4367 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:48:53 +00:00
Linas Vepstas
f4b7d36ea7 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4366 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:48:31 +00:00
Dave Peticolas
7c60893b24 2001-06-01 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c: use new scanf macro below


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4365 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:41:04 +00:00
Dave Peticolas
6c39681662 2001-06-01 Dave Peticolas <dave@krondo.com>
* src/engine/sixtp-dom-parsers.c (string_to_integer): use new
	scanf macro below

	* src/engine/sixtp-utils.c: use new scanf macro below

	* src/engine/gnc-numeric.c: use new scanf macro below

	* src/engine/gnc-engine-util.h: define GNC_SCANF_LLD macro to use
	for scanf long long int conversion. This is needed since there is
	not a common solution between Linux, Solaris, and FreeBSD. Thanks
	to Matthew Condell for finding the problem and to Matt and Alan
	Orndorff for testing it.

	* configure.in: invoke conversion test below

	* acinclude.m4: add test for %lld scanf conversion


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4364 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:40:26 +00:00
Linas Vepstas
3cc163db6e add some more debugging print statements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4363 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:28:16 +00:00
Linas Vepstas
6377fcac87 add comment
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4362 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:25:46 +00:00
Linas Vepstas
efda046118 add GPL
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4361 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:25:07 +00:00
Linas Vepstas
6fa92ff8cf add GPL license
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4360 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:23:45 +00:00
Linas Vepstas
e7307394ac add stuff to build escape.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4359 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:21:59 +00:00
Linas Vepstas
a35dbab9ba move string escape to its own separate file;
add GPL notice


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4358 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:12:52 +00:00
Linas Vepstas
183f84ac99 escape reserved chars in string.
copy from builder.c


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4357 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:09:28 +00:00
Linas Vepstas
c7ee6073df add a few print statements to teh debugging routine.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4356 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 03:19:12 +00:00
Linas Vepstas
3cbe9d91de remove usage of depricated routines.
In fact, this patch should be a no-op, since the
'depricated' routines merely have a new name.
Everything works exactly as before.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4355 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-01 22:46:02 +00:00
Linas Vepstas
05eb266172 remove usage of depricated routine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4354 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-01 21:53:17 +00:00
Christian Stimming
4c622bf8f9 Updated de.po -- still in the work, though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4353 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-01 16:12:56 +00:00
Dave Peticolas
468a42bbfb 2001-06-01 Dave Peticolas <dave@krondo.com>
* README: update info


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4352 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-01 08:48:39 +00:00
Robert Graham Merkel
33a7d35f82 Return 'foreign' quantities unchanged if 'foreign' and 'domestic' are
equivalent currencies, rather than looking up in the pricedb.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4351 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-01 07:46:31 +00:00
Dave Peticolas
50ce14ad5c 2001-06-01 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: document commodity table API

	* src/doc/design/gnucash-design.texinfo: update docs

2001-05-31  Dave Peticolas  <dave@krondo.com>

	* (dom_tree_to_gnc_numeric): fix mem leak


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4350 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-01 07:37:03 +00:00
Dave Peticolas
8593feb6ea 2001-05-31 Dave Peticolas <dave@krondo.com>
* src/engine/sixtp-dom-parsers.c (string_to_binary): fix sanity
	checks


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4349 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-01 06:26:34 +00:00
Dave Peticolas
71d73df40d 2001-05-31 Dave Peticolas <dave@krondo.com>
* src/test/test-dom-converters1.c (test_dom_tree_to_gnc_numeric):
	fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4348 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 21:00:52 +00:00
Linas Vepstas
a24fe0745a balance checkpoint fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4347 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 20:06:43 +00:00
Linas Vepstas
b07abffbcf minor sql optimization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4346 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 20:06:10 +00:00
Dave Peticolas
462499cf29 2001-05-31 Dave Peticolas <dave@krondo.com>
* src/engine/sixtp-utils.c (string_to_gint32): use intermediate
	variable in case int != gint32.

	* src/test/test-dom-converters1.c: fix spelling

	* src/engine/sixtp-dom-generators.c (int_to_dom_tree): cast
	gint64 to long long int for %lld.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4345 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 20:00:43 +00:00
Linas Vepstas
172432e86c oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4344 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 18:27:52 +00:00
Linas Vepstas
6a188d1659 more work on implementing account balance checkpoints for
multi-user mode.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4343 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 18:24:12 +00:00
Linas Vepstas
ccf1f11087 add utility function returning number of terms
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4342 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 17:44:58 +00:00
Linas Vepstas
70b34d05fa print additional info in the debugging routine PrintQuery()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4341 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 16:42:12 +00:00
James LewisMoss
ddf9aabaf2 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4340 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 16:33:37 +00:00
James LewisMoss
40df84d8bd * src/scm/tip-of-the-day.scm ((gnc:current-tip-number)): reset
number if greater.  tips read before config file so this number
gets reset by config file too high.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4339 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 16:33:03 +00:00
Dave Peticolas
6793ceb6cf 2001-05-31 Dave Peticolas <dave@krondo.com>
* src/doc/design/gnucash-design.texinfo: update docs

	* src/doc/design/engine.texinfo: document commodites & their API

	* doc/sgml/C/xacc-price-editor.sgml: fix warnings


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4338 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 08:36:56 +00:00
Robert Graham Merkel
e82a0e38c8 More documentation updates - price editor and related changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4337 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 07:33:49 +00:00
Dave Peticolas
7ebf87da15 Duarte Loreto's updated Portuguese translations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4336 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-31 00:01:58 +00:00
Dave Peticolas
755dfe0678 2001-05-30 Dave Peticolas <dave@krondo.com>
* src/test/Makefile.am: add missing link lib

	* src/engine/sixtp.c: include sys/types.h for ssize_t under
	freebsd


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4335 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-30 19:29:15 +00:00
Dave Peticolas
690c0a78db 2001-05-30 Dave Peticolas <dave@krondo.com>
* src/engine/sixtp-utils.c (timespec_secs_to_given_string): use
	gnc_timezone

	* src/engine/date.c (gnc_timezone): new func
	(gnc_iso8601_to_timespec): use gnc_timezone
	(gnc_timespec_to_iso8601_buff): use gnc_timezone


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4334 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-30 08:13:49 +00:00
Dave Peticolas
7d39624cd9 2001-05-29 Dave Peticolas <dave@krondo.com>
* configure.in: call new macro below

	* acinclude.m4: add macro to check for tm_gmtoff struct tm member


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4333 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 22:41:41 +00:00
Dave Peticolas
11423a3076 2001-05-29 Dave Peticolas <dave@krondo.com>
* src/engine/date.c: handle all uses of nl_langinfo.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4332 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 20:00:40 +00:00
Christian Stimming
19c5c4fba8 Revert last change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4331 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 17:32:21 +00:00
Robert Graham Merkel
010d135579 Fixes for FreeBSD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4330 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 15:20:23 +00:00
Robert Graham Merkel
8ffb9865e7 Display a title on report options dialog boxes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4329 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 12:35:39 +00:00
Linas Vepstas
54c58cbbcd add compatibility warning
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4328 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 05:57:27 +00:00
Linas Vepstas
cc6e5fafc9 work to improve the logic of computing balance checkpoints
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4327 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 05:22:59 +00:00
Dave Peticolas
53c47eb76b Fix warnings, add file to Makefile.am.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4326 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 22:25:11 +00:00
Dave Peticolas
6dc5b480b6 2001-05-28 Dave Peticolas <dave@krondo.com>
* doc/sgml/pt_PT/*: add Duarte Loreto's updated transations


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4325 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 22:17:52 +00:00
Dave Peticolas
60bc063d9e 2001-05-28 Dave Peticolas <dave@krondo.com>
* src/engine/gnc-pricedb.c (compare_prices_by_date): stabilize
	sort using guids

	* src/engine/gnc-pricedb-xml-v1.c (price_parse_xml_sub_node): fix
	mem leak


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4324 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 20:15:59 +00:00
Linas Vepstas
2fbe97d371 preliminary restructuring to needed to implement balance checkpoints
(for multi-user mode)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4323 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 16:39:05 +00:00