Commit Graph

35848 Commits

Author SHA1 Message Date
Juergen Spitzmueller
0be77e2eb2 Implement wrapping in next-change (#10388). 2016-10-22 19:25:07 +02:00
Juergen Spitzmueller
5c4fa40849 Move wrap check for simple search/replace to lyxfind
This gets rid of some dirty dispatch tricks and fixes wrap-around
on replace and in the spellchecker

Fixes: #10378
2016-10-22 19:20:26 +02:00
Jean-Marc Lasgouttes
447254eb59 Update boost to version 1.62. 2016-10-22 16:28:52 +02:00
Uwe Stöhr
e178eb864a Merge branch '2.2.x' of git.lyx.org:lyx into 2.2.x 2016-10-22 01:00:23 +02:00
Uwe Stöhr
67cbf179b4 UserGuide.lyx: deny a change
this type of description is used all over the place in the LyX docs
2016-10-22 01:00:11 +02:00
Kornel Benko
769494e093 Update sk.po 2016-10-22 00:57:48 +02:00
Juergen Spitzmueller
980371093e de.po 2016-10-21 22:11:11 +02:00
Juergen Spitzmueller
f23924e824 Refs dialog redesign. 2016-10-21 22:05:54 +02:00
Juergen Spitzmueller
54248a6e98 Citation dialog redesign 2016-10-21 22:03:19 +02:00
Juergen Spitzmueller
98eeaceb5e Fix label display in linguistic examples 2016-10-21 19:20:23 +02:00
Uwe Stöhr
9b25f19aa7 French splash.lyx: restore \origin tag 2016-10-20 22:35:59 +02:00
Jean-Marc Lasgouttes
4fa54014d7 When breaking an empty paragraph reduces depth, set layout too
This requires an adaptation of the Separator inset insertion code,
which has been duly provided by Enrico.
(cherry picked from commit b162bd6d2b)
2016-10-20 14:50:34 +02:00
Uwe Stöhr
b040985a2b sv.po: updates from Jim 2016-10-20 01:01:13 +02:00
Jean-Marc Lasgouttes
4c724a6072 Do some caching of window title and related UI
This should avoid performance problems related to the window update machinery.
Moreover this fixes a crash introduced by e4998f21 when closing a file.

Note that GuiWorkArea::Private already had a read_only_ member, but it
was unused.

Also rename LyXVC::vcname() to LyXVC::vcstatus() since it now contains
directly the UI string to be shown.

(cherry picked from commit 6cb05ce8bb)
(cherry picked from commit 85bcf0d93f)
2016-10-19 17:34:54 +02:00
Jean-Marc Lasgouttes
e4998f21b0 Set window title according to platform UI
The window title is built from the current file name and its
mofidication state. We use our own code instead of the automatic title
bar provided when windowFileName() is set because

1/ Qt does not keep the full path name
2/ Qt does not yield a nice application name
3/ Qt separates file name and app name with an em-dash. It seems that
   only KDE does that: Gnome does not, Windows does not either. I do not
   think that we can/want to detect a KDE environment at run-time.

The "read only" and "version control" status are shown in the status bar:

* for read only we use the tab read only emblem (with the right size)
* for version control, we show the name of the backend (using a new
  vcname() method of the backend).

The iconText() of the view is not updated anymore, since this is
deprecated in Qt5.

(cherry picked from commit 82808fea04)
(cherry picked from commit 9313f8565b)
(cherry picked from commit bbe36ce6ce)
(cherry picked from commit 7cbc0c16a8)
2016-10-17 10:51:46 +02:00
Jean-Marc Lasgouttes
25640ce39c Make *-lyxformat-* backup files use .lyx~ extension
At least now they look like real backup files.

(cherry picked from commit d12ebb00b9)
2016-10-17 10:27:40 +02:00
Jean-Marc Lasgouttes
181ecc51a7 Do not hardcode required packages for Note inset
This does not change the default behavior, but allows to customize it.

(cherry picked from commit db12707655)
2016-10-17 10:22:45 +02:00
Uwe Stöhr
4961683764 Win installer backport recent changes 2016-10-16 14:34:27 +02:00
Juergen Spitzmueller
90ffcf41eb Sanitize Ref dialog validation.
Fixes: #10376
2016-10-16 11:49:06 +02:00
Uwe Stöhr
46c2e2b5d6 uk.po: update from Yuri for 2.2.x 2016-10-15 22:50:08 +02:00
Richard Heck
127af8efb4 Back to development. 2016-10-15 15:55:08 -04:00
Richard Heck
d3f2299d2f Fix patch preamable...though it still isn't fixed. 2016-10-10 11:50:02 -04:00
Richard Heck
31d65fb1eb Remerge strings. 2016-10-10 10:33:45 -04:00
Richard Heck
7243c0f6b0 Preparations for 2.2.2. 2016-10-10 10:32:05 -04:00
Richard Heck
ba84e7122d Commit gmo files. 2016-10-10 10:24:27 -04:00
Richard Heck
3fe8c04274 Fix monolithic build. 2016-10-10 10:24:08 -04:00
Uwe Stöhr
0ca507ca64 Development.lyx: backport the current rules/advises 2016-10-10 02:45:57 +02:00
Uwe Stöhr
df66391485 French UserGuide.lyx: restore \origin tag
Jean-Pierre, please take care of this otherwise LyX cannot be compiled.
Please also port changes you commit to 2.2.x to master
2016-10-10 02:14:41 +02:00
jpc
2d2023df6f Typo pointed out in the lyx-fr mailing list 2016-10-07 08:59:03 +01:00
Kornel Benko
5fef7db34f Update sk.po 2016-10-05 19:30:50 +02:00
Enrico Forestieri
ae0679926e Improve systemlyxdir handling
Do not assume that the /systemlyxdir path prefix in \origin refers
to the system directory of the running instance, but check through
some heuristics what the real system dir is. In this way, a document
in the system dir of any other LyX installation is correctly spotted
and the \origin tag properly updated. For example, one can use an
installed version of lyx to edit a document in the lib/doc dir of a
git repo and obtain the same result as when running lyx in place.

(cherry picked from commit ade098e289)
2016-09-25 12:09:24 -04:00
jpc
432d1398bc Typo 2016-09-25 17:29:16 +01:00
Scott Kostyshak
e81f6b04bc Amend 40c262cb
Use LyX note instead of comment. This is less invasive that
converting Beamer frames to fragile to accommodate the comment
environment.
2016-09-22 22:55:35 -04:00
Scott Kostyshak
40c262cbd8 Amend and extend 9f3518bc
The comment is now in a comment inset. This change is extended to
all versions of beamer.lyx.

Change tracking is not used because it only affects a comment
(consistent with aa81ae7e).

This change is made according to updated conversation at:
https://www.mail-archive.com/search?l=mid&q=nruubc%24uu0%241%40blaine.gmane.org
2016-09-22 22:21:03 -04:00
jpc
360fd94ee4 Change a line to avoid bad hyphenation
THe pdf output showed  a very visible line overfull. I slightly changed the text to
avoid this without adding an hyphenation point, not appropriate in documents for beginners.
2016-09-21 09:15:07 +01:00
Uwe Stöhr
aa81ae7e30 French beamer.lyx: accept changes
I think this can be accepted without further explanation since it is in a comment
2016-09-20 23:16:42 +02:00
jpc
cd5dbe9640 Upadte fr.po 2016-09-20 18:49:43 +01:00
Scott Kostyshak
9f3518bcd2 Fix compilation of fr/beamer.lyx with XeTeX
The compilation did not succeed before because of an é in an ERT
inset. This is changed to \'{e}.

Also correct spelling of "decouvert" to "découvert".

Alternatives would be to use a LyX note or a comment inset. Since
the original version uses ERT, I do not change that.

This commit fixes the following ctest:

  export/examples/fr/beamer-article_pdf4_texF

It likely also fixes the corresponding test for fr/beamer.lyx, but
since the default output format is set to pdf2 we do not run the
test.

For more information, see:
https://www.mail-archive.com/search?l=mid&q=20160919192413.ftnz4gk6dl5w3k5c%40Opti1604
2016-09-19 22:23:41 -04:00
Uwe Stöhr
3ac29c96a0 Makefile.am: add 2 missing entries 2016-09-17 13:02:48 +02:00
Uwe Stöhr
dae621f0d8 Win installer: backport changes from master and prepare for 2.2.2 2016-09-17 13:01:32 +02:00
Uwe Stöhr
2020fbce6e pt_BR.po: updates from Georger 2016-09-17 12:58:33 +02:00
Juergen Spitzmueller
6b7e219ba4 de.po: update 2016-09-17 10:13:16 +02:00
Juergen Spitzmueller
e6df1d85f8 Revert "de.po"
This reverts commit 2c271a26b5.
:q
:wa
2016-09-17 10:11:01 +02:00
Juergen Spitzmueller
2c271a26b5 de.po 2016-09-17 10:04:08 +02:00
Georg Baum
701f10a502 Fix data loss with [ in first cell of aligned
If the first character in the first cell of an aligned math environment is
'[', and the environment does not use top or bottom vertical alignment,
then LyX did write the '[' unprotected so that it got misinterpreted as
optional argument, both when reading the .lyx file in LyX and when reading
the .tex file in LaTeX => data loss!
The fix is to output an empty optional argument in this case, which is
interpreted as default alignment both by LyX and LaTeX. It would also be
possible to output \[ in the first cell instead, but this would be more
difficult to implement.
2016-09-12 20:56:05 +02:00
Enrico Forestieri
ca018b237a Update it.po 2016-09-12 08:18:36 +02:00
Juergen Spitzmueller
184a7d0f4a de.po: update for 2.2.2 2016-09-11 18:57:12 +02:00
Kornel Benko
dfb463517d Update sk.po 2016-09-11 18:37:43 +02:00
Richard Heck
8991ea48a4 Remerge strings. 2016-09-11 12:07:05 -04:00
Jean-Marc Lasgouttes
69f0efd797 Set vertical lines in math arrays correctly on Y axis
This is a fixup to commit 39329935. The two fixes are
* add forgotten offset `y' when drawing the line
* in order to have a continuous vertical line, draw from the offset of
  the previous row.

Fixes bug #10363.

(cherry-picked from a27ff136)
2016-09-09 09:56:44 +02:00