2019-11-29 GnuCash IRC logs

00:01:47 *** User has quit IRC
01:14:12 *** Mechtilde has joined #gnucash
01:21:01 *** oliver has quit IRC
01:22:44 *** oliver has joined #gnucash
01:26:38 *** Mechtilde has quit IRC
01:34:01 *** fell has quit IRC
01:35:20 *** fell has joined #gnucash
01:35:21 *** ChanServ sets mode: +o fell
01:44:42 *** oliver has quit IRC
01:46:25 *** oliver has joined #gnucash
01:58:27 *** sbluhm has joined #gnucash
01:58:27 *** ChanServ sets mode: +v sbluhm
01:58:36 *** pohly has joined #gnucash
02:02:07 *** jralls has joined #gnucash
02:02:07 *** ChanServ sets mode: +o jralls
02:07:40 *** fell_laptop has joined #gnucash
02:07:41 *** ChanServ sets mode: +o fell_laptop
02:09:50 *** fell has quit IRC
02:10:10 <jralls> bzbarsky: Autotools. In 2.4 cmake was used only for the Cutecash experiment, a demo of using Qt instead of Gtk for the GUI.
02:20:35 <jralls> bzbarsky: You should clone gnucash-on-osx and checkout 752a9c87. That corresponds to GnuCash-2.4.15 and will have the correct dependencies and build settings. For absolute compatibility also check out gtk-osx d2d6a25e, which is what I used to build the GnuCash 2.4.15 release. It's very likely that it includes obsolete libraries that have been since removed. Once you have a successful build with the antique stuff you can consider selectively upgrad
02:20:35 <jralls> ing the still-maintained libraries, especially focussing on glib, pango, cairo, and gtk. MacOS has moved a lot in the last 6 years and it's possible that the early 2014 versions of libraries, especially those 4, won't work with Catalina.
02:48:33 *** fell_laptop is now known as fell
03:05:02 *** Simon has quit IRC
03:05:10 *** Simon has joined #gnucash
03:05:10 *** ChanServ sets mode: +v Simon
03:06:23 *** oliver has quit IRC
03:07:36 *** oliver has joined #gnucash
03:08:46 *** gjanssens has joined #gnucash
03:08:46 *** gncbot sets mode: +o gjanssens
03:08:47 *** ChanServ sets mode: +o gjanssens
03:19:55 *** Mechtilde has joined #gnucash
03:20:02 *** Unhammer has joined #gnucash
03:20:03 *** ChanServ sets mode: +v Unhammer
03:27:34 *** oliver has quit IRC
03:29:17 *** oliver has joined #gnucash
03:33:04 *** gggg has joined #gnucash
03:35:44 *** gggg has quit IRC
03:50:17 *** oliver has quit IRC
03:51:58 *** oliver has joined #gnucash
04:04:24 *** Mechtilde has quit IRC
04:13:59 *** kapip has quit IRC
04:23:12 *** warlord has quit IRC
05:20:12 *** bertbob has quit IRC
05:25:17 *** bertbob has joined #gnucash
05:25:18 *** ChanServ sets mode: +v bertbob
05:32:25 *** bertbob has quit IRC
05:51:26 *** oliver has quit IRC
05:52:39 *** oliver has joined #gnucash
05:55:24 *** bertbob has joined #gnucash
05:55:25 *** ChanServ sets mode: +v bertbob
05:55:27 *** Mechtilde has joined #gnucash
05:57:22 <gjanssens> .
06:04:04 *** Mechtilde has quit IRC
06:11:07 *** oliver has quit IRC
06:12:50 *** oliver has joined #gnucash
06:39:15 *** Mechtilde has joined #gnucash
07:03:45 <chris> does https://github.com/christopherlam/gnucash/commit/5db0acb10c look good?
07:09:07 *** puck has quit IRC
07:11:12 *** puck has joined #gnucash
07:23:09 *** omnireq_ has quit IRC
07:23:39 *** omnireq_ has joined #gnucash
07:27:06 *** warlord has joined #gnucash
07:44:39 *** omnireq_ has quit IRC
07:44:49 *** omnireq_ has joined #gnucash
07:53:44 *** User has joined #gnucash
07:59:48 *** User has quit IRC
08:06:50 *** TownsendHardware has joined #gnucash
08:12:58 *** User has joined #gnucash
08:22:10 *** Robert847 has left #gnucash
08:26:39 *** omnireq_ has quit IRC
08:26:50 *** omnireq_ has joined #gnucash
09:24:31 *** Jimraehl1 has joined #gnucash
09:25:55 *** Jimraehl1 has quit IRC
09:42:46 <chris> the above commit removed memory errors yet causes Gtk errors. my C is bad.
09:53:41 *** PowaBanga has quit IRC
09:53:57 *** PowaBanga has joined #gnucash
10:06:56 <gjanssens> chris: I added a comment on your commit.
10:08:48 <chris> that explains. still too difficult for me. i was hoping for an easy valgrind-error fix.
10:18:15 *** Gerd has joined #gnucash
10:20:00 <gjanssens> Added a simple example
10:20:08 <gjanssens> GTG for a while
10:20:41 <chris> cool thx
10:23:24 *** omnireq_ has quit IRC
10:26:23 *** gggg has joined #gnucash
10:34:09 *** chris has quit IRC
10:35:07 *** chris has joined #gnucash
10:35:07 *** ChanServ sets mode: +v chris
10:36:30 <chris> still not right... can't g_free (priv->negative_color) ... maybe not for me
10:37:56 *** Mechtilde has quit IRC
10:50:12 *** sbluhm has quit IRC
10:59:47 *** gggg has quit IRC
11:00:08 *** omnireq has joined #gnucash
11:00:08 *** ChanServ sets mode: +v omnireq
11:00:34 *** omnireq has quit IRC
11:02:15 *** omnireq has joined #gnucash
11:02:15 *** ChanServ sets mode: +v omnireq
11:28:34 *** calvinct has joined #gnucash
11:37:38 *** sbluhm has joined #gnucash
11:37:39 *** ChanServ sets mode: +v sbluhm
11:40:38 *** sbluhm has quit IRC
11:50:20 *** phoenix has joined #gnucash
12:18:08 <gjanssens> chris: indeed, it's ugly :(
12:18:42 <gjanssens> priv->negative_color is defined as "const gchar*" whereas get_negative_color returns a "gchar*"
12:19:05 <gjanssens> That's asking for memory issues...
12:19:59 <gjanssens> So either colors get passed around as "const gchar*" values, which can't and don't have to be freed
12:20:19 <gjanssens> Or everything has to drop the const and you'll have to add memory management into the mix.
12:21:01 *** calvinct has quit IRC
12:23:38 <gjanssens> As the whole color lookup revolves around gkd_rgba_to_string function which returns a "gchar*" I think the second route is the only option we have.
12:24:58 <gjanssens> Long story short, try to remove const from the definition of priv->negative_color in https://github.com/christopherlam/gnucash/commit/5db0acb10c#diff-33ce6d965eff829d2764c41f7489ec34R99
12:27:04 <gjanssens> And in addition free priv->negative_color in the account model's dispose function if it is not null
12:27:10 <gjanssens> The dispose function is here: https://github.com/christopherlam/gnucash/commit/5db0acb10c#diff-33ce6d965eff829d2764c41f7489ec34R233
13:02:14 *** fell has quit IRC
13:16:49 *** calvinct has joined #gnucash
13:33:50 *** sbluhm has joined #gnucash
13:33:50 *** ChanServ sets mode: +v sbluhm
13:45:58 *** sbluhm has quit IRC
14:01:48 *** Mechtilde has joined #gnucash
14:02:14 *** Gerd has quit IRC
14:03:53 *** sbluhm has joined #gnucash
14:03:53 *** ChanServ sets mode: +v sbluhm
14:07:57 *** phoenix has quit IRC
14:19:03 *** waeking7 has joined #gnucash
14:19:03 *** ChanServ sets mode: +v waeking7
14:19:03 *** waeking has quit IRC
14:19:04 *** waeking7 is now known as waeking
14:23:34 *** frakturfreak has joined #gnucash
14:23:34 *** ChanServ sets mode: +v frakturfreak
14:26:35 *** calvinct has quit IRC
14:36:29 *** waeking has quit IRC
14:48:50 *** waeking has joined #gnucash
14:48:50 *** ChanServ sets mode: +v waeking
15:42:23 *** Mechtilde has quit IRC
15:51:20 *** pohly has quit IRC
15:55:38 *** sbluhm has quit IRC
16:39:23 *** gjanssens has quit IRC
16:45:28 *** waeking has quit IRC
16:46:13 *** waeking has joined #gnucash
16:46:13 *** ChanServ sets mode: +v waeking
16:46:56 *** waeking has quit IRC
16:49:46 *** calvinct has joined #gnucash
16:57:49 *** calvinct has quit IRC
16:58:39 *** waeking has joined #gnucash
16:58:39 *** ChanServ sets mode: +v waeking
17:14:03 *** bertbob has quit IRC
17:14:21 *** Gerd has joined #gnucash
17:31:36 *** frakturfreak has quit IRC
18:06:31 *** Gerd has quit IRC
18:07:44 *** User has quit IRC
18:10:12 *** oozer has joined #gnucash
18:16:13 *** bertbob has joined #gnucash
18:16:14 *** ChanServ sets mode: +v bertbob
18:22:56 *** omnireq has quit IRC
18:42:55 *** Gerd has joined #gnucash
19:05:54 *** fell has joined #gnucash
19:05:54 *** ChanServ sets mode: +o fell
19:12:33 *** Gerd has quit IRC
21:01:49 *** oozer has quit IRC
21:15:34 <chris> snippet from valgrind: https://pastebin.com/raw/WeSk0rt2 is there a leak in g_list_prepend? or the g_list must be g_free()d somehow?
21:18:50 *** omnireq has joined #gnucash
23:02:48 *** oliver has quit IRC
23:04:31 *** oliver has joined #gnucash
23:12:32 *** omnireq_ has joined #gnucash
23:13:44 *** omnireq has quit IRC
23:14:40 *** omnireq_ has quit IRC
23:23:56 *** omnireq has joined #gnucash
23:53:56 <chris> memory management is hard, and annoying!