Commit Graph

14064 Commits

Author SHA1 Message Date
Michael Schmitt
31494ad259 * src/OutputParams.h:
* src/Paragraph.cpp:
	* src/OutputParams.cpp: fix LaTeX output in change tracking mode:
	text inside logically deleted insets must always be output as logically
	deleted


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-21 18:10:55 +00:00
Bo Peng
cce9cfc975 fix wrong fix r19160. I did not have an extra \end_layout, but missed a \begin_layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-21 05:45:50 +00:00
Enrico Forestieri
cca027ba14 Add a note to README about a bug affecting python versions <= 2.3.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-21 00:44:26 +00:00
Uwe Stöhr
c0b0fe35fa Spanish EmbeddedObjects.lyx: updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19161 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 20:42:20 +00:00
Bo Peng
f668844789 Remove an extra \end_layout from revert_listings_inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19160 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 19:02:52 +00:00
José Matox
ce87f9dd49 (Atempt to) Fix bug 4048
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19159 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 16:02:24 +00:00
José Matox
6dfd1c17f3 Prepare code for refactorisation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 15:06:48 +00:00
José Matox
d3f7996cdd Move related code together (no code added or deleted)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19157 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 14:25:04 +00:00
Dov Feldstern
85cb159358 Added a comment to the relase notes about non-RTL keymaps
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19156 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 14:07:03 +00:00
José Matox
563bcdb437 Changes from Angus to release notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19155 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 13:48:30 +00:00
Jürgen Spitzmüller
9c06580008 * lib/unicodesymbols: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 12:56:56 +00:00
Jürgen Spitzmüller
586a07709f * lib/lyx2lyx/lyx_1_5.py (revert_unicode):
- reintroduce \n's accidentally removed in revision 19145
	  (fixes bug 4046)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19153 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 10:26:01 +00:00
Jürgen Spitzmüller
db8a268476 * lib/unicodesymbols: fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19152 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 10:23:59 +00:00
Dov Feldstern
11441c8560 Fix a few edge-cases which in the lyx2lyx conversion to format 249
(multi-encoding -> utf8); specifically, the language was being          
incorrectly identified in certain insets, which of course led to
encoding problems.
This fixes part of bug 3613 (http://bugzilla.lyx.org/show_bug.cgi?id=3613).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19151 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 02:10:28 +00:00
Dov Feldstern
6a8b25ba51 Correctly generate latex for font/language/encoding switches inside and around
insets. Up until now this has not been 100% correct, especially in the case
of RTL languages (but not only those).
This fixes bug 1820 (http://bugzilla.lyx.org/show_bug.cgi?id=1820)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19150 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 01:28:20 +00:00
Uwe Stöhr
29be500207 UserGuide.lyx: clean up author entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 23:59:48 +00:00
Michael Schmitt
cf68797031 * lib/doc/doc_toc.py: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19146 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 17:53:00 +00:00
José Matox
aa5848f957 Clean and speedup code in revert_unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 17:15:31 +00:00
Jürgen Spitzmüller
f36e1b4b31 * lib/lyx2lyx/lyx_1_5.py (revert_unicode): fixes by Georg Baum (bug 3985)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 14:59:43 +00:00
José Matox
b3059e2070 Fix bug 4033 (Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19137 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 12:24:01 +00:00
Jürgen Spitzmüller
e12b2d31ed * lib/lyx2lyx/lyx_1_5.py:
- use document.default_layout instead of hardcoded "Standard" layout (bug 4035)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19135 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 10:33:40 +00:00
Abdelrazak Younes
a3abe11974 another safe guard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19134 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 09:12:34 +00:00
Abdelrazak Younes
25fc4d091a another safe guard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19133 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 07:28:47 +00:00
Abdelrazak Younes
ad91d27c28 Obvious crash-fix introduced by 19094.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19132 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 07:24:21 +00:00
Abdelrazak Younes
cdb91bc50b const fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19129 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 06:21:28 +00:00
Uwe Stöhr
6cf6321f82 documentation: remove linuxdoc descriptions (part2)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19124 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 23:34:31 +00:00
Uwe Stöhr
82d2a827b5 documentation: remove linuxdoc descriptions (part1), fixes bug 2787 http://bugzilla.lyx.org/show_bug.cgi?id=2787
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19123 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 23:24:33 +00:00
Uwe Stöhr
e7fffdc821 doc_toc.py: add comment to explain its calling syntax (fixes bug 3798
http://bugzilla.lyx.org/show_bug.cgi?id=3798)
depend.py: dito, and fix file encoding

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19122 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 19:45:11 +00:00
Uwe Stöhr
7223952300 fr.po: updates from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19121 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 19:42:25 +00:00
Bo Peng
f0a35f85c0 Finish simplified Chinese translations. Expect criticisms from users and lots of revisions though.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19120 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 17:10:00 +00:00
Jürgen Spitzmüller
52e5755c84 * src/frontends/qt4/qlkey.h: add AltGr as modifier key (fix bug 4026)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19119 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 16:52:52 +00:00
José Matox
74f45fc0e9 Fix bug 3404 (from Bo Peng)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19114 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 10:49:33 +00:00
José Matox
8397a051fa Improve revert unicode (bug 3958) from Anders Ekberg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19113 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 10:47:44 +00:00
Abdelrazak Younes
1007714d2e Properly fix bug 3258.
* InsetTabular: 
  - remove the is_deleted_ boolean
  - dispatch(): remove the call to updateDialog at the end

* ControlTabular::initialiseParams(): connect to the current tabular if found.

* QTabular::update_contents(): initialiseParams() each time.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 09:55:33 +00:00
Jürgen Spitzmüller
f521c4601d Fix inset drawing issues (bug 3582)
* src/rowpainter.cpp:
	- inNarrowInset: fix method
	- paintPar: repaint if we are in a narrow inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19111 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 09:54:38 +00:00
Jürgen Spitzmüller
3993a0498b * src/insets/Inset.h: fix encoding of author names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19110 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 09:30:38 +00:00
Bo Peng
c3c63e9c9c Simplified Chinese translations, almost done.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19109 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 05:23:47 +00:00
Uwe Stöhr
552d4035eb EmbeddedObjects: fix character for centered dot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19108 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 00:18:54 +00:00
Uwe Stöhr
cc1a5a30f8 hu.po: Hungarian translation updates from Szöke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19107 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 20:25:31 +00:00
Uwe Stöhr
f3b50f9bf1 Intro.lyx: fix name of manual (spotted by Jean-Pierre)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 20:12:42 +00:00
Dov Feldstern
754cdbea0e Reverse numbers in Arabic (Arabi) latex output, so that they are output
correctly. This is not needed for Arabic (ArabTeX), as ArabTeX takes care
of this internally.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19105 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 19:06:33 +00:00
Abdelrazak Younes
3e3955c4f3 more std declaration fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 17:46:54 +00:00
Abdelrazak Younes
ada0bd00f0 more std declaration fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 17:40:44 +00:00
Abdelrazak Younes
01891912bc fix std declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 17:33:36 +00:00
José Matox
aafefdbe26 Fix crash loading old files (http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg57472.html)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 16:46:19 +00:00
Jürgen Spitzmüller
9d89b98987 * src/rowpainter.cpp:
- draw appendix frame only for the main text.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19100 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 13:35:32 +00:00
José Matox
95cf1d65f3 Old lyx files (from 1.0 era) can start with a begin deeper
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 11:53:46 +00:00
Abdelrazak Younes
d3b4961e16 With or without multiview, a crash can happen randomly if the statusbar timer times out after the view is closed. Two reason for that:
1) LyXFunc::lyx_view_ is not set to 0
2) quiting is not set to true.

This patch add safe guards when closing a view and/or exiting.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 09:21:52 +00:00
Abdelrazak Younes
4863cfdf78 Fix this bug:
1) create a doc
2) insert an ert inset
3) right-click the inset
4) new window
5) delete the ert inset: BOOM! 

This commit replace the static hideDialog signal which was in effect shared by all views with a direct call to Dialog::hide().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 09:20:39 +00:00
Abdelrazak Younes
0b555eba87 * BufferView::setCursorFromRow(): reset the Cursor to the main InsetText because that is what is expected afterwards.
This fixes this crash reported by Bennett:

I'm using pdfsync via lyxpipe to have LyX jump to where I click in the .pdf file of an open LyX document. Recently I've been getting crashes. Here's the console output:

Assertion triggered in void lyx::Text::setCursorIntern(lyx::Cursor&, lyx::pit_type, lyx::pos_type, bool, bool) by failing check "this == cur.text()" in file Text2.cpp:746


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 08:37:47 +00:00