Re: wrong version in 2.3.6 news

2009-09-29 Thread Phil Longstaff
On September 29, 2009 08:00:37 pm Tim M wrote:
> FYI, the 2.3.6 news article on the front page says "GnuCash 2.3.9 released"
>
> :)
>
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Thanks.   Fixed.
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Build error split-register-model.c

2009-09-29 Thread jraehl
I am seeing similar from a Windows XP build.  This is a complete environment 
install and Gnucash build on a new hard disk.  My previous build on the old 
computer was with the 09/25 changes, and ran fine except for the two reports 
that crashed Gnucash, which were previously reported.

I wonder if this problem is due to changset 18352 "Fix crash at creating 
account report..."

Jim Raehl 

2009/9/29 Colin Law :
> I am getting a build error in the latest split-register-model.c
>
> split-register-model.c: In function ‘gnc_split_register_get_rbaln’:
> split-register-model.c:71: error: ‘children’ may be used uninitialised
> in this function
> split-register-model.c:69: error: ‘account’ may be used uninitialised
> in this function

In addition, having initialised these to NULL to keep the compiler
happy I now get a crash on startup.

Backtrace:
In unknown file:
   ?:  9  (let ((full-name #)) (let (#) (if already # #)))
...
   ?: 10  (begin (if # #) (make-modules-in # full-name))
   ?: 11* (if (or # #) (try-load-module name))
   ?: 12  [try-load-module (gnucash report standard-reports)]
   ?: 13  (or (begin (try-module-linked name)) (try-module-autoload name) ...)
   ?: 14* [try-module-autoload (gnucash report standard-reports)]
   ?: 15  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
...
   ?: 16  (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda
() #) ...) ...)
   ?: 17* [dynamic-wind # #
#]
   ?: 18* [#]
   ?: 19* (let ((file #)) (cond (# => #) (# => #)))
   ?: 20  [#
"/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucas$
   ?: 21  [load-file # ...]
   ?: 22* [save-module-excursion #]
   ?: 23  (let (# #) (dynamic-wind # thunk #))
   ?: 24  [dynamic-wind # #
#]
   ?: 25* [#]
   ?: 26* [primitive-load
"/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/r$
In 
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.
scm:
 160: 27* (define gnc:register-report-create-internal #)
 160: 28* (@ # gnc:register-report-create-internal)

/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.
scm:160:45:
In expression (@ (gnucash report standard-reports ...)
gnc:register-report-create-internal):
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.
scm:160:45:
Unbound variable: @

It was ok before I picked up the last few days of changes.
I am on Ubuntu 9.04.

Is this something specific to me?

It is late so I have not looked at the files indicated yet.

Colin
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Gnucash 2.3.6 Released

2009-09-29 Thread Phil Longstaff
Announcement: GnuCash 2.3.6 Release
2009-09-29

The GnuCash development team proudly announces GnuCash 2.3.6, the seventh of 
several unstable 2.3.x releases of the GnuCash Free Accounting Software which 
will eventually lead to the stable version 2.4.0. With this new release series, 
GnuCash can use an SQL database using SQLite3, MySQL or PostgreSQL. It runs on 
GNU/Linux, *BSD, Solaris, Microsoft Windows and Mac OSX. This release is 
intended for developers and testers who want to help tracking down all those 
bugs that are still in there.

WARNING WARNING WARNING - Make sure you make backups of any files used in 
testing versions of GnuCash in the 2.3.x series. Although the developers go to 
great lengths to ensure that no data will be lost we cannot guarantee that your 
data will not be affected if for some reason GnuCash crashes in testing these 
releases.

PLEASE TEST TEST AND TEST SOME MORE any and all features important to you.  
Then post any bugs you find to bugzilla

Major changes in the 2.3.x release include;

* In addition to the XML backend, Gnucash can now use a SQLite3, MySQL or 
PostgreSQL database to store the data. This is a new implementation using 
libdbi. It supports all features including the business features.  In order to 
build with this, add --enable-dbi to the configure command.  In addition to the 
libdbi-dev package foryour distribution, you will also need the appropriate DBD 
(libdbi driver) package for sqlite3, mysql or postgresql.
* In addition to the current GtkHTML HTML engine used to display reports and 
graphs, Gnucash can use WebKit. WebKit is the engine used by Google Chrome on 
Windows and Safari on Apple.  In order to build with this, add --enable-webkit 
to the configure command.  You will need an appropriate webkit-dev package.  On 
win32, you will need to download the webkit-1.1.5-win32.zip file from the 
source repository and put it into the downloads directory of your gnucash build 
area.
* Updated to AqBanking 3 on Win32.

Changes between 2.3.5 and 2.3.6 include:

* Fix #107929: Improved running balance implementation.  Patch by Tim M
* Fix #593906: Fix crash at creating account report Patch by Mike Alexander
* When configuring to build, if webkit chosen as html engine, don't bother 
looking for gtkhtml.
* Fix enhancement bug 101456 - 'Find' dialog cumbersome for Business functions. 
Patch by Geert Janssens
* Fix enhancement bug 589787 - Multi-line up/down scroll for register 
transaction Notes field text.  Patch by James Raehl
* Win32 build: Add forgotten dist_ktoblzcheck step to dist creation.
* Use GtkFunction instead of obsolete GtkDestroyNotify for argument type
* Win32: Newer Aqbanking version
* Win32 build: Remove gwenhywfar configure option which has been removed before 
gwenhywfar-3.8.2.
* I18n fix: Markup preference tab name "Online Banking" for translation.
* Win32 installer: Really fix path of qt3-wizard.exe.
* Fix bug #595920: Fix missing ca-bundle.crt in windows installer.
* Add "file://" URL type to images in invoices.
* Latest pot template merged into all .po translation files
* Bug #589804: Additions to register transactions Action pulldown list.  Patch 
by James Raehl.
* Bug #572938: Fix OFX Mutual fund buys that are imported as sells. Patch by 
Matt Lavin, signed-off by Benoit Grégoire.
* Bug #585784: Fix wrong fractional precision in stock/mutual fund registers. 
Patch by Daniel Harding.
* Source of src/libqof/qof run through astyle to be re-indented
* Add GNC_DBD_DIR definition for libdbi on mac
* Fix bug 590386 - Add option to always use today for reconciliation statement 
date Patch by Simon Arlott
* Fix bug 591117 - Cash Flow Report's "Depth: All" Option is Broken. Patch by 
David Eisner
* Fix bug 595014 - MacOSX 10.6 (Snow Leopard) fails configure.in check. Patch 
byDavid Reiser
* Fix bug 595015 - compiler warnings for missing printf format specs, gcc 
4.2.1. Patch by David Reiser
* Fix bug 595017 - compiler complaints about incompatible pointer types in 
gnc-gwen-gui.c. Patch by David Reiser
* Fix bug 589673 - need to patch libdbi source for win32 problem.
* Fix bug 594048 - gnucash will not compile with most recent goffice versions. 
Patch by Jean Brefort
* Remove trailing whitespace from lines. Patch by Geert Janssens.
* Move gnc_account_get_full_name() from app-utils to engine and remove 
xaccAccountGetFullName in engine.
* If an object is loaded with a reference to an invoice, order, tax table or 
bill term which has not been loaded yet, print a warning message into the trace 
file.
* If an object is being loaded that has a reference to a transaction, and the 
transaction hasn't been loaded yet, load it. If an object has a reference to an 
account, commodity, budget or lot that hasn't been loaded yet, print a warning 
message in the trace file. The difference in handling is that these object 
types are always loaded at init time, whereas transactions are not.
* Replace some calls to (deprecated) xaccAccountGetGUID() with calls to 

wrong version in 2.3.6 news

2009-09-29 Thread Tim M
FYI, the 2.3.6 news article on the front page says "GnuCash 2.3.9 released"
:)
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Build error split-register-model.c

2009-09-29 Thread Derek Atkins

Quoting Colin Law :


/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:160:45:
In expression (@ (gnucash report standard-reports ...)
gnc:register-report-create-internal):
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:160:45:
Unbound variable: @

It was ok before I picked up the last few days of changes.
I am on Ubuntu 9.04.

Is this something specific to me?


Try adding:

(use-modules (ice-9 slib))

to the top of standard-reports.scm and see if that helps?


It is late so I have not looked at the files indicated yet.


-derek

--
  Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
  Member, MIT Student Information Processing Board  (SIPB)
  URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
  warl...@mit.eduPGP key available

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Build error split-register-model.c

2009-09-29 Thread Colin Law
2009/9/29 Colin Law :
> I am getting a build error in the latest split-register-model.c
>
> split-register-model.c: In function ‘gnc_split_register_get_rbaln’:
> split-register-model.c:71: error: ‘children’ may be used uninitialised
> in this function
> split-register-model.c:69: error: ‘account’ may be used uninitialised
> in this function

In addition, having initialised these to NULL to keep the compiler
happy I now get a crash on startup.

Backtrace:
In unknown file:
   ?:  9  (let ((full-name #)) (let (#) (if already # #)))
...
   ?: 10  (begin (if # #) (make-modules-in # full-name))
   ?: 11* (if (or # #) (try-load-module name))
   ?: 12  [try-load-module (gnucash report standard-reports)]
   ?: 13  (or (begin (try-module-linked name)) (try-module-autoload name) ...)
   ?: 14* [try-module-autoload (gnucash report standard-reports)]
   ?: 15  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
...
   ?: 16  (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda
() #) ...) ...)
   ?: 17* [dynamic-wind # #
#]
   ?: 18* [#]
   ?: 19* (let ((file #)) (cond (# => #) (# => #)))
   ?: 20  [#
"/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucas$
   ?: 21  [load-file # ...]
   ?: 22* [save-module-excursion #]
   ?: 23  (let (# #) (dynamic-wind # thunk #))
   ?: 24  [dynamic-wind # #
#]
   ?: 25* [#]
   ?: 26* [primitive-load
"/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/r$
In 
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:
 160: 27* (define gnc:register-report-create-internal #)
 160: 28* (@ # gnc:register-report-create-internal)

/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:160:45:
In expression (@ (gnucash report standard-reports ...)
gnc:register-report-create-internal):
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:160:45:
Unbound variable: @

It was ok before I picked up the last few days of changes.
I am on Ubuntu 9.04.

Is this something specific to me?

It is late so I have not looked at the files indicated yet.

Colin
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Build error split-register-model.c

2009-09-29 Thread Colin Law
I am getting a build error in the latest split-register-model.c

split-register-model.c: In function ‘gnc_split_register_get_rbaln’:
split-register-model.c:71: error: ‘children’ may be used uninitialised
in this function
split-register-model.c:69: error: ‘account’ may be used uninitialised
in this function

Colin
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: How to setup gconf data

2009-09-29 Thread Colin Law
2009/9/28 Christian Stimming :
> Am Montag, 28. September 2009 22:26 schrieb Colin Law:
>> >> > I have added a checkbox to the preferences, register dialog and
>> >> > entered the data for the gconf key in apps_gnucash_general.schemas.in.
>> >> >  I have done a full rebuild and everything works except that the key
>> >> > is not being initialised
>> >
>> > Sorry, I've got only some random ideas:
>> > - "make install" so that the .schemas file is built and installes
>> > - restarting gconf
>>
>> I had done make install, and have rebooted in fact.  Should the new
>> key appear in gconf before gnucash is run?  It does not appear until I
>> open the preferences dialog and change the new key, and then it does
>> not have the descriptions I have put in the schema.  I have examined
>> the schema data and cannot see anything wrong.
>
> Then I can only think of the install prefix of gnucash which might be
> different from where gconf expects its .schemas file. Other than that I alos
> don't know of anything. Anyone else?

I have got to the bottom of this, it appears to me that it may be an
error in make install, but perhaps it is as intended.  As Christian
suggested it is a problem with the location that the schema files are
installed to.  If a prefix is specified then the schemas are installed
to
$(prefix)/etc/gconf/gconf.xml.defaults
which is not a location that gconf looks in.  Note that
/etc/gconf/gconf.xml.defaults _is_ in the gconf path.
OK, I thought, that is intentional in order that the schemas do not
conflict with those installed for a different prefix or no prefix.  I
then tried an install with no prefix specified, in this case it
installs them to
/usr/local/etc/gconf/gconf.xml.defaults
which is still not in the gconf path.

Is that the expected behaviour?

In order to add the folder to the gconf path one can create a file
~/.gconf.path and put in there the line
xml:readonly:/usr/local/etc/gconf/gconf.xml.defaults
or the equivalent if prefix is used.

Colin
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Glade making changes I did not ask for

2009-09-29 Thread Colin Law
2009/9/25 Colin Law :
> Hi
> Sorry for more noob questions.
> I have used Glade to add a checkbox to the preferences dialog.  Glade
> has made the expected changes to preferences.glade but has made some
> other changes that I was not aware that I had asked for:
>
> 1. It has deleted the line  after 

In case anyone is interested the cause of this was that I had not
installed the gnome support for Glade.  In Ubuntu I should have
installed glade-gnome rather than glade.

Colin
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.

2009-09-29 Thread Tim M
I should note that when testing this patch, I also tried setting the
RATE_CELL to column 7 for the template register (8 for non-template) and
leaving column 8 blank, but I was told that the RATE_CELL needs to be the
last column.  When I tested a build with the RATE cell in col 7 for the
template register, the 5px empty column did appear to the right of the
template register.

Another option if no empty columns are allowed would be to either a) create
a BLANK_CELL type and use that to fill the void, or b) also set the number
of columns for the GENERAL_LEDGER to 8 for template registers instead of 9
which is required to add the running balance column.

-Tim

On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins  wrote:

> Christian Stimming  writes:
>
> > -gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7);
> > +if (!reg->is_template)
> > +{
> > +  gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7);
> > +}
> >  gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8);
>
> Is it okay to skip a column like this?
>
> -derek
> --
>Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>   Member, MIT Student Information Processing Board  (SIPB)
>   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
>   warl...@mit.eduPGP key available
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Geert Janssens
On Tuesday 29 September 2009, Derek Atkins wrote:
> Quoting Bill Nottingham :
> > Derek Atkins (warl...@mit.edu) said:
> >> Phil Longstaff  writes:
> >> > I tried a build last night with deprecated gnome/glib/gtk/gdk/...
> >> > features disabled.  I submitted a patch for one simple change. 
> >> > GnomeDruid
> >>
> >> (libgnomeui)
> >>
> >> > is deprecated in favor of GtkAssistant.  I logged a bug for this one.
> >> > GtkTooltips is deprecated in favor of GtkTooltip.  However, there
> >>
> >> are comments
> >>
> >> > in the code to the effect that some needed features aren't in Gtk
> >>
> >> (tooltip on
> >>
> >> > each item of a combo box).  Others, as Derek says, are dependencies of
> >> > our dependencies.
> >>
> >> When were these new interfaces added to Gtk?  Do we have a new minimum
> >> version of Gtk?
> >
> > GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.
>
> Thanks Bill.  It's kinda what I was afraid of.
>
> I think I can convince myself that it's okay to require gtk-2.10.
> I'm not sure about 2.12.  What version does Ubuntu 8.04 have?
> I think we'd blow RHEL-5 out of the water if we increase the
> gtk requirement that far, wont we?
>
Ubuntu 8.04 LTS comes with 2.12.x, so it's more recent than RedHat.

Geert


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Derek Atkins

Quoting Bill Nottingham :


Derek Atkins (warl...@mit.edu) said:

>>When were these new interfaces added to Gtk?  Do we have a new minimum
>>version of Gtk?
>
>GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.

Thanks Bill.  It's kinda what I was afraid of.

I think I can convince myself that it's okay to require gtk-2.10.
I'm not sure about 2.12.  What version does Ubuntu 8.04 have?
I think we'd blow RHEL-5 out of the water if we increase the
gtk requirement that far, wont we?


RHEL 5 ships gtk-2.10.x, yes.


Answering my own question, ub8.04 has 2.12, but I don't think we should
ignore el5..  So like I said I'm happy to drop everything pre-el5 and
increase our gtk requirement to 2.10, but I think 2.12 is too new.

So Phil, that means we cannot use GtkToolTip and have to continue using
the old GtkTooltips...   Unless you want to copy the new API into a
compatibility library like we did for lib/glib28 etc?  But minimum
requirement should be gtk-2.10.

Thanks,


Bill


-derek

--
  Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
  Member, MIT Student Information Processing Board  (SIPB)
  URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
  warl...@mit.eduPGP key available

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Invoices: Process Payment

2009-09-29 Thread Sebastian Held
Derek,

Am Dienstag, 29. September 2009 18:07:27 schrieben Sie:
> Sebastian,
> 
> "David T."  writes:
> > Sebastian--
> >
> > If I am understanding you correctly, you want to be able to use an
> > existing transaction (the one that has been imported to Gnucash) to
> > account for an invoice. In my few experiments with using the billing
> > features, I was unable to figure out how to do that, and I believe I
> > was told that Gnucash doesn't have the option of using an existing
> > transaction to pay an invoice. I will be eager to see how this plays
> > out for you, as it would help me as well.
> >
> > David
> 
> David is correct here.
> 
> As of right now there is no way to assign a split to a customer (see bug
> #108570).
> 
> The way to do it now is to run Process Payment when you actually get the
> payment from the customer, and then during the import mark it as a
> duplicate of the existing transaction.

The problem is, that I do not know, a payment has been placed, until I start 
the import. Only then, by looking at my imported transactions (via HBCI) I can 
recognize payments.

I'll have a look at this issue.

Thanks for explaining.

Sebastian

> 
> -derek
> 
> > --- On Mon, 9/28/09, Sebastian Held  wrote:
> >> From: Sebastian Held 
> >> Subject: Invoices: Process Payment
> >> To: gnucash-devel@gnucash.org
> >> Date: Monday, September 28, 2009, 8:58 AM
> >> Hello List, hello Derek,
> >>
> >> I'm currently trying to get familiar with the invoice
> >> payment procedure, but
> >> it seems to only model the "got cash" way of paying an
> >> invoice, correct?
> >>
> >> This is, what I want the invoice payment to do:
> >>  - I sell s.th. and create an invoice
> >>  - this invoice shows up in A/R (asset)
> >>  - the Income/Sales is credited
> >>
> >>  - now the customer pays the invoice
> >>  - via HBCI I see this payment on my checking account
> >>  - now I like to "link" this payment with the invoice item
> >> in A/R
> >>this seems to be impossible.
> >>
> >> The process payment command creates a new transaction to my
> >> checking account,
> >> which is not correct.
> >>
> >>
> >> Is it possible to modify an imported (via HBCI aka
> >> aqbanking) transaction to
> >> behave like a payment?
> >>
> >> If not, I'll need to code that. Or is there a fundamental
> >> flaw in my
> >> description above?
> >>
> >> Sebastian
> >>
> >>
> >> PS: I also like to have a more "intelligent" process
> >> payment druid (take the
> >> description of the selected transaction and try to find a
> >> matching invoice
> >> (customer))
> >> ___
> >> gnucash-devel mailing list
> >> gnucash-devel@gnucash.org
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> >
> > ___
> > gnucash-devel mailing list
> > gnucash-devel@gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Bill Nottingham
Derek Atkins (warl...@mit.edu) said: 
> >>When were these new interfaces added to Gtk?  Do we have a new minimum
> >>version of Gtk?
> >
> >GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.
> 
> Thanks Bill.  It's kinda what I was afraid of.
> 
> I think I can convince myself that it's okay to require gtk-2.10.
> I'm not sure about 2.12.  What version does Ubuntu 8.04 have?
> I think we'd blow RHEL-5 out of the water if we increase the
> gtk requirement that far, wont we?

RHEL 5 ships gtk-2.10.x, yes.

Bill
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Derek Atkins

Quoting Bill Nottingham :


Derek Atkins (warl...@mit.edu) said:

Phil Longstaff  writes:

> I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
> disabled.  I submitted a patch for one simple change.  GnomeDruid 
(libgnomeui)

> is deprecated in favor of GtkAssistant.  I logged a bug for this one.
> GtkTooltips is deprecated in favor of GtkTooltip.  However, there 
are comments
> in the code to the effect that some needed features aren't in Gtk 
(tooltip on

> each item of a combo box).  Others, as Derek says, are dependencies of our
> dependencies.

When were these new interfaces added to Gtk?  Do we have a new minimum
version of Gtk?


GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.


Thanks Bill.  It's kinda what I was afraid of.

I think I can convince myself that it's okay to require gtk-2.10.
I'm not sure about 2.12.  What version does Ubuntu 8.04 have?
I think we'd blow RHEL-5 out of the water if we increase the
gtk requirement that far, wont we?


Bill


-derek

--
  Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
  Member, MIT Student Information Processing Board  (SIPB)
  URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
  warl...@mit.eduPGP key available

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Bill Nottingham
Derek Atkins (warl...@mit.edu) said: 
> Phil Longstaff  writes:
> 
> > I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
> > disabled.  I submitted a patch for one simple change.  GnomeDruid 
> > (libgnomeui)
> > is deprecated in favor of GtkAssistant.  I logged a bug for this one. 
> > GtkTooltips is deprecated in favor of GtkTooltip.  However, there are 
> > comments
> > in the code to the effect that some needed features aren't in Gtk (tooltip 
> > on
> > each item of a combo box).  Others, as Derek says, are dependencies of our
> > dependencies.
> 
> When were these new interfaces added to Gtk?  Do we have a new minimum
> version of Gtk?

GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.

Bill
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Derek Atkins
Phil,

What I meant was: Are these new APIs available in Gtk 2.6 (which is our
current minimum version of Gtk).  If the code wont still build against
Gtk 2.6 then we should consider changing the configure script to
something more recent or fixing the code to make sure we retain gtk-2.6
support.

-derek

Phil Longstaff  writes:

> I think our current version of Gtk hasn't changed.
>
> Re e-guile reports: I think the first e-guile report is in 2.3.X, but I
> haven't really tested to see if it is or how it works.
>
> Phil
>
> ━━
> From: Derek Atkins 
> To: Phil Longstaff 
> Cc: Geert Janssens ; gnucash-devel@gnucash.org
> Sent: Tuesday, September 29, 2009 11:59:14 AM
> Subject: Re: Deprecated libraries
>
> Phil Longstaff  writes:
>
>> I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
>> disabled.  I submitted a patch for one simple change.  GnomeDruid
> (libgnomeui)
>> is deprecated in favor of GtkAssistant.  I logged a bug for this one.
>> GtkTooltips is deprecated in favor of GtkTooltip.  However, there are
> comments
>> in the code to the effect that some needed features aren't in Gtk (tooltip
> on
>> each item of a combo box).  Others, as Derek says, are dependencies of our
>> dependencies.
>
> When were these new interfaces added to Gtk?  Do we have a new minimum
> version of Gtk?
>
>> Re major versions: 2.4 will have the new db backend and webkit instead of
>> gtkhtml.  I think 2.6 should have new reports (Chris Dennis' eguile-based
>> reports) and register rewrite.
>
> I thought the basic e-guile reports were in 2.4.. Are you saying they
> are not?  Or are you saying that a full conversion of all reports to
> eguile would wait?  Personally I think we should just have a mix; I'm
> not convinced all reports require a conversion to e-guile.
>
>> Phil
>
> -derek
>
> --
>   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>   Member, MIT Student Information Processing Board  (SIPB)
>   URL: http://web.mit.edu/warlord/PP-ASEL-IAN1NWH
>   warl...@mit.eduPGP key available
>

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Phil Longstaff
I think our current version of Gtk hasn't changed.

Re e-guile reports: I think the first e-guile report is in 2.3.X, but I haven't 
really tested to see if it is or how it works.

Phil





From: Derek Atkins 
To: Phil Longstaff 
Cc: Geert Janssens ; gnucash-devel@gnucash.org
Sent: Tuesday, September 29, 2009 11:59:14 AM
Subject: Re: Deprecated libraries

Phil Longstaff  writes:

> I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
> disabled.  I submitted a patch for one simple change.  GnomeDruid (libgnomeui)
> is deprecated in favor of GtkAssistant.  I logged a bug for this one. 
> GtkTooltips is deprecated in favor of GtkTooltip.  However, there are comments
> in the code to the effect that some needed features aren't in Gtk (tooltip on
> each item of a combo box).  Others, as Derek says, are dependencies of our
> dependencies.

When were these new interfaces added to Gtk?  Do we have a new minimum
version of Gtk?

> Re major versions: 2.4 will have the new db backend and webkit instead of
> gtkhtml.  I think 2.6 should have new reports (Chris Dennis' eguile-based
> reports) and register rewrite.

I thought the basic e-guile reports were in 2.4.. Are you saying they
are not?  Or are you saying that a full conversion of all reports to
eguile would wait?  Personally I think we should just have a mix; I'm
not convinced all reports require a conversion to e-guile.

> Phil

-derek

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
  warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Invoices: Process Payment

2009-09-29 Thread Derek Atkins
Sebastian,

"David T."  writes:

> Sebastian--
>
> If I am understanding you correctly, you want to be able to use an
> existing transaction (the one that has been imported to Gnucash) to
> account for an invoice. In my few experiments with using the billing
> features, I was unable to figure out how to do that, and I believe I
> was told that Gnucash doesn't have the option of using an existing
> transaction to pay an invoice. I will be eager to see how this plays
> out for you, as it would help me as well.
>
> David

David is correct here.

As of right now there is no way to assign a split to a customer (see bug
#108570).

The way to do it now is to run Process Payment when you actually get the
payment from the customer, and then during the import mark it as a
duplicate of the existing transaction.

-derek

> --- On Mon, 9/28/09, Sebastian Held  wrote:
>
>> From: Sebastian Held 
>> Subject: Invoices: Process Payment
>> To: gnucash-devel@gnucash.org
>> Date: Monday, September 28, 2009, 8:58 AM
>> Hello List, hello Derek,
>> 
>> I'm currently trying to get familiar with the invoice
>> payment procedure, but 
>> it seems to only model the "got cash" way of paying an
>> invoice, correct?
>> 
>> This is, what I want the invoice payment to do:
>>  - I sell s.th. and create an invoice
>>  - this invoice shows up in A/R (asset)
>>  - the Income/Sales is credited
>> 
>>  - now the customer pays the invoice
>>  - via HBCI I see this payment on my checking account
>>  - now I like to "link" this payment with the invoice item
>> in A/R
>>    this seems to be impossible.
>> 
>> The process payment command creates a new transaction to my
>> checking account, 
>> which is not correct.
>> 
>> 
>> Is it possible to modify an imported (via HBCI aka
>> aqbanking) transaction to 
>> behave like a payment?
>> 
>> If not, I'll need to code that. Or is there a fundamental
>> flaw in my 
>> description above?
>> 
>> Sebastian
>> 
>> 
>> PS: I also like to have a more "intelligent" process
>> payment druid (take the 
>> description of the selected transaction and try to find a
>> matching invoice 
>> (customer))
>> ___
>> gnucash-devel mailing list
>> gnucash-devel@gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> 
>
>
>   
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: GnomePrint

2009-09-29 Thread Derek Atkins
"Stuart D. Gathman"  writes:

> On Fri, 25 Sep 2009, Phil Longstaff wrote:
>
>> Do we still need to support GnomePrint?  There are references in the mailing
>> list to goffice using it, but is that old enough (2007) that we can assume 
>> all
>> newer versions that users/developers have use GtkPrint instead?
>
> EL5.3 (and Centos-5.3) have libgnomeprint22-2.12.1.  Fedora 10 uses
> libgnomeprint22-2.18.5.

True, however is it required?  I believe that F10 has a recent enough
gtkhtml and gtk that it uses GtkPrint anyways.

-derek
-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Derek Atkins
Phil Longstaff  writes:

> I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
> disabled.  I submitted a patch for one simple change.  GnomeDruid (libgnomeui)
> is deprecated in favor of GtkAssistant.  I logged a bug for this one. 
> GtkTooltips is deprecated in favor of GtkTooltip.  However, there are comments
> in the code to the effect that some needed features aren't in Gtk (tooltip on
> each item of a combo box).  Others, as Derek says, are dependencies of our
> dependencies.

When were these new interfaces added to Gtk?  Do we have a new minimum
version of Gtk?

> Re major versions: 2.4 will have the new db backend and webkit instead of
> gtkhtml.  I think 2.6 should have new reports (Chris Dennis' eguile-based
> reports) and register rewrite.

I thought the basic e-guile reports were in 2.4.. Are you saying they
are not?  Or are you saying that a full conversion of all reports to
eguile would wait?  Personally I think we should just have a mix; I'm
not convinced all reports require a conversion to e-guile.

> Phil

-derek

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.

2009-09-29 Thread Derek Atkins
Christian Stimming  writes:

> -gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7);
> +if (!reg->is_template)
> +{
> +  gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7);
> +}
>  gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8);

Is it okay to skip a column like this?

-derek
-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel