2021-06-08 GnuCash IRC logs

00:20:11 *** waitman- has quit IRC
00:22:55 *** waitman- has joined #gnucash
00:52:56 *** Bambuzel has joined #gnucash
00:52:56 *** ChanServ sets mode: +v Bambuzel
00:53:05 *** Bambuzel2 has joined #gnucash
00:53:06 *** ChanServ sets mode: +v Bambuzel2
00:57:32 *** fell has quit IRC
00:57:53 *** waitman- has quit IRC
00:59:26 *** waitman- has joined #gnucash
00:59:31 *** fell has joined #gnucash
00:59:31 *** ChanServ sets mode: +o fell
01:01:26 *** jonp` has quit IRC
01:06:32 *** jonp has joined #gnucash
01:13:47 *** Mechtilde has joined #gnucash
01:16:37 *** JayC has quit IRC
01:18:43 *** dtux has quit IRC
01:20:35 *** fell has quit IRC
01:21:57 *** fell has joined #gnucash
01:21:57 *** ChanServ sets mode: +o fell
01:32:00 *** frakturfreak has quit IRC
01:34:31 *** sbluhm has joined #gnucash
01:46:36 *** frakturfreak has joined #gnucash
02:02:25 *** attronarch has joined #gnucash
02:02:25 *** ChanServ sets mode: +v attronarch
02:23:31 *** Bambuzel2 has quit IRC
02:23:31 *** Bambuzel has quit IRC
02:53:48 *** csutherl_ has joined #gnucash
02:54:22 *** wkalt has joined #gnucash
02:55:09 *** wkalt has quit IRC
03:38:23 *** gjanssens has joined #gnucash
03:38:23 *** ChanServ sets mode: +o gjanssens
04:48:58 *** Bambuzel has joined #gnucash
04:48:58 *** ChanServ sets mode: +v Bambuzel
04:49:09 *** Bambuzel2 has joined #gnucash
04:49:09 *** ChanServ sets mode: +v Bambuzel2
05:03:21 *** Bambuzel has quit IRC
05:03:21 *** Bambuzel2 has quit IRC
05:32:18 *** Aussie_matt has quit IRC
05:37:07 *** Bambuzel has joined #gnucash
05:37:08 *** ChanServ sets mode: +v Bambuzel
05:37:10 *** Bambuzel1 has joined #gnucash
05:37:10 *** ChanServ sets mode: +v Bambuzel1
06:25:36 *** Aussie_matt has joined #gnucash
06:27:07 *** celeste has quit IRC
06:29:48 *** User_ has joined #gnucash
07:01:41 *** celeste has joined #gnucash
07:01:41 *** ChanServ sets mode: +v celeste
07:06:02 *** Pegasus_RPG has joined #gnucash
07:11:14 *** storyjesse has joined #gnucash
07:22:09 *** NoobAlice has quit IRC
07:46:47 *** Pegasus_RPG has quit IRC
07:49:49 *** jervin has joined #gnucash
07:58:49 *** jervin has quit IRC
07:58:53 *** jervin has joined #gnucash
08:05:06 *** jervin has quit IRC
08:17:47 *** JayC has joined #gnucash
08:17:47 *** ChanServ sets mode: +v JayC
08:32:13 *** jervin has joined #gnucash
08:54:33 *** jervin has quit IRC
08:56:18 *** David has quit IRC
08:56:39 *** David has joined #gnucash
09:16:21 *** Jimraehl1 has joined #gnucash
09:17:05 *** Jimraehl1 has quit IRC
09:19:40 *** JayC has quit IRC
09:20:42 *** JayC has joined #gnucash
09:20:42 *** ChanServ sets mode: +v JayC
09:27:49 *** angel has joined #gnucash
09:31:05 *** Aussie_matt has quit IRC
09:32:13 *** attronarch has quit IRC
09:36:57 *** angel has left #gnucash
10:02:34 *** frakturfreak has quit IRC
10:16:43 *** frakturfreak has joined #gnucash
10:45:03 *** storyjesse has quit IRC
10:45:33 *** jcarl43 has joined #gnucash
10:45:33 *** ChanServ sets mode: +v jcarl43
10:48:02 *** jcarl43 has quit IRC
10:48:35 *** jcarl43 has joined #gnucash
10:48:35 *** ChanServ sets mode: +v jcarl43
11:06:07 *** ArtGravity has joined #gnucash
11:06:07 *** ChanServ sets mode: +v ArtGravity
11:33:20 *** Pegasus_RPG has joined #gnucash
11:37:25 *** Mechtilde has quit IRC
11:37:57 *** Mechtilde has joined #gnucash
11:40:49 *** dtux has joined #gnucash
11:49:29 *** ArtGravity has quit IRC
12:27:05 *** eegemen-M has joined #gnucash
12:27:48 *** eegemen-M has quit IRC
12:34:36 *** cbellone[m] has joined #gnucash
12:35:37 *** gjanssens has quit IRC
12:48:02 *** sbluhm has quit IRC
12:56:19 *** Pegasus_RPG has quit IRC
13:14:57 *** Pegasus_RPG has joined #gnucash
13:27:37 *** angel has joined #gnucash
13:45:24 *** jcarl43 has quit IRC
13:49:20 <fell> Congrats, warlord: https://www.bbc.com/news/technology-57399628
13:53:42 *** angel has left #gnucash
14:21:27 *** angel has joined #gnucash
14:28:48 *** warlord2 has joined #gnucash
14:29:52 *** alecostabr has joined #gnucash
14:30:03 *** warlord has quit IRC
14:32:18 *** alecostabr has quit IRC
14:44:52 <jralls> chris, #1019 looks OK to me.
14:45:49 *** angel has left #gnucash
14:48:33 *** warlord2 is now known as warlord
14:49:42 *** David has quit IRC
14:49:47 *** David has joined #gnucash
14:50:08 *** ChanServ sets mode: +qo warlord warlord
14:50:09 <warlord> fell, why are you congratulating me?
15:29:44 *** sbluhm has joined #gnucash
16:11:52 *** alecostabr has joined #gnucash
16:27:47 *** alecostabr has quit IRC
16:28:35 <fell> warlord, because we this time were not affected. ;-)
16:42:28 *** alecostabr has joined #gnucash
16:49:14 *** sbluhm has quit IRC
17:03:22 *** alecostabr has quit IRC
17:09:24 *** User_ has quit IRC
17:13:22 *** Pegasus_RPG has quit IRC
17:21:01 *** Pegasus_RPG has joined #gnucash
17:30:29 *** mydogsnameisrudy has joined #gnucash
17:33:39 *** Pegasus_RPG has quit IRC
17:34:21 *** mydogsnameisrudy has quit IRC
18:54:15 <chris> @tell gjanssens and jralls - I guess this solution to the "GValue-owns-char*" problem is an ugly hack? https://pastebin.com/raw/sRcabbHh
18:54:15 <gncbot> chris: The operation succeeded.
18:55:02 <chris> It solves the "duplicated string at every call" but creates a "there's always an allocated string" problem
18:57:30 <jralls> chris, Did you mean for strbuf to be static rather than const?
18:57:35 <chris> yes
19:00:50 <jralls> Keeping strbuf around isn't a big problem. The real problem is that you have to make sure that the return value of xaccTransGetNotes is copied (the string, not the ptr!) or no longer needed before xaccTransGetNotes gets called again.
19:02:41 <chris> ah yes. the char* being passed to GTK calls like gtk_entry_set_text would typically dupe the string, but GNC calls like xaccTransClone may not.
19:03:18 <jralls> Right. Or some future use.
19:04:51 <jralls> It's also annoying that GValue doesn't have a string function to transfer ownership out of the GValue.
19:05:45 <chris> there's g_value_dup_string?
19:06:05 <chris> (cf g_value_get_string)
19:06:32 *** Aussie_matt has joined #gnucash
19:19:44 <jralls> Right. Dup allocates and copies. Get returns the ptr but the alloc it points to gets freed by g_value_unset. There should be the converse of take, maybe put, that returns the ptr and nulls the internal so that unset won't free it.
19:30:48 *** warlord2 has joined #gnucash
19:32:03 *** warlord has quit IRC
19:50:58 *** mdf has quit IRC
19:53:28 *** David has quit IRC
19:53:34 *** David has joined #gnucash
20:09:23 *** celeste has quit IRC
20:49:27 *** celeste has joined #gnucash
20:49:28 *** ChanServ sets mode: +v celeste
21:18:31 *** ComputerKid has joined #gnucash
22:52:43 *** marusich has joined #gnucash
22:52:43 *** ChanServ sets mode: +v marusich
22:54:09 *** marusich has quit IRC
22:54:21 *** marusich has joined #gnucash
22:54:21 *** ChanServ sets mode: +v marusich
22:57:45 *** phebus has quit IRC
23:22:44 *** marusich has quit IRC
23:27:08 *** phebus has joined #gnucash
23:27:08 *** ChanServ sets mode: +v phebus
23:31:58 *** retrohacker has joined #gnucash
23:34:39 *** gareth__ has joined #gnucash
23:36:21 *** David has quit IRC
23:36:45 *** David has joined #gnucash
23:36:56 *** chris has quit IRC
23:46:27 *** chris has joined #gnucash
23:46:27 *** ChanServ sets mode: +v chris
23:46:30 *** gncbot sets mode: +o chris