]> git.lyx.org Git - lyx.git/log
lyx.git
11 years agoA first batch of potential bugs spotted by llvm/clang
Jean-Marc Lasgouttes [Thu, 2 May 2013 14:38:25 +0000 (16:38 +0200)]
A first batch of potential bugs spotted by llvm/clang

There are more warnings left, but these are the easiest to fix. And some of them are real bugs (assignments with == instead of =).

11 years agoRemove some header leftovers based on Scott's script hints.
Pavel Sanda [Thu, 2 May 2013 07:25:17 +0000 (00:25 -0700)]
Remove some header leftovers based on Scott's script hints.

False positive rate of hints is quite high. Although the includes can be
technically removed (due to other includes) they logically belong to the
header.

11 years agoScript for finding unneeded headers
Scott Kostyshak [Thu, 2 May 2013 06:40:48 +0000 (02:40 -0400)]
Script for finding unneeded headers

The script does the following:

  All .cpp and .h files in the current directory and subdirectories
  are checked to see which include statements could be omitted without
  causing a build error.

Many of these omissions would not be desired. For example, currently
if you don't include Undo.h in Undo.cpp, there is no error because
Undo.h is included in Cursor.h which is included in Undo.cpp. But
clearly we do want to include Undo.h in Undo.cpp.

See #6305.

11 years agoinstaller: fix a typo
Uwe Stöhr [Wed, 1 May 2013 22:59:44 +0000 (00:59 +0200)]
installer: fix a typo

11 years agoDon't ask for creating branches on copying
Georg Baum [Wed, 1 May 2013 11:51:39 +0000 (13:51 +0200)]
Don't ask for creating branches on copying

As discussed on the list. This gets rid of the unwanted message boxes when
copying the complete Userguide.

11 years agoSmall changes to Poor man's profiler
Jean-Marc Lasgouttes [Tue, 30 Apr 2013 14:43:29 +0000 (16:43 +0200)]
Small changes to Poor man's profiler

* report results in milliseconds instead of microseconds
* report total time spent in block, additionally to mean time
* cause compilation error with --enable-stdlib-debug

11 years agoFix bug #8627: Command line switches to change branch do not appear to work
Jean-Marc Lasgouttes [Tue, 16 Apr 2013 14:22:10 +0000 (16:22 +0200)]
Fix bug #8627: Command line switches to change branch do not appear to work

Move the handling of branch-(de)activate(master) to Buffer. This code was moved to Bufferview in [3a03e71c/lyxgit] because a cursor was necessary to call Undo::recordUndoFullDocument(). However, it turns out that the undo code is already prepared to handle an empty cursor (and do nothing in this case).

Therefore we do that and move the branch code to Buffer where it belongs.

Note that there was a bug in the previous code that broke undo support: recordUndo should always be called _before_ doing any change.

11 years agoAdded regression test for simple use-case documented in Advanced F&R manual.
Tommaso Cucinotta [Sun, 28 Apr 2013 23:48:43 +0000 (00:48 +0100)]
Added regression test for simple use-case documented in Advanced F&R manual.

findadv-re-05 with ignore format fails, whilst findadv-re-06 not ignoring format succeeds, as of now.

11 years agoUserGuide.lyx: fix an issue reported on the docs list
Uwe Stöhr [Sun, 28 Apr 2013 22:52:45 +0000 (00:52 +0200)]
UserGuide.lyx: fix an issue reported on the docs list

11 years agoUserGuide.lyx: next revision step (chap. C) for master
Uwe Stöhr [Sun, 28 Apr 2013 22:42:02 +0000 (00:42 +0200)]
UserGuide.lyx: next revision step (chap. C) for master

11 years agoFix assertion for InsetInfos of icon types
Vincent van Ravesteijn [Sun, 28 Apr 2013 19:47:37 +0000 (21:47 +0200)]
Fix assertion for InsetInfos of icon types

InsetInfo inserted insets in its text without specifying a font. This
caused the fonlist to be incomplete and firing the assertion.

11 years agoFix FontIterator to not access pos >= par.size()
Vincent van Ravesteijn [Sun, 28 Apr 2013 12:44:08 +0000 (14:44 +0200)]
Fix FontIterator to not access pos >= par.size()

An iterator is typicall incremented passed the valid data into the 'end'
state. However, if this means that other functions are called with invalid
parameter, we should fix this.

This explains why fontSpan was called with pos==size() while this was not
expected to happen.

This patch reverts partly f5ad0c128aec (Jean-Marc Lasgouttes; Get rid of
annoying warning message).

11 years agoMake sure MarkAsExporting is deleted before buffer
Vincent van Ravesteijn [Sun, 28 Apr 2013 16:47:11 +0000 (18:47 +0200)]
Make sure MarkAsExporting is deleted before buffer

This fixes a crash when cutting something.

11 years agoMake staticbuffer static again
Vincent van Ravesteijn [Sun, 28 Apr 2013 16:45:51 +0000 (18:45 +0200)]
Make staticbuffer static again

Otherwise the number of internal buffers in incremented on each cut
action.

11 years agoClean up comments a bit.
Richard Heck [Sun, 28 Apr 2013 16:08:30 +0000 (12:08 -0400)]
Clean up comments a bit.

11 years agoinstaller: updated for dictionaries
Uwe Stöhr [Sun, 28 Apr 2013 04:03:13 +0000 (06:03 +0200)]
installer: updated for dictionaries

- support thesaurus for Icelandic and Ukrainian
- update for other dictionaries

11 years agoUserGuide.lyx: port recent changes from branch
Uwe Stöhr [Sun, 28 Apr 2013 03:45:21 +0000 (05:45 +0200)]
UserGuide.lyx: port recent changes from branch

11 years agoAnother assertion that got changed wrongly.
Richard Heck [Sat, 27 Apr 2013 22:12:27 +0000 (18:12 -0400)]
Another assertion that got changed wrongly.

I've read back through that patch, and everything else looks good.

11 years agoRemove all messages to user related to assertions. We'll just use
Richard Heck [Sat, 27 Apr 2013 21:52:55 +0000 (17:52 -0400)]
Remove all messages to user related to assertions. We'll just use
a basic message which is defined in lassert.cpp now.

11 years agoUse doctring as LBUFFER() etc parameters
Kornel Benko [Sat, 27 Apr 2013 19:38:01 +0000 (21:38 +0200)]
Use doctring as LBUFFER() etc parameters

11 years agoStrings as parameters to LASSERT should not be translatable.
Kornel Benko [Sat, 27 Apr 2013 19:13:32 +0000 (21:13 +0200)]
Strings as parameters to LASSERT should not be translatable.
But empty strings are even worse.

11 years agoAnother assertion that got transformed in 1b1f8dd2
Jean-Marc Lasgouttes [Sat, 27 Apr 2013 18:14:43 +0000 (20:14 +0200)]
Another assertion that got transformed in 1b1f8dd2

11 years agoGet rid of annoying warning message
Jean-Marc Lasgouttes [Sat, 27 Apr 2013 18:00:15 +0000 (20:00 +0200)]
Get rid of annoying warning message

11 years agoFrench UserGuide.lyx: translations by Jean-Pierre
Uwe Stöhr [Sat, 27 Apr 2013 17:40:02 +0000 (19:40 +0200)]
French UserGuide.lyx: translations by Jean-Pierre

11 years agopo: Modularisation of the diff_po.pl script
Kornel Benko [Sat, 27 Apr 2013 15:23:58 +0000 (17:23 +0200)]
po: Modularisation of the diff_po.pl script

11 years agoFix assertion related to cursor anchor.
Jean-Marc Lasgouttes [Sat, 27 Apr 2013 09:19:19 +0000 (11:19 +0200)]
Fix assertion related to cursor anchor.

11 years agoRemove assertion accidentally added during the audit.
Richard Heck [Fri, 26 Apr 2013 14:42:45 +0000 (10:42 -0400)]
Remove assertion accidentally added during the audit.

11 years agoAudit all the LASSERT calls, and try to do something sensible at
Richard Heck [Thu, 25 Apr 2013 21:27:10 +0000 (17:27 -0400)]
Audit all the LASSERT calls, and try to do something sensible at
each failure.

There are several places I was not sure what to do. These are marked
by comments beginning "LASSERT:" so they can be found easily. At the
moment, they are at:

Author.cpp:105: // LASSERT: What should we do here?
Author.cpp:121: // LASSERT: What should we do here?
Buffer.cpp:4525:        // LASSERT: Is it safe to continue here, or should we just return?
Cursor.cpp:345:         // LASSERT: Is it safe to continue here, or should we return?
Cursor.cpp:403:         // LASSERT: Is it safe to continue here, or should we return?
Cursor.cpp:1143:                // LASSERT: There have been several bugs around this code, that seem
CursorSlice.cpp:83:     // LASSERT: This should only ever be called from an InsetMath.
CursorSlice.cpp:92:     // LASSERT: This should only ever be called from an InsetMath.
LayoutFile.cpp:303:                     // LASSERT: Why would this fail?
Text.cpp:995:           // LASSERT: Is it safe to continue here?

11 years agoAdd additional LASSERT-type macros for dealing with various kinds
Richard Heck [Sun, 7 Apr 2013 00:19:45 +0000 (20:19 -0400)]
Add additional LASSERT-type macros for dealing with various kinds
of situations.

11 years agoAdd a bunch of comments about the different exceptions.
Richard Heck [Sun, 7 Apr 2013 22:11:27 +0000 (18:11 -0400)]
Add a bunch of comments about the different exceptions.

11 years agoSimplify code a bit: If we only accept CITE_CODE, there is no need
Richard Heck [Sat, 6 Apr 2013 16:34:26 +0000 (12:34 -0400)]
Simplify code a bit: If we only accept CITE_CODE, there is no need
to pass it.

11 years agoDefault font for an InsetLayout should be to inherit everything.
Richard Heck [Thu, 25 Apr 2013 21:07:16 +0000 (17:07 -0400)]
Default font for an InsetLayout should be to inherit everything.
Fixes bug #8610.

11 years agoJust a bit of renaming.
Richard Heck [Thu, 25 Apr 2013 14:28:22 +0000 (10:28 -0400)]
Just a bit of renaming.

11 years agoFix the size of the hAlign combobox in GuiTabular
Vincent van Ravesteijn [Thu, 25 Apr 2013 20:35:56 +0000 (22:35 +0200)]
Fix the size of the hAlign combobox in GuiTabular

The default sizeAdjustPolicy is AdjustToContentsOnFirstShow. As the
combobox is initially filled with all items, it will not change size if we
later remove the 'At Decimal Separator' item.

11 years agoCPack: Do not use CPACK_SET_DESTDIR on Windows
Vincent van Ravesteijn [Thu, 25 Apr 2013 19:18:41 +0000 (21:18 +0200)]
CPack: Do not use CPACK_SET_DESTDIR on Windows

11 years agoFix CMake on Windows
Vincent van Ravesteijn [Thu, 25 Apr 2013 18:18:46 +0000 (20:18 +0200)]
Fix CMake on Windows

11 years agoFix bug #3199: change-next may leave empty lines behind
Jean-Marc Lasgouttes [Wed, 24 Apr 2013 10:04:49 +0000 (12:04 +0200)]
Fix bug #3199: change-next may leave empty lines behind

Using Cursor::setCursor or even BufferView::setCursor is often a bad
idea since it does not run DEPM. In this case (and other cases in
f&replace code) it is better to use BufferView::mouseSetCursor (which
should maybe be renamed...).

11 years agoconverter: change 'ps2pdf13' to 'ps2pdf'
Scott Kostyshak [Thu, 11 Apr 2013 02:56:35 +0000 (22:56 -0400)]
converter: change 'ps2pdf13' to 'ps2pdf'

ps2pdf by default produces the PDF 1.4 format. The PDF 1.3 format was
released in 2000. PDF 1.4 was released in 2001.  LyX specified 1.3 as
the output version in 2002 (c1541c22), perhaps because at the time
PDF 1.4 was only a year old so some viewers did not support it.

11 years agoFix bug #8633: change tracking: paragraph break is restored by undo
Jean-Marc Lasgouttes [Wed, 24 Apr 2013 16:31:34 +0000 (18:31 +0200)]
Fix bug #8633: change tracking: paragraph break is restored by undo

A recordUndo call was missing in this case.

11 years agoAdjust CMake for Qt5
Vincent van Ravesteijn [Sun, 21 Apr 2013 19:42:53 +0000 (21:42 +0200)]
Adjust CMake for Qt5

11 years agoExtend and use qt4_wrap_ui
Vincent van Ravesteijn [Tue, 23 Apr 2013 17:26:15 +0000 (19:26 +0200)]
Extend and use qt4_wrap_ui

11 years agoFix ChkTeX error reporting (#8639)
Scott Kostyshak [Sun, 21 Apr 2013 05:39:19 +0000 (01:39 -0400)]
Fix ChkTeX error reporting (#8639)

ChkTeX errors from a previous run are now cleared from the
error list if ChkTeX exits with no error.

11 years agoGuiRef: only enable "Group" CB if non-empty refs
Scott Kostyshak [Sat, 20 Apr 2013 02:39:17 +0000 (22:39 -0400)]
GuiRef: only enable "Group" CB if non-empty refs

11 years agoGuiRef: do not insert a category as a ref
Scott Kostyshak [Sat, 20 Apr 2013 02:24:16 +0000 (22:24 -0400)]
GuiRef: do not insert a category as a ref

Before, if a user had "Group" checked in GuiRef and double-clicked
on a category, that category would be inserted as a (broken)
reference. Now, when a category is double-clicked, nothing happens.

11 years agoGuiRef: do not hide labels that start with ':'
Scott Kostyshak [Fri, 19 Apr 2013 11:48:15 +0000 (07:48 -0400)]
GuiRef: do not hide labels that start with ':'

If a label starts with ':' and 'Group' is checked,
the label is now shown under "<No prefix>" instead of
not shown.

Note that labels starting with ':' can be valid in LaTeX.

11 years agoGuiRef: only show "<No prefix>" if non-empty
Scott Kostyshak [Fri, 19 Apr 2013 11:48:26 +0000 (07:48 -0400)]
GuiRef: only show "<No prefix>" if non-empty

If "Group" is checked, "<No prefix>" is shown only if there exists a
label with no prefix. Before, it was shown even when it was empty and
even when there were no labels at all.

11 years agoUserGuide.lyx: fix an expression as discussed in the list
Uwe Stöhr [Sun, 21 Apr 2013 20:19:12 +0000 (22:19 +0200)]
UserGuide.lyx: fix an expression as discussed in the list

11 years agoport Spanish doc updates by Ignacio
Uwe Stöhr [Sun, 21 Apr 2013 20:18:43 +0000 (22:18 +0200)]
port Spanish doc updates by Ignacio

11 years agoSpanish UserGuide.lyx: updates by Ignacio
Uwe Stöhr [Sun, 21 Apr 2013 20:01:38 +0000 (22:01 +0200)]
Spanish UserGuide.lyx: updates by Ignacio

- also some changes to the other languages proposed by Ignacio

11 years agoGerman Tutorial.lyx: fix a typo spotted by a user
Uwe Stöhr [Sun, 21 Apr 2013 19:39:20 +0000 (21:39 +0200)]
German Tutorial.lyx: fix a typo spotted by a user

11 years agoFix bug #8636
Georg Baum [Sun, 21 Apr 2013 19:32:53 +0000 (21:32 +0200)]
Fix bug #8636

This was a simple logic error that crept in during refactoring:
If the format does not match, and the converted file has been read,
the string must not be read.

11 years agoMerge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Sun, 21 Apr 2013 19:18:17 +0000 (21:18 +0200)]
Merge branch 'master' of git.lyx.org:lyx

11 years agoFrench UserGuide.lyx: translations by Jean-Pierre
Uwe Stöhr [Sun, 21 Apr 2013 19:17:48 +0000 (21:17 +0200)]
French UserGuide.lyx: translations by Jean-Pierre

11 years agoFic crash for repeated pasting from complex docs
Georg Baum [Sun, 21 Apr 2013 19:15:54 +0000 (21:15 +0200)]
Fic crash for repeated pasting from complex docs

Using a cloned buffer was an idea by Richard, and it works well.

11 years agoUse MathML on the clipboard for formulas in HTML
Georg Baum [Sun, 21 Apr 2013 18:45:56 +0000 (20:45 +0200)]
Use MathML on the clipboard for formulas in HTML

This speeds up the copying, and although not many applications understand
MathML currently (MS word is supposed to understand it), their number should
go up in the future.

11 years agoUserGuide.lyx: next revision step (sec. 3.5 - 3.7 and 6.18)
Uwe Stöhr [Sun, 21 Apr 2013 18:48:31 +0000 (20:48 +0200)]
UserGuide.lyx: next revision step (sec. 3.5 - 3.7 and 6.18)

11 years agoPrefInputUi.ui: change 2 strings
Uwe Stöhr [Sun, 21 Apr 2013 18:20:08 +0000 (20:20 +0200)]
PrefInputUi.ui: change 2 strings

because all over the docs we refer to the keyboard maps as primary and secondary

11 years agoUserGuide.lyx: next revision step
Uwe Stöhr [Sun, 21 Apr 2013 01:57:44 +0000 (03:57 +0200)]
UserGuide.lyx: next revision step

11 years agoFix bug found by Scott concerning copying XHTML to clipboard. We
Richard Heck [Sun, 21 Apr 2013 01:07:07 +0000 (21:07 -0400)]
Fix bug found by Scott concerning copying XHTML to clipboard. We
needed to updateMacros() before doing the export, which required a
bit of code massaging.

11 years agoRevert "Fix the zombie toolbar problem (bug #8520)"
Juergen Spitzmueller [Sat, 20 Apr 2013 09:42:21 +0000 (11:42 +0200)]
Revert "Fix the zombie toolbar problem (bug #8520)"

This reverts commit d00ec4dececeae51c3edb032cf7e97d7bb81f5cf.

11 years agoRevert "avoid redundant toolbar initialization"
Juergen Spitzmueller [Sat, 20 Apr 2013 09:40:40 +0000 (11:40 +0200)]
Revert "avoid redundant toolbar initialization"

This reverts commit 0f26aabeee3663f2cfaa89c983b668486610e564.

It turned out this breaks session.

11 years agofix some more typos spotted by Yuri
Uwe Stöhr [Fri, 19 Apr 2013 21:26:58 +0000 (23:26 +0200)]
fix some more typos spotted by Yuri

11 years agoUpdate boost to 1.53.0
Vincent van Ravesteijn [Fri, 19 Apr 2013 18:32:02 +0000 (20:32 +0200)]
Update boost to 1.53.0

11 years agoWhitespace
Georg Baum [Tue, 16 Apr 2013 19:50:55 +0000 (21:50 +0200)]
Whitespace

11 years agoUpdate boost to 1.53.0
Vincent van Ravesteijn [Fri, 19 Apr 2013 18:32:02 +0000 (20:32 +0200)]
Update boost to 1.53.0

11 years agoPass the binary dir to the configure script to find tex2lyx
Vincent van Ravesteijn [Sat, 30 Mar 2013 13:41:30 +0000 (14:41 +0100)]
Pass the binary dir to the configure script to find tex2lyx

When using CMake, the binary files are stored in <build-dir>/bin. LyX can't fin tex2lyx with the current code. So, we have to point configure.py to explicitly look in the binary dir.

11 years agouk.po: update from Yuri for master
Uwe Stöhr [Fri, 19 Apr 2013 06:48:49 +0000 (08:48 +0200)]
uk.po: update from Yuri for master

also fix some typos spotted by Yuri

11 years agoUserGuide.lyx: next revision step
Uwe Stöhr [Wed, 17 Apr 2013 23:30:32 +0000 (01:30 +0200)]
UserGuide.lyx: next revision step

11 years agoUserGuide.lyx: first step of revision
Uwe Stöhr [Tue, 16 Apr 2013 23:13:49 +0000 (01:13 +0200)]
UserGuide.lyx: first step of revision

- first step of the revision of the English UserGuide from John Hudson

11 years agojasatex.layout: fix 'Acknowledgments' style
Scott Kostyshak [Mon, 15 Apr 2013 21:06:23 +0000 (17:06 -0400)]
jasatex.layout: fix 'Acknowledgments' style

'Acknowledgments' does not belong in the title but did not override
'InTitle 1' inherited from 'Abstract'. Without this patch, the
following error is given:

  output_latex.cpp (1111): Error in latexParagraphs: You should not
  mix title layouts with normal ones.

Thanks to Hashini Senaratne for narrowing down the problem.

11 years agoImplement paste from LaTeX and HTML (bug #3096)
Georg Baum [Sun, 14 Apr 2013 17:45:36 +0000 (19:45 +0200)]
Implement paste from LaTeX and HTML (bug #3096)

As discussed on the list. No automatic contents detection is done, the user
needs to use the special paste menu instead. I used the new TempFile class
for safe temporary file handling.
The documentation would go into section 2.2 of UserGuide.lyx, but I am not
allowed to edit that document.

11 years agoAdd class for threadsafe temp file handling
Georg Baum [Sun, 14 Apr 2013 16:17:56 +0000 (18:17 +0200)]
Add class for threadsafe temp file handling

FileName::tempName() is not thread safe, since the QTemporaryFile object is
immediately deleted after creating it. Therefore, another thread could create
the same temporary file in the time span before the user of FileName::tempName()
recreates it. This is not as theoretical as it may look: I observed that
repeated creation and deletion of QTemporaryFile objects always use the same
name.
This problem is solved by the new class TempFile which should be used like
QTemporaryFile itself.

11 years agoFix bug #8631: Python detection unfinished
Enrico Forestieri [Sun, 14 Apr 2013 11:43:53 +0000 (13:43 +0200)]
Fix bug #8631: Python detection unfinished

11 years agosgml: ignore paragraphs named *dummy*
José Matos [Sun, 14 Apr 2013 10:34:47 +0000 (11:34 +0100)]
sgml: ignore paragraphs named *dummy*

dummy is the name given in the latex backend to simple (usually single) paragraphs and since dummy is not a docbook element it is acceptable to ignore it. It is a reasonal compromise.

11 years agoMake parameter more readable.
Pavel Sanda [Sun, 14 Apr 2013 04:56:52 +0000 (21:56 -0700)]
Make parameter more readable.

11 years agoAdd a DocBook -> PS converter
Scott Kostyshak [Thu, 11 Apr 2013 01:56:18 +0000 (21:56 -0400)]
Add a DocBook -> PS converter

Before, the converter chain for DocBook -> PDF (ps2pdf) was:

  docbook -> DVI
  DVI -> Postscript
  Postscript -> PDF (ps2pdf)

sgmltools has a backend for PostScript so the first two
steps in the above converter chain are now condensed into
one by adding the following converter for docbook -> Postscript:

  sgmltools -b ps $$i

11 years agoinstaller: fix a an UI issue
Uwe Stöhr [Sat, 13 Apr 2013 12:29:07 +0000 (14:29 +0200)]
installer: fix a an UI issue

- also update to Python 2.7.4

11 years agoinstaller: support Canadien
Uwe Stöhr [Sat, 13 Apr 2013 11:37:02 +0000 (13:37 +0200)]
installer: support Canadien

- support spell-checking French (Canada), see bug #8629
- prepare for LyX 2.0.6

11 years agoImprove LaTeX format detection
Georg Baum [Fri, 12 Apr 2013 20:31:48 +0000 (22:31 +0200)]
Improve LaTeX format detection

libmime is a bit lacking here.

11 years agoAlso put HTML on the clipboard when copying
Georg Baum [Fri, 12 Apr 2013 20:12:47 +0000 (22:12 +0200)]
Also put HTML on the clipboard when copying

The HTML export is now mature enough so that it can be used to transfer
formatted text to the clipboard. This enhances interoperability e.g. with
office applications.

11 years agoWork around gnuhtml2latex encoding bug
Georg Baum [Fri, 12 Apr 2013 19:35:50 +0000 (21:35 +0200)]
Work around gnuhtml2latex encoding bug

gnuhtml2latex does not handle encodings at all. Therefore the result is not
imported correctly by tex2lyx if the HTML file is encoded in anything else
than ascii or latin1 (the default of tex2lyx). The simple wrapper script
loads inputenc if needed. It may not be possible to compile the result with
LaTeX, (e.gif utf8 is used), but for running tex2lyx it will work just fine.

11 years agode and es tufte examples: change default to pdf2
Scott Kostyshak [Fri, 12 Apr 2013 07:52:22 +0000 (03:52 -0400)]
de and es tufte examples: change default to pdf2

Consistent with 1b7e9178

11 years agohu/Tutorial.lyx: change default output to pdf2
Scott Kostyshak [Fri, 12 Apr 2013 07:42:15 +0000 (03:42 -0400)]
hu/Tutorial.lyx: change default output to pdf2

11 years agoRemove useless test and add comment.
Richard Heck [Fri, 12 Apr 2013 01:43:01 +0000 (21:43 -0400)]
Remove useless test and add comment.

11 years agoDo less indenting.
Richard Heck [Fri, 12 Apr 2013 01:41:52 +0000 (21:41 -0400)]
Do less indenting.

11 years agoRemove obsolete comment.
Richard Heck [Fri, 12 Apr 2013 01:07:57 +0000 (21:07 -0400)]
Remove obsolete comment.

11 years agoConst.
Richard Heck [Mon, 8 Apr 2013 22:32:02 +0000 (18:32 -0400)]
Const.

11 years agoReplacing git status --porcelain along with output parsing, with a simple git ls...
Tommaso Cucinotta [Sun, 7 Apr 2013 22:52:39 +0000 (23:52 +0100)]
Replacing git status --porcelain along with output parsing, with a simple git ls-files.

git ls-files tells me straight whether or not a file-name is in the repo.
I cannot say the same of git status --porcelain.
See also discussion at: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg177840.html

11 years agoAvoid check mistakenly current folder for .git/.svn/.CVS, when going up the path...
Tommaso Cucinotta [Sun, 7 Apr 2013 00:10:31 +0000 (01:10 +0100)]
Avoid check mistakenly current folder for .git/.svn/.CVS, when going up the path checking for parents.

11 years agoRemove partial support for non-buffer files in VCS
Georg Baum [Wed, 10 Apr 2013 20:31:38 +0000 (22:31 +0200)]
Remove partial support for non-buffer files in VCS

This reverts a small part of 0526eb9d and gets rid of the double calls of
SVN::findFile() and GIT::findFile(). Please note that git detection does
currently not work because of 26dd4d0c.

11 years agolanguages: whitespace only
Uwe Stöhr [Tue, 9 Apr 2013 21:08:15 +0000 (23:08 +0200)]
languages: whitespace only

11 years agolanguages: use a usable encoding for Kazakh
Uwe Stöhr [Tue, 9 Apr 2013 20:04:51 +0000 (22:04 +0200)]
languages: use a usable encoding for Kazakh

- we found out that Kazakh is currently not supported by babel nor polyglossia so that using Kazakh as language will break the compilation, Günter proposed therefore this encoding change until Kazakh is supported.

11 years agoHungarian Tutorial.lyx: revert last change
Uwe Stöhr [Tue, 9 Apr 2013 19:17:19 +0000 (21:17 +0200)]
Hungarian Tutorial.lyx: revert last change

- this is not the way it goes, all Tutorials should stay identical as possible, moreover there is no need to disable PDF bookmarks because the document compiles without problems, moreover I still manage the documentation and as long as there is no beta for LyX 2.1 please keep the fileformat of LyX 2.0
- if you have problems compiling a file, report this as bug or the docmentation mailing list! or at least write me a mail

11 years agoJSS-article.lyx: set default output to pdf2
Scott Kostyshak [Tue, 9 Apr 2013 04:40:54 +0000 (00:40 -0400)]
JSS-article.lyx: set default output to pdf2

The reasons are specified in the note at the top of the template:
It is possible to export with plain LaTeX but an option must be
specified to remove some elements (e.g. JSS logo).

11 years agotufte-{book,handout}: set default output to pdf2
Scott Kostyshak [Tue, 9 Apr 2013 05:23:06 +0000 (01:23 -0400)]
tufte-{book,handout}: set default output to pdf2

If the 'nols' option were set, the files could be output with plain
LaTeX as well; but because letterspacing is an important part of the
Tufte design, letterspacing is preserved and pdf2 is set as the
default output format. This is now explained in a note.

11 years agohu/Tutorial.lyx: do not generate bookmarks
Scott Kostyshak [Tue, 9 Apr 2013 05:10:13 +0000 (01:10 -0400)]
hu/Tutorial.lyx: do not generate bookmarks

By not generating bookmarks, compilation with plain LaTeX works.

Thanks to Jürgen for the solution.

11 years agoFix a few typos in French docs
Scott Kostyshak [Sat, 6 Apr 2013 03:18:27 +0000 (23:18 -0400)]
Fix a few typos in French docs

11 years agoinstaller: support to spell-check Serbian(Latin)
Uwe Stöhr [Mon, 8 Apr 2013 21:42:18 +0000 (23:42 +0200)]
installer: support to spell-check Serbian(Latin)

- also update the Serbian(Cyrillic) dictionary

11 years agolanguages: distinguish between Serbian scripts
Uwe Stöhr [Mon, 8 Apr 2013 21:39:10 +0000 (23:39 +0200)]
languages: distinguish between Serbian scripts

- fixes bug #8628

11 years agoFix another faulty signature
Jean-Marc Lasgouttes [Mon, 8 Apr 2013 13:18:04 +0000 (15:18 +0200)]
Fix another faulty signature