Commit Graph

13547 Commits

Author SHA1 Message Date
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
Bo Peng
133fe199a5 More simplified Chinese translations (2338 done, 1208 missing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-16 22:31:00 +00:00
Uwe Stöhr
a76c162cec installer: support Bo's latest simplified Chinese menu translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19091 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-16 22:02:03 +00:00
Uwe Stöhr
a5c7bdc41e EmbeddedObjects: add a note about bold typewriter fonts (by Jürgen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19090 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-16 21:18:28 +00:00
Michael Schmitt
e13666fb79 * po/de.po: translate two new messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-16 17:38:22 +00:00
Michael Schmitt
d5597c24c4 * po/*.po:
* po/POTFILES.in: remerge


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19088 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-16 17:23:58 +00:00
Bo Peng
59d3791ca1 More simplified Chinese translations. This is *a lot* of work!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-15 04:33:33 +00:00
Jürgen Spitzmüller
402a13ba60 * src/support/docstream.cpp (iconv_codecvt_facet::do_max_length()):
- consider that not only utf8, but also most cjk encodings, are multibyte encodings
	  (fixes bug 4012)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-14 13:00:24 +00:00
Jürgen Spitzmüller
a97a8cde44 * INSTALL: small correction wrt qt4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19075 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-14 12:40:12 +00:00
Uwe Stöhr
b0ec9f2070 he.po: Updates from Ran
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-14 12:16:22 +00:00
Uwe Stöhr
8be3b867fe installer: support more Aspell languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19073 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-14 12:15:37 +00:00
Bo Peng
d1048ba539 a lot more simplified Chinese translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19071 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 19:39:46 +00:00
Abdelrazak Younes
1f70aa50d4 Fix assertion when using paragraph-up/down. This code was wrongly erased in revision 19040.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19069 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 16:12:44 +00:00
Jürgen Spitzmüller
c3d9485c5a * configure.ac:
* development/cmake/config.h.cmake:
* development/scons/SConstruct:
	- fix casing of __FreeBSD__ macro, also check for __FreeBSD_kernel__
	  (fixes bug 3537)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 14:21:50 +00:00
Uwe Stöhr
b58b07c06d installer: update icon for 1.5.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19063 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 23:45:40 +00:00
Jürgen Spitzmüller
ea244f4b0d * src/Converter.cpp:
- check if buffer exists before querying for buffer->temppath() 
	   (and use package().tempdir() as a fallback) [fixes bug 4011]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19062 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 16:30:07 +00:00
Jürgen Spitzmüller
ca5e3cfd45 * src/frontends/controllers/frontend_helpers.cpp:
- backout revision 18988

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19061 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 16:22:24 +00:00
Jean-Marc Lasgouttes
0234b98b10 2007-07-12 André Pönitz <poenitz@lyx.org>
* InsetMathOverset.cpp (draw): fix drawing when the first argument
	has a non-zero descent.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19060 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 14:25:24 +00:00