Electron documentation on best practices for security

2018-02-07 Thread David Szent-Györgyi
To my knowledge, none of us earn a living working on Leo and related projects, which means leveraging pre-existing code saves one the effort of reimplementing that. Electron may prove to be immensely useful for Leo and related projects such as a desktop application made from LeoVue. Since I

Please back up your spellpyx.txt

2018-02-07 Thread Edward K. Ream
The recommended place for them is in ~/.leo, in case you're wondering. There is a small, but real, chance that problems with the new spell checker could clobber this file. So please do back up the file before doing any spell checking. Edward -- You received this message because you are

Re: Working on a new spell checker

2018-02-07 Thread Edward K. Ream
On Wednesday, February 7, 2018 at 7:00:31 AM UTC-6, Edward K. Ream wrote: > > I am going to work on a new spell checker for Leo. > Work is going well. The first draft is working. I'll push the code later today. Again, please do backup .leo/spellpyx.txt. It's remarkable how little spell

Re: Distribute only 64-bit executables?

2018-02-07 Thread David Szent-Györgyi
On Monday, February 5, 2018 at 12:22:30 PM UTC-5, Edward K. Ream wrote: > > I am thinking of installing only 64-bit software on my Windows machine, > and to release only 64-bit pyinstaller builds. Here are my thoughts: > > 1. Every distribution option doubles the amount of testing required for a

Re: Pyenchant does *not* work for Windows 64-bit systems

2018-02-07 Thread lewis
I had pyenchant 1.6.8 installed. I uninstalled it. Leo fails to load with this error, when pyenchant is not installed: N:\git\leo-editor>launchleo.py reading settings in N:\git\leo-editor\leo\config\leoSettings.leo reading settings in C:\Users\lewis\.leo\myLeoSettings.leo Empty setting name in

Re: ENB: Making LeoVue a desktop app

2018-02-07 Thread Terry Brown
On Wed, 7 Feb 2018 06:48:25 -0600 "Edward K. Ream" wrote: > ​There is a link to this in the first (summary) comment of Leo issue > #684 . It has > influenced my thinking considerably. I've added

Re: ENB: Making LeoVue a desktop app

2018-02-07 Thread Terry Brown
On Wed, 7 Feb 2018 21:43:39 -0600 Terry Brown wrote: > which includes a fully functional read / write web GUI to a Leo > instance ;-) p.s. I'm fairly sure it won't run in Internet Explorer or NCSA Mosaic :-) Chrome and Firefox work. -- You received this message because

Re: Matt, how do I review your docs?

2018-02-07 Thread Matt Wilkie
> Am I correct in assuming that the only changed docs are in this tree: > > LeoDocs.leo#Leo's Documentation-->Installing & running Leo-->@rst > html/installing.html > Yes > I can see, via diffs on the branch pages, that checking out your branches > probably shows me the new words, but

Re: NEW: CSV editor

2018-02-07 Thread Matt Wilkie
> I've written a CSV table editor, implemented as part of the Leo Edit > Pane system. To access it, enter the Alt-X command > ooh yes please! Thanks Terry (watches video) That's awesome! I can *so *use that. It was also nice to see a different layout in action. I haven't played much with

Re: ENB: Making LeoVue a desktop app

2018-02-07 Thread Joe Orr
Just a few quick notes, will add more later. For those working on the electron approach, did you see this: https://www.fyears.org/2017/02/electron-as-gui-of-python-apps-updated.html I'm swamped with a new project so I won't be able to work on this for a bit. But I am planning on adding form.io

Re: NEW: CSV editor

2018-02-07 Thread Edward K. Ream
On Tue, Feb 6, 2018 at 3:10 PM, Terry Brown wrote: I've written a CSV table editor, implemented as part of the Leo Edit > Pane system. > ​Many thanks for this, Terry. The demo explains much better than words Would you be willing to adapt these ideas for #433: Complete

Re: Electron, not for web apps.?

2018-02-07 Thread vitalije
What Electron hast to offer more than a Chrome browser is ability to write and read local files without user intervention. To save file from browser, user must click download link and then choose where to save file or set preference to download all files in the same folder, and after

Re: Electron, not for web apps.?

2018-02-07 Thread vitalije
Using Electron allows reading and writing local files much easier then from browser. Accessing local file system can be done through python back-end, but it would add a lot of complicated inter-process communication (which need to be tested, debugged,...) instead of directly reading and writing

Matt, how do I review your docs?

2018-02-07 Thread Edward K. Ream
What is the status of your install-docs branches? Am I correct in assuming that the only changed docs are in this tree: LeoDocs.leo#Leo's Documentation-->Installing & running Leo-->@rst html/installing.html I can see, via diffs on the branch pages, that checking out your branches probably

Re: Electron, not for web apps.?

2018-02-07 Thread Edward K. Ream
On Tue, Feb 6, 2018 at 9:42 PM, Terry Brown wrote: > https://discuss.atom.io/t/how-to-run-electron-desktop-app- > in-web-browser-without-downloading/30495 > > only serves to deepen my suspicions that Electron is solving the wrong > problems. > > Maybe I'll try and make a

Working on a new spell checker

2018-02-07 Thread Edward K. Ream
I am going to take time out from all the great discussions to work on a new spell checker for Leo. I was going to say that pyenchant is preventing a 64-bit distribution on Windows. But no, there isn't going to *be *a pyinstaller version of Leo on Windows, for other reasons. Still, I

Re: Saving to a file that is open somewhere else

2018-02-07 Thread Edward K. Ream
On Sun, Feb 4, 2018 at 3:41 AM, Israel Hands wrote: > Sorry to be opaque - it's a question and maybe a feature request. > ​Please create an enhancement requests here . It's the only way it will stay on the radar. Edward --

Re: ENB: Making LeoVue a desktop app

2018-02-07 Thread Edward K. Ream
On Wed, Feb 7, 2018 at 5:41 AM, Joe Orr wrote: > Just a few quick notes, will add more later. > > For those working on the electron approach, did you see this: > https://www.fyears.org/2017/02/electron-as-gui-of-python-apps-updated.html > ​There is a link to this in the first

Wishing we were cubicle mates ;-)

2018-02-07 Thread Edward K. Ream
There are times when I wish all of us Leo devs occupied nearby cubicles. This is one of those times, when we are discussing new directions for Leo. Not because we could have (ugh) meetings, but because we could just chat in person. There was scientific research, reported, iirc, in Nature or

Re: Electron, not for web apps.?

2018-02-07 Thread Edward K. Ream
On Wed, Feb 7, 2018 at 2:35 AM, vitalije wrote: Using Electron allows reading and writing local files much easier then from > browser. Accessing local file system can be done through python back-end, > but it would add a lot of complicated inter-process communication (which

Use this forum when you want more people to see your posts

2018-02-07 Thread Edward K. Ream
Recently I said that all kinds of issues are welcome on Leo's issue tracker . That's will always be so. However, more people likely follow this forum than the issue tracker, so if you want the most people to read your comments or question, this

Re: Electron, not for web apps.?

2018-02-07 Thread vitalije
I don't know what is happening with google groups. This morning I wrote a message to this thread and when I clicked the button POST, it showed that my message was deleted. At first I thought that I have clicked DISCARD button by mistake, so I rewrote the message again and carefully pressed

Re: Electron, not for web apps.?

2018-02-07 Thread vitalije
it seems the last message was posted ok. Perhaps it was some googlegroups update this morning that deleted my messages. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: ENB: Making LeoVue a desktop app

2018-02-07 Thread Terry Brown
On Wed, 7 Feb 2018 03:41:49 -0800 (PST) Joe Orr wrote: > A web based version of Leo would be an entirely new category of app. > I'm sure it would be cool but I'm not sure what exactly it would be. > How does the file diff feature fit in here? Certainly you could make > a node

Re: NEW: CSV editor

2018-02-07 Thread Arjan
This is great! What would be an awesome way to use this would be if the CSV editor widget could be automatically activated in the edit pane for nodes with a table, so one can quickly switch between text and table/csv nodes. Maybe just for "@csv" nodes or so. Would something like that be

Re: ENB: Making LeoVue a desktop app

2018-02-07 Thread Terry Brown
On Wed, 7 Feb 2018 03:41:49 -0800 (PST) Joe Orr wrote: > Why make an electron version of Leo: > 1. Get the modern look and feel that people expect. The Leo editor > maybe doesn't really need any UI improvements, but I think the > current look of Leo gives newcomers the

Re: NEW: CSV editor

2018-02-07 Thread Terry Brown
On Wed, 7 Feb 2018 07:36:05 -0800 (PST) Arjan wrote: > This is great! > > What would be an awesome way to use this would be if the CSV editor > widget could be automatically activated in the edit pane for nodes > with a table, so one can quickly switch between text and

Re: ENB: Making LeoVue a desktop app

2018-02-07 Thread Arjan
The details of this thread are well above my expertise, but I read something that looks relevant and interesting in a HN thread on PyQt: I have been developing in HTML/Python for a while now. This works > wonderfully. You just need to put all