Commit Graph

3572 Commits

Author SHA1 Message Date
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
Dave Peticolas
6a400cfa73 Update po ChangeLog from gettext 0.10.37.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4322 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 07:07:33 +00:00
Dave Peticolas
9d4aeaaad1 Update po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4320 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 06:42:04 +00:00
Dave Peticolas
cc834134a5 Prepare for 1.5.97.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4319 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 06:29:47 +00:00
Christian Stimming
b3166bf654 Fix String.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4318 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 04:41:55 +00:00
Linas Vepstas
ef58540e6f smell check
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4317 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 04:40:14 +00:00
Linas Vepstas
5da31575ef smell check, clarify
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4316 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 04:39:02 +00:00
Christian Stimming
6b5b3d83e2 2001-05-27 Christian Stimming <stimming@tuhh.de>
* src/scm/tip-list.scm: edited some tips after consultation with
	Robert Graham Merkel.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4315 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 04:37:51 +00:00
Linas Vepstas
c8c6880219 note that save bug is fixed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4314 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 03:42:59 +00:00
Linas Vepstas
5345580249 eliminate irritating 'file-not-saved' dialog box tht pops up on exit
even when user made no changes at all to the data.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4313 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 03:33:05 +00:00
Linas Vepstas
0457cbc654 undo my earlier braindamage
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4312 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-28 03:18:58 +00:00
Linas Vepstas
7143f7c545 remove stale work items
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4311 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 22:07:08 +00:00
Linas Vepstas
9c6388958c implement price deletion
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4310 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 21:42:15 +00:00
Dave Peticolas
7e79f532a7 Add ChangeLog back in for 'make dist'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4309 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 21:36:05 +00:00
Linas Vepstas
ea6f1dfb96 implement price editing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4308 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 20:40:34 +00:00
Linas Vepstas
7bb5353af0 minor bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4307 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 17:50:24 +00:00
Christian Stimming
eb82429848 2001-05-27 Christian Stimming <stimming@tuhh.de>
* po/sv.po: by Pablo Saratxaga <pablo@mandrakesoft.com>: changed
	DOS end of lines to Unix end of lines.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4306 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 16:27:55 +00:00
Linas Vepstas
bcc127cbff dd support for price-editing callbacks from engine into backend.
This allows backends (i.e. postgres) to handle price edits.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4305 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 07:35:24 +00:00
Dave Peticolas
421ca22c65 2001-05-26 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-fincalc.c: Kevin Foss's bug fix

	* src/engine/sql/kvp-sql.h: add /* */ around #endif comment

	* src/gnc-component-manager.c (gnc_cm_event_handler): ignore
	price events


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4304 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 04:55:38 +00:00
Linas Vepstas
9dba5d58a8 implement price restore in sql backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4303 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-27 02:52:51 +00:00
Linas Vepstas
010eab4659 add price storage to sql backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4302 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-26 21:04:19 +00:00
Linas Vepstas
ff2583e6c4 add guids to prices
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4301 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-26 20:52:36 +00:00