Commit Graph

10557 Commits

Author SHA1 Message Date
David Hampton
cdc906c887 Allow the user to specify the maximum width of the page labels in the
main window (#338161).  Also add a tooltip showing the account full
name to the page labels in the main window (#343239).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15774 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-02 03:42:21 +00:00
Andreas Köhler
dfcb77f0c9 On Windows, go back to libgnomeprint. Partly revert r15750/61.
GtkPrint/GtkHTML as combination is not yet stable enough to use it by
default.  It seems however to be the way to go, so all necessary changes
are only commented out.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15771 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-01 13:23:54 +00:00
Andreas Köhler
57b1a827ae Remove libgnomeprintui from dist.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15761 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-28 08:59:36 +00:00
David Hampton
e6e85a13ec Allow the base gconf path to be specified at run time, either via an
environment variable or via a command line option.  Based on a patch
from James Radley.  Implements #328762.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15760 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-27 03:06:09 +00:00
David Hampton
5edeb504e2 Add an option to change the tab closing behavior. The two choices are
to move to the tab immediately to the left, or to move to the most
recently viewed tab.  Implements #346314.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15759 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-27 01:55:38 +00:00
David Hampton
9ca73549ce Add a preference for printing "***" immediately before and after all
text fields on checks.  Implements enhancement request #420224.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15758 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-27 01:10:09 +00:00
Andreas Köhler
b86e5fa33c Use gncOwnerGetOwnerFromLot.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15757 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-26 21:28:48 +00:00
David Hampton
498c193a63 Record a couple of user suggestions for things to do with gnucash's
gtkrc file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15756 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-26 03:02:55 +00:00
David Hampton
eab98d53f8 Don't crash if an example account file has no root account. Also
filter the file names (*xea) when reading accounts directories.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15755 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-26 02:58:23 +00:00
Andreas Köhler
1f8c3dc9f6 Use TXN-TYPE-{INVOICE,PAYMENT} in customer report. Observed by Nigel Titley.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15754 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-25 23:05:47 +00:00
David Hampton
72b00e4027 Add preferences support for printing the date format immediately below
the date (GtkPrint only), and for setting the font used by the check
printing code (GnomePrint and GtkPrint).  The fonts actually used by
GnomePrint seem very limited compared to those used by GtkPrint, but
the font size specification always seems to be honored.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15753 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-24 18:17:38 +00:00
David Hampton
2c8690b5d8 Add preferences support for a GtkFontButton widget.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15752 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-24 18:14:08 +00:00
Andreas Köhler
191e977fd1 Use gtk_print_operation_set_{use_full_page,unit} for reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15751 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-24 15:30:27 +00:00
Andreas Köhler
62ff5bab3c Install.sh: Some package updates, including GtkHTML 3.14.0.
Update glib, cairo, pango, gtk+ and gtkhtml.  Drop libgnomeprintui, but
keep libgnomeprint because goffice depends on it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15750 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-24 15:28:37 +00:00
Andreas Köhler
e3a47d52b1 On Windows, convert filename parameter for xml parser to system codepage.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15749 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-23 19:40:32 +00:00
Andreas Köhler
656306e6dc Add support for (de)compressing in a thread instead of fork.
Use GThreading system when available, but depend on it on Windows.
Gzipped data files are still loaded by libxml2.  On write, again create
a pipe p and a thread t that gzwrites bytes read from p to a given file.
After the other thread has finished writing to p, it waits for t to
return to avoid loss of data.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15748 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-23 19:38:08 +00:00
Andreas Köhler
12392fcb44 Install.sh: Do not mix pexports and ".." as noted by Nathan Buchanan.
pexports somestimes crashes in a new MSYS shell if a path, like the one
to a header file, contains "..".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15747 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-22 08:15:01 +00:00
Andreas Köhler
bed4c1a087 Patch from James Radley to allow override of the dotfile location.
Read environment variable GNC_DOT_DIR and, if available, use this
instead of `g_get_home_dir`/.gnucash.  This allows one develop without
impacting an existing stable installation, excepting shared GConf
keys.  Setting HOME does not help, because g_get_home_dir prefers
passwd entries.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15746 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-21 22:50:12 +00:00
Andreas Köhler
4e579ba100 Remove almost unused configure output variables.
GNUCASH_{APP_UTILS,GNOME_UTILS,REGISTER_CORE}_{CFLAGS,LIBS} and
GNC_FALSE have been completely unused.  GNUCASH_ENGINE_{,BASE}_* could be
moved to its only user engine/Makefile.am.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15745 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-21 20:03:47 +00:00
Andreas Köhler
bc2969282c In install.sh test for htmlhelp, try to build DLL.
The HTML Help Workshop includes htmlhelp.lib, but we cannot use it for
creating DLLs---it is a static thingy.  So test with -shared in
install.sh.  It would be nice to have a similar test improvement in
configure.in.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15744 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-21 09:46:01 +00:00
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