This commit had 2 problems:
1) when entering an account name, the account separator would no longer accept at the current level of the account tree and move to the next level
2) <SHIFT>+ and <SHIFT>- in a date field would not change the field by 1 week.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18732 57a11ea4-9604-0410-9ed3-97b8803252fd
GnuCash no longer uses gnome print. It has been replaced with gtk print.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18729 57a11ea4-9604-0410-9ed3-97b8803252fd
GnuCash doesn't use it.
At the same time, I removed a check that has been commented out
since the beginning of the revision history (somewhere in 2007).
This check tested for the presence of popt.h to then run some
libtool changes. As I said this whole block has been commented
out since the beginning of time, so I considered it to be obsolete,
more even so now that the popt requirement has been removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18727 57a11ea4-9604-0410-9ed3-97b8803252fd
- popt has been replaced with the GOption infrastructure.
So there's no need to include the popt.h file.
- Also rewritten the comment that was elaborating on popt
vs GOption
- Finally removed the loglevel option (which was excluded from
the compile anyway) that still referred to popt.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18726 57a11ea4-9604-0410-9ed3-97b8803252fd
Except for the scheme wrappers this seems to work until
at least the engine module. However, I didn't tackle the issue
with the generated headers which contain some installation
paths - but those we should get rid of anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18721 57a11ea4-9604-0410-9ed3-97b8803252fd
From comment 23:
"The PDF in comment 2 is about 8 times smaller than it should be. One possible cause of this bug is if gtk_print_operation_set_unit (op, GTK_UNIT_POINTS) is not called. gtkprint defaults to GTK_UNIT_PIXEL - a useless unit to be using with printers.
On Linux GTK_UNIT_PIXEL units are 1 unit = 1/72 inch (the same as GTK_UNIT_POINTS as well as PostScript and PDF units). On Windows GTK_UNIT_PIXEL units are the GDI device units which for printers is the dpi resolution. So for a 600dpi printer 1 unit is 1/600".
If the application was developed on Linux and assumes the default gtkprint units are always 1/72" inch the output on Windows using a 600dpi printer will be 72/600 = 0.12 of the size (or approximately 1/8 of the size)."
Solution was to use webkit_web_frame_print_full() which allows us to provide our own GtkPrintOperation object with units set to GTK_UNIT_POINTS. Tested on both Linux and Windows.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18720 57a11ea4-9604-0410-9ed3-97b8803252fd
core-utils depends on glib and additionally guile and gconf, but
not (yet) gtk. Those two files which do are moved to the next
module which already depends on gtk, which is gnome-utils.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18719 57a11ea4-9604-0410-9ed3-97b8803252fd
I'm interested in some tests with the cmake build system, but
if it doesn't prove useful I will remove it again within a
few weeks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18717 57a11ea4-9604-0410-9ed3-97b8803252fd
The main change is that the syntax for variadic macros is
slightly different in MSVC compared to gcc. But they exist, so
offering the log macros in the different syntax is sufficient.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18716 57a11ea4-9604-0410-9ed3-97b8803252fd
This disables the enhancement of bug#608329 again, but
the disappearing of the tab names is a rather major bug.
Note that we either need to fix the enhancement again,
or revert the rest of r18637 as well so that the account
properties don't show the color chooser without any effects.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18714 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Yasuaki Taniguchi. Revised and extended version of r18638.
The main functions are as follows:
(1) synchronization of preedit string between the register window and
sheet->entry,
(2) application to pango attributes to preedit string in the register window,
(3) include scroll offset patch (id=153514),
(4) include preedit string rollback patch (id=153518),
(5) fix formula and account cells input problem which Christian pointed out,
(6) surpress quick-fill when preedit string exists,
(7) fix Windows IME problem.
(8) Fix quick-fill problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18713 57a11ea4-9604-0410-9ed3-97b8803252fd
However, we still download the erroneous binary and unpack it into $GNOME_DIR
because libgnomeui depends on libbonoboui which in turn depends on libgnome.
Hence, libbonoboui cannot be compiled before libgnome-dev is unpacked, but
libgnomeui won't report to be installed correctly before libbonoboui is
available as well. Theoretically, we would have to split the inst_gnome step
so that it first unpacks libgnome et al., then we run the inst_libbonoboui
step, then we run the second part of inst_gnome which would be something like
inst_gnomeui. I'm lazy, so I silently overwrite the libbonoboui DLL with
our hand-compiled version and that's it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18711 57a11ea4-9604-0410-9ed3-97b8803252fd
Reading file is technically only correct for files not for databases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18707 57a11ea4-9604-0410-9ed3-97b8803252fd
This version builds on Phil's implementation of the dbi error callback
functions to test for a timeout and to do the reconnect.
The same error handling is equally implemented for postgres and sqlite.
Unlike MySQL these two database types don't actually generate timeouts, but the
functionality can be used later on for other error types as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18706 57a11ea4-9604-0410-9ed3-97b8803252fd
used for all cases, remove hard-coded references to /usr/etc,
/usr/share, /usr/local/etc, and /usr/local/share while providing
for xaccResolveFilePath to actually search the data and sysconfdir
directories used in the build.
(gnc_build_data_path): New function, just a copy of
gnc_build_book_path. Needed for rewrite of xaccResolveFilePath.
(xaccResolveFilePath): Cleaned out the hard-coded paths and weird
file path contruction functions and rewrote the function to use
gnc_path_get_foo and gnc_build_data_path without all of the silly
indirection. Removed superfluous URI checks (which are correctly
perfomed by xaccResolveURL()).
(MakeHomeDir, xaccPathGenerator, xaccDataPathGenerator)
(xaccUserPathGenerator): Deleted; their functionality is replaced
as noted above.
(check_file_return_if_true): Renamed check_file_return_if_valid, a
more descriptive name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18699 57a11ea4-9604-0410-9ed3-97b8803252fd
At the same time, remove all the conditional code and workarounds
that were in the code to cater for glib < 2.12.
Note: this commit will require a rerun of autogen.sh and configure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18696 57a11ea4-9604-0410-9ed3-97b8803252fd
Update gnome-vfs to 2.24.1
Note that this means Windows 2000 is no longer supported.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18695 57a11ea4-9604-0410-9ed3-97b8803252fd
GTK_BUTTONBOX_CENTER is replaced with GTK_BUTTONBOX_START
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18694 57a11ea4-9604-0410-9ed3-97b8803252fd
rather than ordering by hashvalue (i.e. no order at all) as was done previously.
Patch by Jesse Weinstein.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18693 57a11ea4-9604-0410-9ed3-97b8803252fd
So per a suggestion on IRC, I took the reference out. Patch by Jesse Weinstein.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18691 57a11ea4-9604-0410-9ed3-97b8803252fd
Apparently the gnome-provided libxml2 has the DLL filename libxml2-2.dll,
but the binary from xmlsoft.org still has the filename libxml2.dll.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18690 57a11ea4-9604-0410-9ed3-97b8803252fd