Juergen Spitzmueller
e26f7b3732
he.po: update from Guy
2019-10-30 09:22:49 +01:00
Kornel Benko
3e5ef7f45f
Update sk.po
2019-10-27 10:04:27 +01:00
Jean-Marc Lasgouttes
69fca0df1a
Amend 464d6262
: Forgot these
2019-10-27 00:17:27 +02:00
Jean-Marc Lasgouttes
d9edf32b67
Remove some useless expressions
...
Spotted by cppcheck
2019-10-27 00:09:05 +02:00
Jean-Marc Lasgouttes
464d6262b1
Simplify boolean expressions
...
Spottd by cppcheck.
2019-10-27 00:08:02 +02:00
Jean-Marc Lasgouttes
c73d397d32
Do not use same name for members and arguments
...
Spotted by cppcheck.
2019-10-27 00:06:54 +02:00
Jean-Marc Lasgouttes
68c88bc427
Use unsigned values for enum
...
Otherwise 1 << 31 overflows.
Spotted by cppcheck.
2019-10-27 00:05:41 +02:00
Scott Kostyshak
75bbe37495
Improve tooltip of "Save as Document Defaults"
...
The new message is shorter and also specifies that these defaults
are for new documents.
2019-10-26 14:46:33 -04:00
Kornel Benko
cce9dfd5cd
Update sk.po
2019-10-26 11:17:57 +02:00
Juergen Spitzmueller
e3e407dde7
de.po
2019-10-26 09:26:05 +02:00
Juergen Spitzmueller
3c0e0f8a29
Polish warning
2019-10-26 09:10:40 +02:00
Juergen Spitzmueller
1c0572f1ab
Validate if graphics path is encodable
...
Fixes #11688
2019-10-26 08:33:51 +02:00
Jean-Marc Lasgouttes
067d6dc759
Mark insets with invalid buffer() in red in devel-mode.
...
We tend to have insets which buffer() member is invalid. To help
debugging, this commit paints their background in red when devel-mode
is on.
To this end, a new method develMode() is added to the Painter class.
With this commit, it is easy to see that macro template do not have a
proper buffer set!
2019-10-21 17:24:24 +02:00
Jean-Marc Lasgouttes
44816adce6
Be careful before using buffer parameters in colAlign
...
Make InsetGrid::colAlign a normal method and make it check whether
buffer is valid before using it. This avoids crashes as we have seen
in 2.3.3 (see e.g. #11686 ).
There is still an assertion so that failure is noticeable before release.
2019-10-21 17:02:39 +02:00
Uwe Stöhr
273d257f2a
Win installer: fix registry issue
...
- when installing LyX 2.x.z over a previous 2.x.y installation a registry key was not deleted
- also fix some hardcoded occurrences of "lyx"
2019-10-20 23:26:08 +02:00
Uwe Stöhr
866c1bef3e
INSTALL.Win32: add missing info
2019-10-20 23:24:01 +02:00
Uwe Stöhr
d995ea684f
build5-2017.bat: add new script to compile using MSVC 2017
2019-10-20 23:11:17 +02:00
Uwe Stöhr
a4dde678eb
INSTALL.Win32: complete overhaul
...
- based on MSVC 2017
2019-10-20 23:08:07 +02:00
Uwe Stöhr
d55865b19a
ar.po: fix wrong translations
...
- found by the compiler
- 2.3.x branch is not affected
2019-10-20 21:41:56 +02:00
Jean-Marc Lasgouttes
19abf29ea0
Set buffer when expanding macro
...
This avoids a crash in InsetMathSplit which uses the buffer() value.
Fixes bug #11686 .
2019-10-20 12:54:59 +02:00
Jean-Marc Lasgouttes
58d22e0c6e
Keep last file positions in last-use ordering
...
Using a map would sort the elements in alphabetic ordering, which
means that when the number of elements is larger than 100, the wrong
elements get pruned.
This commit uses a list instead. Searching an item needs linear time,
but this should not be a problem for a list with less than 100
elements.
Fixes bug #10310 .
2019-10-20 12:37:27 +02:00
Richard Kimberly Heck
ac106bd720
Remove MIME type from HTML table format.
...
I did not realize when I added this that it would mean that ALL
files detected as text/html would be handled this way.
Should fix #11087 . But it is the right thing to do anyway.
2019-10-12 14:05:48 -04:00
Richard Kimberly Heck
1ea2e250c3
More updates from Yuriy
2019-10-10 17:42:55 -04:00
Jean-Marc Lasgouttes
1ac5c937fb
typo
2019-10-07 15:31:30 +02:00
Jean-Marc Lasgouttes
f009138f9c
Revert "typo"
...
An unrelated change slipped in.
This reverts commit 3b642cd0ed
.
2019-10-07 15:31:10 +02:00
Jean-Marc Lasgouttes
3b642cd0ed
typo
2019-10-07 15:10:52 +02:00
Jean-Marc Lasgouttes
bdf58b77e7
Fix bad caret position with horizontal scrolling
...
Horizontal scrolling used to be taken into account when updating caret
geometry. This is wrong since it may have changed when time comes to
draw the caret. This leads to a situation where the first apparition
of the caret is at a wrong place.
Now the extra horizontal offset is used at drawing time.
Fixes bug #11603 .
2019-10-07 12:31:20 +02:00
Enrico Forestieri
0573bf92e0
Fix bug 11667
...
When automatic command termination was added to texstream it was
forgotten to reset its status after a math inset.
2019-09-28 16:08:06 +02:00
Juergen Spitzmueller
2458dc2ca6
Another Yuriy update
2019-09-26 16:53:20 +02:00
Juergen Spitzmueller
7291f35aef
ru/Tutorial.lyx: update by Yuriy
2019-09-25 17:19:51 +02:00
Juergen Spitzmueller
174928a9f2
ru.po: update from Yuriy
2019-09-25 17:19:22 +02:00
Jean-Marc Lasgouttes
8778e76a98
Pass some variables as reference
...
Spotted by cppcheck.
2019-09-17 23:22:35 +02:00
Jean-Marc Lasgouttes
912704511b
Make some constructors explicit
...
Spotted by cppcheck.
2019-09-17 23:15:09 +02:00
Jean-Marc Lasgouttes
3fffa6eb83
Fix cut-n-paste error
...
Spotted by cppcheck.
2019-09-16 00:47:47 +02:00
Jean-Marc Lasgouttes
3aba81cf6a
Many small code cleanups suggested by cppcheck
2019-09-16 00:45:20 +02:00
Jean-Marc Lasgouttes
7c1891e0b4
Remove unused private members.
...
Spotted by cppcheck.
2019-09-16 00:17:08 +02:00
Jean-Marc Lasgouttes
a7c6940f14
Get rid of useless affectation
...
Spotted by cppcheck.
2019-09-16 00:03:56 +02:00
Jean-Marc Lasgouttes
c6d8592ffb
Mark constructors with only one parameter as explicit
...
Spotted by cppcheck
2019-09-16 00:01:48 +02:00
Jean-Marc Lasgouttes
8d080364d2
Clarify calculation precedence for '&' and '?'
...
Spotted by cppcheck
2019-09-15 23:57:57 +02:00
Jean-Marc Lasgouttes
decd2c74f1
Mark constructors with only one parameter as explicit
...
Spotted by cppcheck
2019-09-15 23:56:17 +02:00
Jean-Marc Lasgouttes
19fb4db71e
Make code more obvious
...
- use propoer parenthesis
- do not store in variable something we do not use
Spotted by cppcheck.
2019-09-15 23:31:32 +02:00
Jean-Marc Lasgouttes
02d55ab0b3
Avoid useless test
...
Spotted by cppcheck
2019-09-15 23:30:29 +02:00
Jean-Marc Lasgouttes
b42e6e96d8
Pass variable by reference
...
Spotted by cppcheck
2019-09-15 23:29:47 +02:00
Jean-Marc Lasgouttes
17c827d177
Various fixes suggested by cppcheck
...
Rename local variables the hide other ones: get_binary_path, find_python_binary
Use unsigned int for conversion from hex using sscanf().
FileName::checksum(), parsecmd (SystemCall): use explcit values rather
than variable which value is known.
2019-09-13 22:37:16 +02:00
Jean-Marc Lasgouttes
e3c5987806
Forgot to test aspell and hunspell support
2019-09-13 19:01:26 +02:00
Richard Kimberly Heck
c2f5c850d9
Use const &
2019-09-13 11:49:29 -04:00
Jean-Marc Lasgouttes
714113655a
Follow some of the performance advice from cppcheck
...
Most of that is changing string to string const &.
2019-09-13 16:23:49 +02:00
Richard Kimberly Heck
94896166d4
Fix bug #11619 .
2019-09-11 22:13:58 -04:00
Richard Kimberly Heck
e71280221f
Fix nullptr warnings
2019-09-11 22:13:25 -04:00
Richard Kimberly Heck
fb79552ae0
Minor renaming for clarity.
2019-09-11 20:54:51 -04:00