GSoC Proposal: Live news feed from financial newspapers

2011-03-26 Thread Ajay Thomas
Hi

I am a student aspiring to contribute to gnucash during GSoC. I have built
gnucash from source, got a good idea of how the application works and am
working on a few bugs now.

I feel there is one main feature that can be included. There is currently no
support for live news feed from financial newspapers. I am planning on using
the RSS feed to develop this plugin for gnucash. Thus, the user need not
browse the net to search for news on stocks and finding out how his
portfolio is performing etc. The news can be personalized according to his
needs which can be set by the user itself.

Please give me your feedback on the proposal, I can work on the timeline and
implementation accordingly.

-- 
Ajay Thomas
II Year, Comp. Sc. Engg.
NITK Surathkal
Karnataka

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


Re: [Bug 644952] GnuCash crashes when accessing tax reports on files generated on earlier versions (probably 2.2)

2011-03-26 Thread J. Alex Aycinena
Frank,

On Mon, Mar 21, 2011 at 6:27 PM, GnuCash  wrote:
> https://bugzilla.gnome.org/show_bug.cgi?id=644952
>  GnuCash | TXF Export | 2.4.4
>
> Frank H. Ellenberger  changed:
>
>           What    |Removed                     |Added
> 
>          Component|Business                    |TXF Export
>         AssignedTo|warl...@mit.edu             |alex.aycin...@gmail.com
>          QAContact|stimm...@tuhh.de            |
>           Severity|normal                      |critical
>
> --- Comment #7 from Frank H. Ellenberger  2011-03-22 
> 01:27:43 UTC ---
> Alex,any idea?
>
I am away from my system and won't be able to attend to this for a few
weeks - sorry.

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


Re: [Bug 645518] GnuCash crashes immediately after splash screen

2011-03-26 Thread J. Alex Aycinena
Christian,

Unfortunately, I am away from my system and my schedule is such that I
will not be able to get back to it for several weeks. Can I ask you
for a favor? Can you back-out my last change to 'gnc-ui-util.c' for me
and I can investigate it further then?

TIA,

Alex

On Sat, Mar 26, 2011 at 2:12 AM, GnuCash  wrote:
> https://bugzilla.gnome.org/show_bug.cgi?id=645518
>  GnuCash | Engine | 2.4.4
>
> Christian Stimming  changed:
>
>           What    |Removed                     |Added
> 
>         AssignedTo|warl...@mit.edu             |alex.aycin...@gmail.com
>
> --- Comment #8 from Christian Stimming  2011-03-26 09:12:12 
> UTC ---
> Thanks for the verbose backtrace, this should be sufficient to fix it.
>
> @Alex: Seems like this double-free crash shows up in an area last edited by
> you. Do you have some idea what to do here? Thanks!
>
> --
> Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
> --- You are receiving this mail because: ---
> You are the assignee for the bug.
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [Build error] swig-runtime.h: No such file or directory

2011-03-26 Thread Rohan Kulkarni

Hi Manfred,

It worked. Thanks :)

Regards,
Rohan


On Sunday 27 March 2011 03:00 AM, Manfred Usselmann wrote:

Hi Rohan,

I had the same error yesterday, but thought it was due to me using git.

After a 'make dist' the file was there and the build succeeded.

Maybe it is at least a workaround until this is permanently fixed.

Regards,
Manfred


On Sun, 27 Mar 2011 00:52:19 +0530
Rohan Kulkarni  wrote:


Hi,

I am trying to build the latest source 2.4.x of gnucash, downloaded
through svn checkout.
The dependencies are all resolved but I get the following error
during 'make'

gnc-hooks.c:30: fatal error: swig-runtime.h: No such file or directory

I am installing gnucash on Ubuntu 10.10, using the swig version 1.3.40

Any suggestion on fixing the error?

Thanks,
Rohan

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


Re: r20494 make check fails

2011-03-26 Thread Bill Hammond
Hi, Christian!  Thanks for getting back to me.

Yup, It looks like I got bit by mixed binaries.  The
libgncmod-generic-import.la I was linking against was dated March 8th. 
I cleaned up my unstable binary directory, rebuilt everything and make
check runs just fine now.

Thanks again.

Regards,

Bill

On 03/26/2011 05:54 PM, Christian Stimming wrote:
> Am Samstag, 26. März 2011 schrieb Bill Hammond:
>> I'm having trouble getting make check to pass with r20494 after a clean
>> build.  Here's the error...
>>
>> libtool: link: gcc -Werror -Wdeclaration-after-statement -g -g -Wall
>> -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o
>> .libs/test-link test-link.o
>> ../../../../src/libqof/qof/.libs/libgnc-qof.so
>> ../../../../src/app-utils/.libs/libgncmod-app-utils.so
>> ../../../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
>> ../.libs/libgncmod-ofx.so -lpthread -lm -pthread -Wl,-rpath
>> -Wl,/home/ka1ssr/unstable/gnucash/lib -Wl,-rpath
>> -Wl,/home/ka1ssr/unstable/gnucash/lib/gnucash
>> ../.libs/libgncmod-ofx.so: undefined reference to
>> `gnc_gen_trans_list_widget'
>> collect2: ld returned 1 exit status
>> make[5]: *** [test-link] Error 1
>> make[5]: Leaving directory
>> `/home/ka1ssr/development/gnucash/src/import-export/ofx/test'
> I don't see this error here. "make check" runs fine.
>
> That could happen if the "test-link" executable somehow tries to link against 
> a slightly older version of gnucash's gncmod-generic-import.la which didn't 
> have this symbol. I've added this approx. 5 weeks ago, or at least I've added 
> the usage of this in the ofx module. A mixup of older and newer binaries 
> could 
> cause this error.
>
> If no such mixup can have occurred on your system, we need to do further 
> investigations...
>
> Regards,
>
> Christian

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


Re: r20494 make check fails

2011-03-26 Thread Christian Stimming
Am Samstag, 26. März 2011 schrieb Bill Hammond:
> I'm having trouble getting make check to pass with r20494 after a clean
> build.  Here's the error...
> 
> libtool: link: gcc -Werror -Wdeclaration-after-statement -g -g -Wall
> -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o
> .libs/test-link test-link.o
> ../../../../src/libqof/qof/.libs/libgnc-qof.so
> ../../../../src/app-utils/.libs/libgncmod-app-utils.so
> ../../../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
> ../.libs/libgncmod-ofx.so -lpthread -lm -pthread -Wl,-rpath
> -Wl,/home/ka1ssr/unstable/gnucash/lib -Wl,-rpath
> -Wl,/home/ka1ssr/unstable/gnucash/lib/gnucash
> ../.libs/libgncmod-ofx.so: undefined reference to
> `gnc_gen_trans_list_widget'
> collect2: ld returned 1 exit status
> make[5]: *** [test-link] Error 1
> make[5]: Leaving directory
> `/home/ka1ssr/development/gnucash/src/import-export/ofx/test'

I don't see this error here. "make check" runs fine.

That could happen if the "test-link" executable somehow tries to link against 
a slightly older version of gnucash's gncmod-generic-import.la which didn't 
have this symbol. I've added this approx. 5 weeks ago, or at least I've added 
the usage of this in the ofx module. A mixup of older and newer binaries could 
cause this error.

If no such mixup can have occurred on your system, we need to do further 
investigations...

Regards,

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


Re: [Build error] swig-runtime.h: No such file or directory

2011-03-26 Thread Manfred Usselmann
Hi Rohan,

I had the same error yesterday, but thought it was due to me using git.

After a 'make dist' the file was there and the build succeeded.

Maybe it is at least a workaround until this is permanently fixed.

Regards,
Manfred


On Sun, 27 Mar 2011 00:52:19 +0530
Rohan Kulkarni  wrote:

> Hi,
> 
> I am trying to build the latest source 2.4.x of gnucash, downloaded 
> through svn checkout.
> The dependencies are all resolved but I get the following error
> during 'make'
> 
> gnc-hooks.c:30: fatal error: swig-runtime.h: No such file or directory
> 
> I am installing gnucash on Ubuntu 10.10, using the swig version 1.3.40
> 
> Any suggestion on fixing the error?
> 
> Thanks,
> Rohan
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


r20494 make check fails

2011-03-26 Thread Bill Hammond
Hello!

I'm having trouble getting make check to pass with r20494 after a clean
build.  Here's the error...

libtool: link: gcc -Werror -Wdeclaration-after-statement -g -g -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o
.libs/test-link test-link.o 
../../../../src/libqof/qof/.libs/libgnc-qof.so
../../../../src/app-utils/.libs/libgncmod-app-utils.so
../../../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
../.libs/libgncmod-ofx.so -lpthread -lm -pthread -Wl,-rpath
-Wl,/home/ka1ssr/unstable/gnucash/lib -Wl,-rpath
-Wl,/home/ka1ssr/unstable/gnucash/lib/gnucash
../.libs/libgncmod-ofx.so: undefined reference to
`gnc_gen_trans_list_widget'
collect2: ld returned 1 exit status
make[5]: *** [test-link] Error 1
make[5]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export/ofx/test'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export/ofx/test'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export/ofx'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/ka1ssr/development/gnucash/src'
make: *** [check-recursive] Error 1

The configure/make all phases run fine with no errors.  I'm running
Ubuntu 10.10.  All packages are up to date.

Thanks for your help.

Regards,

Bill

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


[Build error] swig-runtime.h: No such file or directory

2011-03-26 Thread Rohan Kulkarni

Hi,

I am trying to build the latest source 2.4.x of gnucash, downloaded 
through svn checkout.
The dependencies are all resolved but I get the following error during 
'make'


gnc-hooks.c:30: fatal error: swig-runtime.h: No such file or directory

I am installing gnucash on Ubuntu 10.10, using the swig version 1.3.40

Any suggestion on fixing the error?

Thanks,
Rohan

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


Re: GNUCash Spanish translation 2.4.4 and trunk

2011-03-26 Thread Christian Stimming
Dear Francisco,

thank you very much for your updated translation. I've committed it into our 
SVN for the next release of the stable (2.4.x) branch so that it will be in 
2.4.5 and all following releases.

Note: As we've now created separate branches for subsequent 2.4.x releases vs. 
experimental development (trunk), the translations are maintained *only* for 
the 2.4 branch. I've explained this on 
http://wiki.gnucash.org/wiki/Translation_Status : 
> The complete translation is maintainted only in
> the branch-2.4 of gnucash. The po files in trunk are completely
> unchanged since the branching of branch-2.4, and they should stay this
> way until trunk becomes the new stable branch. Only at that point in
> time we will copy the existing po files from branch-2.4 to trunk,
> merge them with the current trunk pot template, and fill in the last
> missing translations.
>
> Rationale for this: The pot templates for trunk
> and branch-2.4 are way different because not all string-changing
> changesets of trunk are back-ported to branch-2.4 and vice versa. So
> if someone wants to have a 100% translation for both, he/she must
> maintain two translations instead of one, which sucks. That's why we
> limit any translation work to the stable branch only, and that's why I
> stated this very clearly on Translation.

Thanks again for your contribution!

Best Regards,

Christian


Am Samstag, 26. März 2011 schrieb Francisco Javier:
> Dear people,
> 
> This is an update for Spanish translation of GNUCash.

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


Re: Interactive Javascript + Canvas (jqPlot) powered graphs

2011-03-26 Thread Phil Longstaff
On Sat, 2011-03-26 at 16:37 +0100, Geert Janssens wrote:
> On donderdag 24 maart 2011, Christian Stimming wrote:
> > Dear Andy,
> > 
> > I've now applied the first two patches from you into SVN. I've not yet
> > applied the others because they would immediately change the behaviour.
> > 
> > However, I've tried them myself and I'm very much impressed by the obvious
> > increase in quality! This holds for both the on-screen display and also
> > when printing to PDF. From what I see here, I'm inclined to add your
> > patches immediately and throw out goffice, because the jqplot graphs are
> > just so much nicer!
> > 
> > For anyone to check yourself: Get latest SVN, then apply the attached
> > patch, and open any of the piechart or barchart reports.
> > 
> > By the way, what happens on a double-click? I only see the graph turns
> > blue, but I gues there was some meaning behind this... :-)
> > 
> > Am Freitag, 11. März 2011 schrieb Andy Clayton:
> > > Here is a list of at least some of the possible issues I am aware of:
> > > * The default coloring could probably be better (plus support for when
> > > specific colors are specified)
> > 
> > Yes, but it's good enough to be better than the gog colors, so it's
> > sufficient to replace the old one.
> > 
> > > * The legend needs to get out of the way of the graph
> > 
> > Depends on the graph and the data. Maybe it is sufficient if it were
> > movable.
> > 
> > > * On bar graphs as more bars get packed in there seems to be too much
> > > padding compared to bar width (really small bars with lots of whitespace)
> > 
> > Might be, indeed.
> > 
> > > * On any of the bar graphs over time the x-axis labels are (to me)
> > > misleading. A bar labeled 01/01/2011, for example, actually represents
> > > the value up to the next x position, say 01/02/2011. Perhaps labeling it
> > > with the through date (the inclusive end date) would make more sense,
> > > rather than the start? Then again, maybe that is just a matter of
> > > preference. Or maybe I will avoid the issue entirely by simplifying the
> > > labels to just year, or month and year, for the simple cases.
> > 
> > Yes, but that's a problem with the gog graphs as well. We can throw out gog
> > and later come up with a fix to the labels.
> > 
> > > Anyways, feel free to give a try and let me know what could be different
> > > or better.
> > 
> > It looks great! Thank you very much for this contribution!
> > 
> > Regards,
> > 
> > Christian
> 
> Agreed, the new plots look much nicer. I like them very much. With a little 
> bit of polishing like suggested by John and Chris, they can go into trunk as 
> far as I'm concerned.

Agreed.  I have noticed that sometimes the chart legend covers over
bars.

Phil

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


Re: Interactive Javascript + Canvas (jqPlot) powered graphs

2011-03-26 Thread Geert Janssens
On donderdag 24 maart 2011, Christian Stimming wrote:
> Dear Andy,
> 
> I've now applied the first two patches from you into SVN. I've not yet
> applied the others because they would immediately change the behaviour.
> 
> However, I've tried them myself and I'm very much impressed by the obvious
> increase in quality! This holds for both the on-screen display and also
> when printing to PDF. From what I see here, I'm inclined to add your
> patches immediately and throw out goffice, because the jqplot graphs are
> just so much nicer!
> 
> For anyone to check yourself: Get latest SVN, then apply the attached
> patch, and open any of the piechart or barchart reports.
> 
> By the way, what happens on a double-click? I only see the graph turns
> blue, but I gues there was some meaning behind this... :-)
> 
> Am Freitag, 11. März 2011 schrieb Andy Clayton:
> > Here is a list of at least some of the possible issues I am aware of:
> > * The default coloring could probably be better (plus support for when
> > specific colors are specified)
> 
> Yes, but it's good enough to be better than the gog colors, so it's
> sufficient to replace the old one.
> 
> > * The legend needs to get out of the way of the graph
> 
> Depends on the graph and the data. Maybe it is sufficient if it were
> movable.
> 
> > * On bar graphs as more bars get packed in there seems to be too much
> > padding compared to bar width (really small bars with lots of whitespace)
> 
> Might be, indeed.
> 
> > * On any of the bar graphs over time the x-axis labels are (to me)
> > misleading. A bar labeled 01/01/2011, for example, actually represents
> > the value up to the next x position, say 01/02/2011. Perhaps labeling it
> > with the through date (the inclusive end date) would make more sense,
> > rather than the start? Then again, maybe that is just a matter of
> > preference. Or maybe I will avoid the issue entirely by simplifying the
> > labels to just year, or month and year, for the simple cases.
> 
> Yes, but that's a problem with the gog graphs as well. We can throw out gog
> and later come up with a fix to the labels.
> 
> > Anyways, feel free to give a try and let me know what could be different
> > or better.
> 
> It looks great! Thank you very much for this contribution!
> 
> Regards,
> 
> Christian

Agreed, the new plots look much nicer. I like them very much. With a little 
bit of polishing like suggested by John and Chris, they can go into trunk as 
far as I'm concerned.

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


Re: Interactive Javascript + Canvas (jqPlot) powered graphs

2011-03-26 Thread Chris
On Fri, 2011-03-25 at 21:36 +0100, Christian Stimming wrote: 
> Actually I think the javascript plots look so extraordinarily much better 
> than 
> the gog graphs that we should simply use them as replacement of the old ones.
> 
> They offer the same features, with the minor regression that on barcharts, 
> the 
> legend is drawn on top of the actual chart and might interfere with the bars. 
> But this issue is probably fixed quickly.
> 
I also agree that the new graphs look good. A couple of additional
issues that I have seen are
1) When there are a lot of bar the date labels run over each other where
as gog graphs does not show all dates.
2) In gog when the are negative values the get stacked negatively from 0

Regards,
 Chris

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


Re: Interactive Javascript + Canvas (jqPlot) powered graphs

2011-03-26 Thread Christian Stimming
Am Freitag, 25. März 2011 schrieb John Ralls:
> On Mar 25, 2011, at 1:36 PM, Christian Stimming wrote:
> > Actually I think the javascript plots look so extraordinarily much better
> > than the gog graphs that we should simply use them as replacement of the
> > old ones.
> > 
> > They offer the same features, with the minor regression that on
> > barcharts, the legend is drawn on top of the actual chart and might
> > interfere with the bars. But this issue is probably fixed quickly.
> > 
> > What do the other developers think?
> 
> Indeed, those are very nice. They'll need a bit of massaging to look as
> good as the ones already in place, but that should be a CSS issue rather
> than code. Adopting these would mean that we'd no longer need goffice,
> right?

Yes, and it also means we need to disable gtkhtml completely. Which is fine 
for trunk, given we just branched off the 2.4-stable branch.

As a first step, I've disabled gtkhtml in configure and added an explanatory 
error message.

Regards,

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