Commit Graph

10537 Commits

Author SHA1 Message Date
Andreas Köhler
58f17fe7a4 Fix a typo in gnome-utils/Makefile.am, garbling _SOURCES.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15743 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-20 23:42:49 +00:00
Andreas Köhler
b3edcbca48 Do not check for and link against gnomeprint if gtkhtml uses gtkprint.
If GtkHTML uses GtkPrint, reports and checks will use it, so GnomePrint
is not needed.  Also, remove some spurious GNOME_PRINT_{CFLAGS,LIBS} from
Makefile.am files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15742 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-20 16:37:46 +00:00
David Hampton
f506b75fdb If the specified check format guid can't be found then select the
first check format in the list.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15741 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-20 05:19:20 +00:00
David Hampton
13f1be4d84 Use a single key for check position names instead of a series of
manufactured key names, one key per name.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15739 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-20 01:08:12 +00:00
Andreas Köhler
f04508e009 Do not printf %s if the param is NULL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15738 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-18 22:45:08 +00:00
Joshua Sled
ed9661c8b4 Add list of "interesting" libraries.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15737 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-18 19:39:15 +00:00
Joshua Sled
d2139a28b8 Update "starting gnucash from the build tree info."
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15736 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-18 19:39:12 +00:00
Andreas Köhler
3fe6b64c95 Uncouple print settings for reports and checks again.
Remove gnc_{save,restore}_print_settings, revert part of r15733.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15735 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-18 17:58:58 +00:00
David Hampton
a0e5db4497 Add GUID numbers to check formats. Detect duplicate check format
files (by guid) and show a warning dialog to the user.  Remember the
users selected check format by GUID and not by index.  Add text
clipping when using GnomePrint.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15734 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-18 17:37:53 +00:00
Andreas Köhler
9f1078dd53 Add support for printing reports with GtkPrint.
Also add gnc_{save,restore}_print_settings so that those are shared
between report and check prints.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15733 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-17 17:29:35 +00:00
Andreas Köhler
d2dd9cd7be Remove unused functions in and stop wrapping print-session.[ch].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15732 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-17 17:29:30 +00:00
Andreas Köhler
9ec20373ab If PKG_CHECK_MODULES fails, always print result "no".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15731 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-17 17:29:24 +00:00
Andreas Köhler
8603ae302c Reorder the sequence of some GUI library tests. Allow libgtkhtml-3.14.
Merge the two gnc_build_gui=true blocks, only move regex adjustments to
the windows specific part.  Test for gtkhtml later than before and allow
libgtkhtml-3.14 iff gtk+-2.0 >= 2.10 and gog-renderer-cairo.h is
available.  To actually print with GtkPrint further code is needed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15730 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-17 17:29:19 +00:00
Andreas Köhler
cc00692a51 Harden tests for HtmlHelpW on Windows.
Check both, in install.sh and configure.in, whether we can link a test
source for HtmlHelpW against the html help import library, instead of
just testing for htmlhelp.h or some htmlhelp library thing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15727 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-16 09:20:45 +00:00
Andreas Köhler
02d7e4276c Absolute paths on Windows do not begin with a slash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15725 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 07:30:19 +00:00
David Hampton
cfba9052a5 In the Print Checks dialog, provide an easy way for users to save the
data from the "Custom Format" page to a check format file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15724 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 05:20:58 +00:00
Joshua Sled
a0352f8748 Change julian offset of 0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15723 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 03:00:55 +00:00
Joshua Sled
e392ae7a0c Fix Recurrence start-date bugs in conversion of FreqSpecs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15722 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 02:41:20 +00:00
Joshua Sled
267d053b3b Clarify why we're setting the month to January. Clarify the name of the DOW-alignment variable, and remove needlessly setting it to the first of the month to prevent spurious date changing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15721 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 02:39:54 +00:00
Joshua Sled
2254593773 debug those schedule strings!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15720 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 02:37:38 +00:00
David Hampton
0cfc36f955 Add support for printing the check number, the action, and the real
memo line.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15719 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 02:24:07 +00:00
Joshua Sled
09d90de350 Unused identifier cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15718 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 00:56:52 +00:00
David Hampton
19fdc8ff94 In the print check dialog, the notes field has always incorrectly been
called the memo field.  This fix corrects that misnaming.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15717 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-15 00:55:52 +00:00
Andreas Köhler
3d76b0fdde Do not printf %s if the param is NULL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15716 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-14 20:05:24 +00:00
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