gnucash-devel Digest, Vol 49, Issue 10

Alejandro Marín Niebla alejandrom at gmail.com
Sun Apr 8 14:45:42 EDT 2007


Hello.

I'm new here. What do I need to know (technically) in order to translate the
"GnuCash Tutorial and Concepts Guide" to Spanish. I'm talking mainly about
the links and formatting.

Any advice?

Thanks




2007/4/8, gnucash-devel-request at gnucash.org <
gnucash-devel-request at gnucash.org>:
>
> Send gnucash-devel mailing list submissions to
>         gnucash-devel at gnucash.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> or, via email, send a message with subject or body 'help' to
>         gnucash-devel-request at gnucash.org
>
> You can reach the person managing the list at
>         gnucash-devel-owner at gnucash.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gnucash-devel digest..."
>
>
> Today's Topics:
>
>    1. PATCH: fix KVP bug/allow gnc_numeric to be a GBoxed value
>       (Phil Longstaff)
>    2. PATCH: convert some routines to take const object pointers
>       (Phil Longstaff)
>    3. Re: r15849 - gnucash/trunk/src/business/business-core - Fix
>       compiler complaints about dereferencing type-punned pointers.
>       (Derek Atkins)
>    4. GDA: Recent SX changes in trunk/GObject questions (Phil Longstaff)
>    5. Re: SX:  Created Transactions not removed from SLR list
>       (Volker Englisch)
>    6. Re: GDA: Recent SX changes in trunk/GObject questions
>       (Derek Atkins)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 7 Apr 2007 14:18:58 -0400 (EDT)
> From: Phil Longstaff <plongstaff at rogers.com>
> Subject: PATCH: fix KVP bug/allow gnc_numeric to be a GBoxed value
> To: gnucash-devel at gnucash.org
> Message-ID: <316814.20606.qm at web88107.mail.re2.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> The attached patch does two things:
>
> 1) Fixes a KVP bug where kvp_frame_add_value_nc() wouldn't properly create
> a frame which didn't previously exist.  The problem was that by the time the
> routine realized it needed to create the path, the variable holding the path
> had been overwritten.
>
> 2) Add support to allow a gnc_numeric to be stored as a GBoxed
> value.  Needed for GDA branch, but might as well move into the trunk as part
> of the GObjectification.
>
> Phil
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: diffs
> Type: application/octet-stream
> Size: 2303 bytes
> Desc: 2814508393-diffs
> Url :
> http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070407/06a40d22/attachment-0001.obj
>
> ------------------------------
>
> Message: 2
> Date: Sat, 7 Apr 2007 14:26:58 -0400 (EDT)
> From: Phil Longstaff <plongstaff at rogers.com>
> Subject: PATCH: convert some routines to take const object pointers
> To: GnuCash development list <gnucash-devel at gnucash.org>
> Message-ID: <411252.22669.qm at web88108.mail.re2.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> The attached patch modifies some getter routine signatures to convert
> object pointers to const object pointers.
>
> Phil
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: diffs
> Type: application/octet-stream
> Size: 15603 bytes
> Desc: 2814508393-diffs
> Url :
> http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070407/d9d9adef/attachment-0001.obj
>
> ------------------------------
>
> Message: 3
> Date: Sat, 07 Apr 2007 17:30:52 -0400
> From: Derek Atkins <warlord at MIT.EDU>
> Subject: Re: r15849 - gnucash/trunk/src/business/business-core - Fix
>         compiler complaints about dereferencing type-punned pointers.
> To: gnucash-devel at gnucash.org, David Hampton <hampton at cvs.gnucash.org>
> Message-ID: <20070407173052.cuo0ntwyiqsggos4 at webmail.mit.edu>
> Content-Type: text/plain;       charset=ISO-8859-1;     format="flowed"
>
> This can't work..   A GncOwner isn't a QofInstance.
>
> -derek
>
> Quoting David Hampton <hampton at cvs.gnucash.org>:
>
> > Author: hampton
> > Date: 2007-04-07 14:24:53 -0400 (Sat, 07 Apr 2007)
> > New Revision: 15849
> > Trac: http://svn.gnucash.org/trac/changeset/15849
> >
> > Modified:
> >   gnucash/trunk/src/business/business-core/gncInvoice.c
> > Log:
> > Fix compiler complaints about dereferencing type-punned pointers.
> >
> >
> > Modified: gnucash/trunk/src/business/business-core/gncInvoice.c
> > ===================================================================
> > --- gnucash/trunk/src/business/business-core/gncInvoice.c     2007-04-07
> > 16:12:31 UTC (rev 15848)
> > +++ gnucash/trunk/src/business/business-core/gncInvoice.c     2007-04-07
> > 18:24:53 UTC (rev 15849)
> > @@ -484,15 +484,21 @@
> > static QofInstance*
> > qofInvoiceGetOwner (GncInvoice *invoice)
> > {
> > +     GncOwner *owner;
> > +
> >       if(!invoice) { return NULL; }
> > -     return QOF_INSTANCE(&invoice->owner);
> > +     owner = &invoice->owner;
> > +     return QOF_INSTANCE(owner);
> > }
> >
> > static QofInstance*
> > qofInvoiceGetBillTo (GncInvoice *invoice)
> > {
> > +     GncOwner *billto;
> > +
> >       if(!invoice) { return NULL; }
> > -     return QOF_INSTANCE(&invoice->billto);
> > +     billto = &invoice->billto;
> > +     return QOF_INSTANCE(billto);
> > }
> >
> > Timespec gncInvoiceGetDateOpened (GncInvoice *invoice)
> >
> > _______________________________________________
> > gnucash-changes mailing list
> > gnucash-changes at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-changes
> >
>
>
>
> --
>        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
>        warlord at MIT.EDU                        PGP key available
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 7 Apr 2007 22:33:05 -0400 (EDT)
> From: Phil Longstaff <plongstaff at rogers.com>
> Subject: GDA: Recent SX changes in trunk/GObject questions
> To: GnuCash development list <gnucash-devel at gnucash.org>
> Message-ID: <760851.15877.qm at web88115.mail.re2.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> I've merged up-to-date trunk into the gda branch (though it's not
> completely committed).  Scheduled transaction structure has changed.  In
> addition, account groups have been replaced by root accounts.
>
> My plan is to have a book table with a record with (currently) two
> fields.  The first is the root account guid and the second is the template
> root account guid.  This will allow template accounts to be added to the
> main account table and template transactions/splits to be added to the main
> tx/split tables, since they can be traced up via the account parent guids to
> the correct root.
>
> Comments?
>
> Questions about use of GObjects in GC.  Is the plan to base backends on
> GObjects as well?  Also, does it make sense to replace the whole begin
> edit/commit edit architecture with an architecture where "object changed"
> events are caught and acted upon by the GDA backend but not the file
> backend?
>
> Phil
>
> P.S. One side effect of the merge is that I am not seeing the crash I used
> to see when saving a transaction via gda.  The crash was happening because
> splits were being sorted, which was triggering more db access, and
> eventually he whole mess got corrupted.
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 08 Apr 2007 10:55:34 -0400
> From: Volker Englisch <Volker at Englisch.us>
> Subject: Re: SX:  Created Transactions not removed from SLR list
> To: Josh Sled <jsled at asynchronous.org>
> Cc: gnucash-devel <gnucash-devel at gnucash.org>
> Message-ID: <46190266.7050604 at Englisch.us>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 03/15/2007 10:19 AM Josh Sled wrote:
> > On Thu, 2007-03-15 at 01:59 -0400, Volker Englisch wrote:
> >> Strange thing happened:  It looks like some of my transactions were
> >> incorrectly scheduled for Jan. 1st.
> ...
>
> >
> > Hmm, well that's wrong.  I guess the handful of SXes I'm testing against
> > aren't sufficient ... I'll come up with a better test suite.
> >
>
> Looking through my list of scheduled transactions it appears that all of
>   these transactions that were incorrectly set to January 1st were
> originally entered to be scheduled annually.  Since the option to
> schedule a transaction annually doesn't exist anymore (at least I think
> the older version allowed you to schedule annually) they got converted
> to 'monthly (x12)' and this 'conversion' may have changed the actual
> date to Jan 1st.
>
> Along these lines, when I click the up/down arrow in the 'Edit Scheduled
> Transaction' window to increment/decrement the recurrence frequency for
>     'Every  N  months'
> it seems that all but the 'weekly' option increments the value by two
> instead of one.
>
> The display of this option is centered (?) under the 'Start Date' field
> for most options except for the 'Semi-monthly', where it is left aligned
> with the fields in that block.
>
> Also, the window that comes up to enter/edit a scheduled transaction
> extends the width of the screen and there is a new button at the upper
> right-hand corner of the calendar name 'View' which doesn't do anything
> at the current time.
>
> Please let me know if you'd like me to provide additional information
> and/or screenshots.
>
> I am seeing these with GC r15839 on 2007-04-05 (on FC5)
>
> --
> Volker
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 08 Apr 2007 11:40:15 -0400
> From: Derek Atkins <warlord at MIT.EDU>
> Subject: Re: GDA: Recent SX changes in trunk/GObject questions
> To: plongstaff at newearth.org, Phil Longstaff <plongstaff at rogers.com>
> Cc: GnuCash development list <gnucash-devel at gnucash.org>
> Message-ID: <20070408114015.rkya211n5z8ksk4g at webmail.mit.edu>
> Content-Type: text/plain;       charset=ISO-8859-1;     format="flowed"
>
> Hi,
>
> Quoting Phil Longstaff <plongstaff at rogers.com>:
>
> > I've merged up-to-date trunk into the gda branch (though it's not
> > completely committed).  Scheduled transaction structure has changed.
> > In addition, account groups have been replaced by root accounts.
>
> Yep, we know :)
>
> > My plan is to have a book table with a record with (currently) two
> > fields.  The first is the root account guid and the second is the
> > template root account guid.  This will allow template accounts to be
> > added to the main account table and template transactions/splits to
> > be added to the main tx/split tables, since they can be traced up via
> > the account parent guids to the correct root.
> >
> > Comments?
>
> You probably want more that just those entries in the book table.
> Indeed, the tables should probably more closely mirror the actual
> objects.
>
> > Questions about use of GObjects in GC.  Is the plan to base backends
> > on GObjects as well?
>
> No.  The Backends aren't objects, they're plugins.
>
> >       Also, does it make sense to replace the whole begin edit/commit
> > edit architecture with an architecture where "object changed" events
> > are caught and acted upon by the GDA backend but not the file backend?
>
> No, or at least, not for a LONG while.  I think we'll probably emit
> changed events with commit_edit(), but I dont think the backend should
> use that.
>
> > Phil
> >
> > P.S. One side effect of the merge is that I am not seeing the crash I
> > used to see when saving a transaction via gda.  The crash was
> > happening because splits were being sorted, which was triggering more
> > db access, and eventually he whole mess got corrupted.
>
> Bugs gets fixed.  Imagine that!  ;)
>
> -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
>        warlord at MIT.EDU                        PGP key available
>
>
>
> ------------------------------
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>
> End of gnucash-devel Digest, Vol 49, Issue 10
> *********************************************
>


More information about the gnucash-devel mailing list