]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoctests: invert sys font tests of colored-boxes.lyx
Scott Kostyshak [Mon, 19 Oct 2015 05:55:36 +0000 (01:55 -0400)]
ctests: invert sys font tests of colored-boxes.lyx

This example file was just committed and the system font tests do
not pass because of the user preamble code.

8 years agoAdd cursor<->row correspondance tracking for tables and subcaptions.
Guillaume Munch [Tue, 13 Oct 2015 22:51:50 +0000 (23:51 +0100)]
Add cursor<->row correspondance tracking for tables and subcaptions.

Please use the new function otexstream.append(str, texrow) to append an
odocstringstream with texrow information to the output when outputing to a
string buffer (e.g. case of subcaptions).

8 years agoImprove the TexRow Cursor->Row algorithm for selections.
Guillaume Munch [Tue, 13 Oct 2015 19:26:21 +0000 (20:26 +0100)]
Improve the TexRow Cursor->Row algorithm for selections.

Selections were incorrect after the addition of math due to the invalidation of
an invariant.

8 years agoRemove a deep copy of MathData in lyx::write
Guillaume Munch [Mon, 12 Oct 2015 22:31:15 +0000 (23:31 +0100)]
Remove a deep copy of MathData in lyx::write

This deep copy used to mess with the unique identifier: what TexRow saw was
different from the original uid. There may also be performance improvements.

(Using Georg's suggestion)

8 years agoTexRow info in source panel and gotoCursor() for debugging
Guillaume Munch [Sun, 11 Oct 2015 13:50:32 +0000 (14:50 +0100)]
TexRow info in source panel and gotoCursor() for debugging

These features are active in DEVEL_VERSION when Debug is set to LATEX.

1. The TexRow information is prepended to the source panel.

2. Clicking on any line in the source triggers reverse search. (This would be an
interesting feature to implement on the user side, but we need a proper LFUN.)

8 years agoAdding TexRow information on math latex output (#4725)
Guillaume Munch [Wed, 7 Oct 2015 03:13:21 +0000 (04:13 +0100)]
Adding TexRow information on math latex output (#4725)

WriteStream is now built from an otexstream instead of an odocstream, and
therefore counts lines in a TexRow. Calls to TexRow are added in relevant places
in math insets.

This finishes adding line tracking for math in the source panel and for forward
search.

8 years agoAdd math cell positions to TexRow
Guillaume Munch [Tue, 13 Oct 2015 23:17:05 +0000 (00:17 +0100)]
Add math cell positions to TexRow

This is preliminary work for extending the cursor<->row tracking to math.

TexRow used to associate, to each row, a location id/pos where id determines a
paragraph and pos the position in the paragraph.

TexRow now associates to each row a list of entries, text or math. A math is a
pair uid/idx where uid will determine a math inset and idx is the number of the
cell.

The analogy id/pos<->inset/idx works better than the analogy id/pos<->idx/pos,
because what matters for the TexRow algorithm(TM) is the behaviour in terms of
line breaks.

This only improves the source view and the forward search, not the error report
and the reverse search (though this could be easily added now).

8 years agoAdd a unique id to math insets
Guillaume Munch [Tue, 13 Oct 2015 23:23:12 +0000 (00:23 +0100)]
Add a unique id to math insets

The id is just the memory address.

The status bar now spits out the math inset uid information when in a math cell
in DEVEL_VERSION, like it already does when in a paragraph.

This is preliminary work for extending the cursor<->row tracking to math.

8 years agoSplitting otexstream into otexrowstream and otexstream.
Guillaume Munch [Wed, 7 Oct 2015 03:02:40 +0000 (04:02 +0100)]
Splitting otexstream into otexrowstream and otexstream.

otexstream used to count lines to build a TexRow, and some other things. The new
class otexrowstream has the line counting feature of the previous otexstream
without other stuff. otexstream is now a subclass of otexrowstream that has the
same features as before.

This is preliminary work for extending the cursor<->row tracking to math.

8 years agoctests: invert a test that never passed
Scott Kostyshak [Mon, 19 Oct 2015 05:24:29 +0000 (01:24 -0400)]
ctests: invert a test that never passed

The H-P-statements example was recently introduced (a610e29c) and
the XeTeX test with system fonts has never passed.

8 years agoctests: invert a test that never passed
Scott Kostyshak [Mon, 19 Oct 2015 05:04:17 +0000 (01:04 -0400)]
ctests: invert a test that never passed

The ICUr template was recently introduced (5189d7be) and the XeTeX
test with system fonts has never passed.

8 years agotcolorbox.module: uniform whitespace
Uwe Stöhr [Mon, 19 Oct 2015 05:15:18 +0000 (07:15 +0200)]
tcolorbox.module: uniform whitespace

8 years agocolored-boxes.lyx: new example file for the tcolorbox.module
Uwe Stöhr [Mon, 19 Oct 2015 05:10:09 +0000 (07:10 +0200)]
colored-boxes.lyx: new example file for the tcolorbox.module

- also improve the tcolorbox.module

This is a fileformat change - only to be able to revert the new styles defined in the module.

8 years agoFix language end command
Georg Baum [Sun, 18 Oct 2015 18:55:53 +0000 (20:55 +0200)]
Fix language end command

The code that sets open_polyglossia_lang_ is not only executed for polyglossia,
but also for babel, so we have to use the correct language end command.

8 years agoUserGuide.lyx: port changes from branch
Uwe Stöhr [Sun, 18 Oct 2015 17:22:39 +0000 (19:22 +0200)]
UserGuide.lyx: port changes from branch

8 years agoEmbeddedObjects.lyx: revert unintended part of previous commit are commit correct...
Uwe Stöhr [Sun, 18 Oct 2015 17:05:41 +0000 (19:05 +0200)]
EmbeddedObjects.lyx: revert unintended part of previous commit are commit correct stuff

- sorry, after some moths without LyXing I forgot most of the complicated git branch handling stuff

8 years agoEmbeddedObjects.lyx: update appendix A
Uwe Stöhr [Sun, 18 Oct 2015 16:57:15 +0000 (18:57 +0200)]
EmbeddedObjects.lyx: update appendix A

Since a while now we can translate the unit descriptions. For some special applications it is also necessary that the users know the LaTeX command of the relative units.

- also fix a typo in Customization.lyx

8 years agosk.po: Use '…' instead of '...' where appropriate
Kornel Benko [Sun, 18 Oct 2015 13:52:54 +0000 (15:52 +0200)]
sk.po: Use '…' instead of '...' where appropriate

8 years agoRemove unneeded whitespace
Georg Baum [Sat, 17 Oct 2015 18:01:22 +0000 (20:01 +0200)]
Remove unneeded whitespace

8 years agoRemove confusing parentheses
Georg Baum [Sat, 17 Oct 2015 17:53:59 +0000 (19:53 +0200)]
Remove confusing parentheses

8 years agoFix regression of 359aef92f87
Georg Baum [Sat, 17 Oct 2015 16:13:18 +0000 (18:13 +0200)]
Fix regression of 359aef92f87

The context menu did no longer work for some insets, since it requires the
cursor to be in front, and editXY() is also used to determine the inset for
the context menu. Now the cursor is corrected if needed.

8 years agochkconfig.ltx: add packages supported by LyX
Uwe Stöhr [Sun, 18 Oct 2015 13:21:50 +0000 (15:21 +0200)]
chkconfig.ltx: add packages supported by LyX

- also update Win installer package list (trimspaces is required by tcolorbox but not listed as required in the tcolorbox manual)

8 years agoRELEASE-NOTES: LyX should work with Qt >= 4.5
Scott Kostyshak [Thu, 15 Oct 2015 23:52:45 +0000 (19:52 -0400)]
RELEASE-NOTES: LyX should work with Qt >= 4.5

8 years agoFix std::string docstream output error
Georg Baum [Thu, 15 Oct 2015 18:52:28 +0000 (20:52 +0200)]
Fix std::string docstream output error

This was made visible by aab1b145a57c, since xhtml export for
lib/doc/Additional.lyx caused an exception. However, the cause for this was
already present earlier: All attempts to output a std::string to an
odocstream resulted in trying to change the encoding of the stream instead,
since there is no operator<<(odocstream &, std::string) defined, and an
implicit conversion to SetEnc happened instead.
This is fixed by making the SetEnc constructor explicit and adjusting all
code parts that did not compile anymore after that. The parts of the code
that did use the wrong output operator were the std::string version of
htmlize() from output_xhtml.cpp and all changed parts in the other .cpp files.
I also removed the std::string versions of html::htmlize() and
html::cleanAttr(), since it was difficult to see which encodings were used
with these. Now we are always explcit when using html::cleanAttr() and
html::htmlize().

8 years agoUpdate RELEASE-NOTES for Qt advice and policy
Scott Kostyshak [Wed, 14 Oct 2015 23:14:01 +0000 (19:14 -0400)]
Update RELEASE-NOTES for Qt advice and policy

8 years agoRemove variable y_top that was computed but not used.
Jean-Marc Lasgouttes [Mon, 12 Oct 2015 09:55:38 +0000 (11:55 +0200)]
Remove variable y_top that was computed but not used.

8 years agoCorrect early return position for if use_pixmap_cache_ check
Stephan Witt [Mon, 12 Oct 2015 06:00:24 +0000 (08:00 +0200)]
Correct early return position for if use_pixmap_cache_ check

8 years agoinstaller: update the packages list
Uwe Stöhr [Mon, 12 Oct 2015 00:50:07 +0000 (02:50 +0200)]
installer: update the packages list

- there are some new packages required by LyX's supported document classes and example files
(this list is only used when LyX is installed the first time on a PC together with MiKTeX to shorten the installation time)

8 years agoinstaller: new release because of bug #9733
Uwe Stöhr [Sun, 11 Oct 2015 23:01:30 +0000 (01:01 +0200)]
installer: new release because of bug #9733

8 years agoFix languages in math docs.
Georg Baum [Sun, 11 Oct 2015 17:00:21 +0000 (19:00 +0200)]
Fix languages in math docs.

These were either unneeded or used the old german spelling.

8 years agoFix cursor movement for large logos (#9628)
Georg Baum [Sun, 11 Oct 2015 12:21:45 +0000 (14:21 +0200)]
Fix cursor movement for large logos (#9628)

Previously, if one clicked onto a large non-editable inset like the new LyX
logo inset, the cursor was always positioned in front of the inset, even if
the click was almost at the back edge. Now the cursor is positioned at the
correct edge. I tested this also with RTL contents, where from means right
and back means left, but the inset anchor position anchor point is still
at the left, and the right edge is dim.wid pixels to the right of it.

8 years agoDisable assigment operator
Georg Baum [Sun, 11 Oct 2015 10:04:43 +0000 (12:04 +0200)]
Disable assigment operator

Forgot that in cea2d71e641

8 years agoComply with rule-of-three
Georg Baum [Sun, 11 Oct 2015 09:16:09 +0000 (11:16 +0200)]
Comply with rule-of-three

The rule-of-three says that if any of virtual destructor, copy constructor
or assignment operator needs to be manually implemented, then all three
should be implemented. Otherwise you can get subtle bugs which can be
difficult to find. In the changed classes, changing a copy-construction to
an assignment would have had surprising effects. Now they all behave
consistently.

8 years agoMove comment where it belongs
Georg Baum [Sun, 11 Oct 2015 08:27:16 +0000 (10:27 +0200)]
Move comment where it belongs

8 years agoRemove C-style casts found by cppcheck
Georg Baum [Sat, 10 Oct 2015 19:44:08 +0000 (21:44 +0200)]
Remove C-style casts found by cppcheck

8 years agoFix LASSERT correction
Georg Baum [Sat, 10 Oct 2015 19:38:17 +0000 (21:38 +0200)]
Fix LASSERT correction

Found bx cppcheck:
(style) Assignment of function parameter has no effect outside the function.

8 years agoRemove unused variables
Georg Baum [Sat, 10 Oct 2015 19:28:28 +0000 (21:28 +0200)]
Remove unused variables

Found by cppcheck: (style) Unused variable: x

8 years agoFix duplicated pointer check
Georg Baum [Sat, 10 Oct 2015 19:23:52 +0000 (21:23 +0200)]
Fix duplicated pointer check

Found by cppcheck: (style) Same expression on both sides of '&&'.

8 years agoFix copy-paste leftover
Georg Baum [Sat, 10 Oct 2015 19:15:55 +0000 (21:15 +0200)]
Fix copy-paste leftover

Found by cppcheck: (style) Same expression on both sides of '&&'.
I deduced the correct if-condition from the other places where theLaTeXFonts()
is called.

8 years agoAdd missing intializations
Georg Baum [Sat, 10 Oct 2015 19:04:28 +0000 (21:04 +0200)]
Add missing intializations

These were found by cppcheck:
Member variable 'x' is not initialized in the constructor.
The crash #9788 would not have happened if this had been done earlier.

8 years agoFix multicolumn regression (bug #9788)
Georg Baum [Sat, 10 Oct 2015 16:58:18 +0000 (18:58 +0200)]
Fix multicolumn regression (bug #9788)

The test case did show several problems:
- The alignment argument was not parsed correctly if it was not in braces
- There one column too much created, since I did not take into account that
  the current cell must bge replaced by the multicolumn cell
- If the last line of an array contained only an empty multicolumn cell, then
  the complete multicolumn was swallowed
- The decision whether to output the column separator & was sometimes wrong
  for multicolumns

8 years agoPDF-comment.lyx: new German translation
Uwe Stöhr [Sat, 10 Oct 2015 00:15:09 +0000 (02:15 +0200)]
PDF-comment.lyx: new German translation

- also disable PDF-reply since this never works correctly and it could even destroy the whole PDF and exceeds the TeX capacity
- update the french version accordingly

8 years agoInitialize member
Georg Baum [Fri, 9 Oct 2015 21:15:54 +0000 (23:15 +0200)]
Initialize member

This fixes the crash of bug #9788. However, the misparsing of \multicolumn
is still there: LyX thinks that the array has three columns, it inserts an
additional one before the multicolumn.

8 years agoUpdate LYX_DIR_21x environment variable
Georg Baum [Fri, 9 Oct 2015 19:47:01 +0000 (21:47 +0200)]
Update LYX_DIR_21x environment variable

8 years agoFix typo
Georg Baum [Fri, 9 Oct 2015 19:37:43 +0000 (21:37 +0200)]
Fix typo

Found by gcc: operation on 'preview_ptr' may be undefined [-Wsequence-point]

8 years agoDocument how to use Qt 5 with cmake
Georg Baum [Fri, 9 Oct 2015 19:19:41 +0000 (21:19 +0200)]
Document how to use Qt 5 with cmake

8 years agoFix display of perenthesis in Hebrew documents
Jean-Marc Lasgouttes [Fri, 9 Oct 2015 14:16:13 +0000 (16:16 +0200)]
Fix display of perenthesis in Hebrew documents

This was a regression from 2.1.x. I failed to copy the horrible hack that was present for the special case of () in Hebrew.

There is a real need for someone who understands RTL language stuff to fix this. Currently () are wrong in .lyx files IMO. We should not have to swap them for display.

8 years agoSmall code cleanup
Jean-Marc Lasgouttes [Fri, 9 Oct 2015 13:48:59 +0000 (15:48 +0200)]
Small code cleanup

8 years agoGet rid of old Bidi code
Jean-Marc Lasgouttes [Fri, 9 Oct 2015 13:10:39 +0000 (15:10 +0200)]
Get rid of old Bidi code

This removes the old implementation of Cursor::getSurroundingPos, that has been superceded in commit .

As this was the last user of the Bidi class, this can be removed too.

8 years agoAvoid the use of a static NSAutoreleasePool.
Stephan Witt [Fri, 9 Oct 2015 06:16:10 +0000 (08:16 +0200)]
Avoid the use of a static NSAutoreleasePool.
This seems to cause crashes on exit from time to time.

8 years agoAdd missing adjustment of end_pos if given length exceeds last pos
Stephan Witt [Fri, 9 Oct 2015 06:14:18 +0000 (08:14 +0200)]
Add missing adjustment of end_pos if given length exceeds last pos

8 years agoFix "dead store" warnings of Xcode analyze tool
Stephan Witt [Fri, 9 Oct 2015 06:08:49 +0000 (08:08 +0200)]
Fix "dead store" warnings of Xcode analyze tool

8 years agoPDF-comment.lyx: some corrections
Uwe Stöhr [Thu, 8 Oct 2015 22:53:51 +0000 (00:53 +0200)]
PDF-comment.lyx: some corrections

- also: de.po: fix a typo

8 years agoFix cppcheck portability warning
Georg Baum [Mon, 28 Sep 2015 18:40:56 +0000 (20:40 +0200)]
Fix cppcheck portability warning

(portability) Assigning a pointer to an integer is not portable.

8 years agoRevise commit 7a5eff56
Jean-Marc Lasgouttes [Wed, 7 Oct 2015 09:30:04 +0000 (11:30 +0200)]
Revise commit 7a5eff56

Courtesy of the whitespace police.

8 years agoSet minimal width of fixedwidth collapsable insets.
Pavel Sanda [Wed, 7 Oct 2015 09:15:35 +0000 (02:15 -0700)]
Set minimal width of fixedwidth collapsable insets.

Intention behind this is actually Box inset being too tiny
to reasonably contain other insets like ERT.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg188987.html

8 years agoAdd TOC of external materials. (#7790, partial)
Guillaume Munch [Sun, 4 Oct 2015 18:48:31 +0000 (19:48 +0100)]
Add TOC of external materials. (#7790, partial)

Known issues (non-regressions):

* The TOC is not updated immediately after an external material inset is
  inserted. See TocBackend::updateItem().

8 years agoConsistency of ellipses across the UI
Guillaume Munch [Sun, 4 Oct 2015 18:38:47 +0000 (19:38 +0100)]
Consistency of ellipses across the UI

Use the function support:truncateWithEllipsis() to shorten a docstring with
... at the end. Actually we use U+2026 HORIZONTAL ELLIPSIS instead of "..." when
automatically shortening strings. This is to be consistent with Qt's own
truncation and is much nicer on the screen.

This includes the bugs #9575 and #9572 regarding broken text elision in the
outliner.

Known issues (non-regressions):

* TocBackend::updateItem() should be rewritten to update all TOCs. (#8386)

* "..." should be replaced with … everywhere else on the interface (including
  translation strings).

* We should prefer to rely on QFontMetrics::elidedText() to truncate strings
  with an ellipsis whenever possible, or an equivalent for the buffer view
  dependent on the font metrics. See the warning in src/support/lstrings.h.

8 years agoRemove PainterInfo argument to checkCursorScrollOffset
Jean-Marc Lasgouttes [Mon, 5 Oct 2015 16:04:12 +0000 (18:04 +0200)]
Remove PainterInfo argument to checkCursorScrollOffset

This will allow later to move its invokation to processUpdateFlags.

Also, remove wrong use of Update::SinglePar flag.

8 years agoMore updates to painting analysis
Jean-Marc Lasgouttes [Sun, 4 Oct 2015 20:28:36 +0000 (22:28 +0200)]
More updates to painting analysis

8 years agoUpdate file from Abdel's comments and some of my own thinking
Jean-Marc Lasgouttes [Sat, 3 Oct 2015 22:03:46 +0000 (00:03 +0200)]
Update file from Abdel's comments and some of my own thinking

8 years agoSmall typos in PAINTING_ANALYSIS
Jean-Marc Lasgouttes [Fri, 2 Oct 2015 15:26:28 +0000 (17:26 +0200)]
Small typos in PAINTING_ANALYSIS

8 years agoFix #9726: Preview does not have correct font size
Enrico Forestieri [Sat, 3 Oct 2015 16:13:20 +0000 (18:13 +0200)]
Fix #9726: Preview does not have correct font size

8 years agoFix #9490: SIGSEGV involving LyX macros --- A reproducible MWE (part II)
Enrico Forestieri [Sat, 3 Oct 2015 15:41:25 +0000 (17:41 +0200)]
Fix #9490: SIGSEGV involving LyX macros --- A reproducible MWE (part II)

8 years agoUpdate sk.po
Kornel Benko [Fri, 2 Oct 2015 19:58:07 +0000 (21:58 +0200)]
Update sk.po

8 years agoAmend d5a5fbb8e (cosmetic)
Guillaume Munch [Fri, 2 Oct 2015 18:44:36 +0000 (19:44 +0100)]
Amend d5a5fbb8e (cosmetic)

Bug #9579

8 years agoAdd a file that describe the current state of painting
Jean-Marc Lasgouttes [Fri, 2 Oct 2015 13:30:16 +0000 (15:30 +0200)]
Add a file that describe the current state of painting

This is a work in progress intended to start collective work towards improving the performance of our painting process.

The intent is to make it a living document that is updated as code evolves.

8 years agoSmall BufferView cleanup
Jean-Marc Lasgouttes [Fri, 2 Oct 2015 13:25:09 +0000 (15:25 +0200)]
Small BufferView cleanup

Rename fitCursor() to needsFitCursor() to show that it does not do any
action. Constify.

Update a few comments.

8 years agoExample Emacs configuration
Guillaume Munch [Thu, 1 Oct 2015 21:06:01 +0000 (22:06 +0100)]
Example Emacs configuration

8 years agoFix compilation with MSVC in c++98 mode
Guillaume Munch [Mon, 28 Sep 2015 17:13:19 +0000 (18:13 +0100)]
Fix compilation with MSVC in c++98 mode

8 years agoImprovements to cursor highlighting in the source panel
Guillaume Munch [Tue, 15 Sep 2015 04:56:01 +0000 (05:56 +0100)]
Improvements to cursor highlighting in the source panel

* TexRow now computes rows from a DocIterator. In practice, the cursor
  highlighting is now correct inside insets, it is no longer restricted to the
  topmost level. It certainly also makes forward-search more precise.

* Added the option to disable a texrow when not needed, for perf.

* Fixed a bug where the last paragraph was not properly highlighted.

Limitations:

* TexRow still does not handle: math (e.g. multi-cell), sub-captions, inset
  arguments.

8 years agoEnhancements and bugfixes to the TOCs
Guillaume Munch [Sun, 27 Sep 2015 06:05:00 +0000 (07:05 +0100)]
Enhancements and bugfixes to the TOCs

* New TOC "math-macro". This means that math macros can now be accessed in the
  outline pane in their order of appearance or in alphabetical order, and can be
  searched using the filter.

* Lists of floats now show subfloats deeper in the navigation menu

* The arbitrary 30 element cut-off after which nothing is shown except "Open
  Navigator..." is removed. Menus now have no limit in size, so Qt may display
  them scrollable. In exchange, we always show "Open outliner..." at the
  beginning. I tested for performance issues with a rather complex document and
  it is fine; but this does not exclude corner cases with lots of TOC entries of
  a certain kind. If necessary, populating the navigation sub-menu should be
  delayed like the main menu.

* Elements that do not contribute to the output (e.g. in a note, a disabled
  branch) are now preceded with a symbol indicating this status. (The machinery
  was already there; I wonder why it was not implemented already.) I have chosen
  U+274E NEGATIVE SQUARED CROSS MARK.

* Fix the contextual menus in the outliner (bug introduced at 94e992c5).

* Toc item now move to the caption when present, but first center on the float,
  to prevent the situation where the caption is at the top of the screen and the
  contents of the float is off-screen above the caption.
  (Internally, the action of the toc items can now be customised)

* Fix the LyXHTML output. Disabled captions no longer appear in the list of
  figures.

8 years agoFix bugs #6078 and #9364
Guillaume Munch [Sat, 29 Aug 2015 00:51:38 +0000 (01:51 +0100)]
Fix bugs #6078 and #9364

Remove unwanted clearSelection()s in MathData::updateMacros(). These calls broke
text selection with keyboard and mouse, search-and-replace, restoring selection
after Undo, etc. in a document with math macros since 1.6.0. (Regression at
6aa54673 and 12314897)

I do not know the purpose of these calls, but the selection code has been worked
on since, and I cannot produce undesired behaviour after removing
them.

8 years agoRewrite Cursor::getSurroundingPos without Bidi class
Jean-Marc Lasgouttes [Mon, 14 Sep 2015 20:13:39 +0000 (22:13 +0200)]
Rewrite Cursor::getSurroundingPos without Bidi class

New method TextMetrics::findRowElement, excerpted from CursorX.

Reimplement getSurroundingPos using Row information. This is easy when
the cursor is inside a row element. At row element edges, different
situations can occur; hopefully all these situations are taken into
account.

Rename the old getSurroundingPos to getSurroundingPosOrig and
transform getSurroundingPos into a wrapper that compares the two
methods. This will be removed when we are confident that the new
function is equivalent to the old one.

It will then be possible to remove also the Bidi class (at last!).

8 years agoRepeat after me: into account, into account, into account
Jean-Marc Lasgouttes [Fri, 25 Sep 2015 16:14:53 +0000 (18:14 +0200)]
Repeat after me: into account, into account, into account

8 years agoPDF-comment.lyx: describe a further feature
Uwe Stöhr [Sun, 27 Sep 2015 01:07:08 +0000 (03:07 +0200)]
PDF-comment.lyx: describe a further feature

- also some corrections

8 years agoCmake build: Remove support for concept checks.
Kornel Benko [Fri, 25 Sep 2015 12:55:50 +0000 (14:55 +0200)]
Cmake build: Remove support for concept checks.

See also commit 7f4101a

8 years agoFix some compilation problems in C++11 mode
Jean-Marc Lasgouttes [Fri, 25 Sep 2015 11:58:52 +0000 (13:58 +0200)]
Fix some compilation problems in C++11 mode

Only enable std::regex when the header <regex> is present (fix Mac OS X issue).

Remove support for concept checks. The page
  https://gcc.gnu.org/onlinedocs/libstdc++/manual/concept_checking.html
says about concept checking:

  Please note that the checks are based on the requirements in the
  original C++ standard, many of which were relaxed in the C++11
  standard and so valid C++11 code may be incorrectly rejected by the
  concept checks. Additionally, some correct C++03 code might be
  rejected by the concept checks, for example template argument types
  may need to be complete when used in a template definition, rather
  than at the point of instantiation. There are no plans to address
  these shortcomings.

Therefore it seems reasonable to remove our support for this.

8 years agoRemove support for precompiled headers for autotools
Jean-Marc Lasgouttes [Fri, 25 Sep 2015 08:58:17 +0000 (10:58 +0200)]
Remove support for precompiled headers for autotools

This was turned off by default for a long time, and it does not seem
to have any use these days.

8 years agoChange --enable-cxx11 configure option to --disable-cxx11
Jean-Marc Lasgouttes [Fri, 25 Sep 2015 08:47:42 +0000 (10:47 +0200)]
Change --enable-cxx11 configure option to --disable-cxx11

8 years agoTypo in tutorial.
Richard Heck [Thu, 24 Sep 2015 22:00:03 +0000 (18:00 -0400)]
Typo in tutorial.

8 years agoPDF-comment.lyx: fix 2 typos
Uwe Stöhr [Wed, 23 Sep 2015 22:15:06 +0000 (00:15 +0200)]
PDF-comment.lyx: fix 2 typos

- de.po: correct a translation

8 years agoUserGuide.lyx: accept Stephan's changes
Uwe Stöhr [Wed, 23 Sep 2015 20:54:41 +0000 (22:54 +0200)]
UserGuide.lyx: accept Stephan's changes

- port one change to the other language versions

8 years agoCorrect many different typos and logical errors.
Stephan Witt [Wed, 23 Sep 2015 19:00:27 +0000 (21:00 +0200)]
Correct many different typos and logical errors.

8 years agoinstaller: update to latest ImageMagick
Uwe Stöhr [Tue, 22 Sep 2015 23:59:28 +0000 (01:59 +0200)]
installer: update to latest ImageMagick

finally the IM people fixed the PDF image conversion problems so that I can update IM

8 years agoCmake build: Warning if system boost and stdlib-debug are used together
Kornel Benko [Tue, 22 Sep 2015 13:27:35 +0000 (15:27 +0200)]
Cmake build: Warning if system boost and stdlib-debug are used together
Change according to commit d95c187b5

8 years agoGive a warning when system boost and stdlib-debug are used together
Jean-Marc Lasgouttes [Fri, 11 Sep 2015 12:08:20 +0000 (14:08 +0200)]
Give a warning when system boost and stdlib-debug are used together

In general this would lead to an immediate runtime crash because the
runtime checks of libstdc++ change the layout of some STL objects.
Therefore, this will only work when the boost libraries have been
compiled with this same flag. At this time, it is not known whether
any linux distribution contains such libraries.

Fixes bug #9736.

8 years agoMake text insets wide as soon as they contain a display inset
Jean-Marc Lasgouttes [Mon, 14 Sep 2015 18:57:11 +0000 (20:57 +0200)]
Make text insets wide as soon as they contain a display inset

This also handles the case of a paragraph ended by a newline.

Fixes bug #9757.

8 years agoNew helper method Row::Element::isRTL()
Jean-Marc Lasgouttes [Fri, 18 Sep 2015 14:42:24 +0000 (15:42 +0100)]
New helper method Row::Element::isRTL()

8 years agode.po
Juergen Spitzmueller [Mon, 21 Sep 2015 08:24:21 +0000 (10:24 +0200)]
de.po

8 years agoAdd assertions, just to be sure.
Richard Heck [Sun, 20 Sep 2015 16:32:24 +0000 (12:32 -0400)]
Add assertions, just to be sure.

Fixes coverity issue #111941.

8 years agoWin installer: preparations for a new build
Uwe Stöhr [Sun, 20 Sep 2015 23:53:15 +0000 (01:53 +0200)]
Win installer: preparations for a new build

- the long awaited MiKTeX installer is available, this fixes many installation errors in LyX is installed for the first time (I will provide a new installer build as soon as I find more time)

8 years agoRemove unused variables found by cppcheck
Georg Baum [Sun, 20 Sep 2015 19:39:59 +0000 (21:39 +0200)]
Remove unused variables found by cppcheck

There are still a few warnings of the kind
(style) Variable 'x' is assigned a value that is never used.
since I did not touch code where I was not sure whether there might be a real
bug, and I kept some for symmetry reasons as well.

8 years agoFix missing xhtml output found by cppcheck
Georg Baum [Sun, 20 Sep 2015 18:47:33 +0000 (20:47 +0200)]
Fix missing xhtml output found by cppcheck

Actually I don't know if this operator is used at all, but if it exists then
it must output something.

8 years agoFix wrong label found by cppcheck
Georg Baum [Sun, 20 Sep 2015 18:32:45 +0000 (20:32 +0200)]
Fix wrong label found by cppcheck

It was not intended to ignore the return value of expandParagraphLabel().

8 years agoForbid wrong compiler generated copy constructors
Georg Baum [Sun, 20 Sep 2015 17:43:06 +0000 (19:43 +0200)]
Forbid wrong compiler generated copy constructors

This fixes cppcheck warnings (style) 'class x' does not have a copy constructor
which is recommended since the class contains a pointer to allocated memory.

8 years agoUse Require instead of AddToPreamble
Georg Baum [Sun, 20 Sep 2015 17:33:43 +0000 (19:33 +0200)]
Use Require instead of AddToPreamble

This plays more nicely with other modules requiring enumitem as well.

8 years agoAmend 94e992c5
Guillaume Munch [Sun, 20 Sep 2015 17:24:45 +0000 (19:24 +0200)]
Amend 94e992c5

Fix compilation with --disable-cxx11

8 years agoAdd comment regarding fall through.
Richard Heck [Sun, 20 Sep 2015 16:34:49 +0000 (12:34 -0400)]
Add comment regarding fall through.

Coverity issue #111940.

8 years agoUpdate sk.po
Kornel Benko [Sun, 20 Sep 2015 12:59:45 +0000 (14:59 +0200)]
Update sk.po