2019-04-14 GnuCash IRC logs

00:54:12 *** storyjesse has joined #gnucash
01:08:42 *** storyjesse has quit IRC
01:27:47 *** Mechtilde has joined #gnucash
01:33:59 *** Mechtilde has quit IRC
01:34:19 *** boldstripe has quit IRC
01:35:44 *** boldstripe has joined #gnucash
01:38:15 *** fell has quit IRC
01:38:26 *** Mechtilde has joined #gnucash
01:39:35 *** fell has joined #gnucash
01:39:35 *** ChanServ sets mode: +o fell
02:41:14 *** Cuare has joined #gnucash
02:41:15 *** ChanServ sets mode: +v Cuare
03:35:29 *** boldstripe has quit IRC
03:36:54 *** boldstripe has joined #gnucash
03:51:58 *** chris has quit IRC
04:48:05 *** nicoroumeau has joined #gnucash
05:01:23 *** nicoroumeau has quit IRC
05:07:14 *** nicoroumeau has joined #gnucash
05:30:14 *** nicoroumeau has quit IRC
05:36:40 *** boldstripe has quit IRC
05:38:05 *** boldstripe has joined #gnucash
06:03:06 *** nicoroumeau has joined #gnucash
06:13:40 *** oozer has joined #gnucash
06:21:45 *** nicoroumeau has quit IRC
06:23:52 *** chris has joined #gnucash
06:23:52 *** ChanServ sets mode: +v chris
07:09:01 *** kapil___ has joined #gnucash
07:11:24 *** storyjesse has joined #gnucash
07:26:22 *** jervin has joined #gnucash
07:28:13 *** tienne has joined #gnucash
07:37:50 *** boldstripe has quit IRC
07:39:15 *** boldstripe has joined #gnucash
08:05:40 *** fell has quit IRC
08:09:25 *** fell has joined #gnucash
08:09:25 *** ChanServ sets mode: +o fell
08:19:39 *** nicoroumeau has joined #gnucash
08:24:58 <warlord> .
08:30:34 *** nicoroumeau has quit IRC
09:09:47 *** O01eg has joined #gnucash
09:17:56 *** kapil___ has quit IRC
09:31:06 *** isn0gud has joined #gnucash
09:31:45 *** isn0gud has quit IRC
09:32:11 *** storyjesse has quit IRC
09:32:22 *** isn0gud has joined #gnucash
09:39:01 *** boldstripe has quit IRC
09:40:26 *** boldstripe has joined #gnucash
09:42:47 *** mib_6o42oq has joined #gnucash
09:44:20 *** mib_6o42oq has quit IRC
10:14:32 *** Agfarmer18 has joined #gnucash
10:15:47 *** nicoroumeau has joined #gnucash
10:19:55 *** fabior has joined #gnucash
10:24:55 *** User has joined #gnucash
10:28:26 *** nicoroumeau_ has joined #gnucash
10:28:36 *** nicoroumeau has quit IRC
10:29:04 *** nicoroumeau_ is now known as nicoroumeau
10:42:51 *** User has quit IRC
10:43:07 *** nicoroumeau has quit IRC
10:52:23 *** nicoroumeau has joined #gnucash
11:03:48 <chris> how do windows builds get generated - are they built from https://wiki.gnucash.org/wiki/Building_on_Windows or cross-compiled?
11:04:14 * chris aims to squash some windows bugs
11:27:15 *** nimish2711 has joined #gnucash
11:28:47 *** Agfarmer18 has quit IRC
11:31:58 *** Mechtilde has quit IRC
11:38:24 *** nimish2711 has quit IRC
11:40:11 *** boldstripe has quit IRC
11:41:36 *** boldstripe has joined #gnucash
12:07:33 *** nicoroumeau has quit IRC
12:28:09 *** gour has joined #gnucash
12:29:55 <chris> jralls for the Turkish Lira issue, you can still blame guile string handling on Windows. prelim tests show gnc:html-string-sanitize which uses string-ports will munge the TYR symbol.
12:31:17 <chris> remove string-sanitize, the TYR unicode symbol displays, however the xaccPrintAmount + print-info mechanism still munge the unicode symbol
12:31:48 <chris> ^ all above on Windows
12:31:52 *** ChanServ sets mode: +v gour
12:32:18 <chris> that's all for tonight
12:32:23 <gour> hello, my two messges sent 2mins ago are not visible?
12:32:30 * gour was not having voice..
12:34:34 *** tienne has quit IRC
12:47:36 <gour> in case it didn't go through earlier...
12:48:00 <gour> i've migrated from manjaro where there was 3.5 to devuan ceres (aka unstable or sid) and considering ascii (stable), but its version is too low (2.6.15). do you recommend installing "testing" (3.4) into "stable" or to cope with "sid" until Buster gets released?
12:59:33 *** jervin has quit IRC
13:00:27 *** nimish2711 has joined #gnucash
13:03:19 *** nimish2711 has quit IRC
13:09:34 *** jervin has joined #gnucash
13:11:45 *** jervin has quit IRC
13:15:42 *** oozer has quit IRC
13:35:03 *** tienne has joined #gnucash
13:35:16 *** boldstripe_ has joined #gnucash
13:35:32 *** boldstripe has quit IRC
13:35:32 *** boldstripe_ is now known as boldstripe
13:39:31 *** Agfarmer18 has joined #gnucash
13:41:04 *** Agfarmer18 has quit IRC
13:41:17 *** Mechtilde has joined #gnucash
13:43:07 *** boldstripe has quit IRC
13:43:41 *** boldstripe has joined #gnucash
13:54:09 *** Mechtilde has quit IRC
13:54:20 <jralls> gour: Totally up to you. Note the third option would be to build 3.5 yourself from source. You can look at https://github.com/Gnucash/gnucash/blob/maint/util/ci/ubuntu-14.04-docker to see what apt-get commands you'll need to set up the build environment.
13:56:39 *** chf has quit IRC
13:56:56 <jralls> chris: Is the report code passing strings to xaccPrintAmount through a port or is the C code doing something to break the unicode?
13:58:07 *** chf has joined #gnucash
13:58:46 <jralls> chris: As for building, it's done on a windows machine using the procedure in the Building on Windows wiki page.
14:15:02 *** fabior has quit IRC
14:22:35 *** frakturfreak has joined #gnucash
14:22:36 *** ChanServ sets mode: +v frakturfreak
14:35:16 *** nicoroumeau has joined #gnucash
14:36:20 *** oozer has joined #gnucash
14:42:19 *** jervin has joined #gnucash
15:00:40 *** fabior has joined #gnucash
15:01:19 *** bertbob has quit IRC
15:05:32 *** fabior has quit IRC
15:11:41 *** marusich has joined #gnucash
15:11:41 *** ChanServ sets mode: +v marusich
15:13:11 *** bertbob has joined #gnucash
15:13:12 *** ChanServ sets mode: +v bertbob
15:22:24 *** Cuare has quit IRC
15:34:43 *** tienne has quit IRC
15:47:16 *** jervin has quit IRC
15:48:44 *** boldstripe has quit IRC
15:49:41 *** boldstripe has joined #gnucash
16:08:01 *** User has joined #gnucash
16:11:05 *** User has quit IRC
16:32:43 *** bebo has joined #gnucash
16:33:41 *** bertbob has quit IRC
16:35:12 *** tienne has joined #gnucash
16:35:46 *** bebo has quit IRC
16:41:28 *** mdf has joined #gnucash
16:41:28 *** ChanServ sets mode: +v mdf
16:44:48 *** bertbob has joined #gnucash
16:44:49 *** ChanServ sets mode: +v bertbob
16:52:23 <gour> jralls: on my testing netbook i'm updating from devuan's stable to testing to see how it goes (testing has 3.4)
16:54:31 <jralls> gour: OK.
16:58:27 *** nicoroumeau has quit IRC
17:26:54 *** guak has joined #gnucash
17:28:36 *** guak has quit IRC
17:37:06 *** marusich has quit IRC
17:49:25 *** boldstripe has quit IRC
17:57:37 *** trying2Simplify has joined #gnucash
18:13:08 <mikee> jralls: Thanks for doing the merge. I get stressed about such things.
18:13:32 <jralls> mikee: I figured you'd gone to bed! ;-)
18:14:06 <jralls> There's no need to get stressed, though. It's not that hard.
18:14:21 <mikee> Nope, got distracted onto the Making Tax Difficult thing.
18:14:43 <mikee> With my own code I'm OK.
18:18:42 <jralls> What direction are you heading on MTD? A formatted export of some sort that can feed one of the websites that interact with HMRC?
18:21:07 *** gour_ has joined #gnucash
18:21:13 <mikee> Python to query GnuCash then the user can review the data before submitting to HMRC
18:21:44 <mikee> git@github.com:EvansMike/hmrc_self_submit.git
18:22:40 <mikee> I've got the GnuCash part working, and I've done some test submits.
18:23:10 <mikee> Need to tie it together. Then add a comprehensive disclaimer :)
18:23:20 *** gour has quit IRC
18:34:06 <jralls> Looks very fancy, with a GUI and everything. But what languages are you expecting it to be translated into?
18:39:58 <mikee> Welsh?
18:43:05 *** gour_ has quit IRC
19:09:29 *** tienne has quit IRC
19:15:56 *** frakturfreak has quit IRC
19:23:29 <chris> jralls: xaccPrintAmount's C code is breaking unicode
19:24:13 <jralls> chris: OK. Can you tell where? If not I can make test program to find it.
19:24:52 <chris> I have no idea :)
19:26:23 <chris> either xaccPrintAmount which takes a number and print-info, or gnc_commodity_print_info which takes commodity & bool
19:28:57 <jralls> Ah, more likely gnc_commodity_print_info. IIRC that's where the symbol gets printed. I'll look. Thanks.
19:33:19 <chris> print_info outputs a mnemonic numbers and bools, not the symbol
19:35:08 *** trying2Simplify has quit IRC
19:37:40 <chris> is it because currency_symbol is a char instead of gchar? <naive>
19:37:52 *** Aussie_matt has joined #gnucash
19:38:16 <chris> (in xaccSPrintAmount)
19:40:12 <jralls> chris: No, gchar and char are the same. It's because it's a single char instead of a string because UTF-8 uses more than one byte except for ASCII. Where did your find that?
19:40:27 <chris> in xaccSPrintAmount
19:40:54 <chris> line 1851
19:41:11 <chris> and line 1888
19:46:44 <jralls> Ah, but currency_symbol is a char*, see line 1781. The * means it's a pointer to char, which in C almost always means a null-terminated string.
19:49:50 <chris> I think I'll try create a Windows builder this week
19:50:46 <chris> after that, off to work now
19:51:36 <jralls> It gets currency_symbol from libgnucash/engine/gnc-commodity.c, gnc_commodity_get_nice_symbol line 1205, so it should be getting the right thing.
19:55:03 *** trying2Simplify has joined #gnucash
19:57:21 <jralls> The problem is more likely in _wrap_xaccPrintAmount in swig-app-utils-guile.c. It converts the string with scm_from_utf8_string.
19:57:26 <jralls> GTG.
19:58:54 *** boldstripe has joined #gnucash
20:08:37 *** trying2Simplify has quit IRC
20:18:58 *** gnomey has quit IRC
20:21:01 *** gnomey has joined #gnucash
20:58:40 *** isn0gud has quit IRC
21:30:11 *** oozer has quit IRC
21:56:07 *** nimish2711 has joined #gnucash
22:40:14 *** boldstripe has quit IRC
22:53:29 *** gnomey has quit IRC
22:56:55 *** gnomey has joined #gnucash
23:22:45 *** jervin has joined #gnucash
23:25:19 *** jervin has quit IRC
23:38:17 *** nimish2711 has quit IRC