Commit Graph

33063 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
2694fde47d Initialize variable properly.
This fixes coverity issue 23503.
2015-02-20 16:47:27 +01:00
Jean-Marc Lasgouttes
fd7aa2d62d Do not mix several names for the same variable
This confuses coverity, but is probably harmless.

Fxies coverity issue 23374
2015-02-20 16:37:06 +01:00
Jean-Marc Lasgouttes
d9c9c6b36d Remove C-isms in isValidLength
This fixes coverity issue 23349, with a potential out-of-bounds write to the pattern array.
2015-02-20 16:16:31 +01:00
Jean-Marc Lasgouttes
053d02d176 Don't try to show 1000 as a roman number
Fixes coverity issue 23360.
2015-02-20 15:59:19 +01:00
Jean-Marc Lasgouttes
edddb47bae whitespace 2015-02-20 15:57:45 +01:00
Jean-Marc Lasgouttes
01691cde49 Fix uninitialized variable
Fixes coverity issue 23446.
2015-02-20 15:53:19 +01:00
Jean-Marc Lasgouttes
4a439d6ac0 Do not create a new socket if the max. number of clients is attained
Fixes coverity issue 23431.
2015-02-20 15:46:34 +01:00
Jean-Marc Lasgouttes
3db4b23b3f Fix memory leak in TImer class.
This is not really important since the class is currently not used.

This is coverity issue 23291.
2015-02-20 15:39:45 +01:00
Jean-Marc Lasgouttes
eb4f963eef Main argument of a subfloat is not a moving argument
Fixes bug: #9421
2015-02-20 11:51:40 +01:00
Juergen Spitzmueller
fb6665becb Comment out FontEncoding for Hebrew
This needs a specific loading order, which is handled by Hebrew babel itself.
2015-02-19 10:37:05 +01:00
Uwe Stöhr
1f1df232f0 ar.po: update by Hatim for master 2015-02-19 01:23:56 +01:00
Scott Kostyshak
68c6d7943d ctests: revert Russian XeLaTeX and LuaLaTeX tests
These exports (with TeX fonts) have been successful since support
for proper font encoding for Russian was added at d7cf6ca7.
2015-02-18 03:29:59 -05:00
Scott Kostyshak
a6f7c598cd ctests: invert many of the ja template tests
We only expect pdf and pdf3 to pass. This is consistent with
other LyX Japanese documents.
2015-02-18 02:35:05 -05:00
Scott Kostyshak
02b3a7b35e Correct the \lyxformat of aastex template
The current format is 480. Commit 6594289d changed
the format in this file to 481, which caused the file
to not be loadable in LyX.
2015-02-18 00:15:49 -05:00
Georg Baum
1fd4aaefd6 Fix regression of eb121f999
Again thanks to Scott for finding this. The removal of the check for full
unicode in eb121f999 was not wanted. Now listings can be exported to
lualatex and xetex again.
2015-02-17 21:19:05 +01:00
Kornel Benko
3104c105d8 eplace unparseable char in lib/configure.py.
Apparently xgettext is choking on that unicode char (\302 \240)
2015-02-17 13:24:56 +01:00
Uwe Stöhr
1b9030d861 UserGuide.lyx: port recent changes to master 2015-02-17 00:45:55 +01:00
Uwe Stöhr
4549468dc9 configure.py: change name of a converter as discussed 2015-02-17 00:44:47 +01:00
Uwe Stöhr
23f9b71187 stdmenus.inc: add PDF-comment.lyx as special manual 2015-02-17 00:24:55 +01:00
Uwe Stöhr
3bc0b26020 pdfcomment.module: add required style files
the the module requires datetime and fmtcount
2015-02-17 00:24:29 +01:00
Uwe Stöhr
6f04bfaf96 Development.lyx: add a documentation policy as requested by Scott 2015-02-17 00:12:02 +01:00
Georg Baum
bc8638bd25 Fix wrong LATTEST
Thanks to Scott for testing. If a macro is unknown (displayed in red), then
macro_ is 0. The LATTEST is now adjusted and works like in MathMacro::write()
where I stole it from.
2015-02-16 22:33:48 +01:00
Enrico Forestieri
31a2cb5ed2 Correct name of a svg icon. 2015-02-16 16:12:09 +01:00
Juergen Spitzmueller
30ccfaade6 More documentation on InternalEncoding 2015-02-16 11:17:39 +01:00
Georg Baum
e4ec11e8a1 Output -- and --- in XHTML like in LaTeX
For exports based on LaTeX, consecutive hyphens are only converted to endash
and emdash if the current font family is not typewriter, and if none of the
parent insets is an IPA inset. Now this is done for XHTML export as well.
2015-02-15 20:17:21 +01:00
Richard Heck
eaaeda65cb Do not show new "cropped" formats on export menu.
(cherry picked from commit 2fc44e96f5)
2015-02-15 10:59:04 -05:00
Uwe Stöhr
4a8881c60a text3.cpp: adapt a possible fix to current code 2015-02-15 01:04:41 +01:00
Georg Baum
7adc6125f7 Fix missing symbols in math completer
The math icons for the symbol image in the math completer were hardcoded to the
command names. This is wrong for some icons for various reasons, e.g. the case
insensitivity of windows file systems. Therefore we have to use the replacement
list which is also used for the toolbar icons. Bug #3538 is not closed because
of this problem, but IMHO it has nothing to do with this bug, it is a more
general one.
2015-02-14 20:32:25 +01:00
Georg Baum
f9f05c364b Unify layout categories 2015-02-14 11:35:40 +01:00
Georg Baum
864f44ddc2 Fix unused parameter warning 2015-02-14 11:32:39 +01:00
Georg Baum
ff97582e01 Fix lyxrc formatting error
Thanks to Jürgen for noticing this. I rearranged the formatting after testing,
so this slipped through.
2015-02-14 10:30:29 +01:00
Juergen Spitzmueller
712773eeed Fix reversion of beamer description overlay args
Candidate for branch.
2015-02-13 17:45:38 +01:00
Juergen Spitzmueller
b47b4299e0 Fix conversion of beamer block arguments where the overlay argument and the closing title argument bracket share the same ERT
Fixes: #9411
2015-02-13 16:01:57 +01:00
Juergen Spitzmueller
24d3236493 Fix conversion of frame ends when frame is nested in inset
Fixes: #9409
2015-02-13 10:15:29 +01:00
Juergen Spitzmueller
3d8b02b58e Fix bug in get_containing_inset and get_containing_layout
We have to check if this is really a parent (or just the first inset/layout we have).

Candidate for branch.
2015-02-13 10:13:43 +01:00
Uwe Stöhr
fd10b868ca EmbeddedObjects.lyx; port recent changes to master 2015-02-13 02:18:29 +01:00
Juergen Spitzmueller
85085a48a5 de.po: Fix shortcut conflict
Fixes: #9406
2015-02-12 15:40:22 +01:00
Georg Baum
70afbc82ac Add low-res pdf export as suggested by James
As discussed on the list, but I did not need to create two new pdf formats
since any given document either uses TeX fonts or not. For the same reason
I also added an additional converter to PDF (cropped).
2015-02-11 22:24:04 +01:00
Uwe Stöhr
b2c761a7db configure.py: quote path to python
this fixes a path issue unveiled while inspecting bug #8478
2015-02-10 23:35:25 +01:00
Scott Kostyshak
c924692e5a CREDITS: change "--userdir" to "-userdir" 2015-02-10 11:58:37 -05:00
Scott Kostyshak
31890efaf8 Update Lior's email address 2015-02-10 11:57:35 -05:00
Scott Kostyshak
36c3495a3a Correct the spelling of "occured" to "occurred" 2015-02-09 18:44:02 -05:00
Richard Heck
5a78a112b6 Fix bug #9383. Writing directly to the output stream bypassed the
machinery that clears the tag stack.
2015-02-09 17:26:47 -05:00
Jean-Marc Lasgouttes
51cc1a1cbe Do not modify the changed() status of rows when no drawing has taken place
There are several places in the code where a row is painted with drawing disabled in the painter. The goal is only to recompute inset positions.

Such a case happens in BufferView::checkCursorScrollOffset, as part of the horizontal scrolling patch. Note that this particular piece of code should eventually be removed, since it is a performance problem.

It makes sense to consider that only a real painting of a row should change its status. However, I would not be surprised if this change would break other things.

Fixes: #9388
2015-02-09 15:16:41 +01:00
Kornel Benko
7a2ac2f08d * sk.po 2015-02-09 10:37:54 +01:00
Uwe Stöhr
5fa7d3f90a Win installer: correct a sorting 2015-02-09 01:16:47 +01:00
Scott Kostyshak
d81fe084a6 Revert "Do not modify the changed() status of rows when no drawing has taken place"
This reverts commit c6f8f51525.

I accidentally committed this patch, which I am testing as
a fix to 9388.
2015-02-08 16:39:06 -05:00
Scott Kostyshak
74b538f75d Add a "Development policies" section to dev manual
Writing these policies down makes it easier for newcommers to
understand guidelines and the intuition behind them.

The two policies this commit adds were responses by Georg and Richard
to two threads on the mailing list. The policies are titled
"When to set a fixed milestone" and
"Can we add rc entries in stable branch?".
2015-02-08 16:33:43 -05:00
Scott Kostyshak
460976eea8 Typo 2015-02-08 16:18:56 -05:00
Jean-Marc Lasgouttes
c6f8f51525 Do not modify the changed() status of rows when no drawing has taken place
There are several places in the code where a row is painted with drawing disabled in the painter. The goal is only to recompute inset positions.

Such a case happens in BufferView::checkCursorScrollOffset, as part of the horizontal scrolling patch.

It makes sens to consider that only a real painting of a row should change its status. However, I would not be surprised if this change would break other things.

Fixes: #9388
2015-02-08 16:18:56 -05:00