Linas Vepstas
c90c817e64
merge first round of entity rework back into head branch
...
The net total of this work is (i beleive) fewer lines of code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9530 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
aaf73968e1
fix/simplify slots usage (SetSlots_nc is going away)
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9519 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
4c0b5bb787
fix/simplify kvp usage
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9518 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
5be6a91fc6
fix
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9508 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ae46d71132
this file will be obsoleted/replaced by whizbang new qofid shortly.
...
Ugh. its a big mess now, but it should be a lot cleaner post-haste
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9507 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
883038301d
rehash old hashes ... ugh. this to replace gncBusiness in a little while.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9506 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
87a5b565b5
start work to make ids/entities/objects a little less wonky
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9505 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
c1935ea584
add qofinstance to vendor
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9504 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a15de4f933
start work to clone owner
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9499 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
8e545f865e
implement job clone, update stauts notes, update documentation
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9498 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a0ccda5926
change job to use qofinstance
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9497 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
94d1a5039b
add is_dirty getter
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9496 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
304fd730f4
final tweaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9495 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
5647961e59
add notes about linkage
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9494 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
7f4b23c898
copy tax table entries, add doxygen support
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9493 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
4bb19bbda4
oops, missed a spot ...
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9490 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
5789d865f8
changes to copy tax term, bill table children correctly
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9489 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
dea6d475d5
oops
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9488 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
81fc3f9a47
Notes about how gncBiilTerm/ gncTaxTable work
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9487 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
b2ab3ab805
add support for tax tables in the period closing
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9484 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a0747a6bf9
handle cloning of bill terms when archiving cusotomer
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9483 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
460cdd5e38
use qofinstance in accounts
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9482 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
9df9674b96
change Account to use qofinstance
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9481 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
534514a31a
add documentation license, twin function
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9480 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
4011a92426
add license
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9479 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
fa3805db4c
shuffling to get periods to work
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9478 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ae5bc7217d
oops
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9477 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
542ce3bed4
fix handling of account commodities when closing periods
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9476 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
d0fe8b67ed
work to make copies of the bill term ...
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9475 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
58bba344e2
oops
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9474 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
d5a46f510c
clear teh dirty flag
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9473 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
99b95a507d
iobject twiddling, in prep for making copies of tax tables for period
...
closing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9472 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a4b2bd9f34
start adding customer-copying code, for closing of periods
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9471 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
f2f56a1a27
make the gemini code generic
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9470 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
d532657989
tweaks qof instance on the way to closing books
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9469 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
907d38b21e
start filling in some of the blanks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9468 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
73bdc18387
change to use qofinstance as well
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9467 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
e18598cd59
add kvp data to bill term struct so that we can use it to store
...
book-closing info
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9466 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
9684e829e9
fix deref
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9465 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
846d3e4421
gnc objects have a lot in common. This thingy will try to
...
abstract out all teh common-ness between them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9464 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
c2fe2536bd
* src/backend/postgres/gncquery.c: Linas broke SQL when we renamed
...
the QueryObjects to QofClass.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9449 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
4216fa4afc
* src/engine/gnc-date.h: add a comment about minimum string length
...
* src/engine/Transaction.c: fix the ISO_DATELEN to be "long enough"
Fixes #123558
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9437 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Christian Stimming
1f8273e1b7
Fix CFLAGS (merged from gnome2)
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9435 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
3ebc8356cd
add status
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9427 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
84967a7f2e
change include files
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9426 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
82a4f0acb4
rename qof_query_object to qof_class to better represent what this
...
thing actually is
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9425 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
fd10a04277
add setters to the query object
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9424 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
e3b49bc44d
documentation/cosmetic cleanup
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9423 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
f8bfae598f
rename QofQueryObejct to QofParam to better reflect its acutal purpose
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9422 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
9ad623b96e
rename QofQueryObject to QofParam to better describe what this thing
...
really is
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9421 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
c87ddd7293
rename QOF_QUERYCORE_DATE to QOF_TYPE_DATE so taht these can be used
...
generically
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9420 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a3d17571a3
rename QOF_QUERYCORE_DATE to QOF_TYPE_DATE, etc
...
so that these can be used 'generically'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9419 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a43e05953a
add kvp io to customer file
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9414 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
f330ed7fbc
add kvp frame to customer
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9413 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
697846331a
quick whack to add LIFO accounting policy (in addition to FIFO)
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9410 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
33330e6b95
spell check
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9409 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a1d6fa470f
update readme file to reflect current status
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9408 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
951b2e28a3
add bogus gui popup code
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9407 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
c0f9a59369
add missing bugs warning callback
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9406 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
8fcf30e6be
fix copyrights/credits
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9405 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
70cadd54af
add include file for gui popups
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9404 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
49427df427
warning message should be translated
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9403 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
54a12c76a1
move GUI popup messages out of the engine; this seemed like a better
...
home for them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9402 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
045b39a60e
get rid of dorky GUI callbacks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9401 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
c6dacb138d
status updates
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9398 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
c180f617de
bug fix for merging pairs of splits together
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9397 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ef3cce26b8
add new kvp glist function;
...
fix bug with how bags of guids are deleted
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9396 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
0fe939e688
use wrappers for lot title, lot notes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9393 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
929bca04c5
tweaks; add wrappers for lot title, lot notes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9392 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
6b09a496ba
price scrub tweak
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9391 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
3b6d67f15f
make changes for lot management high-level API
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9390 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
325d4ffd66
move low-level API routines to scrub2, high-level to Scrub3
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9389 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
288a062c13
restructure lot code, part one
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9388 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ebec50d7c4
bugfix test for subsplits
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9387 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
2b6830e50d
more rigorous transaction commit code shows up buglets in the register;
...
work around one of these.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9386 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
b7f1c25c2d
move code from transaction.c to cap-gains.c
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9385 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
c7444453f8
bug fix: need to recompute cap gains when the initial lot opening
...
transaction changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9380 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
5a2000a3dc
wrappers for special handling of data when data is being loaded
...
(shut off the constraint system).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9379 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ce93bd96a2
merg changes from the cap-gains7 branch. These include:
...
-- numerous fixes to make cap-gains work
-- crude ideas about a generic constraints system to keep data in engine
correct.
After these changes, all known cap-gains bugs are fixed, and most cap-gains
features are done. Have at it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9378 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a3792d997c
doco updates
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9376 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
6df0f85f97
remove obsolecte code
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9375 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
68b15f0f8f
fix bad usage/mem leak
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9374 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
David Hampton
7ca337c55f
Turn off noise.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9372 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Christian Stimming
79849666b6
2003-09-18 Christian Stimming <stimming@tuhh.de>
...
* configure.in: Add correct configure test for openhbci version
required by mt940 module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9352 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
f9eb208e3a
more descriptions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9349 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
b90e5bfe78
document the financial constraints that operate in the gnucash engine
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9348 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Christian Stimming
7ad10128ed
2003-09-16 Christian Stimming <stimming@tuhh.de>
...
* src/import-export/hbci/gnc-hbci-kvp.c: Fix broken compile due to
Linas' change of the kvp_frame_get_frame() arguments. By
Jan-Pascal van Best <j.p.vanbest@tbm.tudelft.nl>
* src/import-export/hbci/gnc-hbci-gettrans.[hc]: Code
refactorization so that the mt940 importer can re-use the existing
import functions from the hbci module. By Jan-Pascal van Best
<j.p.vanbest@tbm.tudelft.nl>
* src/import-export/mt940/gncmod-mt940-import.[hc]: Import module
for SWIFT MT940 files added. By Jan-Pascal van Best
<j.p.vanbest@tbm.tudelft.nl>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9345 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
572d2faa56
merge branch cap-gains6:
...
new code that recalculates lots (incl. cap gains)
to be used if the value of any split in the lot changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9341 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Christian Stimming
3573ffc694
Merge account templates from 1-8-branch into HEAD so that they won't
...
be forgotten.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9335 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
166014ecaf
Update to 1.8.7
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9322 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ef6b5dad26
merge cahnges from the cap-gains5 development branch,
...
consisting primarily of enhance KVP functionality, including
better support for lists of values, and the implementation
of a 'bag' for holding collection of (un-named) data.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9317 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
c4f465d164
* src/backend/postgres/test/run-tests.sh: small fix from
...
hawkfan to get tests to work when building outside srcdir.
* src/backend/postgres/putil.c: fix a bug introduced by Matthew --
ANSI C does not allow you to declare a variable in the middle
of an expression. Move the declaration to the top of the function.
* src/backend/postgres/functions.sql:
* src/backend/postgres/table-audit.sql:
We don't need the trailing semi-colon because the #include adds
one. The double semi-colon causes build failures in some cases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9311 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
99c8a23ab9
* src/import-export/ofx/gnc-ofx-import.c: use <libofx/libofx.h>
...
instead of "libofx/libofx.h" as it's not part of our system.
Fixes a dependency problem in 1.8.6 release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9304 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
dff9fa3b3b
-- Change gnc-trace.h to use the glib g_log() routine for all error
...
printing and tracing.
-- ongoing cap-gains work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9290 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
499a4d5e76
* src/business/business-core/file/gnc-*.c:
...
Add a "slots" parameter to allow for future expansion. Right
now this is completely ignored (which will allow future releases
to add a kvp-frame slots to any business function and allow that
file to be read by older versions). Right now the slot is ignored,
but that's better than barfing on the data file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9285 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ddedc9f25b
review excess register redraw callbacks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9281 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
1a74700d1f
review query usage for register redraw
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9280 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a8f98633d1
clean up error message
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9279 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
3047f029b3
remove cruddy print
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9278 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
3331bbe954
* src/engine/engine-helpers.c: turn off scheme garbage collection
...
during query->scm and scm->query conversion. It shaves about 50%
off the test-scm-query-string tests.
* src/engine/test-core/test-engine-stuff.c: add some code to help
track down what the get_random_query() is doing. Turned off by
default.
* src/app-utils/test/test-scm-query-string.c: make the test
deterministic by seeding the RNG with a known value. There is a
known "delay" at #245 with a seed of 1 on Linux systems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9273 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
fb2f55460f
* src/gnome-utils/dialog-transfer.c: during the dialog startup it
...
tries to build the transfer rate. This crashes on Solaris because
during startup one commodity is still NULL when it tries to print
it.
Fixes bug #121677
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9271 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
00c479b6a0
remove tests for deprecated/obsolete values
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9269 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
8ede42da95
fix or remove usage of old/deprecated/obsolete routines
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9268 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
70c224d8ee
fix incorrect usage of loglevel
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9261 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
3f2513ffb8
fix incorrect usage of log level
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9260 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
679322f156
fix incorrect log-level usage
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9259 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a0b338d327
tweak broen popup logic
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9252 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
37f9077d68
tweak dialog for a many-to-one mapping
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9251 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
f61704ccc6
merege from the cap-gains3 branch:
...
remove some obsolete functions
wrap amount/value geters so that gains can be auto-computed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9248 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
b051cd199b
clarify currency change
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9247 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
71f530719c
urghhh strange indentation
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9245 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
b8ef264bca
bug fix the scrub account button
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9244 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
84a6e5dff4
cleanup during hunt for fields to wrap
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9228 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Derek Atkins
af4b4a65c2
Apply Nigel Titley's patch to fix #103174 :
...
* src/register/register-core/basiccell.c:
- add some debugging messages
- don't kill ourself if we're asked to set the value to our own value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9224 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
91bf87ec53
merge changes from the cap-gains2 branch:
...
-- delete of cap-gains splits now handled
-- gnc-events now generated at commit-edit, not willy-nilly
-- improved scrub docos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9222 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
7f89231a82
bug fixes to get display right
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9215 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
1a9979937b
misc cleanup for closing window, etc.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9212 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
8de8dee8ae
micro tweak
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9211 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
e0a9c2cc18
merge from auto-cap-gains branch: gains dates now track the dates on
...
the source of the gains
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9208 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
951f1efb1c
update status
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9205 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
317d476377
bug fix, hash keys need to be malloced, this fixes a core dump
...
and allows 'make check' in backend/file to pass instead of croaking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9202 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
edbd6c43c9
remove pointless malloc/free, should improve file load performance a
...
teeny bit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9201 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
709adddc81
remove pointless maloc/free, should improve file load performance a
...
teeny bit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9200 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
David Hampton
b3866e396b
Remove RCS 'Id' tags from files.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9195 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
David Hampton
4b80c90cee
Remove empty file
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9194 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
David Hampton
c9a6a3ccb6
Fix bug in computing cleared balance.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9193 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
2670d4dc53
run it through a smelling checker
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9192 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
12b7334d1e
update docos
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9191 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
8d414638b0
add more notes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9190 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Christian Stimming
a39c084783
2003-08-28 Christian Stimming <stimming@tuhh.de>
...
* src/import-export/import-backend.c: Aaarg. Fixed extremely
stupid bug in the import value setting workaround.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9189 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
06d403cfab
bug fix cap gains lookup
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9185 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
88d0b86d12
bug fixes: fix sign of gains, show balance
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9184 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
9062c3146c
status updates
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9183 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ab1f22bdd6
add more columns to lot viewer
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9182 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
883aa58c1b
bug fixes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9181 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
bddd29cfe9
String needs to be i18n'ed
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9180 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
7b26b3bacd
display cap gains in lot viewer
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9179 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
d25de06b0a
bug fixes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9178 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
934bbbe90e
accidentally worked with down-level copy. Ouch! undo damage
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9177 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
5ff356a930
fix bugs, add features to auto-cap-gains system.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9176 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
c4badc0128
refactor the 'gemini' kvp utilities to make them more generally useful.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9175 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
1700ebf387
go live with first cut of cap gains
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9174 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
b22102b982
start work on cap-gains infrastructure
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9173 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
63f5a4dffc
make menu entry insensitive when no account selected;
...
fix initial appearance of lot viwer window
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9172 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
7e656f0228
fill out more of the lot-viewer prototype
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9171 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
1a8893206c
add buttons to lot viewer gui; disable lot viwer when no acount selected
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9170 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
a00e554b29
update status section
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9169 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
14c9cc4f2b
split out lot-scrubbing utility routine for independent use
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9168 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
ca0c8e2d1c
misc cleanup
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9167 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago
Linas Vepstas
158d953c60
add default lot title
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9166 57a11ea4-9604-0410-9ed3-97b8803252fd
23 years ago