Vanguard investments

2000-04-14 Thread Paul Fenwick

G'day GnuCash people,

I've been writing a regression testing suite for the stock-quote
functions of GnuCash.  I was wondering if anyone has investments in
the Vanguard group and has been using gnc-prices to keep up-to-date
with their funds?  If you have been, could you let me know the
ticker symbols you've been using?  The Vanguard site appears to have
been re-organised and I suspect the old libraries may no longer
work.

Thanks muchly,

Paul

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: Dividends

2000-04-14 Thread Hubert Figuiere

According to Paul Fenwick [EMAIL PROTECTED]:
 On Thu, Apr 13, 2000 at 11:11:29PM +1000, Paul Fenwick wrote:
 
  Having something which can fetch currency data and update things in
  GnuCash accordingly sounds like a good idea.  I'll see what I can
  do about this.  I'm going to find myself in a similar situation
  if I ever invest in US markets.  (I want to know everything in
  Australian Dollars.)
 
 It appears that Yahoo have an on-line currency converter, so I'll
 work on adding currency conversion to Finance::Quote.  When I've
 got it working okay I'll post more information to the list about
 adding currency conversion to GnuCash.

I have found another problem with conversion: I do have an account in EURO.
But in the main window, the total is given un FRF (I have set LC_MONETARY to
"fr_FR") but it give the EURO amount. This is annoying sice that make me
loose money :-)

So GnuCash definetly needs a currencies conversion. For EURO, we can hardcode
a fixed table of all "Euro currencies" since they are NOT supposed to
evolve. For the other, we can have a table updated by the user (and
automagically by gnc-prices).




Hub

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: Vanguard investments

2000-04-14 Thread Hubert Figuiere

According to Paul Fenwick [EMAIL PROTECTED]:

Salut !

   I've been writing a regression testing suite for the stock-quote
 functions of GnuCash.  

While you are on it, is it possible to ignore stocks that have an empty
"security" value ? Because there is a bug in GnuCash that prevent me from
removing the source for price quotes, making gnc-price not updating all the
other.

I attach the small patch to src/quotes/gnc-prices.in from current CVS so you
just need to include it :=)

Hub



diff -c -r1.3 gnc-prices.in
*** src/quotes/gnc-prices.in2000/04/09 01:43:40 1.3
--- src/quotes/gnc-prices.in2000/04/14 10:31:29
***
*** 140,145 
--- 140,150 
  $accinfo = gnucash::xaccAccountGetAccInfo ($acct);
  $invacct = gnucash::xaccCastToInvAcct ($accinfo);
  
+ if ($security eq "") 
+ {
+print "unknown. skipping...\n";
+next;
+ }
  if ($invacct)
  {
$quotesrc = gnucash::xaccInvAcctGetPriceSrc ($invacct);




--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]



Re: Vanguard investments

2000-04-14 Thread Dave Peticolas

 --oyUTqETQ0mS9luUI
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 According to Paul Fenwick [EMAIL PROTECTED]:
 
 Salut !
 
  I've been writing a regression testing suite for the stock-quote
  functions of GnuCash.  
 
 While you are on it, is it possible to ignore stocks that have an empty
 "security" value ? Because there is a bug in GnuCash that prevent me from
 removing the source for price quotes, making gnc-price not updating all the
 other.

It is possible and I can fix the bug, too :)

thanks,
dave

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





cvs 2000-04-14

2000-04-14 Thread Dave Peticolas


CVS has been updated.

New Stuff:

 + Hubert Figuiere's patch to gnc-prices.in.

 + Bug fix allowing the quote source to be set to (none).

 + Code to support unique identifiers for all accounts, transactions, etc.
   This is not ready to be used, it's just there for testing purposes.


dave

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: Dividends

2000-04-14 Thread Herbert Thoma

Hubert Figuiere wrote:
 So GnuCash definetly needs a currencies conversion. For EURO, we can hardcode
 a fixed table of all "Euro currencies" since they are NOT supposed to
 evolve. For the other, we can have a table updated by the user (and
 automagically by gnc-prices).

Hi!

I have implemented this EURO conversion, it is in the CVS.

The EURO support is at its beginning now and it will take
some time until it gets really useful. For now all it does
is to display your profits and assets in the statusbar in 
local currency and EURO.

 Herbert.
-- 
Herbert Thoma
FhG-IIS A, Studio Department
Am Weichselgarten3, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax:   +49-9131-776-399
email: [EMAIL PROTECTED]
www: http://www.iis.fhg.de/

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





make gnome fail

2000-04-14 Thread Hubert Figuiere


make gnome fail since I have updated to the last CVS.

Here is the error:

gcc -Wp,-MD,obj/gnome/MultiLedger.d.tmp -c -g -O2  -I/usr/X11R6/include -I.
-I.. -I./engine -I./engine/guid -I./register -Ireports -I./../include
-I/usr/local/include  -pg -DHAVE_CONFIG_H -I./gnome -I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include
-I/usr/X11R6/include -DGNOME -o obj/gnome/MultiLedger.o MultiLedger.c 
In file included from engine/Transaction.h:33,
 from engine/Account.h:30,
 from MultiLedger.c:26:
engine/GNCId.h:39: guid.h: No such file or directory


guid.h cannot be found... and is missing in my source tree.


Hub

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: make gnome fail

2000-04-14 Thread Ken Yamaguchi

It works for me.  Did you "cvs update -Pd" to get the src/engine/guid
directory?

kdy

On Fri, Apr 14, 2000 at 03:55:27PM +0200, Hubert Figuiere wrote:
 make gnome fail since I have updated to the last CVS.

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: make gnome fail

2000-04-14 Thread Rob Walker


 On Fri, 14 Apr 2000 15:55:27 +0200, Hubert Figuiere
 [EMAIL PROTECTED] said:

Hubert make gnome fail since I have updated to the last CVS.

Hubert Here is the error:

Hubert gcc -Wp,-MD,obj/gnome/MultiLedger.d.tmp -c -g -O2  -I/usr/X11R6/include -I.
Hubert -I.. -I./engine -I./engine/guid -I./register -Ireports -I./../include
Hubert -I/usr/local/include  -pg -DHAVE_CONFIG_H -I./gnome -I/usr/include
Hubert -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include
Hubert -I/usr/X11R6/include -DGNOME -o obj/gnome/MultiLedger.o MultiLedger.c 
Hubert In file included from engine/Transaction.h:33,
Hubert from engine/Account.h:30,
Hubert from MultiLedger.c:26:
Hubert engine/GNCId.h:39: guid.h: No such file or directory


Hubert guid.h cannot be found... and is missing in my source tree.

same error here.

rob

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: make gnome fail

2000-04-14 Thread Hubert Figuiere

According to Ken Yamaguchi [EMAIL PROTECTED]:
 It works for me.  Did you "cvs update -Pd" to get the src/engine/guid
 directory?

No.
Problem solved. :-/


Hub

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: make gnome fail

2000-04-14 Thread Rob Walker


 On Fri, 14 Apr 2000 07:56:37 -0700, Ken Yamaguchi
 [EMAIL PROTECTED] said:

Ken It works for me.  Did you "cvs update -Pd" to get the
Ken src/engine/guid directory?

that worked for me.  thank you.

rob

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: Dividends

2000-04-14 Thread Hendrik Boom

 
 So GnuCash definetly needs a currencies conversion. For EURO, we can hardcode
 a fixed table of all "Euro currencies" since they are NOT supposed to
 evolve. For the other, we can have a table updated by the user (and
 automagically by gnc-prices).

I woudn't rely on fixed exchange rates until the old national currencies
are so obsolete that no one uses them any more.  Since the fixed exchange
rates were defined by politics, they can be changed by politics,
no matter how permanent the politicians say they are.

We still need a solution to the general problem of (variable)
exchange rates.  If we have one, it should handle the euro automagically.
If we don't, we'll still need to build one, and then special effort on the
euro will have been wasted.

Is there something I don't understand here?

-- hendrik.

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





segfault

2000-04-14 Thread Bryan Larsen

A pristine, up to date build is currently segfaulting.  No core file.  More
details to follow

Bryan
-- 
-
Bryan Larsen, Senior Software Engineer  fall guy
Phone:  306 664 2087 x29.   Fax:  306 664 4446
Analog Design Automation:  Analog Circuit Synthesis?  Problem Solved.

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





Re: cvs 2000-04-14

2000-04-14 Thread Bryan Larsen

OK, this must be the update that broke the build for me.

cvsgnucash update -Pd -D "14 apr 2000"

works fine

cvsgnucash update -Pd -A 

segfaults just before the main window should appear.

The ouput from the screen is the same as normal.  

I get this message, but then again, I've always gotten this message.

This is a development version.  It may or may not work. 
Report bugs and other problems to http://www.gnucash.org/ 
The last stable version was gnucash-1.2.5 
The next stable version will be gnucash-1.4.x 



Gdk-WARNING **: locale not supported by C library
gnucash: [D] "Running functions on hook "main-window-opened-hook
  #procedure gnc:extensions-menu-setup (win)
  #procedure gnc:report-menu-setup (win)

Gdk-WARNING **: locale not supported by C library


On Fri, 14 Apr 2000, you wrote:
 CVS has been updated.
 
 New Stuff:
 
  + Hubert Figuiere's patch to gnc-prices.in.
 
  + Bug fix allowing the quote source to be set to (none).
 
  + Code to support unique identifiers for all accounts, transactions, etc.
This is not ready to be used, it's just there for testing purposes.
 
 
 dave
 
 --
 Gnucash Developer's List 
 To unsubscribe send empty email to: [EMAIL PROTECTED]
-- 
-
Bryan Larsen, Senior Software Engineer  fall guy
Phone:  306 664 2087 x29.   Fax:  306 664 4446
Analog Design Automation:  Analog Circuit Synthesis?  Problem Solved.

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]





budget patch new transaction report

2000-04-14 Thread Bryan Larsen

Sent to [EMAIL PROTECTED]

this is a patch against -D "14 apr 2000" (see previous bug report)  It should
apply cleanly, though.

- date filter bug fix
- income bug fix
- added filter-pred to budget-line.  See documentation.
- report sorting now works.
- report subsections now work
- report subtotals now work
- really ugly colour scheme shows what can be done with new report format. 
Someone with more esthetic taste may want to fix things up (html-generator.scm)
- totally new transaction report (transactions 2) on the menu
-  allows selection of multiple accounts
-  does not handle multiple splits properly (yet - should be easy to add)
-  sort is hardcoded to account (primary) and date (secondary).  this'll be
easy to fix as well

I'll fix add multi-splits and sorting to the transaction report.  Right now,
it's Friday night and I've got plans.

Please try out the new reports and comment, please.

Bryan


-- 
-
Bryan Larsen, Senior Software Engineer  fall guy
Phone:  306 664 2087 x29.   Fax:  306 664 4446
Analog Design Automation:  Analog Circuit Synthesis?  Problem Solved.



--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]