2019-07-21 GnuCash IRC logs

00:12:02 *** fell has quit IRC
00:14:45 *** boldstripe has quit IRC
00:16:12 *** boldstripe has joined #gnucash
00:22:19 *** fell has joined #gnucash
00:22:19 *** ChanServ sets mode: +o fell
00:23:23 *** fell has quit IRC
00:26:26 *** fell has joined #gnucash
00:26:26 *** ChanServ sets mode: +o fell
00:38:41 *** MarkFirewhal has quit IRC
01:02:49 *** Mechtilde has joined #gnucash
01:02:49 *** ChanServ sets mode: +v Mechtilde
01:17:24 *** omnireq has joined #gnucash
01:17:24 *** ChanServ sets mode: +v omnireq
02:04:42 *** fell has quit IRC
02:04:50 *** fell has joined #gnucash
02:04:50 *** ChanServ sets mode: +o fell
02:13:45 *** fell has quit IRC
02:13:52 *** fell has joined #gnucash
02:13:52 *** ChanServ sets mode: +o fell
02:15:55 *** boldstripe has quit IRC
02:17:22 *** boldstripe has joined #gnucash
02:23:44 *** Aussie_matt has joined #gnucash
02:45:19 *** Cuare has quit IRC
02:48:27 *** JayC has quit IRC
02:53:56 *** JayC has joined #gnucash
02:53:56 *** ChanServ sets mode: +v JayC
03:55:42 *** omnireq has quit IRC
03:56:50 *** omnireq has joined #gnucash
04:05:18 *** boldstripe has quit IRC
04:14:01 *** badger93 has joined #gnucash
04:14:15 *** badger92 has quit IRC
04:14:15 *** badger93 is now known as badger92
05:15:56 *** fell has quit IRC
05:43:07 *** phoenix has joined #gnucash
05:46:44 *** phoenix has quit IRC
06:11:59 *** boldstripe has joined #gnucash
06:18:48 *** omnireq has joined #gnucash
06:19:05 *** omnireq has quit IRC
06:26:42 *** phoenix has joined #gnucash
06:37:07 *** bertbob has quit IRC
06:37:24 *** boldstripe has quit IRC
06:39:46 *** boldstripe has joined #gnucash
06:45:49 *** fell has joined #gnucash
06:45:49 *** ChanServ sets mode: +o fell
06:46:26 <chris> @tell jralls I find creating swig tests rather difficult; I'd be grateful for an example and can fill the rest
06:46:26 <gncbot> chris: The operation succeeded.
06:48:22 *** Mechtilde has quit IRC
07:06:19 *** Jimraehl1 has joined #gnucash
07:07:46 *** Jimraehl1 has quit IRC
07:26:05 *** oozer has joined #gnucash
07:36:35 *** Aussie_matt has quit IRC
07:42:53 *** Mechtilde has joined #gnucash
07:47:31 *** Aussie_matt has joined #gnucash
07:56:16 *** Aussie_matt has quit IRC
08:02:13 *** fell has quit IRC
08:02:14 *** fell_laptop has joined #gnucash
08:02:15 *** ChanServ sets mode: +o fell_laptop
08:28:19 *** phoenix has quit IRC
09:20:52 *** jervin has joined #gnucash
09:21:19 *** jervin has quit IRC
09:21:51 *** jervin has joined #gnucash
09:23:54 *** jchonig has quit IRC
09:23:56 *** jchonig has joined #gnucash
09:24:25 *** luwum[m] has quit IRC
09:24:47 *** kapip has quit IRC
09:24:48 *** daemoneye has quit IRC
09:24:56 *** kapip has joined #gnucash
09:25:05 *** daemoneye has joined #gnucash
09:34:32 *** fell_laptop has quit IRC
09:34:59 *** bertbob has joined #gnucash
09:35:00 *** ChanServ sets mode: +v bertbob
09:35:05 *** fell has joined #gnucash
09:35:05 *** ChanServ sets mode: +o fell
09:37:03 *** jervin has quit IRC
09:46:28 *** luwum[m] has joined #gnucash
09:48:19 *** jervin has joined #gnucash
11:00:09 *** Mechtilde has quit IRC
11:01:05 *** Mechtilde has joined #gnucash
11:11:43 *** omnireq has joined #gnucash
11:25:13 *** omnireq has quit IRC
11:31:37 *** jervin has joined #gnucash
11:37:45 *** Mechtilde has quit IRC
11:43:19 <jralls> .
11:43:19 <gncbot> jralls: Sent 4 hours and 56 minutes ago: <chris> I find creating swig tests rather difficult; I'd be grateful for an example and can fill the rest
12:04:26 *** phoenix has joined #gnucash
12:06:05 <jralls> chris: I'm not too sure about "filling in the rest" unless you're ready to dive in to C. The reason I say that is that since SWIG wraps a C function, the best way to test a typemap is to write and wrap a pair of C functions and call them from Scheme. For the example of the AccountValueList, we'd have `AccountValueList* test_account_value_list_source()` and `bool test_account_value_list_sink(AccountValueList*)`. The first would construct a AVL with
12:06:05 <jralls> known values and return it; the second would take an AVL* and check it to ensure that all of the known values, and only those values, are in the list.
12:07:45 <jralls> We'd wrap that with swig and call each from Scheme, checking that the scheme list-of-lists that we get from the source via the typemap is correct and then passing it back to the sink and expecting TRUE.
12:13:57 *** O01eg has joined #gnucash
12:41:42 *** Mechtilde has joined #gnucash
12:54:26 *** phoenix has quit IRC
13:11:46 <jralls> chris: Example source and sink functions: https://gist.github.com/jralls/12eb12adf9535cb47847cd901a9d324d
13:21:58 *** jralls has quit IRC
13:22:18 *** rob has joined #gnucash
13:48:46 *** jervin has joined #gnucash
14:22:00 *** jervin has quit IRC
14:24:41 *** oozer has quit IRC
14:33:48 *** jervin has joined #gnucash
15:06:22 *** frakturfreak has joined #gnucash
15:51:41 *** oozer has joined #gnucash
15:58:12 *** boldstripe has quit IRC
16:00:16 *** guak has joined #gnucash
16:23:45 *** Mechtilde has quit IRC
16:25:20 *** guak has quit IRC
16:51:00 *** rob_ has joined #gnucash
16:51:10 *** rob has quit IRC
16:51:12 *** rob_ is now known as rob
17:02:54 *** frakturfreak has quit IRC
17:04:22 *** jervin has quit IRC
17:04:30 *** jervin has joined #gnucash
17:05:39 *** jervin has quit IRC
17:05:47 *** jervin has joined #gnucash
17:07:38 *** jervin has joined #gnucash
17:11:45 *** jervin has quit IRC
17:19:38 *** rob has quit IRC
18:19:11 *** User_ has joined #gnucash
18:27:48 *** User_ has quit IRC
18:53:41 *** Aussie_matt has joined #gnucash
19:39:24 *** tonysoar has joined #gnucash
19:41:47 *** tonysoar has quit IRC
20:00:00 *** MarkFirewhal has joined #gnucash
20:15:02 *** MarkFirewhal has quit IRC
20:18:36 *** MarkFirewhal has joined #gnucash
20:25:43 *** warlord has quit IRC
20:27:02 *** warlord has joined #gnucash
20:27:02 *** gncbot sets mode: +o warlord
20:55:43 *** warlord has quit IRC
20:59:05 *** warlord has joined #gnucash
20:59:06 *** gncbot sets mode: +o warlord
21:19:04 *** oozer has quit IRC
21:40:01 *** jervin has joined #gnucash
21:40:36 *** jervin has quit IRC
21:42:29 *** User_ has joined #gnucash
23:26:17 *** Cuare has joined #gnucash
23:26:17 *** ChanServ sets mode: +v Cuare
23:33:06 *** User_ has quit IRC