Commit Graph

35800 Commits

Author SHA1 Message Date
Georg Baum
57298bf59d Update pt_BR.gmo from pt_BR.po
This has been forgotten in c46d5ccdf6
2016-04-21 21:51:12 +02:00
Stephan Witt
24dfca3e2a Handle activateWindow in LFUN_BUFFER_SWITCH like in saveBufferIfNeeded() and doShowDialog() methods.
This is a requirement on Mac to get the current buffer view topmost after buffer switch.
2016-04-19 21:58:58 +02:00
Jean-Marc Lasgouttes
23ef2947a3 Change mouse cursor on tabular selection zones
This is done by implementing the clickable method. It is not possible yet to have the usual left and down arrows, because Qt does not implement them as far as I can see.

Factor the code that triggers row/column selection and fix the logic. Now it is possible to select also at the right of the tabular inset.
2016-04-19 13:50:09 +02:00
Jean-Marc Lasgouttes
6a1803e18d Fix display of InsetCollapsable with split views
When several bufferviews exist for the same inset, the data that depends on the view width have to be BufferView-dependent. While this is the case for several mutable members of InsetCollapsable, some were missing.

This commit makes button_dim_ (renamed from button_dim) and openinlined_ bv-dependent.

Get rid of the hitButton function.

Remove the bv-independent geometry() method and implement editable() explicitely instead.

Fixes bug #9756.
2016-04-19 12:02:27 +02:00
Jean-Marc Lasgouttes
fb90076e90 whitespace only 2016-04-19 11:58:57 +02:00
Jean-Marc Lasgouttes
6ad2edc381 Pass a BufferView to Inset::clickable 2016-04-19 11:58:41 +02:00
Uwe Stöhr
c46d5ccdf6 pt_BR.po: updates from Georger 2016-04-18 19:10:57 +02:00
Jean-Marc Lasgouttes
0576973b8d Make monolithic build code portable to Mac OS
"echo -e" is definitely not portable. Use a plain loop instead.

Also use the automake silent rule mechanism to make the generation of monolithic source files visible.
2016-04-18 18:20:06 +02:00
Guillaume Munch
9f04fc1c90 status.22x 2016-04-17 15:36:58 +01:00
Guillaume Munch
9bf7d99def Sanitize InsetMathHull and add a check for mutability in LFUN_MATH_MUTATE
Remove in particular all comparisons < and >= involving HullType.

Add a guard to make sure that mutate() only operates on types it has been
designed for. Then I figured I could use this new knowledge to give feedback
when math-mutate is not implemented via getStatus(). (To test this, insert a
regexp in Advanced Search & Replace and try to change it into a standard
equation via the contextual menu.)
2016-04-17 15:25:49 +01:00
Guillaume Munch
e3ab552ccb Correct col spacing in Cases environment 2016-04-17 15:25:49 +01:00
Guillaume Munch
1adb4efe60 Fix the display of column spacing in AMS environments
AMS align environment should have some spacing between odd and even columns.

Add a new virtual method displayColSpace() to InsetMathGrid, InsetMathHull and
InsetMathSplit.
2016-04-17 15:25:49 +01:00
Guillaume Munch
06a62c4894 Display the correct horizontal alignment in AMS environments
A longstanding problem... (related: #1861)

The columns in AMS math environments have a fixed alignment (colAlign() in
InsetMathGrid.cpp). We set this alignment for display (Georg's
displayColAlign()) in InsetMathHull and InsetMathSplit. This is done according
to tests and documentation for the various environments.

There is also some mechanical code factoring via colAlign().

Finally, I disable setting the horizontal alignment in InsetMathSplit, which has
no impact on the LaTeX output, and has no longer any impact on the screen. (As
for vertical alignment I discovered that it was in fact customisable for
\aligned & friends! I hope that the more faithful interface will let other
users discover that too.)
2016-04-17 15:25:49 +01:00
Guillaume Munch
72ce4519de status.22x 2016-04-16 23:23:03 +01:00
Guillaume Munch
36611a9ba8 Raise the maxlastfiles cap
This only changes the maximum value that the user can choose in the UI, not the
default value.
2016-04-16 23:12:38 +01:00
Guillaume Munch
4fb103180e Do not omit the starting space when copying (#9995)
The offending code appears to have been introduced a long time ago. My
understanding is that it is no longer relevant. Notably, it only appears on copy
and not on cut, which tells us that: 1) it should be safe to remove it, 2) we
should remove it for consistency.
2016-04-16 23:12:30 +01:00
Scott Kostyshak
287db1239b Fix a \origin unavailable 2016-04-16 15:20:33 -04:00
jpc
3d5cae4edd Minor rephrasing of last commit 2016-04-16 09:15:42 +01:00
Uwe Stöhr
93f58cb440 sv.po: updates for 2.2.0 from Jim 2016-04-16 01:55:40 +02:00
Guillaume Munch
744f6e3cd8 Compute the highlighting color from AlternateBase and Highlight roles (#10073) 2016-04-15 14:13:50 +01:00
Stephan Witt
87c85303c5 Improved fix for #9966
* provide GuiApplication::typewriterSystemFont() to get a fixed font consistently
* enlarge fixed font on Mac because of the too small default Qt system font
* use it in source pane, progress view, log view and document preamble editor
2016-04-15 11:49:04 +02:00
Jean-Marc Lasgouttes
4807338ba9 Remove image spellcheck-continously.svgz
It is not a proper icon and is not used currently.
2016-04-15 09:21:44 +02:00
Kornel Benko
882b7b01d0 Cmake install: Exclude some files from being installed
Files like CMakeLists.txt or *.lyx~ should not be part
of an installation.
2016-04-14 11:15:08 +02:00
Scott Kostyshak
f6dd83a936 Update ANNOUNCE
This email will be sent regarding RC1. The update adds a note that
Uwe recommends to Windows users, which is to uninstall any previous
pre-release versions before installing this newer release.
2016-04-14 02:16:47 -04:00
Uwe Stöhr
16bd45f099 installer: filelist.nsh: add necessary MSVC 2015 runtime DLLs 2016-04-14 01:52:34 +02:00
Uwe Stöhr
208b87b633 installer/ChangeLog.txt: fix a typo 2016-04-13 01:33:27 +02:00
Uwe Stöhr
239619c4f0 installer: updates for the installer for 2.2. final 2016-04-13 01:31:42 +02:00
Scott Kostyshak
d1b3d20c43 Back to development 2016-04-11 21:33:21 -04:00
Scott Kostyshak
2ed943195f This is LyX 2.2.0rc1 2016-04-11 21:31:28 -04:00
Scott Kostyshak
d28c4ae2c4 Update acmsiggraph-0-92.layout to latest format 2016-04-11 21:28:32 -04:00
Scott Kostyshak
2faca4fce6 Update ANNOUNCE for LyX2.2.0rc1 2016-04-11 20:52:47 -04:00
Scott Kostyshak
847b69ea89 lyx2lyx: Set last minor version of 2.1.x series 2016-04-11 20:41:23 -04:00
Guillaume Munch
f180e813fe Fix dataloss when flex inset is undefined.
Regression at cfeddb929. If a flex inset has no layout upon saving (e.g. if a
module has been deleted) then its name became lost. This checks whether the name
resolution, introduced with the ObsoletedBy tag, comes back empty-handed (which
it will if the layout is not defined). In this case, we do as was done before
cfeddb929.

In addition, the use of support::token to strip "Flex:" off the beginning of the
name introduces a regression if somebody used a name containing ":". This
replaces it with support::split.
2016-04-11 21:02:06 +01:00
Scott Kostyshak
7c3fd63646 Revert "AGUTeX: update layout to AGUTeX 2015 according to our new guidelines"
For why this reversion is being done, see:
https://www.mail-archive.com/search?l=mid&q=nebrfg%249t4%241%40ger.gmane.org

This reverts commit 700edf93d7.
The style correction regarding lib/Makefile.am is kept. This amends
647b106b.
2016-04-11 11:34:11 -04:00
Uwe Stöhr
ac6824e4f2 French UserGuide.lyx: restore the \origin tag 2016-04-11 00:39:53 +02:00
jpc
01ea2b5fb1 Adaptation of sections 3.3.6.2 ans 3.9.3.1 to French typography 2016-04-10 19:27:26 +01:00
Kornel Benko
b9b49d1c81 Update sk.po 2016-04-10 12:32:41 +02:00
Kornel Benko
b5e81c6370 Correct list of template files
Change to new layout for aastex6.cls removed aastex.lyx and added aastex6.lyx
2016-04-09 21:24:13 +02:00
Uwe Stöhr
070afdad64 de.po: translate new layout strings 2016-04-09 18:44:58 +02:00
Uwe Stöhr
700edf93d7 AGUTeX: update layout to AGUTeX 2015 according to our new guidelines 2016-04-09 18:38:07 +02:00
Uwe Stöhr
647b106be6 ACM siggraph: update layout as discussed 2016-04-09 18:18:04 +02:00
Uwe Stöhr
a32113e6de de.po: - translate new aastex string
- also remerge using changed lyx_pot.py file (see the discussion on the list)
2016-04-09 17:41:58 +02:00
Kornel Benko
13bf0f3275 Ammend 4aa88e9 2016-04-09 12:21:16 +02:00
Kornel Benko
4aa88e982a Use guard for QT5/XCB also for cmake build.
See commit d4428ceb81
from Enrico Forestieri
2016-04-09 11:53:55 +02:00
Kornel Benko
38bfc6a542 Update sk.po 2016-04-09 11:35:13 +02:00
Scott Kostyshak
fe82ce961a Fix layout strings that cause a make error
We do not currently handle UTF-8 characters in our layout strings.
Replace dashes with simple ASCII dashes to avoid the following
error:

  msguniq -o lyx.po
  msguniq: input file '-' doesn't contain a header entry with a
  charset specification

This commit amends the recent commit b4dcad83.
2016-04-08 18:40:56 -04:00
Günter Milde
b4dcad83b2 New layout for aastex6.cls. Fixes #10027.
Some more work for new and improved styles optional.
2016-04-08 21:34:23 +02:00
Helge Hafting
f23c40ad68 Improved translations for version control, after using this dialog for the first time. 2016-04-07 10:11:43 +02:00
Helge Hafting
f5cea5abc2 Corrected the path to ToolBarEnvBox.png, so the document compiles again. 2016-04-07 10:02:25 +02:00
Georg Baum
7c1b6cd73f Update translation of Chart by Georger
This has been discussed on the docs list, Diagrama is much more general.
2016-04-07 07:37:44 +02:00