should wiki uploads be https by default?

2017-04-23 Thread Scott Kostyshak
I wanted to make

  https://wiki.lyx.org/Windows/Windows

a "secure" connection (according to the definition of Chromium and
Firefox) but it has the following image in it:

  http://wiki.lyx.org/uploads/Windows/lyxwin.png

Can we change that to be https by default?

In the Wiki it is entered as:

[[uploads:/Windows/lyxwin.png |uploads:/Windows/lyxwin.png"Main window
screenshot"]]

Scott


signature.asc
Description: PGP signature


consistent use of byte ordering mark in our files?

2017-04-23 Thread Scott Kostyshak
We include the byte ordering mark in some of our files and not in
others. Should we be consistent or should I just not be so picky?

From reading the Wikipedia page [1], it seems that some programs "cannot
interpret UTF-8 unless the BOM is present or the file contains only
ASCII". On the other hand, "Not using a BOM allows text to be
backwards-compatible with some software that is not Unicode-aware."

find ./ -type f -exec sh -c 'od -c {} | head -n 1 | grep -i "357 273
277" && echo {}' \;

./development/Win32/packaging/installer/lang/Encodings.txt
000 357 273 277   C   h   a   n   g   e   l   o   g   f   o   r
./development/Win32/packaging/installer/ChangeLog.txt
000 357 273 277   T   o   b   u   i   l   d   t   h   e
./development/Win32/packaging/installer/Readme.txt
000 357 273 277   F   o   r   L   y   X   2   .   2   .   1
./lib/doc/Changelog-Customization-LyX_22x.txt
000 357 273 277   F   o   r   L   y   X   2   .   2   .   3
./lib/doc/Changelog-UserGuide-LyX_22x.txt
000 357 273 277   F   o   r   L   y   X   2   .   2   .   3
./lib/doc/Changelog-EmbeddedObjects-LyX_22x.txt
000 357 273 277   M   o   d   i   f   i   e   d   :  \n  \n   -
./lib/doc/attic/Changelog-Tutorial-LyX_22x.txt

Scott

[1] https://en.wikipedia.org/wiki/Byte_order_mark


signature.asc
Description: PGP signature


updatelayouts.py broken?

2017-04-23 Thread Scott Kostyshak
I use

  development/tools/updatelayouts.py

to easily update the format of our layout files. The script no longer
works for me. I wonder if the script needs to be updated after 77511ea1
(I think the call to layout2layout is now incorrect). I tried to update
it myself, but my Python skills aren't even hackish enough to fix it
with trial and error.

This issue is not urgent at all. I can update the layout files with a
find -exec and calling layout2layout directly.

An alternative to the script being broken is that I just don't know how
to call it correctly. Jürgen updated all layouts at a3315733 (which is
more recent than 77511ea1), but perhaps he used a find -exec also?

Scott


signature.asc
Description: PGP signature


Re: master closed today at 22h00 UTC for 2.3.0alpha1

2017-04-23 Thread Scott Kostyshak
On Sun, Apr 23, 2017 at 01:53:58PM +0200, Uwe Stöhr wrote:
> El 23.04.2017 a las 08:59, Scott Kostyshak escribió:
> 
> > Uwe, I noticed that there are no changes about 2.3.0alpha1 mentioned in
> > 
> >development/Win32/packaging/installer/ChangeLog.txt
> > 
> > Have there been changes and we just haven't documented them?
> 
> I hold them back because master was closed.
> I have the installer ready and also tested it yesterday with current master.
> Everything seems to work fine.

Good! Hopefully everything works as smoothly from the tar.

> > If you
> > would like to document them for alpha1, you can commit changes to that
> > file to master.
> 
> OK, I will put it in then.

Thanks,

Scott

> I'll also put in the recent documentation file
> changes from branch.
> 
> regards Uwe


signature.asc
Description: PGP signature


Re: #10637: Math mode characters strange / wrong in Linux Mint (not windows)

2017-04-23 Thread Scott Kostyshak
On Sun, Apr 23, 2017 at 09:27:22AM -0400, Paul A. Rubin wrote:
> On 04/23/2017 03:10 AM, Scott Kostyshak wrote:

> > P.S. let's keep everything on trac instead of the mailing list so we
> > don't fragment the discussion.
> I'm the other Mint user. I'm fine with keeping it on Trac, but just as an
> FYI I'm also subscribed here (which is how I learned about the ticket).

Good point. I didn't think about that. I suppose that that is indeed a
disadvantage to keeping it on trac.

I will make a note to CC you (let me know if you prefer not) on issues
that mention Mint.

Scott


signature.asc
Description: PGP signature


2.3.0alpha1 tar balls are available

2017-04-23 Thread Scott Kostyshak
Dear all,

The tar balls and sig files are here:

  ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0alpha1

Packagers, please prepare your binaries.

Non-packagers, please do a quick test of compilation (from the tar ball)
and basic functionality on your platform, and let us know how it goes.

Thanks,

Scott


signature.asc
Description: PGP signature


Re: [LyX/master] Update the formats of lyxrc.dist.in to 21

2017-04-23 Thread Scott Kostyshak
On Mon, Apr 24, 2017 at 07:10:27AM +0200, Scott Kostyshak wrote:
> commit e9deea03dba07eed607d72f85e8b8ea5336485d9
> Author: Scott Kostyshak 
> Date:   Sun Apr 23 15:02:39 2017 -0400
> 
> Update the formats of lyxrc.dist.in to 21
> 
> In the end, no changes were needed. This was decided by prefs2prefs
> for MacOSX and cygwin, and by manual inspection for Win32.
> ---

> diff --git a/lib/scripts/prefs2prefs_prefs.py 
> b/lib/scripts/prefs2prefs_prefs.py
> index 290a871..b4acdc7 100644
> --- a/lib/scripts/prefs2prefs_prefs.py
> +++ b/lib/scripts/prefs2prefs_prefs.py
> @@ -88,6 +88,7 @@
>  #   Add jbibtex_alternatives, allow "automatic" value
>  #   of bibtex_command and jbibtex_command (actually the
>  #   default now)
> +#   No conversion necessary.
>  
>  # NOTE: The format should also be updated in LYXRC.cpp and
>  # in configure.py.

Jürgen, can you confirm the added "No conversion necessary" comment?

Scott


signature.asc
Description: PGP signature


Re: keytest.py

2017-04-23 Thread Kornel Benko
Am Sonntag, 23. April 2017 um 16:20:48, schrieb Tommaso Cucinotta 

> On 23/04/2017 10:34, Kornel Benko wrote:
> > Prefixing \[Escape] with \Ax does the trick :), e.g.  "\Ax\[Escape]\Cq" 
> > (without \Cs)
> > Sometimes we need to not save the buffer.
> 
> what was the \Ax for, then ?

Normally it is for entering the status line.

> And, if it's for dismissing the (save?) dialog, then shouldn't it be like:
> 
> \Cq\[Escape]
> 
> ?

There are some cases where \Cq is not accepted. We have to leave the dialog 
first (e.g. with escape)
But sometimes also Escape is blocked. Only after the thist \Ax (which may or 
may not be blocked) is Escape accepted.


>   T.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: keytest.py

2017-04-23 Thread Tommaso Cucinotta

On 23/04/2017 10:34, Kornel Benko wrote:

Prefixing \[Escape] with \Ax does the trick :), e.g.  "\Ax\[Escape]\Cq" 
(without \Cs)
Sometimes we need to not save the buffer.


what was the \Ax for, then ?
And, if it's for dismissing the (save?) dialog, then shouldn't it be like:

\Cq\[Escape]

?

T.



Re: #10637: Math mode characters strange / wrong in Linux Mint (not windows)

2017-04-23 Thread Paul A. Rubin

On 04/23/2017 03:10 AM, Scott Kostyshak wrote:

On Sat, Apr 22, 2017 at 05:31:41PM -0400, Jack Sankey wrote:

Sure, feel free to add me. I'm happy to help when I can, though, while my
passion is reporting LyX bugs, I have a time-consuming side-job (pre-tenure
physics professor) that pays the bills. ;) It took half a year to post this
bug, and a few weeks after I noticed the \propto issue.

Fair enough. I'll add you but I will remember that you have many other
things on your plate. Thanks!

Another Mint user has posted on the bug report so hopefully we can
compare your set up (e.g. fonts) to theirs and figure out the root
problem.

Scott

P.S. let's keep everything on trac instead of the mailing list so we
don't fragment the discussion.
I'm the other Mint user. I'm fine with keeping it on Trac, but just as 
an FYI I'm also subscribed here (which is how I learned about the ticket).


Paul



Re: master closed today at 22h00 UTC for 2.3.0alpha1

2017-04-23 Thread Uwe Stöhr

El 23.04.2017 a las 08:59, Scott Kostyshak escribió:


Uwe, I noticed that there are no changes about 2.3.0alpha1 mentioned in

   development/Win32/packaging/installer/ChangeLog.txt

Have there been changes and we just haven't documented them?


I hold them back because master was closed.
I have the installer ready and also tested it yesterday with current 
master. Everything seems to work fine.



If you
would like to document them for alpha1, you can commit changes to that
file to master.


OK, I will put it in then. I'll also put in the recent documentation 
file changes from branch.


regards Uwe


Re: #10637: Math mode characters strange / wrong in Linux Mint (not windows)

2017-04-23 Thread Scott Kostyshak
On Sat, Apr 22, 2017 at 05:31:41PM -0400, Jack Sankey wrote:
> Sure, feel free to add me. I'm happy to help when I can, though, while my
> passion is reporting LyX bugs, I have a time-consuming side-job (pre-tenure
> physics professor) that pays the bills. ;) It took half a year to post this
> bug, and a few weeks after I noticed the \propto issue.

Fair enough. I'll add you but I will remember that you have many other
things on your plate. Thanks!

Another Mint user has posted on the bug report so hopefully we can
compare your set up (e.g. fonts) to theirs and figure out the root
problem.

Scott

P.S. let's keep everything on trac instead of the mailing list so we
don't fragment the discussion.


signature.asc
Description: PGP signature


Re: #10088: math mode tab-autocomplete sometimes exits math mode

2017-04-23 Thread Scott Kostyshak
On Sat, Apr 22, 2017 at 05:24:16PM -0400, Jack Sankey wrote:
> Thanks for the reply!
> 
> If I do that, I can no longer move from the top of a fraction to the bottom
> with tab, forcing arrow-key action, which is different and bad on some
> keyboards.

Dang, I forgot about that caveat. Similarly, you can't navigate other
math insets with tab (e.g. multi-line equations).

Scott

P.S. if possible let's try to keep the discussion on trac so we have
everything in one place.


signature.asc
Description: PGP signature


Re: master closed today at 22h00 UTC for 2.3.0alpha1

2017-04-23 Thread Scott Kostyshak
On Fri, Apr 21, 2017 at 01:50:21AM -0400, Scott Kostyshak wrote:
> Dear all,
> 
> As discussed [1], the current plan is to release alpha1 on Saturday.

The release is delayed because of my poor planning. I hope to tag and
tar within 24 hours.

Apologies for the inconvenience.

Scott


signature.asc
Description: PGP signature


Re: master closed today at 22h00 UTC for 2.3.0alpha1

2017-04-23 Thread Scott Kostyshak
On Fri, Apr 21, 2017 at 01:50:21AM -0400, Scott Kostyshak wrote:

> Please do not make any commits to master today after 22h00 UTC until
> master is open again.

Uwe, I noticed that there are no changes about 2.3.0alpha1 mentioned in

  development/Win32/packaging/installer/ChangeLog.txt

Have there been changes and we just haven't documented them? If you
would like to document them for alpha1, you can commit changes to that
file to master.

If there aren't supposed to be any changes added to that file, please
ignore this message.

Scott


signature.asc
Description: PGP signature


Re: master closed today at 22h00 UTC for 2.3.0alpha1

2017-04-23 Thread Scott Kostyshak
On Sat, Apr 22, 2017 at 11:29:48PM +0200, Tommaso Cucinotta wrote:
> On 22/04/2017 22:59, Scott Kostyshak wrote:
> > Ah yes, thanks for remembering about that! If you have the time, can you
> > take a look at lib/RELEASE-NOTES? I think we need entries for the
> > category about pref variables that were added, and also "caveats when
> > upgrading from earlier versions".
> > 
> > If you happen to have time to do that in the next couple of hours, that
> > would be great. If you don't have the time, don't worry---I will make my
> > best attempt.
> 
> [35bcc38c/lyxgit].

Looks good. Thanks.

Scott


signature.asc
Description: PGP signature