2019-04-07 GnuCash IRC logs

00:51:04 *** nimish2711 has quit IRC
01:25:43 *** magic_ninja has joined #gnucash
01:29:15 *** magic_ninja has quit IRC
01:44:15 *** fell has joined #gnucash
01:44:16 *** ChanServ sets mode: +o fell
01:46:26 *** fell_laptop has quit IRC
01:58:42 *** frakturfreak has quit IRC
02:13:07 *** frakturfreak has joined #gnucash
02:16:53 *** Mechtilde has joined #gnucash
02:27:01 *** nimish2711 has joined #gnucash
02:55:47 *** storyjesse has joined #gnucash
03:15:07 *** gjanssens has joined #gnucash
03:15:07 *** ChanServ sets mode: +o gjanssens
03:42:05 *** kapil___ has joined #gnucash
04:36:23 *** nicoroumeau has joined #gnucash
05:04:58 *** nicoroumeau has quit IRC
05:18:15 *** mauritslamers has quit IRC
05:19:57 *** mauritslamers has joined #gnucash
05:30:26 *** O01eg has quit IRC
06:40:56 *** oozer has joined #gnucash
07:03:40 *** bertbob has quit IRC
07:08:31 *** bertbob has joined #gnucash
07:08:32 *** ChanServ sets mode: +v bertbob
07:11:12 *** nimish2711 has quit IRC
07:45:25 *** jervin has joined #gnucash
08:14:58 *** oozer has quit IRC
08:19:58 *** nimish2711 has joined #gnucash
08:25:44 *** warlord has joined #gnucash
08:25:44 *** gncbot sets mode: +o warlord
08:38:44 *** jralls has quit IRC
08:39:34 *** jralls has joined #gnucash
08:39:34 *** ChanServ sets mode: +o jralls
08:43:22 <warlord> .
08:43:22 <gncbot> warlord: Sent 1 day, 17 hours, and 54 minutes ago: <jralls> Would it be feasible for the nightly Doxygen build to also build gnucash.pot and put it in code/docs so that motivated translators could get a more up-to-date version than the one in the tarball without having to set up a build environment?
08:44:10 <warlord> @tell jralls that is an interesting idea. I can certainly look into it. Would you want it off maint or master?
08:44:10 <gncbot> warlord: The operation succeeded.
09:07:23 *** User_ has joined #gnucash
09:08:24 *** Aussie_matt has joined #gnucash
09:16:35 <fell> warlord usually maint, sometimes unstable, never master
09:19:10 <fell> See the comments in https://wiki.gnucash.org/wiki/index.php?title=Translation_Status&action=edit
09:28:49 *** Aussie_matt has quit IRC
09:43:25 <warlord> fell, okay
09:43:44 <warlord> I will take a look to see how much work it would be to build it.
09:43:57 <fell> make pot
09:44:19 *** ChanServ sets mode: +v mauritslamers
09:49:04 <warlord> Yes, but I don't run a full cmake/autoconf process right now.
09:49:13 <warlord> So I need to see if there is a short-circuit I can run
10:11:26 *** frakturfreak has quit IRC
10:13:01 *** User_ has quit IRC
10:18:44 *** oozer has joined #gnucash
10:25:10 *** jervin has quit IRC
10:26:12 *** frakturfreak has joined #gnucash
10:26:12 *** ChanServ sets mode: +v frakturfreak
11:38:24 *** kapil___ has quit IRC
11:41:10 *** nimish2711 has quit IRC
11:42:12 *** nimish2711 has joined #gnucash
12:06:11 <fell> jralls, I believe the file save problem is not windows, but dropbox, as ? and & are parameter delimiters in URLs.
12:27:00 *** fabior has joined #gnucash
12:29:01 *** fabior has quit IRC
12:52:19 *** kapil___ has joined #gnucash
13:04:10 *** storyjesse has quit IRC
13:06:24 *** nimish2711 has quit IRC
13:08:43 *** boldstripe has joined #gnucash
13:19:45 *** oozer has quit IRC
13:22:37 *** nicoroumeau has joined #gnucash
13:30:04 *** Mechtilde has quit IRC
13:30:39 *** nicoroumeau has joined #gnucash
13:51:54 *** boldstripe_ has joined #gnucash
13:52:09 *** boldstripe has quit IRC
13:52:09 *** boldstripe_ is now known as boldstripe
13:56:51 *** nicoroumeau has quit IRC
14:00:43 <jralls> gjanssens: I do have some familiarity with CMSes. I've been webmastering (is that a word?) a Joomla! site for 3 years, for my local genealogical society. We're right now engaged in hiring a contractor to convert it to Wordpress and give it a more modern look.
14:00:43 <gncbot> jralls: Sent 1 day, 10 hours, and 6 minutes ago: <mikee> Looks like I missed an interesting conversation. I was, um, in a pub at the time.
14:00:44 <gncbot> jralls: Sent 5 hours and 16 minutes ago: <warlord> that is an interesting idea. I can certainly look into it. Would you want it off maint or master?
14:03:01 <jralls> @tell chris It would be better to make the style sheet code read and write CSS than JSON since CSS is what we have to give to the browser to style the page.
14:03:01 <gncbot> jralls: The operation succeeded.
14:03:04 *** boldstripe_ has joined #gnucash
14:03:18 *** boldstripe has quit IRC
14:03:18 *** boldstripe_ is now known as boldstripe
14:06:18 <jralls> fell: See Greg Feneis's posts to the "Downgrading to 2.6.21" thread on gnucash-users today. He's not connecting to Dropbox, he's just using the local files that he syncs with dropbox. He's able to successfully save to a file with '&
14:06:32 <jralls> ' in the path.
14:11:14 <jralls> fell: His latest message shows pretty clearly that the problem has to do with the number of directories in the path, which sounds like a recursion problem in gjanssens's boost::filesystem code.
14:12:32 <jralls> fell: There does seem to be a URL->Path problem in the transaction attachment code. I think Bob Fewell is working that bug.
14:12:59 <fell> Ah, OK
14:13:32 *** nicoroumeau has joined #gnucash
14:21:11 *** nicoroumeau has quit IRC
15:00:15 *** oozer has joined #gnucash
15:01:24 *** quecas has joined #gnucash
15:03:29 *** quecas has quit IRC
15:08:44 *** quecas has joined #gnucash
15:25:15 *** nicoroumeau has joined #gnucash
15:38:25 *** kapil___ has quit IRC
15:38:47 *** quecas has quit IRC
15:47:50 *** nicoroumeau has quit IRC
16:03:52 *** KevinDB has quit IRC
16:05:26 *** KevinDB has joined #gnucash
16:05:26 *** ChanServ sets mode: +v KevinDB
16:05:58 *** KevinDB has quit IRC
16:21:13 <gjanssens> jralls: it's odd this recursion issue is new in 3.5
16:21:13 <gncbot> gjanssens: Sent 18 hours and 29 minutes ago: <chris> I've been thinking it wouldn't be wrong to upgrade transaction.scm to report-system/trep-engine.scm, which means transaction.scm becomes a thin wrapper to it, reconcile-report.scm is spun off, and general-ledger.scm and income-gst-statement.scm also amended.
16:21:14 <gncbot> gjanssens: Sent 18 hours and 18 minutes ago: <chris> the next question is where should saved style-sheets belong? I'll see about converting to json. I guess global is fine?
16:21:57 <gjanssens> Did we change that code between 3.4 and 3.5 ?
16:22:13 <gjanssens> FYI I'll be away for another week starting tomorrow
16:22:27 <jralls> gjanssens: We don't know that it is. The user upgraded from 2.6 directly.
16:22:35 <jralls> OK.
16:23:08 <gjanssens> Ok, I didn't follow the details exactly.
16:24:36 *** KevinDB has joined #gnucash
16:24:36 *** ChanServ sets mode: +v KevinDB
16:24:48 <jralls> There may yet be something to do with Dropbox munging the paths, see sunfish's comment. Even though the path that Feneis is reporting seems straightforward it might be a shortcut.
16:25:52 *** KevinDB has quit IRC
16:29:03 *** nicoroumeau has joined #gnucash
16:29:15 *** KevinDB has joined #gnucash
16:29:15 *** ChanServ sets mode: +v KevinDB
16:29:43 *** O01eg has joined #gnucash
16:32:24 <gjanssens> Right. I can't promise I can work on it while away.
16:32:36 <gjanssens> Time to go to sleep...
16:32:43 <jralls> good night.
16:32:52 <gjanssens> Good night
16:33:02 *** gjanssens has quit IRC
16:35:14 *** MarekZn has joined #gnucash
16:39:02 *** boldstripe has quit IRC
16:40:00 *** boldstripe has joined #gnucash
17:06:19 *** frakturfreak has quit IRC
17:18:12 *** nicoroumeau has quit IRC
17:25:38 *** ldir has joined #gnucash
17:25:38 *** ChanServ sets mode: +v ldir
17:26:17 *** KevinDB has quit IRC
17:42:16 *** KevinDB has joined #gnucash
17:42:16 *** ChanServ sets mode: +v KevinDB
17:43:40 *** ldir has quit IRC
17:45:38 *** ldir has joined #gnucash
17:45:38 *** ChanServ sets mode: +v ldir
17:46:48 *** KevinDB has quit IRC
17:57:14 *** tienne has joined #gnucash
18:08:51 *** KevinDB has joined #gnucash
18:08:51 *** ChanServ sets mode: +v KevinDB
18:09:40 *** ldir has quit IRC
18:39:43 *** boldstripe has quit IRC
18:44:34 *** chris has joined #gnucash
18:44:34 *** ChanServ sets mode: +v chris
18:44:42 <chris> .
18:44:42 <gncbot> chris: Sent 4 hours and 41 minutes ago: <jralls> It would be better to make the style sheet code read and write CSS than JSON since CSS is what we have to give to the browser to style the page.
18:46:09 <chris> jralls you mean default/easy/fancy/technicolor reads/writes css? not my forte... if I do this then ppl will start to tinker with the saved-CSS and complain the stylesheets are destroying their creative designs
18:47:23 <chris> my roadmap was to merge the stylesheets and possibly trim to the strict minimum ss code, possibly merge into existing html-document... if i have time/can make it work
18:48:29 <chris> and i'm sure your know the html-style-info system with the inheritable? property tries to parallel css but was never documented properly
18:49:56 <chris> so i'm not saying no to css, i'm saying it'll be fake-css that can't be modified apart from the booleans/colors/fonts in default/easy/fancy/technicolor (silly names imho)
18:50:37 *** Aussie_matt has joined #gnucash
18:50:40 <chris> my aim right now is to get rid of 'generate-restore-forms' i.e. scheme code generator in options.scm
18:50:55 <chris> and json is the convenient choice
18:52:07 <jralls> chris: It either writes css or it inserts obsolete styling attributes (e.g. width="50px") into the html with the same effect. If css it's probably using style="width: 50px;" rather than creating classes.
18:53:32 <chris> ss are definitely not using css
18:54:00 <chris> they are iiuc hooking into html-document or html-text font-info stuff
18:54:37 <chris> oh i'm wrong
18:55:33 <chris> i have no idea how they style
18:57:00 <chris> maybe time for a vacuum there
18:59:02 *** tienne has quit IRC
19:00:29 <jralls> I remember stumbling across a report that has a CSS option where you can enter arbitrary CSS to style the report. The equile balance sheet has an option to change the CSS stylesheet file from the default balsheet-eg.css.
19:01:31 <chris> i think eguile reports bypass ss mechanisms
19:01:33 <jralls> Ah, the invoice report, on the layout page.
19:02:19 <jralls> It may well also bypass the scheme stylesheets.
19:03:00 <jralls> Or not. Its general page has a stylesheet listbox.
19:03:03 <chris> ah this one is my hack
19:03:36 <jralls> As does the balsheet-eguile general page.
19:03:58 <jralls> I thought that it might be. So you're already halfway there. ;-)
19:10:51 <chris> i remember needing to upgrade some renderer to print the document style-text in addition to the ss style-text however can't find the commit anymore
19:12:08 <chris> in any case if ss must r/w a .css file then it's too difficult for now
19:19:09 <chris> invoice.scm calls (html-document-set-style-text! document ...)
19:19:43 <chris> stylesheets have their own style-text
19:20:10 <chris> before, only stylesheets' style-text was printed, i've hacked in ccf3ebda1 to add document's style-text as well
19:20:28 <chris> https://github.com/Gnucash/gnucash/commit/ccf3ebda1
19:23:15 <jralls> chris, the comment on that commit says that it's passing style-text to the <style> tag. The <style> tag takes CSS so the scheme stylesheets are already writing CSS.
19:25:26 <chris> ok the issue regarding stylesheets' options is that i want to eliminate live scheme as a save mechanism for stylesheet options. i'm not confident that saving them as css is a valid choice for now
19:26:35 <chris> for now they're live code in stylesheets-2.0
19:26:43 <chris> i can make this json
19:27:38 <jralls> I'll stipulate that json is better than executable code. I just don't see the point in having the intermediary.
19:30:35 <chris> ok https://github.com/Gnucash/gnucash/blob/maint/gnucash/report/report-system/html-style-sheet.scm#L132 is currently writing stylesheets-2.0
19:31:09 <chris> current plan - modify to write json into stylesheets-2.0, and add an equivalent reader to load json and modify in-memory ss options
19:31:31 <chris> suggested plan - modify to write CSS into ??? and write a CSS reader to set the ss options?
19:32:26 <chris> the stylesheets-2.0 reader is currently in main : https://github.com/Gnucash/gnucash/blob/maint/gnucash/gnucash-bin.c#L396
19:35:50 <jralls> Well sort of. It just calls gfec_try_load. That parses Scheme, not JSON.
19:41:15 <chris> what do you suggest as an alternative to live scheme as an options storage?
19:45:15 <fell> convert to css classes for typical used parts
19:46:07 <fell> AFAiK the stylesheets were created before css was defined.
19:49:13 <chris> and who will write the css reader to set the in-memory options storage, and answer to complaints that user modifications that their custom css isn't being correctly interpreted in the default/easy/technicolor options?
19:49:18 <jralls> fell: Not likely, CSS is older than GnuCash. But they were created for GtkHtml which didn't support CSS.
19:50:07 <fell> jralls: that is more precise. ;-)
19:51:20 <jralls> chris: For the second part, if users monkey with the CSS created by the options dialog that's their problem.
19:52:50 <jralls> chris: For in-memory options storage why not just save the CSS keys and values? Then the work is in mapping each key to its respective Gtk control.
19:54:23 <chris> so still needs a reader
19:54:49 <jralls> So? So would JSON.
19:54:59 <chris> which is now debugged in guile-json
19:55:37 <chris> well time to get off to work now
19:56:10 <jralls> Only the parser part. You still have to write all of the semantic interpretation.
19:56:12 <fell> Have fun!
19:56:21 <jralls> And time for me to go to.
19:56:31 <jralls> s/to/too/
19:56:40 <fell> And bed time here!
20:50:22 *** boldstripe has joined #gnucash
20:57:56 *** boldstripe has quit IRC
21:00:18 *** boldstripe has joined #gnucash
21:42:37 *** jervin has joined #gnucash
21:49:34 *** jervin has quit IRC
22:42:04 *** nimish2711 has joined #gnucash
22:58:23 *** Aussie_matt_ has joined #gnucash
22:59:38 *** Aussie_matt has quit IRC
23:18:50 *** boldstripe has quit IRC
23:19:50 *** boldstripe has joined #gnucash
23:37:49 *** oozer has quit IRC
23:51:29 *** Aussie_matt_ has quit IRC
23:51:52 *** Aussie_matt has joined #gnucash