2015-09-29 GnuCash IRC logs

00:03:35 *** blindestman has quit IRC
01:28:43 *** fell has joined #gnucash
02:11:17 *** jeffsf has joined #gnucash
02:12:01 *** jeffsf1 has quit IRC
03:42:50 *** mlncn_ has joined #gnucash
04:21:05 *** fabior has joined #gnucash
04:45:31 *** nomeata has joined #gnucash
04:55:35 *** rubdos has joined #gnucash
05:24:11 *** uXus has quit IRC
05:24:15 *** uXus has joined #gnucash
05:29:13 *** rubdos has quit IRC
06:56:55 *** Jimraehl1 has left #gnucash
07:00:42 *** Jimraehl1 has joined #gnucash
07:36:23 *** himaxx has joined #gnucash
07:36:37 *** uXus has quit IRC
07:37:07 *** uXus has joined #gnucash
07:39:29 *** himaxx has quit IRC
07:49:48 *** fabior has quit IRC
07:59:40 *** himaxx has joined #gnucash
08:03:49 *** himaxx has quit IRC
08:25:22 *** mikee has quit IRC
08:28:46 *** mlncn_ has quit IRC
09:11:35 *** fell_ has joined #gnucash
09:13:28 *** fell has quit IRC
09:49:20 *** mikee_afk has joined #gnucash
09:49:22 *** mikee_afk is now known as mikee
09:49:23 *** mikee is now known as mikee-afk
09:49:30 *** mikee-afk is now known as mikee_afk
09:51:14 *** mikee_afk is now known as mikee
09:51:47 <mikee> /msg NickServ IDENTIFY
09:52:47 <mikee> @op
09:52:47 *** gncbot sets mode: +o mikee
10:06:49 *** fabior has joined #gnucash
10:22:08 *** mikee has quit IRC
10:33:59 *** mikee_afk has joined #gnucash
10:34:02 *** mikee_afk is now known as mikee-afk
10:34:03 *** mikee-afk is now known as mikee
10:34:08 *** mikee is now known as mikee_afk
10:35:05 *** mikee_afk is now known as mikee
10:36:15 *** ChanServ sets mode: +o mikee
10:39:02 *** nomeata has quit IRC
11:29:37 <jralls> warlord: Do you know off hand where (as in what file) the counter formats from File>Preferences are used?
11:30:51 <warlord> I know they are used by the invoice reports, but I don't know via what direction offhand
11:32:42 <jralls> OK. Guess I'll have to wait for gjanssens to turn up. Thanks.
11:33:05 <warlord> You could find | grep ?
11:38:53 <jralls> I've tried grepping for both "counter_format" and "gncBill" (the KVP keys) and come up only with qof_book_get_counter_format(), which itself is called only in qof/test.
11:40:30 <warlord> I found this: ./src/app-utils/business-options.scm: (gnc:set-option-scm->kvp option (lambda (f p) (kvp-frame-set-slot-path-gslist f ((gnc:option-getter option)) (list "counter_formats" key))))
11:40:51 <warlord> And this: ./src/app-utils/business-options.scm: (let ((v (kvp-frame-get-slot-path-gslist f (list "counter_formats" key))))
11:40:59 <jralls> Right, that's what creates the option in the dialog.
11:41:21 <warlord> The second is a getter
11:42:01 <jralls> Yes, and it should be called with the key, "gncBill". Didn't find any.
11:42:56 <warlord> ./src/engine/gncInvoice.c: nextID = qof_book_increment_and_format_counter (book, "gncBill");
11:45:28 <jralls> Aha! Thanks!
11:45:40 <warlord> Like I said... find | grep :)
11:46:35 <jralls> I prefer grep -r, but the effect should be the same. I wonder if \bgncBill\b fails because of the quotes...
11:47:06 <warlord> Probably. I did: find . -type f -print0 | xargs -0 grep \"gncBill\"
12:21:01 *** mlncn_ has joined #gnucash
12:50:31 *** mlncn_ has quit IRC
13:20:02 *** MechtiIde has joined #gnucash
13:33:16 *** himaxx has joined #gnucash
13:35:59 *** himaxx has quit IRC
13:36:00 *** himaxx has joined #gnucash
13:39:02 *** himaxx has quit IRC
13:39:29 *** himaxx has joined #gnucash
13:42:57 *** himaxx has quit IRC
14:16:04 *** gjanssens has joined #gnucash
14:16:04 *** ChanServ sets mode: +o gjanssens
15:18:43 *** himaxx has joined #gnucash
15:19:01 *** himaxx has quit IRC
15:56:06 *** MechtiIde has quit IRC
15:57:02 *** mlncn has joined #gnucash
16:10:27 *** gjanssens has quit IRC
16:29:41 *** fabior has quit IRC
16:31:58 *** fabior has joined #gnucash
16:32:46 <warlord> jralls: FYI, we have the other .i files included as EXTRA_DIST files, so we should include the missing one.
16:33:19 <warlord> (re: 755801)
16:33:28 <warlord> er, 755807
16:49:57 *** fabior has quit IRC
16:52:39 *** fabior has joined #gnucash
16:54:13 *** fabior has quit IRC
16:58:50 <jralls> warlord: Or maybe we should take them out. ;-)
16:59:27 <warlord> Nah, I think he's right in that we should include the .i files.
16:59:36 <warlord> He's wrong in that we definitely should NOT run SWIG every time.
16:59:54 <warlord> The reason is that different versions of swig produce different output and we've only tested certain versions.
17:00:16 <warlord> So if they rebuild with a different version they could introduce subtle bugs
17:05:00 <jralls> That's already in configure, it has to be 2.0.10 or later if using guile2, otherwise 1.3.31.
17:11:27 <warlord> Sure, but... 2.0.<next> might introduce a bug..
17:13:57 <warlord> FYI, I'd close the bug with the engine-common,i commit ;)
17:14:27 <jralls> Back to counter formats. How's your memory? Do you remember why you changed the counters from int to gint64 in r6759? It's only been a year or 13... ;-)
17:15:12 <jralls> https://github.com/gjanssens/gnucash/commit/e83341b8c7223d249477ecffd1d02969c6554093 if you need to refresh your memory.
17:18:46 <jralls> BTW, Jessie is on swig-2.0.12 and the current release is 3.0.7. Since Dmitry also found a bug with the just-released-yesterday glib-2.46.0, I bet he's working on unstable and using that latest version.
17:26:44 <warlord> Oh, probably because KVP had a gint64, so I wanted to be type-safe
17:59:33 <jralls> Mmm. Thought so.
18:00:07 *** mikee is now known as mikee_afk
18:55:09 *** puck has quit IRC
18:56:34 *** mlncn has quit IRC
19:00:09 *** puck has joined #gnucash
20:22:30 *** fell_ has quit IRC
22:52:02 *** Coderjoe has quit IRC
22:55:02 *** Coderjoe has joined #gnucash
23:08:14 *** Coderjoe has quit IRC
23:13:27 *** Coderjoe has joined #gnucash