terms:
if $foo = "no"; then
Supply a result message for the SCANF_LLD test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6836 57a11ea4-9604-0410-9ed3-97b8803252fd
setting of the LD_LIBRARY_PATH variable. Makes it possible to find
libgw-wct.so, et al.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6807 57a11ea4-9604-0410-9ed3-97b8803252fd
provide backend-support without changing the core backend
implementation.
* src/engine/gncObject: Add a 'mark_clean' data-type method()
add backend extension registration.
* src/engine/gnc-book.c: use mark_clean object interface
* src/backend/file/io-gncxml-v2: use the backend extensions
* src/business/business-core/gnc*: add the mark_clean methods
add commodities to many objects
* src/business/business-core/gncInvoice.c: fix GetPaidTxn() bug
* src/business/business-core/file: the XML backend extensions for
business objects.
* src/business/business-gnome/dialog-*: supply default commodities
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6770 57a11ea4-9604-0410-9ed3-97b8803252fd
need. do the same for guile-www.
(AM_PATH_GWRAP): require g-wrap 1.3.2.
(CFLAGS): add -Wno-uninitialized and -Wno-unused to accomodate
g-wrap issues.
(GNUCASH_ENGINE_LIBS): remove libgw-glib -- now provided by g-wrap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6538 57a11ea4-9604-0410-9ed3-97b8803252fd
more, migrate the guile flags from "BASE" to the regular vars.
(GNUCASH_ENGINE_BASE_LIBS): remove guile bits.
(GNUCASH_ENGINE_LIBS): add guile bits.
(GNUCASH_ENGINE_BASE_CFLAGS): remove guile bits.
(GNUCASH_ENGINE_CFLAGS): add guile bits.
* configure.in (error-on-warning): make this the default. I'm
tired of having to fix missing #includes, mismatched types,
etc. after an update so I can get back to work, but if anyone has
a real problem with this, I'd be happy to reconsider.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6356 57a11ea4-9604-0410-9ed3-97b8803252fd
tired of having to fix missing #includes, mismatched types,
etc. after an update so I can get back to work, but if anyone has
a real problem with this, I'd be happy to reconsider.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6271 57a11ea4-9604-0410-9ed3-97b8803252fd
syntax. Also a patched ltmain.sh included with CVS now, so builds are
faster and folks with libtool-1.3.4 installed aren't left in the cold.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5788 57a11ea4-9604-0410-9ed3-97b8803252fd
match libtool docs. Require at least g-wrap 1.1.12. Add
src/backend/net/Makefile to output.
* acinclude.m4: added AM_ACLOCAL_INCLUDE so it would work from
configure.in under the new auto* tools.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5506 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/register/register-gnome: add new headers
* src/register/register-gnome/gncmod-register-gnome.c: initialize
gnome-specific cells and table
* src/register/register-gnome/pricecell-gnome.c
(gnc_price_cell_gnome_new): new func.
* src/register/register-gnome/quickfillcell-gnome.c
(gnc_quickfill_cell_gnome_new): new func
* src/register/register-gnome/table-gnome.c: new code to
initialize table with gnome-specific callbacks
* src/register/register-core/Makefile.am: add test subdir
* src/register/register-core/pricecell.c: remove gui-specific stuff
* src/register/register-core/quickfillcell.c: remove gui-specific stuff
* src/register/register-core/table-allgui.c: implement gui cursor
refresh as a callback.
* src/gnome/window-register.c: fix menu names and help strings
* src/backend/file/gnc-schedxaction-xml-v2.c
(gnc_schedXaction_end_handler): open account for editing
before destroying it.
* src/backend/file/gnc-schedxaction-xml-v2.c (tt_act_handler):
open account for editing and leave it open.
* src/backend/file/io-gncxml-v2.c
(add_template_transaction_local): commit the template account
group after all transactions have been added.
* configure.in: configure new test Makefile
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5373 57a11ea4-9604-0410-9ed3-97b8803252fd
used by GnuCash. Still some dependency-untangling left to do.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5347 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/Makefile.am: identify new scripts as built sources
* configure.in: configure a gnucash-specific header directory
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5296 57a11ea4-9604-0410-9ed3-97b8803252fd
Note to module writers: include gnc-module-api.h to make sure
your signatures are correct.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5168 57a11ea4-9604-0410-9ed3-97b8803252fd
* move report system into gnc-modules. This required a new
module of application framework stuff, src/app-utils.
* src/report/report-system/: the report-html-generation code
and the various report utilities and infrastructure
* src/report/standard-reports/: non-locale-specific financial
reports
* src/report/utility-reports: non-financial reports
* src/report/locale-specific: reports that only apply to specific
locales.
* src/report/stylesheet: report style sheet definitions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5144 57a11ea4-9604-0410-9ed3-97b8803252fd
* Added module/plugin system (src/gnc-module/*)
* reshuffled source code from src/engine, src/register, and some
from src/guile, src/scm, src/gnome (see src/README.modules).
engine, backends, register, qif importer are now "modules".
* unfinished new QIF import/export module (the old one's still
there and still works)
* really too many files touched to get into it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5075 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/Makefile.am: link intl libs with gnucash-make-guids
* src/register/QuickFill.c: same as below
* src/register/quickfillcell.c: conditionally include wctype.h
* configure.in: check for wctype.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4930 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnc-ui-util.[ch]: implement towupper and iswlower
if they are missing
* src/register/quickfillcell.c: include gnc-ui-util.h
* src/register/QuickFill.c: include gnc-ui-util.h
* configure.in: check for towupper
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4843 57a11ea4-9604-0410-9ed3-97b8803252fd
* de.po: updated German translation.
* configure.in, doc/sgml/Makefile.am, doc/sgml/de_DE/*: Added
German translation of a few manual pages, including a Whats-New
table for the translated words.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4597 57a11ea4-9604-0410-9ed3-97b8803252fd
* 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
* 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
* src/scm/utilities.scm (string-split): used to be string-split-on
in qif-utils.scm
* src/scm/qif-import/qif-utils.scm: move string-split-on to
utilities.scm as string-split to better match string-join.
* src/scm/qif-import/qif-to-gnc.scm (qif-import:qif-to-gnc):
string-split-on -> string-split.
* src/scm/qif-import/qif-dialog-utils.scm
(qif-import:get-all-accts): string-split-on -> string-split.
* src/scm/price-quotes.scm (yahoo-get-historical-quotes): new
function - retrieve lists of historical quote information.
* src/scm/bootstrap.scm.in (%load-path): add new guile-modules
directory so we can use-modules from there.
* src/guile/Makefile.am (CLEANFILES): add gnucash.c so it goes
away on "make clean" in addition to "make distclean".
* src/engine/gnc-pricedb.c: minor doc updates.
* src/engine/gnc-pricedb.h: much more documentation.
* lib/guile-www: new directory - contains guile-www CVS module.
Used by new historical quote function. Several new files added.
Installed to new install directory GNC_SHAREDIR/guile-modules such
that it is available via (use-modules (www main)), etc.
* lib/Makefile.am (SUBDIRS): add guile-www
* configure.in (AC_OUTPUT): add lib/guile-www/Makefile
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3988 57a11ea4-9604-0410-9ed3-97b8803252fd
* gnc-network.{c,h}: new files. Functions for user registration
and authentication.
* gnc-gpg.c: fix bugs. make gpg operations optionally
asynchronous via gdk_input_add().
* gnc-html.c: fix URL base name handling. Rework processing of
http requests.
* gnc-http.c: memory management in gnome_http. Still some
memory leaks in there, I think.
* gnc-html-actions.{c,h}: remove files. Content moved into
gnc-network.
* prefs.scm: Add hidden preference for GnuCash Network user ID.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3814 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/rpc/*: Gnucash RPC Subsystem (Backend and Server).
Still considered experimental. Note that the RPC protocol may
change over time causing client/server incompatibilities between
various versions of client and server.
* configure.in: Add option to --enable-rpc. Hook in RPC Subsystem
* src/engine/Account.c: Fix for initial balance on
stock/etc. accounts. In particular, don't set to zero if there
are no splits.
* src/engine/Backend.h: New RPC errors
* src/engine/Query.{c,h}: Add function to obtain the internal
Query Predicate functions (for use in rebuilding Queries from
the RPC subsystem)
* src/engine/Transaction.c: Be sure to call the backend in
xaccTransRollbackEdit()
* src/engine/gnc-book.{c,h}: Added gnc_run_rpc_server() function.
Added hooks to call RPC Backend
* src/guile/gnc.gwp: added gnc_rpc_server() and new RPC Backend errors
* src/scm/command-line.scm: added --rpc-server optio
* src/engine/Makefile.am: Added RPC subdir
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3801 57a11ea4-9604-0410-9ed3-97b8803252fd
* rpm/gnucash.spec.in: simplify
* configure.in: add 'da' to language list
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3783 57a11ea4-9604-0410-9ed3-97b8803252fd
timegm if present, otherwise implement using mktime.
(string_to_timespec_secs): use gnc_timegm for UTC parsing
* src/engine/io-gncxml-r.c (gnc_book_load_from_xml_file): remove
TZ save & restore.
* src/test/test-date-converting.c: remove putenv
* src/test/test-dom-converters1.c: remove putenv
* src/test/test-xml-transaction.c: remove putenv
* src/gnome/gnc-http.c: same as below
* src/engine/NetIO.c (setup_request): use config.h instead
of hard-coding package and version
* configure.in: check for timegm function
* src/scm/report/taxtxf.scm: more porting work
* src/scm/html-text.scm (gnc:html-markup-em): new func
* src/scm/report/stylesheet-plain.scm: add some default styles
* src/scm/html-style-sheet.scm: remove non-type styles
* src/scm/html-document.scm (gnc:html-document-markup-start):
check for non-string attributes
* src/scm/html-style-info.scm: cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3773 57a11ea4-9604-0410-9ed3-97b8803252fd
* add configure/acconfig option for GPG
* src/gnome/gng-gpg.c: add handlers for creation of keypair
(with passphrase) and for exporting public key block to GnuCash
Network server. Fix bugs in old keypair creator. Add passphrase
handling to data encrypt/decrypt.
* src/gnome/gnc-html-actions.c: rewrite privacy notice to use
GnuCash Network terminology. The longer you guys wait to bitch
about the name the more stuck it is. Rewrite gnc-info/form handler
to submit GnuCash version and feature information.
* src/gnome/gnc-html.c: respect global preferences for HTTP, SSL,
and GnuCash Network transactions. Change submit handler calls to
unpack encoded form data into a hash table and possibly re-encode
and re-pack if necessary. Fix bugs in submit handler lookups.
Add RFC-1738 decoder to go with the encoder.
* src/gnome/window-help.c: fix bugs in Open dialog.
* src/scm/html-table.scm: Add new table-cell/markup and
append-row/markup functions to make it easier to set semantic data
styles in style sheets. Remove dead code.
* src/sc/prefs.scm: New preferences section, "Network", with
options to globally disable HTTP, SSL, and GnuCash Network, and to
assign the GnuCash Network server name.
* src/scm/report/table-test.scm: new test report to demonstrate
row and cell semantic style
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3765 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/gnc-commodity-xml-v2.c (gnc_commodity_end_handler):
mem leak. free the node in the end handler.
* src/engine/gnc-commodity.c (reset_unique_name): new func.
(reset_printname): new func.
(gnc_commodity_new): use new funcs
(gnc_commodity_set_mnemonic): use new funcs.
(gnc_commodity_set_namespace): use new funcs.
(gnc_commodity_set_fullname): use new funcs.
* src/engine/gnc-commodity-xml-v2.c (gnc_commodity_end_handler):
Don't free commodity. That's the globaldata funcs job if it wants
to.
(set_commodity_value): Must remember compare equals == 0. Duh.
* src/engine/sixtp.c (sixtp_parse_file): Only run end handler if
parsing is already ok.
* src/test/test-xml-account.c (test_generation): oops should have
continued here.
* src/engine/gnc-commodity-xml-v2.c (valid_commodity): Complete func.
* configure.in (LIBS): disable libxml/xmlversion.h checks so we can't
compile for libxml2 for now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3723 57a11ea4-9604-0410-9ed3-97b8803252fd
* first iteration of pricedb: we should preserve quotes from old
binfiles now (rather than throwing it away during the conversion),
and we can read/write the pricedb as XML.
* added configure --enable-error-on-warning -- developers, please
use this.
* add fancier TAGS handling -- we now track file additions/deletions
dynamically.
* add g_hash_table_key_value_pairs: returns a GSList of all the key
value pairs in a given hash table so you can manipulate them.
add g_hash_table_kv_pair_free_gfunc: g_slist_foreach helper for
deleting key value hash pairs when you're finished with the
results from g_hash_table_key_value_pairs. You'll still need to
call g_slist_free as well to delete the spine of the list.
* continue migration to using backend for all IO and switching from
top-level Group to top level GNCBook.
* switch from const gnc_commodity to gnc_commodity in many places,
after consultation with Bill.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3684 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-02-07 James LewisMoss <dres@phoenixdsl.com>
* make-gnucash-patch.in: Add a file ending that is ignored.
* src/doc/xml/types.dtd: Change currency-type -> commodity-type.
Add defs for cmd:space and cmd:id.
* src/doc/xml/io-gncxml-version1.dtd: Change currency-type ->
commodity-type.
* src/doc/xml/account-v2.dtd: Change currency-type ->
commodity-type.
2001-02-06 James LewisMoss <dres@phoenixdsl.com>
* src/engine/sixtp.c: Use frame creator.
Move sixtp_handle_catastrophe to here. Add functions
sixtp_context_new, sixtp_context_destroy. And change and move
sixtp_parse_file and sixtp_parse_buffer here from io-gncxml-r.c
Add concept of a parsing context to hold data.
* src/engine/sixtp-stack.h: Add creator. Add headers.
* src/engine/sixtp-stack.c: Add creator.
* src/engine/sixtp-parsers.h: add needed headers.
Add func from sixtp-to-dom-parser.c
* src/engine/io-gncxml.h: Fix name.
* src/engine/io-gncxml-w.c: Fix name.
* src/engine/io-gncxml-r.c: Fix name. Create stack frame creator
function and use here.
2001-02-05 James LewisMoss <dres@phoenixdsl.com>
* src/engine/sixtp-stack.h: Add glib.h include (needed for GSList)
* src/engine/sixtp.c: Add catchall tag for parsing handlers. Use
name instead of next_parser_tag since that can now contain a magic
value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3618 57a11ea4-9604-0410-9ed3-97b8803252fd
Just using the argument isn't enough -- see src/engine/sql/README.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3573 57a11ea4-9604-0410-9ed3-97b8803252fd
Build info updates, .cvsignore update, check for popt
in configure.in, more stuff for make-gnucash-patch, and
a dtd for the xml save format.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3355 57a11ea4-9604-0410-9ed3-97b8803252fd
C to create and fill the database, to ensure the same db lib is
used to both create and read the db.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3338 57a11ea4-9604-0410-9ed3-97b8803252fd
Bill Gribble's commodity and numerics code and new qif importer druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3065 57a11ea4-9604-0410-9ed3-97b8803252fd
instead of a compile-time option.
Implement the 'thin blue line' separating past transactions from
future transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2975 57a11ea4-9604-0410-9ed3-97b8803252fd
Add and use gnome autoconf macros.
Fix lots of new compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2842 57a11ea4-9604-0410-9ed3-97b8803252fd
all credits are negative.
Moved include/*.h files into src.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2240 57a11ea4-9604-0410-9ed3-97b8803252fd
Date: Sun, 22 Aug 1999 20:59:09 -0500 (CDT)
From: Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1) adds top_srcdir to Makefile.init.in, since one of the Makefiles that
includes it needs top_srcdir but it isn't set in that particular Makefile.
This may not be the right call -- it should probably be substituted directly
into the Makefile.ins that are missing it.
2) It removes instances where (gcc|egcs)-specific C flags are in configure.in
or the Makefile.ins. As long as CFLAGS is substituted into the Makefiles by
configure, there shouldn't be any need to augment CFLAGS.
3) It fixes a problem with finding libXpm and later libXmHTML on platforms
where $x_libraries (after a call to AC_PATH_X and AC_PATH_XTRA) is empty (i.e.
the libraries and header files are in standard places). Using X_PRE_LIBS
may not be the right solution here either, so further work may be necessary
on this.
4) It makes sure that any CPPFLAGS specified by the person running configure
(e.g. -I/path/to/Xpm/headers -I/path/to/XmHTML/headers) is passed into the
Motif Makefile.in, so header files are found.
5) It updates the top level Makefile.init.in so that @CXX@ is used in place
of @C++@, since that's the common autoconf "variable" for it. I don't think
C++ stuff is used anywhere here anyway so it's probably not needed, but I
noticed it so I thought I would fix it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1915 57a11ea4-9604-0410-9ed3-97b8803252fd
This code originally from a large patch from Rob Browning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1647 57a11ea4-9604-0410-9ed3-97b8803252fd
His patch was broken and ugly in many ways, but did have some good stuff in it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1630 57a11ea4-9604-0410-9ed3-97b8803252fd