Commit Graph

10513 Commits

Author SHA1 Message Date
Andreas Köhler
3dc3c06866 Windows lacks exp10, so use exp instead.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15715 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-14 09:55:32 +00:00
David Hampton
ddd108fcf3 Another 64 bit fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15714 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-14 02:21:07 +00:00
Andreas Köhler
3242b9c3fd Add help support on Windows by using the HtmlHelp API.
Find the correct CHM file according to the active locale and call
gnc_show_help in src/app-utils/gnc-help-utils.[ch].  These new files
were necessary because <windows.h> does not like things like GUID.  If
no htmlhelp.h was found, spawn hh to show the chm file.  Otherwise parse
the GKeyFile ending on .hhmap to determine a numeric ID for the given
anchor and use HtmlHelpW.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15713 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-14 01:00:06 +00:00
Andreas Köhler
86511caa08 Install.sh: Add support for generating guide and help CHM files.
* add html help workspace, make an import library for hhctrl.ocx
* add libxslt for xsltproc and htmlhelp xsl stylesheets
* run xsltproc on guide and help, C and de_DE; enrich the resulting hhp
  files with anchor/map/alias information, compile them with hhc, save
  to $INST_DIR/share/gnucash/$lang/gnucash-$type.chm
* create GKeyFiles *.hhmap that can be parsed to open specific topics
* also, obsolete pexports by mingw-utils


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15712 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-14 00:41:59 +00:00
Derek Atkins
6c8bebc34c Use Glib GINT64 printf format.
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
2007-03-13 21:00:37 +00:00
David Hampton
fae458ad81 Make the new check printing code compile on systems that don't have
glib 2.12.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15710 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-13 15:18:11 +00:00
David Hampton
2af48fcb16 Convert the check printing code from Scheme to C. Add support for
using the GtkPrint API when compiled against gtk+ 2.10 or later.  Add
support for reading check description files instead of hard coding
check descriptions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15709 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-13 03:43:24 +00:00
David Hampton
5246632fb4 ISO 8601 requires a four digit year.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15708 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-13 01:18:42 +00:00
Christian Stimming
8613e066de Implement some initial gnc_component_manager registering for the hbci dialogs. Partially fixes bug#409324.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15707 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-10 22:16:11 +00:00
Christian Stimming
e46aceda72 Add helpful error message if other package is unavailable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15706 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-10 21:18:16 +00:00
Andreas Köhler
4ebb0dc551 Install.sh: Bump goffice to 0.3.7.
* add pcre which is a hard dependency of goffice now
* use the same patch for goffice 0.3.7 as for 0.3.2 (was not in use)
* make inst.sh'ed gnucash and gnucash.bat scripts work again


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15705 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-10 19:01:37 +00:00
Andreas Köhler
5354305dc6 Add GOFFICE_WITH_CAIRO to enable build without GogRendererPixbuf.
Check whether we find gog-renderer-cairo.h with the help of
GOFFICE_CFLAGS.  If it is found, use GogRendererCairo instead of
GogRendererPixbuf.  Newer goffice releases do not ship the latter any
more.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15704 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 22:44:33 +00:00
David Hampton
1c379e731d Fix two instances where a function name didn't get changed for the
swig-style naming.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15703 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 20:16:36 +00:00
Andreas Köhler
889b1fcf4f Remove the empty directories in lib/libgsf-1.12.3 and /goffice-0.0.4 too.
(blame git-svn)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15702 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 19:39:43 +00:00
Andreas Köhler
5400c53b2a Drop internal copies of libgsf and goffice.
Targeted distributions should have goffice packages by now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15701 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 19:26:03 +00:00
Joshua Sled
10e4b916f0 Use correct index for calendar month labels; remove unused identifiers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15700 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 04:00:28 +00:00
Joshua Sled
4b5589a36c update the dense-cal-store for the proposed SX name/schedule-description.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15699 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 03:22:04 +00:00
Joshua Sled
19e15cb2c4 update the sx name/info in the example calendar.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15698 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 03:12:50 +00:00
Joshua Sled
71c512864d updates, formatting; add pointers to qoflog.h doxygen documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15697 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 02:46:04 +00:00
Joshua Sled
a7c6d804e5 Change Mortgage/Loan druid to generate SXes with Recurrences, not FreqSpecs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15696 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 02:44:03 +00:00
Andreas Köhler
94f18a7beb Remove unused calls to goffice svg code.
The included header file gog-renderer-svg.h is installed only
conditionally by recent goffice versions, so drop the 0-#if'ed out code
completely.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15695 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-08 23:31:33 +00:00
Andreas Köhler
39d36d6fba Correct r15693 and lower PKG too.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15694 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-08 23:11:47 +00:00
Andreas Köhler
6f40d05bb2 Fix autogen.sh warning about PKG_CONFIG_MIN_VERSION.
Lower-case that word in macros/pkg.m4 to avoid the need to run
autogen.sh twice.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15693 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-08 22:42:23 +00:00
Joshua Sled
360574d71b Change sx-from-transaction dialog to generate Recurrences, not FreqSpecs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15689 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-08 02:49:48 +00:00
Joshua Sled
3edccb1928 Still not HIGified, but a bit closer. :/
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15688 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-08 02:49:06 +00:00
Joshua Sled
5d162a8521 fix corruption/crasher bug where we free a transaction's guid without authority.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15687 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-08 01:53:39 +00:00
Joshua Sled
e6de3eb66d Cleanup unused qof-style "log_module" variables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15686 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-07 23:46:16 +00:00
Joshua Sled
489375e6d6 set more correct daily value
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15685 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-07 23:38:46 +00:00
Joshua Sled
80f44ae36b Remove unused variables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15684 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-07 23:36:53 +00:00
Joshua Sled
e558fccb98 Remove unused definitions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15683 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-07 23:34:53 +00:00
Andreas Köhler
43f3d912bc Fix tip of the day dialog on Windows.
On Windows, entries in tip_of_the_day.list are separated by five
newlines.  This led to empty strings in the dialog that got translated
to the head part of xy.po.  Fix this by replacing all substrings of its
contents of more than two newlines by \n\n and also removing leading and
trailing \n\n.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15682 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-07 00:27:50 +00:00
Andreas Köhler
19bb7be296 Install.sh: Update cairo, pango, intltool and aqbanking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15681 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-06 19:57:51 +00:00
Joshua Sled
9cf3921a61 Add Volker Englisch's note re weirdness in created-txn review page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15679 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-06 14:12:00 +00:00
Andreas Köhler
d630e52fac On creating a new account, do not check account types of children.
In that situation, the current accounts type is invalid, so calling
xaccAccountTypesCompatible against the chosen type will log an error.
Because of the apparent lack of children there is no real problem, so
just skip the test.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15678 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-04 00:21:11 +00:00
David Hampton
37e232fc10 Find the root based off the current account and not the book. It
matters in this situation as the accounts haven't actually been added
to the book yet.  Fixes #414118.




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15677 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-03 16:41:42 +00:00
Andreas Köhler
b5cff8e9b5 Patch from Mike Alexander to fix a memory leak in the summary bar. #413568.
When gnc_main_window_summary_refresh is called to update the summary bar
at the bottom of the main window, it gets a GList to manage the various
currencies involved.  It never frees this list so each call leaks some
memory.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15676 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-02 13:19:26 +00:00
David Hampton
ad231f4c57 Patch from Bill Nottingham to remove redundant ofx checks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15675 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-28 05:57:19 +00:00
David Hampton
541e1f7156 Destroy no longer used template accounts when reading scheduled
transactions from a file.  Fixes #412673.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15674 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-28 04:42:44 +00:00
Joshua Sled
e63af1cbae Add todo/bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15673 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-27 14:37:11 +00:00
Andreas Köhler
9649e037ac Install.sh: Use add_to_env to add svn bindir to PATH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15672 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-27 09:24:38 +00:00
Joshua Sled
d8c63c8419 Bug#412442: initialize "display negative amounts in red" option correctly. Patch from Mike Alexander <mta@umich.edu>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15671 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-27 02:56:23 +00:00
David Hampton
b0d1f0d6a6 Remove some unused variables and function declarations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15667 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-26 05:40:46 +00:00
Christian Stimming
ab676fca66 Add check for entered transaction to always have a recipient name; add some more logging code for aqbanking results.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15663 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 21:54:56 +00:00
Joshua Sled
b72cf9f7fa Bug#342206: evaluate the saved form of the report to get it added to the runtime environment; if the result of the eval is not a record (i.e., the report), then assume that the report has the same name as an existing report, and don't write it to the saved reports file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15662 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 20:36:10 +00:00
Joshua Sled
4afde76e83 Keep track of auto-created transactions, and review them as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15661 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 19:51:00 +00:00
Andreas Köhler
47d18a2618 Add wrappable functions to spawn, chat with and kill processes.
* gnc_spawn_process_async, gnc_process_get_fd and gnc_detach_process in
  app-utils/guile-util
* gnc_gpid_kill in core-utils/gnc-glib-utils. Works on Windows too.
  Defined there to avoid clashes with GUID definitions from winbase.h.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15660 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 17:35:57 +00:00
Joshua Sled
6a42e90fd8 Bug#392166: don't try to force "agreement" between the frequency selections and the start date; it's way too smart, and prevents the user from expressing what they might need or want.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15659 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 16:42:38 +00:00
Joshua Sled
5f8e410f89 Remove src/network-utils/, module, lingering usages of (obsolete/stubbed-out) gnc-http, form-submission.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15658 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 16:21:46 +00:00
Joshua Sled
5f1c66ba4f Updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15657 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 16:18:06 +00:00
Joshua Sled
043a0419c5 Bug#338107: reorder startup to make gnucash --help faster. :p
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15656 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 15:25:51 +00:00