Re: Python bindings for Windows
Hi Jonas, No, the bindings are not provided by us. But this is just because of laziness... we never set up the compile environment so far. Feel free to extend the Windows build script so that they are added. Regards, Christian Jonas Lippuner schrieb: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Hello all, > >Unfortunately, I am forced to use GnuCash under Microsoft Windows in >some cases. Are the Python bindings available for Windows? > > >Thanks, >Jonas > > >- -- >My email is signed and I encrypt email on request. >To verify my signature or send me encrypted email, >get my public key: http://lippuner.ca/key >-BEGIN PGP SIGNATURE- >Version: GnuPG v1.4.11 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > >iQIcBAEBAgAGBQJRtXWKAAoJELH92qHy0gntqxIQAN0/2XazpYAkepAlmAWkDsVH >qPS3yF6fTCCD39ZHtEWSnuu/D7IxOWb7VSppYG/3grNZlkVumksz9Xx+jLeANt9x >FhJYW7q4SPLgW+LqvtANCajguxBVtrECS9ylEJYh9RHrO4Ig91SqiYdAFNfPf+2X >/o8O1JtGODPd1zJvxntpAEonnHOJ7qJdcb5Xir6OBUVygk4srE/f9x4z9XzkC/Po >QuPzbL0aNcH7iqP0MKz4gSKBY8AVKHX7li17OabmQiZGDmJ6yr9C2Y/wUeTZDC3f >22Hzx3tseG6XmUtUdbplNSWJ84Km9cK940lbjkHLRqvD823zPUR1NWHedRZQ8o6c >V/EREhzdAgWwM8XmfaE9S60zR8b1oP2Y7enqFKL6p+QVPAUvpIX0rNwXKo+pJB5V >NVl6JEE3KT2DYMUBDlUHqqj4bzx2Lu3fvtqZs7M1O+QzB3jngAbRUgfT2klxm88a >gXOydhni+EoB7IKW//pzCRwB4xqswOWXaaxBbSoK0sjuw55su5sXQbvAi31MOK0X >C/QJaxwOGtA1/OQ7/AofoLjjolawU0K0Xm+JhEAmXXdev9s+Dnl5tsuiFKapSzgK >qtG0EPHi32PgfDMuHtRNETkJjkOCDRFp8EmEzqrQBqfUPUShffTckPF+kq25fEO6 >eOOjQ2JTHKHTSSwP9lWa >=O2eW >-END PGP SIGNATURE- >___ >gnucash-devel mailing list >gnucash-devel@gnucash.org >https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Sent from mobile. ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Python bindings for Windows
Christian-- I think characterizing the omission of Python under Windows as "laziness" is unfair to the developers (especially Geert, who does most of this work). My understanding about why the Windows and Mac builds skip installing Python is that these OSes do not consistently provide Python to users. Including it by default in GnuCash for these platforms would require GnuCash to include Python in the distribution, with concomitant file size problems and requiring GnuCash to keep an updated Python. As a user under Mac, I am unhappy about this, but I understand the reasoning. David On Jun 10, 2013, at 12:29 AM, "Christian Stimming (mobil)" wrote: > Hi Jonas, > > No, the bindings are not provided by us. But this is just because of > laziness... we never set up the compile environment so far. Feel free to > extend the Windows build script so that they are added. > > Regards, Christian > > > > Jonas Lippuner schrieb: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hello all, >> >> Unfortunately, I am forced to use GnuCash under Microsoft Windows in >> some cases. Are the Python bindings available for Windows? >> >> >> Thanks, >> Jonas >> >> >> - -- >> My email is signed and I encrypt email on request. >> To verify my signature or send me encrypted email, >> get my public key: http://lippuner.ca/key >> -BEGIN PGP SIGNATURE- >> Version: GnuPG v1.4.11 (GNU/Linux) >> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ >> >> iQIcBAEBAgAGBQJRtXWKAAoJELH92qHy0gntqxIQAN0/2XazpYAkepAlmAWkDsVH >> qPS3yF6fTCCD39ZHtEWSnuu/D7IxOWb7VSppYG/3grNZlkVumksz9Xx+jLeANt9x >> FhJYW7q4SPLgW+LqvtANCajguxBVtrECS9ylEJYh9RHrO4Ig91SqiYdAFNfPf+2X >> /o8O1JtGODPd1zJvxntpAEonnHOJ7qJdcb5Xir6OBUVygk4srE/f9x4z9XzkC/Po >> QuPzbL0aNcH7iqP0MKz4gSKBY8AVKHX7li17OabmQiZGDmJ6yr9C2Y/wUeTZDC3f >> 22Hzx3tseG6XmUtUdbplNSWJ84Km9cK940lbjkHLRqvD823zPUR1NWHedRZQ8o6c >> V/EREhzdAgWwM8XmfaE9S60zR8b1oP2Y7enqFKL6p+QVPAUvpIX0rNwXKo+pJB5V >> NVl6JEE3KT2DYMUBDlUHqqj4bzx2Lu3fvtqZs7M1O+QzB3jngAbRUgfT2klxm88a >> gXOydhni+EoB7IKW//pzCRwB4xqswOWXaaxBbSoK0sjuw55su5sXQbvAi31MOK0X >> C/QJaxwOGtA1/OQ7/AofoLjjolawU0K0Xm+JhEAmXXdev9s+Dnl5tsuiFKapSzgK >> qtG0EPHi32PgfDMuHtRNETkJjkOCDRFp8EmEzqrQBqfUPUShffTckPF+kq25fEO6 >> eOOjQ2JTHKHTSSwP9lWa >> =O2eW >> -END PGP SIGNATURE- >> ___ >> gnucash-devel mailing list >> gnucash-devel@gnucash.org >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > -- > Sent from mobile. > ___ > 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: gnucash-htdocs branch master updated. svn_last-6-gfe38fc8
Geert, Any particular reason this changeset didn't include a diff to the gnucash-changes list? -derek Christian Stimming writes: > The master branch has been updated >via https://github.com/Gnucash/gnucash-htdocs/commit/fe38fc89 (commit) > from https://github.com/Gnucash/gnucash-htdocs/commit/953b9891 (commit) > > > - Log - > --- > > Summary of changes: > news/130528-announce-2.5.2.news |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > > hooks/post-receive -- 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: r23044 - gnucash/trunk/src/engine - Introduce transaction setter xaccTransSetDatePostedSecsNormalized() that ignores the time-of-day part.
Christian Stimming writes: > Author: cstim > Date: 2013-06-09 17:32:06 -0400 (Sun, 09 Jun 2013) > New Revision: 23044 > Trac: http://svn.gnucash.org/trac/changeset/23044 > > Modified: >gnucash/trunk/src/engine/Transaction.c >gnucash/trunk/src/engine/Transaction.h > Log: > Introduce transaction setter xaccTransSetDatePostedSecsNormalized() that > ignores the time-of-day part. > > We've struggled with the time-of-day part of the PostedDate for long > enough. The PostedDate field is just not meaningful with anything else > but a plain date, and no time-of-day at all. Hence, the correct setter > function for this particular field must ignore the time-of-day. Consequently, > a GDate should be used here anyway, but in many places the time64 is more > convenient. The new function will now redirect that time64 to the GDate > setter function to make sure we will now map everything to one single date. I'll note that the Close Book transactions depend on being able to say +1second to the "canonical" date/time.. -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: r23045 - gnucash/trunk/src - Change all usage of xaccTransSetDatePostedSecs to xaccTransSetDatePostedSecsNormalized.
Christian Stimming writes: > --- gnucash/trunk/src/gnome-utils/dialog-book-close.c 2013-06-09 21:32:06 UTC > (rev 23044) > +++ gnucash/trunk/src/gnome-utils/dialog-book-close.c 2013-06-09 21:33:19 UTC > (rev 23045) > @@ -102,7 +102,7 @@ > txn->txn = xaccMallocTransaction(cacb->cbw->book); > xaccTransBeginEdit(txn->txn); > xaccTransSetDateEnteredSecs(txn->txn, gnc_time (NULL)); > -xaccTransSetDatePostedSecs(txn->txn, cacb->cbw->close_date); > +xaccTransSetDatePostedSecsNormalized(txn->txn, > cacb->cbw->close_date); > xaccTransSetDescription(txn->txn, cacb->cbw->desc); > xaccTransSetCurrency(txn->txn, cmdty); > xaccTransSetIsClosingTxn(txn->txn, TRUE); This might cause some issues, in particular with sorting, on the close date. -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
make check fails
Hi, Christian - I believe you did something recently in this area and make check doesn't complete; perhaps related? Message is as follows: TEST: test-engine... (pid=14932) /engine/Account/gnc set account separator: OK /engine/Account/gnc account name violations errmsg: OK /engine/Account/gnc account list name violations:OK /engine/Account/account create and destroy: OK /engine/Account/book set/get root account: OK /engine/Account/xaccMallocAccount: OK /engine/Account/gnc account create root: OK /engine/Account/xaccCloneAccount:OK /engine/Account/xaccFreeAccountChildren: OK /engine/Account/xaccFreeAccount: OK /engine/Account/xaccAccountCommitEdit: OK /engine/Account/gnc account insert & remove split: OK /engine/Account/xaccAccount Insert and Remove Lot: OK /engine/Account/xaccAccountRecomputeBalance: OK /engine/Account/xaccAccountOrder:OK /engine/Account/qofAccountSetParent: OK /engine/Account/gnc account append/remove child: OK /engine/Account/gnc account n descendants: OK /engine/Account/gnc account get current depth: OK /engine/Account/gnc account get tree depth: OK /engine/Account/gnc account get descendants: OK /engine/Account/gnc account get descendants sorted: OK /engine/Account/gnc account lookup by name: OK /engine/Account/gnc account lookup by code: OK /engine/Account/gnc account lookup by full name helper: OK /engine/Account/gnc account lookup by full name: OK /engine/Account/gnc account foreach child: OK /engine/Account/gnc account foreach descendant: OK /engine/Account/gnc account foreach descendant until:OK /engine/Account/gnc account get full name: OK /engine/Account/xaccAccountGetProjectedMinimumBalance: OK /engine/Account/xaccAccountGetBalanceAsOfDate: OK /engine/Account/xaccAccountGetPresentBalance:OK /engine/Account/xaccAccountFindOpenLots: OK /engine/Account/xaccAccountForEachLot: OK /engine/Account/xaccAccountHasAncestor: OK /engine/Account/AccountType Stuff: OK /engine/Account/AccountType Compatibility: OK /engine/Account/xaccAccountFindSplitByDesc: OK /engine/Account/xaccAccountFindTransByDesc: OK /engine/Account/gnc account join children: OK /engine/Account/gnc account merge children: OK /engine/Account/xaccAccountForEachTransaction: OK /engine/Account/xaccAccountTreeForEachTransaction: OK /engine/Budget/gnc_budget_set_name():OK /engine/Budget/gnc_budget_set_description(): OK /engine/Budget/gnc_budget_set_num_periods(): OK /engine/Budget/gnc_budget_set_recurrence(): OK /engine/gncInvoice/post: OK /engine/Split/gnc split init:OK /engine/Split/gnc split dispose: OK /engine/Split/gnc split set & get property: OK /engine/Split/xaccMallocSplit: OK /engine/Split/xaccDupeSplit: OK /engine/Split/xaccSplitClone:OK /engine/Split/mark split:OK /engine/Split/xaccSplitEqualCheckBal:OK /engine/Split/xaccSplitEqual:** ERROR:/home/gnucash-dev/svncheckouts/gnucash-clean/src/engine/test/utest-Split.c:459:test_xaccSplitEqual: assertion failed (checkC.hits == 2): (0 == 2) FAIL GTester: last random seed: R02Scdca4bb39f0f4afb061f96e24026bbb6 /bin/sh: line 1: 14931 Terminated MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) gtester --verbose test-engine make[5]: *** [test-nonrecursive] Error 143 make[5]: Leaving directory `/home/gnucash-dev/svncheckouts/gnucash-clean-build/src/engine/test' make[4]: *** [check-am] Error 2 make[4