Otherwise the svk version info just continues to grow ad nausium
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16362 57a11ea4-9604-0410-9ed3-97b8803252fd
Two fixes here:
* make sure to call the correct report. The C code calls into scheme
with a #f, not '(), so check for both cases in standard-reports.scm.
* In the owner-report, don't return #f or '() but rather return -1
when the user tries to run the Account Transaction Report on A/R or
A/P when they don't have a transaction selected. This will at least
stop gnucash from crashing, but it will appear that gnucash isn't
doing anything. A step in the right direction but still not the
best solution.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16361 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Mark Jenkins to improve the sign checking and not improperly
reverse the sign of the amount.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16249 57a11ea4-9604-0410-9ed3-97b8803252fd
Eventually we can just move back to POTFILES.skip and remove the
POTFILES.skip tests from Makefile.am. This should allow "make check"
to work on recent systems (like Fedora 7) with intltool-0.35.5
and automake-1.10
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16090 57a11ea4-9604-0410-9ed3-97b8803252fd
Change gnc-module.c to load the unique symbols based on the module filename.
Change gnc-module-api.h to declare the functions based on a provided filename.
Change ALL the modules to use the new symbol names.
This change should allow the code to build cleanly on the MacIntel platform.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15928 57a11ea4-9604-0410-9ed3-97b8803252fd
Save the current frame so we know where to build the new one.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15853 57a11ea4-9604-0410-9ed3-97b8803252fd
- Merge QofEntity into QofInstance
- Derive QofInstance from GObject
- Convert all QofInstance-derived objects to use GObject framework
- renamed qof_instance_init() to qof_instance_init_data()
- removed qof_instance_release() because it's no longer needed
Merge from branches/gobject-engine-dev-warlord (r15827)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15846 57a11ea4-9604-0410-9ed3-97b8803252fd
migrate each object's "free()" function to a combination of
dispose() and finalize().
(and yes, "make check" still passes all its tests)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15827 57a11ea4-9604-0410-9ed3-97b8803252fd
- fix a bunch of tests to use the new gobject defs
- make sure we initialize g_type_init() in qof_init()
- fix qofbook's destruction sequence (I broke it earlier)
- use dispose() in QofInstance
- use qof_init() for the business tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15826 57a11ea4-9604-0410-9ed3-97b8803252fd
rename gnc_price_{get,set}_type() to _typestr() so it doesn't
conflict with the GType gnc_price_get_type() API.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15812 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that this object is never freed here, so it's a potential memory leak.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15806 57a11ea4-9604-0410-9ed3-97b8803252fd
- migrate QofBook to GObject
- move around some typedef to get libqof to build again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15784 57a11ea4-9604-0410-9ed3-97b8803252fd
note that this breaks the build of this branch, and that the
build will remain broken until each of the objects is converted
over to basic GObject support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15781 57a11ea4-9604-0410-9ed3-97b8803252fd
Granted, it's not used, yet. But it's there.
Also add some helpful macros for instances.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15778 57a11ea4-9604-0410-9ed3-97b8803252fd
- Convert (QofEntity*)x to QOF_ENTITY(x)
- Move qof_entity_init() and friends into qof_instance and rename
- Move QofEntity contents into QofInstance
(note: this doesn't compile)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15772 57a11ea4-9604-0410-9ed3-97b8803252fd
Note: This probably isn't good for inside a translated string..
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15711 57a11ea4-9604-0410-9ed3-97b8803252fd
swig-runtime.h and gnc-svninfo.h exist in the source tree.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15524 57a11ea4-9604-0410-9ed3-97b8803252fd
remove the references to the business-core includes directory
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15488 57a11ea4-9604-0410-9ed3-97b8803252fd
what the denominator is going to be, so if it gets ints a state
where it's NOT overflowing then you won't get a denominator of 1
like the tests assumed. So use gnc_numeric_equal() in the few
tests where that's an issue. This should fix the test on Win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15473 57a11ea4-9604-0410-9ed3-97b8803252fd
They don't really work with the new file chooser anyways.
Patch by Bill Nottingham <notting@redhat.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15436 57a11ea4-9604-0410-9ed3-97b8803252fd
This could be a security issue if someone else, say, makes a symlink
to somewhere else. Instead, create a tempfile and then rename it
into place which is safe against the symlink attack.
Patch by Bill Nottingham <notting@redhat.com>
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15435 57a11ea4-9604-0410-9ed3-97b8803252fd
paren in it, or any other regexp special character. Use
"string-contains" from srfi-13 instead. Bug reported by Melinda Savoy:
http://lists.gnucash.org/pipermail/gnucash-user/2007-January/019028.html
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15414 57a11ea4-9604-0410-9ed3-97b8803252fd
Change it to check_PROGRAMS
use <prog>_CPPFLAGS instead of DEFS -- this works great!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15302 57a11ea4-9604-0410-9ed3-97b8803252fd
While we're at it, might as well pull in libcore-utils.la, just in case.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15261 57a11ea4-9604-0410-9ed3-97b8803252fd
So make sure we test SCM_NUMBERP() before SCM_EXACTP()
This causes gnucash to crash on e.g. FC6 from the File Properties Menu.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15252 57a11ea4-9604-0410-9ed3-97b8803252fd
This would let us store something like an Asset Class.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15205 57a11ea4-9604-0410-9ed3-97b8803252fd
Extends r15179 which should fix the crash of bug #379625
NOTE: it now prints zeros, which could confuse the user...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15180 57a11ea4-9604-0410-9ed3-97b8803252fd
Create a 'reset' script to allow resetting the win32 build environment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15048 57a11ea4-9604-0410-9ed3-97b8803252fd
Override the Transaction Number to sort numerically.
* lib/libqof/qof/qofclass.h:
* lib/libqof/qof/qofquery.c:
* lib/libqof/qof/qofquerycore-p.h:
* lib/libqof/qof/qofquerycore.[ch]:
- Publish the QofCompareFunc prototype.
- Add a new QofParam param_compfcn parameter
- Change QofQuery to use the param_compfcn over the
default type compare function.
- create (and publish) a qof API to compare strings
as numbers: qof_string_number_compare_func()
* src/engine/Transaction.c:
Assign TRANS_NUM to use qof_string_numer_compare_func()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14903 57a11ea4-9604-0410-9ed3-97b8803252fd
Now you can run one query off of the results of another query.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14901 57a11ea4-9604-0410-9ed3-97b8803252fd
This new type is like QOF_TYPE_STRING but it sorts numerically
(first) and then sorts alphanumerically (by the tail of the
number). Added the QOF Type, the gnome-search support, and
modified TRANS_NUM to use the new type.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14892 57a11ea4-9604-0410-9ed3-97b8803252fd
Lots are supposed to be disabled in the 2.0 release until we
get the cap-gains code working. IMHO the cap-gains code should
deal with extra txn splits instead of creating additional txns.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14888 57a11ea4-9604-0410-9ed3-97b8803252fd
This changeset lets us run this script multiple times
and it wont break configure.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14734 57a11ea4-9604-0410-9ed3-97b8803252fd
- make sure it will build dynamically
- remove unknown symbols
- fix the intltool-merge problem by replacing intltool-merge
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14731 57a11ea4-9604-0410-9ed3-97b8803252fd
- We need autotools before libgsf
- update the goffice build rule (but still not enabled)
- add the goffice patch. Expand the patch.
- turn off the INTLTOOL_XML_RULE in the goffice makefiles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14726 57a11ea4-9604-0410-9ed3-97b8803252fd
- Don't die when wget has already downloaded the file.
- add some more output during the auto-tools
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14724 57a11ea4-9604-0410-9ed3-97b8803252fd