rename gnc_price_{get,set}_type() to _typestr() so it doesn't
conflict with the GType gnc_price_get_type() API.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15812 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that this object is never freed here, so it's a potential memory leak.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15806 57a11ea4-9604-0410-9ed3-97b8803252fd
* qof_time_format_from_utf8 converts an strftime format specification
from UTF-8 to the locale encoding
* qof_format_time calls strftime repeatedly with growing allocated
buffers until the result fits into one, or return NULL
* qof_formatted_time_to_utf8 converts the result back to UTF-8
* qof_strftime takes similar arguments to strftime, but in UTF-8
* the conversion functions on Windows are implemented in qof-win32.c to
allow them to use windows.h, as they need wcstombs and mbstowcs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15795 57a11ea4-9604-0410-9ed3-97b8803252fd
Handle two NULL parameters to %s in printfs. In
gnc_update_state_file_keys, also use \r for splitting the contents into
lines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15793 57a11ea4-9604-0410-9ed3-97b8803252fd
off the environment variable GNC_AUTO_SCRUB_LOTS instead of commenting
it out of the code. This make it easier for developers to test/users
to try lot scrubbing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15791 57a11ea4-9604-0410-9ed3-97b8803252fd
re-implement gnc_lot_get_earliest_split and gnc_lot_get_latest_split
using xaccSplitDateOrder. This greatly simplifies the functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15790 57a11ea4-9604-0410-9ed3-97b8803252fd
considered a valid key in a key/value file. This change will cause
gnucash to rewrite any opened state file into a new version where all
key names fit the new glib requirements.
This code was originally committed to trunk as #15458 on 1/28/07, and
then backed out with #15461 on 1/29/07. Backward compatibility
support for this code was committed to the 2.0 branch in #15460 and
was released as part of 2.0.5. Now that 2.0.5 has now been out for
six weeks, this commit puts the original changes back into trunk.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15787 57a11ea4-9604-0410-9ed3-97b8803252fd
Change GncDenseCal to be a composite widget using GtkDrawArea, rather than
being a "native" widget; much more straightforward implementation. Update
some GTK API usage for deprecation/modernity.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15786 57a11ea4-9604-0410-9ed3-97b8803252fd
- migrate QofBook to GObject
- move around some typedef to get libqof to build again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15784 57a11ea4-9604-0410-9ed3-97b8803252fd
The scrolled windows for "transfer to" and "transfer from" now take the
treeviews directly and do not pack them into viewports, letting them
actually scroll the scrolled window.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15782 57a11ea4-9604-0410-9ed3-97b8803252fd
note that this breaks the build of this branch, and that the
build will remain broken until each of the objects is converted
over to basic GObject support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15781 57a11ea4-9604-0410-9ed3-97b8803252fd
Granted, it's not used, yet. But it's there.
Also add some helpful macros for instances.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15778 57a11ea4-9604-0410-9ed3-97b8803252fd
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
- Convert (QofEntity*)x to QOF_ENTITY(x)
- Move qof_entity_init() and friends into qof_instance and rename
- Move QofEntity contents into QofInstance
(note: this doesn't compile)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/gobject-engine-dev-warlord@15772 57a11ea4-9604-0410-9ed3-97b8803252fd
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
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
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