]>
git.lyx.org Git - features.git/log
Uwe Stöhr [Thu, 21 May 2015 00:04:41 +0000 (02:04 +0200)]
pdfview: rename the file to distinguish it from the new version
Uwe Stöhr [Wed, 20 May 2015 20:26:42 +0000 (22:26 +0200)]
tex2lyx/text.cpp: avoid a tex2lyx error message
Uwe Stöhr [Wed, 20 May 2015 19:37:14 +0000 (21:37 +0200)]
tex2lyx/text.cpp: a fix for \fboxcolor around \parbox and minipage
Juergen Spitzmueller [Wed, 20 May 2015 17:12:23 +0000 (19:12 +0200)]
Fix problems with immediate apply and length validators
Fixes bugs #7022 and #7599.
Enrico Forestieri [Wed, 20 May 2015 14:04:18 +0000 (16:04 +0200)]
Also find external material files when the document is moved and origin is known
Enrico Forestieri [Wed, 20 May 2015 13:49:15 +0000 (15:49 +0200)]
Avoid compiler warning about overloaded virtual function.
Jean-Marc Lasgouttes [Wed, 20 May 2015 10:24:16 +0000 (12:24 +0200)]
Remove bash-only construct from autogen.sh
Jean-Marc Lasgouttes [Wed, 20 May 2015 10:09:12 +0000 (12:09 +0200)]
Place the cursor correctly after undoing an inset dissolution
The cleanup in
11ca1406 was not correct. It is actually not possible to implement recordUndoInset from the undo API, since the cursor may not be at a different level than the text to be saved.
Fixes ticket #9553
Kornel Benko [Wed, 20 May 2015 10:07:41 +0000 (12:07 +0200)]
Cmake build: Define LYX_USE_CXX11 iff using c++11 extensions after commit
329eae5605d .
Kornel Benko [Tue, 19 May 2015 12:03:32 +0000 (14:03 +0200)]
Update sk.po
Jean-Marc Lasgouttes [Wed, 20 May 2015 09:24:15 +0000 (11:24 +0200)]
remove bogus comment
There used to be a showCursor call below the command, sometimes between 2002 and 2007.
Stephan Witt [Wed, 20 May 2015 09:04:10 +0000 (11:04 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Add Qt5Svg for pkgconfig based compile and linker flags setup.
Jean-Marc Lasgouttes [Tue, 19 May 2015 13:10:38 +0000 (15:10 +0200)]
Use explicit macro to declare that we want to use C++11
This replaces tests for __cplusplus >= 201103L, which are wrong with gcc 4.6 and earlier. Indeed these versions of gcc define __cplusplus = 1.
Reference:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
Juergen Spitzmueller [Wed, 20 May 2015 07:35:57 +0000 (09:35 +0200)]
Fix LaTeX length export of big numbers, part 2 (bug #9416)
LaTeX lengths must not use scientific notation, since the + sign has a
different meaning (glue lengths). This is the GUI part of bug 9416,
on top of part 1 [
59e4d16ab /lyxgit].
Stephan Witt [Wed, 20 May 2015 06:46:26 +0000 (08:46 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Try SVG version of banner with Qt4 too.
Stephan Witt [Wed, 20 May 2015 05:51:50 +0000 (07:51 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Correctly guard Qt5 code introduced by change
c053a9394d1075ecad02ccce2f34c95f08c1f00f
Scott Kostyshak [Wed, 20 May 2015 03:31:53 +0000 (23:31 -0400)]
In aqua.bind replace an LFUN with one that exists
'menu-separator-insert' does not exist.
'specialchar-insert menu-separator' does exist.
Uwe Stöhr [Tue, 19 May 2015 22:15:03 +0000 (00:15 +0200)]
box-color-size-space-align.lyx.lyx: update file
Uwe Stöhr [Tue, 19 May 2015 22:05:12 +0000 (00:05 +0200)]
tex2lyx/text.cpp: remove an unintended addition
Uwe Stöhr [Tue, 19 May 2015 21:35:56 +0000 (23:35 +0200)]
tex2lyx/text.cpp: fixes for \mbox{}
now all box constructs should be fully supported by tex2lyx
Uwe Stöhr [Tue, 19 May 2015 21:25:36 +0000 (23:25 +0200)]
tex2lyx/text.cpp: remove a now unnecessary hack
\framebox{} is equal to \fbox{} and \makebox{} is equal to \mbox{}
When I once wrote this code LyX did not support \fbbox and \mbox and therefore had to use a workaround.
Enrico Forestieri [Tue, 19 May 2015 21:18:18 +0000 (23:18 +0200)]
This is supposed to end with a '/'
Uwe Stöhr [Tue, 19 May 2015 21:09:21 +0000 (23:09 +0200)]
PDF-form.lyx: update using the new features of PassThruChars and colored boxes
Vincent van Ravesteijn [Tue, 19 May 2015 20:44:01 +0000 (22:44 +0200)]
po: Fix wrong parameter placeholder in fi.po
Vincent van Ravesteijn [Tue, 19 May 2015 20:40:57 +0000 (22:40 +0200)]
po: Fix EOL of fi.po
Stephan Witt [Tue, 19 May 2015 20:46:06 +0000 (22:46 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Improved icon and pixmap handling with SVG images and high physical resolution displays.
This results in much better looking icons and splash banner.
Stephan Witt [Tue, 19 May 2015 06:11:01 +0000 (08:11 +0200)]
Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class.
Enrico Forestieri [Tue, 19 May 2015 19:19:49 +0000 (21:19 +0200)]
Use the xcb definition for the primary selection atom.
Pavel Sanda [Tue, 19 May 2015 17:37:02 +0000 (10:37 -0700)]
Fix default style of broadway layout.
Thanks Richard.
Juergen Spitzmueller [Tue, 19 May 2015 13:08:59 +0000 (15:08 +0200)]
GuiAbout: enforce a reasonable width (show all tabs)
Kornel Benko [Tue, 19 May 2015 11:42:33 +0000 (13:42 +0200)]
Cmake tests: cheating check_layout to accept module files as layouts
Juergen Spitzmueller [Tue, 19 May 2015 10:56:31 +0000 (12:56 +0200)]
Complilation fix.
This time without unwandted po stuff.
Juergen Spitzmueller [Tue, 19 May 2015 10:52:19 +0000 (12:52 +0200)]
Revert "Complilation fix."
This reverts commit
abf8208679630d194f610b48f86759dd0ff9c6ca .
I'll properly re-commit in a minute.
Juergen Spitzmueller [Tue, 19 May 2015 10:43:44 +0000 (12:43 +0200)]
GuiAbout: minor ui fix
Juergen Spitzmueller [Tue, 19 May 2015 10:37:45 +0000 (12:37 +0200)]
Complilation fix.
Juergen Spitzmueller [Tue, 19 May 2015 08:32:26 +0000 (10:32 +0200)]
de.po
Juergen Spitzmueller [Tue, 19 May 2015 08:23:12 +0000 (10:23 +0200)]
Restore minimal RELEASE-NOTES file in top dir, which points to the real one.
Juergen Spitzmueller [Tue, 19 May 2015 08:18:17 +0000 (10:18 +0200)]
Demonstrate that it is now possible to use tabs in Requires.
Juergen Spitzmueller [Tue, 19 May 2015 08:17:34 +0000 (10:17 +0200)]
Use trimmed string in [Inset]Layout Requires.
Fixes: #9518
Juergen Spitzmueller [Tue, 19 May 2015 08:15:34 +0000 (10:15 +0200)]
Provide optional trimmed version of Lexer::getString and getDocString
Prerequisite to fix #9518
Juergen Spitzmueller [Tue, 19 May 2015 07:57:52 +0000 (09:57 +0200)]
Make RELEASE-NOTES accessible from GUI (#8616)
CMake people, please check if something needs to be done to install
lib/RELEASE-NOTES.
Juergen Spitzmueller [Tue, 19 May 2015 07:42:56 +0000 (09:42 +0200)]
linguistics.lyx: document how to insert footnotes in glosses.
Uwe Stöhr [Tue, 19 May 2015 01:25:55 +0000 (03:25 +0200)]
tex2lyx/text.cpp: set correct alignment for \makebox{test}
also fix an indentation error
Uwe Stöhr [Tue, 19 May 2015 01:03:35 +0000 (03:03 +0200)]
tex2lyx/text.cpp: coding style improvements and code simplification
Uwe Stöhr [Tue, 19 May 2015 00:29:16 +0000 (02:29 +0200)]
tex2lyx/text.cpp: fix a bug I introduced with [
c7a11c1d /lyxgit]
Uwe Stöhr [Tue, 19 May 2015 00:19:24 +0000 (02:19 +0200)]
tex2lyx/text.cpp: add support for box alignment
the nasty hack with the FIXME is due to bug #9552
Uwe Stöhr [Mon, 18 May 2015 22:24:13 +0000 (00:24 +0200)]
tex2lyx/text.cpp: code simplification
Uwe Stöhr [Mon, 18 May 2015 22:21:12 +0000 (00:21 +0200)]
tex2lyx/Preamble.cpp: forgot a package in previous commit
Uwe Stöhr [Mon, 18 May 2015 22:17:08 +0000 (00:17 +0200)]
tex2lyx: register required packages for boxes
Uwe Stöhr [Mon, 18 May 2015 22:04:45 +0000 (00:04 +0200)]
tex2lyx/text.cpp: support for \fcolorbox
and a fix also for \colorbox
Uwe Stöhr [Mon, 18 May 2015 21:45:27 +0000 (23:45 +0200)]
tex2lyx/text.cpp: fix handling of \fbox
since a while now lyX supports inner boxes in \fbox, tex2lyx was outdated in this case
Uwe Stöhr [Mon, 18 May 2015 20:36:29 +0000 (22:36 +0200)]
lyx2lyx/lyx_2_2.py: remove a hack
thanks Richard "hack" ;-) for the hint
Juergen Spitzmueller [Mon, 18 May 2015 11:13:04 +0000 (13:13 +0200)]
GuiBox: remove unneeded connection and use a more senible signal
Juergen Spitzmueller [Mon, 18 May 2015 11:12:26 +0000 (13:12 +0200)]
GuiBox: do not rely on count (as explained on lyx-devel)
Juergen Spitzmueller [Mon, 18 May 2015 11:11:34 +0000 (13:11 +0200)]
GuiBox: sort colors
Juergen Spitzmueller [Mon, 18 May 2015 11:10:32 +0000 (13:10 +0200)]
GuiBox: remove none from the static color list
It is not used anyway and it prevents sorting.
Juergen Spitzmueller [Mon, 18 May 2015 11:09:07 +0000 (13:09 +0200)]
GuiBox: assure combo boxes are empty before filling
Juergen Spitzmueller [Mon, 18 May 2015 11:07:00 +0000 (13:07 +0200)]
GuiBox: swap filling of color combos
Juergen Spitzmueller [Mon, 18 May 2015 11:05:28 +0000 (13:05 +0200)]
GuiBox: simplification
Juergen Spitzmueller [Mon, 18 May 2015 09:15:11 +0000 (11:15 +0200)]
isReadable can only be used after the file has been opened
Juergen Spitzmueller [Mon, 18 May 2015 09:11:45 +0000 (11:11 +0200)]
Re-defactor ColorSorter.
This hopefully cures Richard's compilation woes.
Uwe Stöhr [Sun, 17 May 2015 23:37:59 +0000 (01:37 +0200)]
tex2lyx/text.cpp: support for lengths like "2.5\width" in boxes
LyX supports these length in boxes for a while now; tex2lyx was not up to date
Uwe Stöhr [Sun, 17 May 2015 23:00:25 +0000 (01:00 +0200)]
tex2lyx/TODO.txt: add a feature that is not yet supported
Uwe Stöhr [Sun, 17 May 2015 22:56:23 +0000 (00:56 +0200)]
tex2lyx/text.cpp: support for the commands \fboxsep etc.
It is impossible handle all cases because the closing brace of an \fboxsep block can be everywhere. Therefore the braces remain in ERT.
Uwe Stöhr [Sun, 17 May 2015 21:20:43 +0000 (23:20 +0200)]
InsetBox.cpp: add visual feedback for frame color
- the idea is to color the box inset frame according to the fame color of the box (if there is any). To keep the WYSIWYM principle the frame thickness and box separation are not taken into account. However this should be possible if anybody would like that.
- besides this, use the correct conversion command for the background color
Richard Heck [Sun, 17 May 2015 20:11:39 +0000 (16:11 -0400)]
Fix bug #9544: Mark file clean after we write it.
Uwe Stöhr [Sun, 17 May 2015 19:59:29 +0000 (21:59 +0200)]
tex2lyx/text.cpp: set correct default horizontal position for \framebox
Juergen Spitzmueller [Sun, 17 May 2015 17:56:32 +0000 (19:56 +0200)]
de.po: do not try to translate 'teal'. It is a standardized color name, also common in German
Enrico Forestieri [Sun, 17 May 2015 16:12:07 +0000 (18:12 +0200)]
Update it.po
Uwe Stöhr [Sun, 17 May 2015 16:12:20 +0000 (18:12 +0200)]
tex2lyx/text.cpp: a fix for the horizontal box position
- if nothing is specified, the box content is left aligned, except for \makebox where it is centered
Enrico Forestieri [Sun, 17 May 2015 16:02:47 +0000 (18:02 +0200)]
Take into account the file system encoding.
Uwe Stöhr [Sun, 17 May 2015 15:45:56 +0000 (17:45 +0200)]
tex2lyx/text.cpp: fix an indentation mistake
Uwe Stöhr [Sun, 17 May 2015 15:36:46 +0000 (17:36 +0200)]
InsetBox.cpp: fix a bug I introduced in [
88593e0e /lyxgit]
Georg Baum [Sun, 17 May 2015 15:27:12 +0000 (17:27 +0200)]
Fix indentation
Uwe Stöhr [Sun, 17 May 2015 15:26:51 +0000 (17:26 +0200)]
tex2lyx: support the command \colorbox
support for \fcolorbox will follow soon
Juergen Spitzmueller [Sun, 17 May 2015 15:15:01 +0000 (17:15 +0200)]
Use view/data separation for GuiCharacter colors, which makes it possible to sort the colors
Juergen Spitzmueller [Sun, 17 May 2015 14:47:40 +0000 (16:47 +0200)]
Factor out ColorSorter to qt_helpers, to make it
available to other dialogs as well.
Georg Baum [Sun, 17 May 2015 14:39:14 +0000 (16:39 +0200)]
Improve revert of mutlicolumn
Old LyX version can cope with degenerated multicolumn cells spanning only one
column, so these should not cause a conversion of the whole formula to ERT.
Such columns are used to set border lines or alignment for single cells.
Kornel Benko [Sun, 17 May 2015 13:53:58 +0000 (15:53 +0200)]
Updated remaining tex2lyx test cases after commit
12ae7140c26258425b17c8386144e10560eb8af0
Kornel Benko [Sun, 17 May 2015 13:51:28 +0000 (15:51 +0200)]
Cmake build: Added target updatetex2lyxtests to update lyx2lyx test files
Uwe Stöhr [Sun, 17 May 2015 13:00:51 +0000 (15:00 +0200)]
tex2lyx/text.cpp: add default value for 2 box features
- also add a comment
Juergen Spitzmueller [Sun, 17 May 2015 11:56:58 +0000 (13:56 +0200)]
Customization.lyx: remove unintended switch to German
Georg Baum [Sun, 17 May 2015 11:43:37 +0000 (13:43 +0200)]
Parse \multicolumn in math (bug 396)
The math parser could not handle multicolumn grids. This is a problem because
there is no true ERT in math (everything is parsed).
Now multicolumn cells are parsed correctly. The display is also somewhat OK,
but apart from that any multicolumn related UI is missing. Since the file
format change is now done the UI can be added at any later point. The most
important part of bug 396 is now fixed: tex2lyx does not create invalid .lyx
files anymore for formulas containing \multicolumn.
I updated the tex2lyx test cases that produce correct output. tex2lyx does
still produce invalid output for the test cases which are not updated because
of the previous format change.
Uwe Stöhr [Sun, 17 May 2015 01:21:02 +0000 (03:21 +0200)]
InsetBox.cpp: code simplification
thanks Pavel for the hint
Uwe Stöhr [Sun, 17 May 2015 00:48:22 +0000 (02:48 +0200)]
lyx2lyx/lyx_2_2.py: fix for a lyx2lyx issue
I don't understand why the string "shadowsize" is not already in the file because when I convert from format 474 to 489 it is added. So why is it not there when I convert from format 474 to 491.
Uwe Stöhr [Sat, 16 May 2015 23:45:56 +0000 (01:45 +0200)]
GuiBox.cpp: fix bug introduced by [
bec3f7bc /lyxgit]
There were now 2 entries named "none" in backgroundcolorCO
- delete the fixmes; the LateX name is used as parameter to save unnecessary conversions for the LateX output; please ask me before adding fixmes
Uwe Stöhr [Sat, 16 May 2015 23:28:06 +0000 (01:28 +0200)]
GuiBox.cpp: a compile fix
Enrico Forestieri [Sat, 16 May 2015 21:36:40 +0000 (23:36 +0200)]
Fix #5575 also on Windows.
Uwe Stöhr [Sat, 16 May 2015 21:29:09 +0000 (23:29 +0200)]
lyx2lyx/lyx_2_2.py: correct a value
Enrico Forestieri [Sat, 16 May 2015 17:51:53 +0000 (19:51 +0200)]
Correctly load documents moved elsewhere after save.
It is now possible opening documents that where manually moved to a
different location after they were saved and still produce an output.
Indeed, (hopefully) all needed included files are now still found.
When the moved document is saved again, all paths are accordingly updated.
Of course, for this to work, a document has to be saved in Format 490,
at least.
As an example, after converting the user guide to the last format, it can
be copied anywhere and opened without the need of adapting the paths of
included files or moving them to a proper place.
There is one glitch I am aware of. When moving a child document (but not
the master) the path to the master is correctly updated but it won't be
recognized as such. This is because LyX checks that the parent actually
includes this document but, of course, being the parent document not
touched, it appears not including this child. Anyway, it will also occur
when saving the child to a different location and the user is warned
on the terminal about this fact when the moved child is loaded.
However, there is no problem when it is the master that has been moved.
Juergen Spitzmueller [Sat, 16 May 2015 17:18:51 +0000 (19:18 +0200)]
Extend comment and remove superfluous parentheses.
Juergen Spitzmueller [Sat, 16 May 2015 15:14:51 +0000 (17:14 +0200)]
Refine fix for #5575 and comment it out for windows
See #5575 for details why it does not work on windows.
Kornel Benko [Sat, 16 May 2015 14:14:27 +0000 (16:14 +0200)]
Update sk.po
Juergen Spitzmueller [Sat, 16 May 2015 13:41:54 +0000 (15:41 +0200)]
de.po once more
Juergen Spitzmueller [Sat, 16 May 2015 13:41:22 +0000 (15:41 +0200)]
Fix tooltip line breaks.
Juergen Spitzmueller [Sat, 16 May 2015 13:31:51 +0000 (15:31 +0200)]
Clarify "Save compressed by default" feature (bug 7822)
Juergen Spitzmueller [Sat, 16 May 2015 13:02:09 +0000 (15:02 +0200)]
minor corrections
Georg Baum [Sat, 16 May 2015 12:05:29 +0000 (14:05 +0200)]
Shut up compiler warning
Juergen Spitzmueller [Sat, 16 May 2015 11:48:17 +0000 (13:48 +0200)]
Update comment.
Georg Baum [Sat, 16 May 2015 11:41:23 +0000 (13:41 +0200)]
Update boost to version 1.58
This is an unmodified subset of boost 1.58, created with boost/extract.sh.