]> git.lyx.org Git - lyx.git/log
lyx.git
12 years agoMerge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Sat, 23 Jun 2012 02:29:16 +0000 (04:29 +0200)]
Merge branch 'master' of git.lyx.org:lyx

12 years ago- tex2lyx: support for the polyglossia language variants
Uwe Stöhr [Sat, 23 Jun 2012 02:28:52 +0000 (04:28 +0200)]
- tex2lyx: support for the polyglossia language variants
- XeTeX-polyglossia.tex: simplifications, added some more testcases

12 years agoAdd hint for backward search (cf #8054)
Pavel Sanda [Sat, 23 Jun 2012 02:11:15 +0000 (04:11 +0200)]
Add hint for backward search (cf #8054)

12 years agogenerate_contributions.py: add Nickolay Shashkin and update maintainer status
Uwe Stöhr [Fri, 22 Jun 2012 23:04:41 +0000 (01:04 +0200)]
generate_contributions.py: add Nickolay Shashkin and update maintainer status

12 years agotex2lyx/text.cpp: whitespace fix
Uwe Stöhr [Fri, 22 Jun 2012 22:53:35 +0000 (00:53 +0200)]
tex2lyx/text.cpp: whitespace fix

12 years ago- Preamble.cpp: handle \setxxxlanguage with options
Uwe Stöhr [Fri, 22 Jun 2012 15:19:46 +0000 (17:19 +0200)]
- Preamble.cpp: handle \setxxxlanguage with options
- text.cpp: handle the commands \textxxx with options
- XeTeX-polyglossia.tex: add 2 more testcases

12 years agotex2lyx/XeTeX-polyglossia.tex: add a further test
Uwe Stöhr [Fri, 22 Jun 2012 13:40:40 +0000 (15:40 +0200)]
tex2lyx/XeTeX-polyglossia.tex: add a further test

12 years agomodernCV.lyx: add a note about a required component
Uwe Stöhr [Fri, 22 Jun 2012 13:40:02 +0000 (15:40 +0200)]
modernCV.lyx: add a note about a required component

12 years agoXeTeX-polyglossia.tex: add missing \setotherlanguages
Uwe Stöhr [Fri, 22 Jun 2012 02:43:33 +0000 (04:43 +0200)]
XeTeX-polyglossia.tex: add missing \setotherlanguages

12 years agotex2lyx/text.cpp: \lang is already handled by parse_text
Uwe Stöhr [Fri, 22 Jun 2012 02:41:08 +0000 (04:41 +0200)]
tex2lyx/text.cpp: \lang is already handled by parse_text

12 years ago- tex2lyx/text.cpp:
Uwe Stöhr [Fri, 22 Jun 2012 01:41:00 +0000 (03:41 +0200)]
- tex2lyx/text.cpp:
 - bugfix for the parsing of polyglossia's paragraph environments
 - new support for polyglossia's language change commands \textxxx
- XeTeX-polyglossia.tex: add more testcases and add a missing \end

12 years ago- FORMAT: notice fileformat change
Uwe Stöhr [Thu, 21 Jun 2012 23:20:29 +0000 (01:20 +0200)]
- FORMAT: notice fileformat change
- version.h: fix comments

12 years agodrop support for ArmTeX as its non-standard armscii8 encoding was quite unusable...
Uwe Stöhr [Thu, 21 Jun 2012 23:12:43 +0000 (01:12 +0200)]
drop support for ArmTeX as its non-standard armscii8 encoding was quite unusable in real life, use polyglossia/XeTeX instead as clean solution via Unicode; fileformat change; fixes the second part of bug #8026

12 years agoLaTeXFeatures.cpp: polyglossia is only required if a language is not supported by...
Uwe Stöhr [Thu, 21 Jun 2012 23:08:51 +0000 (01:08 +0200)]
LaTeXFeatures.cpp: polyglossia is only required if a language is not supported by babel _and_ also no other special package; patch by Jürgen, to fix the regression mentioned in bug #8026

12 years agotex2lyx/table.cpp: please Vincent as discussed
Uwe Stöhr [Thu, 21 Jun 2012 11:14:16 +0000 (13:14 +0200)]
tex2lyx/table.cpp: please Vincent as discussed

12 years ago* INSTALL
Pavel Sanda [Thu, 21 Jun 2012 09:14:18 +0000 (11:14 +0200)]
* INSTALL

12 years ago* README.localization
Pavel Sanda [Thu, 21 Jun 2012 09:12:02 +0000 (11:12 +0200)]
* README.localization

12 years agoTutorial.lyx: fox a typo spotted by a user
Uwe Stöhr [Thu, 21 Jun 2012 02:44:41 +0000 (04:44 +0200)]
Tutorial.lyx: fox a typo spotted by a user

12 years agoFrench UserGuide.lyx: translations by Jean-Pierre
Uwe Stöhr [Thu, 21 Jun 2012 01:25:45 +0000 (03:25 +0200)]
French UserGuide.lyx: translations by Jean-Pierre

12 years agotex2lyx/table.cpp: fix bug #8204, also OK for branch or too late?
Uwe Stöhr [Wed, 20 Jun 2012 21:24:35 +0000 (23:24 +0200)]
tex2lyx/table.cpp: fix bug #8204, also OK for branch or too late?

12 years agoPartly Revert "- INSTALL.Win32: revise and update the description"
Vincent van Ravesteijn [Fri, 15 Jun 2012 10:16:15 +0000 (12:16 +0200)]
Partly Revert "- INSTALL.Win32: revise and update the description"

This partly reverts commit eeda1c099ed55d6883f8f4f59accd61fc8a4fc64.

LyX still uses CMake to compile LyX on Windows.

12 years agoAllow dead caron to be recognized in our key bindings.
Pavel Sanda [Thu, 14 Jun 2012 10:44:16 +0000 (12:44 +0200)]
Allow dead caron to be recognized in our key bindings.
This allows to workaround the problem in #8198 - on some systems
we get dead caron as a single character instead of whole combined
character. I suppose this has rather something to do with X settings
than LyX per se.

12 years agoMake debug messages more readable
Jean-Marc Lasgouttes [Mon, 11 Jun 2012 13:03:29 +0000 (15:03 +0200)]
Make debug messages more readable

Shorten the file names output by LYXERR so that they start right after /src/.

12 years agoAdd DefaultStyle to siamltex.layut (bug #8194)
Juergen Spitzmueller [Sat, 9 Jun 2012 16:29:08 +0000 (18:29 +0200)]
Add DefaultStyle to siamltex.layut (bug #8194)
Patch by Dima Batenkov.

12 years agoLet getOutputFlavor return the correct flavors for the latex varieties
Juergen Spitzmueller [Sat, 9 Jun 2012 13:11:34 +0000 (15:11 +0200)]
Let getOutputFlavor return the correct flavors for the latex varieties

12 years agosome less language hardcoding
Juergen Spitzmueller [Sat, 9 Jun 2012 09:32:34 +0000 (11:32 +0200)]
some less language hardcoding

12 years agoWhitespace
Juergen Spitzmueller [Fri, 8 Jun 2012 18:31:20 +0000 (20:31 +0200)]
Whitespace

12 years agoavoid empty class options
Juergen Spitzmueller [Fri, 8 Jun 2012 17:48:24 +0000 (19:48 +0200)]
avoid empty class options

12 years agore-add change_adapter triggering
Juergen Spitzmueller [Fri, 8 Jun 2012 17:21:30 +0000 (19:21 +0200)]
re-add change_adapter triggering

12 years agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Fri, 8 Jun 2012 10:55:24 +0000 (12:55 +0200)]
Merge branch 'master' of git.lyx.org:lyx

12 years agoDo not hardcode polyglossia-only languages
Juergen Spitzmueller [Fri, 8 Jun 2012 10:54:57 +0000 (12:54 +0200)]
Do not hardcode polyglossia-only languages

12 years ago* sk.po
Kornel Benko [Fri, 8 Jun 2012 08:46:42 +0000 (10:46 +0200)]
* sk.po

12 years ago* sk.po
Kornel Benko [Fri, 8 Jun 2012 08:36:48 +0000 (10:36 +0200)]
* sk.po

12 years agoGuiDocument.cpp: some languages only work with polyglossia, therefore enable non...
Uwe Stöhr [Fri, 8 Jun 2012 03:39:00 +0000 (05:39 +0200)]
GuiDocument.cpp: some languages only work with polyglossia, therefore enable non-TeX fonts when one of them is used as document language

12 years ago- FORMAT: document latest change
Uwe Stöhr [Fri, 8 Jun 2012 00:42:22 +0000 (02:42 +0200)]
- FORMAT: document latest change
- tex2lyx/text.cpp: fix a comment

12 years ago- support a bunch of new languages (fileformat change)
Uwe Stöhr [Fri, 8 Jun 2012 00:37:36 +0000 (02:37 +0200)]
- support a bunch of new languages (fileformat change)
- tex2lyx support for
  - fontspec fonts
  - polyglossia

12 years ago- LaTeXConfig.lyx: accept Georg's changes and add bidi
Uwe Stöhr [Thu, 7 Jun 2012 21:08:02 +0000 (23:08 +0200)]
- LaTeXConfig.lyx: accept Georg's changes and add bidi
- chkconfig.ltx: bidi and iftex are necessary for all right-to-left languages if XeTeX or LuaTeX is used

12 years agoRestore default output format after tex fonts switch (#8191)
Juergen Spitzmueller [Thu, 7 Jun 2012 19:27:01 +0000 (21:27 +0200)]
Restore default output format after tex fonts switch (#8191)

12 years agoFix bug #8027: Edit->Paste Special->... does not replace selected text
Jean-Marc Lasgouttes [Thu, 7 Jun 2012 16:14:17 +0000 (18:14 +0200)]
Fix bug #8027: Edit->Paste Special->... does not replace selected text

Delete the selection before all paste-like lfuns. This was previoulsy done
only for LFUN_PASTE, the others at best unset the selection.

12 years agoHandle sending a FuncRequest object to lyxerr
Jean-Marc Lasgouttes [Thu, 7 Jun 2012 15:19:04 +0000 (17:19 +0200)]
Handle sending a FuncRequest object to lyxerr

  * Implement the corresponding operator<<

  * Use it in a couple new places

12 years agolanguages: fix and complete language codes
Uwe Stöhr [Thu, 7 Jun 2012 14:57:56 +0000 (16:57 +0200)]
languages: fix and complete language codes

12 years agoTypo.
Richard Heck [Wed, 6 Jun 2012 22:20:02 +0000 (18:20 -0400)]
Typo.

12 years agoAllow LyX format to be written to View>Source window.
Richard Heck [Tue, 5 Jun 2012 02:01:26 +0000 (22:01 -0400)]
Allow LyX format to be written to View>Source window.

12 years agoMove TexRow stuff near where it is used.
Richard Heck [Mon, 4 Jun 2012 22:30:37 +0000 (18:30 -0400)]
Move TexRow stuff near where it is used.

12 years agoRevert "Revert "Tentative fix to #8159: Undo doesn't restore environment depth correc...
Jean-Marc Lasgouttes [Tue, 5 Jun 2012 10:53:22 +0000 (12:53 +0200)]
Revert "Revert "Tentative fix to #8159: Undo doesn't restore environment depth correctly""

This is becoming crazy :)

This reverts commit 5b531b56efc29fbf32efd447274e559f7d28665c.

12 years agoRevert "Second tentative fix to #8159: Undo doesn't restore environment depth correctly"
Jean-Marc Lasgouttes [Tue, 5 Jun 2012 10:52:42 +0000 (12:52 +0200)]
Revert "Second tentative fix to #8159: Undo doesn't restore environment depth correctly"

Did not mean to commit that.

This reverts commit 8f01556236591a1d72c427159974d261b71198ee.

12 years agoTypos
Jean-Marc Lasgouttes [Tue, 5 Jun 2012 10:22:13 +0000 (12:22 +0200)]
Typos

12 years agoSecond tentative fix to #8159: Undo doesn't restore environment depth correctly
Jean-Marc Lasgouttes [Mon, 4 Jun 2012 16:02:59 +0000 (18:02 +0200)]
Second tentative fix to #8159: Undo doesn't restore environment depth correctly

In this version, the idea is to record undo at the place where the document is modified, which is definitely cleaner.

1/ in Buffer::updateBuffer, add a recordUndo, with the caveat that a
   const_cast has to be used

2/ in GuiApplication::dispatch, add an extra undo group that
   encompasses the updateBuffer call. Some other undo groups may be
   redundant now, but it is not a problem since they do not cost
   anything.

12 years agoRevert "Tentative fix to #8159: Undo doesn't restore environment depth correctly"
Jean-Marc Lasgouttes [Mon, 4 Jun 2012 15:21:15 +0000 (17:21 +0200)]
Revert "Tentative fix to #8159: Undo doesn't restore environment depth correctly"

This reverts commit e3854bb59b98ee4f7514cf2ca5585cb6be949186.

12 years agoStyle.
Richard Heck [Mon, 4 Jun 2012 17:42:46 +0000 (13:42 -0400)]
Style.

12 years agoFix crash reported by Tommaso:
Richard Heck [Mon, 4 Jun 2012 17:39:24 +0000 (13:39 -0400)]
Fix crash reported by Tommaso:
  http://marc.info/?l=lyx-devel&m=133876924408431&w=2
The problem here is that the copy_params() routine in FindAndReplace.cpp
created a new DocumentClass, but it never updated its Buffer to reflect
that new DocumentClass. So its Paragraphs still contained points to the
Layouts in the old DocumentClass which, since ead697d4b6c7, gets garbage
collected once it is no longer needed. So the Layout doesn't exist, and
we crash.

12 years agoFix crash reported by Scott. Forgot to change some pointers to
Richard Heck [Mon, 4 Jun 2012 16:25:02 +0000 (12:25 -0400)]
Fix crash reported by Scott. Forgot to change some pointers to
shared_ptr.

12 years agoFix bug #7956: Assertion When Trying to Paste Into Table
Jean-Marc Lasgouttes [Fri, 1 Jun 2012 10:34:51 +0000 (12:34 +0200)]
Fix bug #7956: Assertion When Trying to Paste Into Table

For some unknown reason, the paste code likes to call Cursor::setSelection(), which is not appropriate here since we are not trying to set a selection at this point.

12 years agoUserGuide.lyx: add a LyX 2.1-specific sentence proposed by Jürgen
Uwe Stöhr [Sun, 3 Jun 2012 23:17:27 +0000 (01:17 +0200)]
UserGuide.lyx: add a LyX 2.1-specific sentence proposed by Jürgen

12 years agoUserGuide.lyx: some changes for the thesaurus description proposed by Jürgen
Uwe Stöhr [Sun, 3 Jun 2012 23:12:02 +0000 (01:12 +0200)]
UserGuide.lyx: some changes for the thesaurus description proposed by Jürgen

12 years agouk.po: updates from Yuri
Uwe Stöhr [Sun, 3 Jun 2012 22:07:43 +0000 (00:07 +0200)]
uk.po: updates from Yuri

12 years agoinstaller: implement new method to select hunspell and thesaurus dictionaries and...
Uwe Stöhr [Sun, 3 Jun 2012 21:55:21 +0000 (23:55 +0200)]
installer: implement new method to select hunspell and thesaurus dictionaries and to download the selected ones (final part 2)

12 years agolanguages: add missing language codes, fixes bug #8183
Uwe Stöhr [Sun, 3 Jun 2012 21:49:24 +0000 (23:49 +0200)]
languages: add missing language codes, fixes bug #8183

12 years agoinstaller: implement new method to select hunspell and thesaurus dictionaries and...
Uwe Stöhr [Sun, 3 Jun 2012 15:17:01 +0000 (17:17 +0200)]
installer: implement new method to select hunspell and thesaurus dictionaries and to download the selected ones (part 1)

12 years agosplash.lyx: port from branch
Uwe Stöhr [Sun, 3 Jun 2012 15:09:53 +0000 (17:09 +0200)]
splash.lyx: port from branch

12 years agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Sun, 3 Jun 2012 08:32:20 +0000 (10:32 +0200)]
Merge branch 'master' of git.lyx.org:lyx

12 years agoAdd missing undo recording.
Juergen Spitzmueller [Sun, 3 Jun 2012 08:31:38 +0000 (10:31 +0200)]
Add missing undo recording.
This adds a change of the printindex type (with multiple indices) to the undo stack and marks the buffer dirty on that action (bug #8182)

12 years agoinstaller: install a Perl interpreter to MiKTeX to fix bug #8181
Uwe Stöhr [Sat, 2 Jun 2012 18:40:13 +0000 (20:40 +0200)]
installer: install a Perl interpreter to MiKTeX to fix bug #8181

12 years ago- UserGuide.lyx: 3 small fixes
Uwe Stöhr [Sat, 2 Jun 2012 01:18:44 +0000 (03:18 +0200)]
- UserGuide.lyx: 3 small fixes
- German UserGuide.lyx: translation again

12 years agoinstaller: a new MiKTeX installer version is out
Uwe Stöhr [Sat, 2 Jun 2012 00:10:24 +0000 (02:10 +0200)]
installer: a new MiKTeX installer version is out

12 years ago- UserGuide.lyx: adapt style of description of split indexes (the feature is btw...
Uwe Stöhr [Sat, 2 Jun 2012 00:09:36 +0000 (02:09 +0200)]
- UserGuide.lyx: adapt style of description of split indexes (the feature is btw. currently broken)
- German UserGuide.lyx: some further translations
- Japanese UserGuide.lyx: add missing section about split indexes

12 years ago- UserGuide.lyx: fix some typos and an unclear description
Uwe Stöhr [Fri, 1 Jun 2012 00:27:36 +0000 (02:27 +0200)]
- UserGuide.lyx: fix some typos and an unclear description
- German UserGuide.lyx: more translations and corrections

12 years agoUserGuide.lyx:
Uwe Stöhr [Thu, 31 May 2012 22:54:24 +0000 (00:54 +0200)]
UserGuide.lyx:
- decline today's change because the text states "is explained in the chapter Tables of the Embedded Objects manual" So no need to describe LaTEX special again
- revert fileformat change; please keep the fileformat is possible unless you describe a new feature of LyX 2.1

12 years agoDeal with memory issue reported some time ago in connection with DocumentClass
Richard Heck [Tue, 13 Mar 2012 16:13:31 +0000 (12:13 -0400)]
Deal with memory issue reported some time ago in connection with DocumentClass
objects. The problem that led to the leak is that these objects can be held in
memory long after the Buffer that created them is gone, mostly due to their
use in the CutStack. So they were previously held in a storage facility, the
DocumentClassBundle. Unfortunately, they were now being created too often,
especially by cloning. It's not really a leak, because they're accessible, but
we weren't ever destroying them.

This new approach uses a shared_ptr instead.

Thanks to Vincent for pointing out const_pointer_cast.

12 years agoMinor cleanup: We should use the usual conventions for
Richard Heck [Tue, 17 Apr 2012 20:44:04 +0000 (16:44 -0400)]
Minor cleanup: We should use the usual conventions for
InsetLayout names.

12 years agoProperly initialize variable. This should fix the problem
Richard Heck [Thu, 31 May 2012 16:02:21 +0000 (12:02 -0400)]
Properly initialize variable. This should fix the problem
reported here:
http://marc.info/?l=lyx-devel&m=133775786222603&w=2
by Scott.

12 years agoTabular.ui: Moving Latex argument field to column section.
Pavel Sanda [Thu, 31 May 2012 13:36:33 +0000 (15:36 +0200)]
Tabular.ui: Moving Latex argument field to column section.
Forgotten patch from John Tapsell.

Documentation moved from UI to User Guide.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173987.html

This was here for ages, no need to rush into branch.

12 years agoFix #8180: Page break on current row can't be unchecked.
Pavel Sanda [Thu, 31 May 2012 11:56:07 +0000 (13:56 +0200)]
Fix #8180: Page break on current row can't be unchecked.
Patch from John Tapsell

12 years agoForgotten permissions
Pavel Sanda [Thu, 31 May 2012 11:01:39 +0000 (13:01 +0200)]
Forgotten permissions

12 years agoPort suggestion to trunk
Pavel Sanda [Thu, 31 May 2012 10:47:08 +0000 (12:47 +0200)]
Port suggestion to trunk

12 years agoForgotten patch from Scott Kostyshak.
Pavel Sanda [Thu, 31 May 2012 10:31:55 +0000 (12:31 +0200)]
Forgotten patch from Scott Kostyshak.

12 years agoported from branch:
Uwe Stöhr [Wed, 30 May 2012 22:45:26 +0000 (00:45 +0200)]
ported from branch:
- German UserGuide.lyx: many translations
- English UserGuide.lyx: some grammar and some style fixes

12 years ago- German UserGuide.lyx: some translations
Uwe Stöhr [Tue, 29 May 2012 23:24:03 +0000 (01:24 +0200)]
- German UserGuide.lyx: some translations
- German Additional.lyx: some ports from branch
- English UserGuide.lyx: a grammar fix

12 years agoFix crash when removing last converter (bug 8178)
Juergen Spitzmueller [Tue, 29 May 2012 12:21:29 +0000 (14:21 +0200)]
Fix crash when removing last converter (bug 8178)

12 years agoLoad bibtopic after hyperref (bug #8005)
Juergen Spitzmueller [Tue, 29 May 2012 11:25:30 +0000 (13:25 +0200)]
Load bibtopic after hyperref (bug #8005)

12 years agoGerman userGuide: port some changes from branch
Uwe Stöhr [Mon, 28 May 2012 22:49:57 +0000 (00:49 +0200)]
German userGuide: port some changes from branch

12 years agoA few more small optimizations noted along the way.
Richard Heck [Mon, 28 May 2012 22:21:22 +0000 (18:21 -0400)]
A few more small optimizations noted along the way.

12 years ago"Performance" fixes suggested by cppcheck
Jean-Marc Lasgouttes [Mon, 28 May 2012 20:41:32 +0000 (22:41 +0200)]
"Performance" fixes suggested by cppcheck

While cppcheck did not turn out any suspicious error messages, using
the "performance" flag highlighted several nitpicks in three categories
 * do not use it++ for iterators, ++it is better
 * do not use size() to test for emptyness, empty() is here
 * do not use "const T" as a function parameter, "const & T" is better

I doubt that any of these is a real performance problem, but the code is cleaner anyway.

12 years agoapostrophe must nt be terminated
Juergen Spitzmueller [Sun, 27 May 2012 11:10:54 +0000 (13:10 +0200)]
apostrophe must nt be terminated

12 years agoinstaller:
Uwe Stöhr [Sun, 27 May 2012 00:16:57 +0000 (02:16 +0200)]
installer:
- install also Qt's image plugins for faster image loading
- update some versions and paths

12 years agocmake/build.bat: correct a path proposal
Uwe Stöhr [Sun, 27 May 2012 00:15:18 +0000 (02:15 +0200)]
cmake/build.bat: correct a path proposal

12 years agolyx2lyx/lyx_2_1.py: remove 2 warnings I accidentally just committed
Uwe Stöhr [Sat, 26 May 2012 17:02:32 +0000 (19:02 +0200)]
lyx2lyx/lyx_2_1.py: remove 2 warnings I accidentally just committed

12 years agolyx2lyx/lyx_2_1.py: fix #8172
Uwe Stöhr [Sat, 26 May 2012 17:00:03 +0000 (19:00 +0200)]
lyx2lyx/lyx_2_1.py: fix #8172

12 years agoadd missing IPA glyph
Juergen Spitzmueller [Sat, 26 May 2012 14:51:37 +0000 (16:51 +0200)]
add missing IPA glyph

12 years agoFix macro termination in IPA inset if next character uses a TIPA shortcut
Juergen Spitzmueller [Sat, 26 May 2012 14:36:24 +0000 (16:36 +0200)]
Fix macro termination in IPA inset if next character uses a TIPA shortcut

12 years agocompile fix
Pavel Sanda [Sat, 26 May 2012 08:16:20 +0000 (10:16 +0200)]
compile fix

12 years agoFix painting of hidden tabbar on gtk
Vincent van Ravesteijn [Fri, 25 May 2012 17:05:38 +0000 (19:05 +0200)]
Fix painting of hidden tabbar on gtk

When there is a single document open, the tabbar gets hidden. The only and selected tab is still visible though as a break in the line delining the tabwidget. To fix this we paint the tabwidget ourselves and remove the presence of the hidden tab.

12 years agoFix bug #8170: Crash when client disconnects unexpectedly
Vincent van Ravesteijn [Thu, 24 May 2012 11:55:41 +0000 (13:55 +0200)]
Fix bug #8170: Crash when client disconnects unexpectedly

When the socket does not exist anymore, we should not try to access it. In
trying to do so, std::map will create a new shared_ptr but this pointer
doesn't point at anything. To prevent this, we explicitly check whether
the socket is available.

12 years ago* cs/Tutorial.lyx typos
Pavel Sanda [Wed, 23 May 2012 19:58:42 +0000 (21:58 +0200)]
* cs/Tutorial.lyx typos

12 years agoTrac browse SVN -> GIT
Pavel Sanda [Wed, 23 May 2012 15:35:08 +0000 (17:35 +0200)]
Trac browse SVN -> GIT

12 years agoStyle.
Richard Heck [Wed, 23 May 2012 12:53:14 +0000 (08:53 -0400)]
Style.

12 years agoFix bug #8166: Crash on clicking away from empty last paragraph
Vincent van Ravesteijn [Wed, 23 May 2012 06:02:40 +0000 (08:02 +0200)]
Fix bug #8166: Crash on clicking away from empty last paragraph

This reverts the previous fix in [0a33374c/lyxgit] and fixes it
differently.

We always have to call 'notifyCursorLeaves', but we only have to make sure
that we call the 'fixIfBroken()' functions first.

12 years agoFix bug #8166: Crash on clicking away from empty paragraph
Vincent van Ravesteijn [Tue, 22 May 2012 23:31:43 +0000 (01:31 +0200)]
Fix bug #8166: Crash on clicking away from empty paragraph

We rely on the 'or' operator to prevent us from calling
'notifyCursorLeaves' if one of the two cursors is broken. This doesn't
work when using the '|' operator. The compiler 'optimizes' the code in
such a way that we always call notifyCursorLeaves anyway. Using the '||'
operator fixes this.

12 years agoTentative fix to #8159: Undo doesn't restore environment depth correctly
Jean-Marc Lasgouttes [Sun, 20 May 2012 22:11:23 +0000 (00:11 +0200)]
Tentative fix to #8159: Undo doesn't restore environment depth correctly

The undo range is extended to encompass all the paragraph after the end that
are a non-zero depth. The reason is that these paragraphs may see their depth
reduced if the last paragraph sees its depth reduced.

Note that there is a memory cost, since we store paragraphs than may not be
modified in practice. This may matter for some pathological files (people
putting all their document at depth 1 for a weird reason?)

I tried to be careful, but this can introduce new bugs. Please test.

12 years agoJust comment
Pavel Sanda [Tue, 22 May 2012 13:54:26 +0000 (15:54 +0200)]
Just comment