Commit Graph

10648 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
2aee7c7b38 * src/support/docstring.h: include <cstring>
* src/frontends/qt4/TocModel.cpp: include <climits>
	- both needed on Mac OS 10.5.1/Xtools 3.0 (reported by Roger McMurtrie)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21936 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-03 07:08:58 +00:00
Pavel Sanda
d8d717fc36 Fix handling of Insert Plain Text dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21932 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 22:33:55 +00:00
Uwe Stöhr
411d45b165 tex2lyx/text.cpp: support for framed and shaded notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21929 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 18:39:27 +00:00
Jürgen Spitzmüller
aedf0bbf1d * src/BufferParams.cpp (readToken):
- fix assertion introduced with rev. 21799 (bug 4395).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21924 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 17:57:49 +00:00
Uwe Stöhr
439dc6247e tex2lyx/text.cpp: support for \newline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 17:38:38 +00:00
Jürgen Spitzmüller
1ac6b38ea5 * src/insets/InsetTabular.cpp:
- sanitize cursor after insertion via LFUN_CLIPBOARD_PASTE 
	   or LFUN_FILE_INSERT_PLAINTEXT (bug 4368).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21921 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 15:21:52 +00:00
Jürgen Spitzmüller
6cf125e841 * src/frontends/qt4/GuiApplication.cpp:
- backport rev. 20419 and rev. 20531 from trunk (part of bug 4385):
	   http://www.lyx.org/trac/changeset/20419:
		GuiApplication::notify(): don't crash with abort() but exit gracefully 
		when an exception is caught. try to catch LyX specific exceptions.
	   http://www.lyx.org/trac/changeset/20531:
		Gives the user some information about the crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21914 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 11:28:29 +00:00
Bo Peng
5efe7027dc If there exists a local layout file, use the local copy instead of the system one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21799 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 15:37:41 +00:00
Jürgen Spitzmüller
6be395541c * src/output_latex.cpp:
- prevent wrong whitespace by trailing '%' on line endings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21743 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 15:00:47 +00:00
Jürgen Spitzmüller
85e5d42e5f * src/insets/InsetTabular.cpp (doDispatch):
- add missing recordUndo to LFUN_CLIPBOARD_PASTE /
	  LFUN_PRIMARY_SELECTION_PASTE (bug 4371)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21716 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 09:10:40 +00:00
Jürgen Spitzmüller
6453bd97d8 * src/ParagraphMetrics::computeRowSignature():
- Fix crc computing (wrt multibyte chars)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21679 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 15:07:00 +00:00
Jean-Marc Lasgouttes
1ae45c1a8c make sure that moc files are removed on "make clean"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21675 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 11:14:30 +00:00
Jürgen Spitzmüller
689e0ba8e1 * LaTeXFeatures.cpp (useLanguage):
- require the CJK package for CJK languages.
* BufferParams.cpp (writeEncodingPreamble):
	- load CJK package if required.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21651 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 12:35:50 +00:00
Jean-Marc Lasgouttes
3370670758 remove properly [[context]] strings from translated messages
src/Messages.cpp: general cleanup.
	(cleanTranslation): remove [[context]] strings from a docstring. Use
	plain string manupulation instead of regular expressions.
	(get): use cleanTranslation also on strings that got translated.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21642 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 14:37:22 +00:00
Jean-Marc Lasgouttes
d398204ac9 * src/Text2.cpp (deleteEmptyParagraphMechanism): do not reset the
appendix marker if the deleted paragraph was the last one (bug 4352)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21640 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 13:41:08 +00:00
Jürgen Spitzmüller
8f400f80b4 * src/insets/InsetOptArg.{cpp,h}:
- implement getStatus and disallow paragraph breaks (bug 4359).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21634 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 21:16:23 +00:00
Enrico Forestieri
282eb6e257 Fix bug that files with nonascii filenames are always reported
as externally modified.

	* src/Buffer.{cpp,h} (saveCheckSum): switch to FileName class.
	(Buffer::readFile): filenames are always stored as UTF-8 in the
	FileName class.

	* src/callback.cpp (writeAs): use FileName when calling saveCheckSum.

	* src/support/FileName.h: correct comment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21626 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 13:46:00 +00:00
Jürgen Spitzmüller
77c1dbe3ba * src/Text.cpp:
- safer (but slightly less nice) fix for bug 4334. Fixes bug 4347 that was introduced in r21488.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21540 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 10:48:13 +00:00
Abdelrazak Younes
dd172d53ed Fix bug 4335:
http://bugzilla.lyx.org/show_bug.cgi?id=4335

I say "assertion" in status.15x because the crash happens only in debug mode. Of course, as assertion are enabled in the Windows packages these are equivalent to crashes...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21528 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-09 10:06:09 +00:00
Jürgen Spitzmüller
c0a625149f * src/Text.cpp (getPossibleLabel):
- remove line breaks from label proposals (fixes bug 4334)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21488 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 15:26:06 +00:00
Jürgen Spitzmüller
382db53914 * src/BufferView.cpp:
- move the LFUN_OUTLINE_*'s out of here ...
* src/Text3.cpp:
	- to this place. This fixes a crash (bug 4330).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21473 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 14:39:30 +00:00
Jürgen Spitzmüller
452d7e28c0 * src/frontends/qt4/QSpellchecker.cpp:
- fix bug 2218 (spellchecher skips first word)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21470 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 13:46:52 +00:00
Bernhard Roider
4abde70bc3 correct previous commit (sync with trunk)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21446 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 17:24:33 +00:00
Bernhard Roider
53cd7838e4 more complete fix for bug 4318 and variants (see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg130765.html)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21445 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 16:53:16 +00:00
Bernhard Roider
5275a25cf4 fix bug 4301:
BufferView::moveToPosition(..) failed for every position inside an inset because buffer_->text() was used instead of cursor_.text() to set the current font.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21442 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 16:40:14 +00:00
Jürgen Spitzmüller
508f44d8be * src/LyXFunc.cpp (actOnUpdatedPrefs):
- add missing LyXRC::RC_USE_PIXMAP_CACHE to switch,

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21440 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 15:47:13 +00:00
Jürgen Spitzmüller
a60f43e53a * src/mathed/InsetMathGrid.cpp:
- fix off-by-one-error in append-column (fix bug 4323/2).
	  This is Martin's original fix (r21430) minus the buggy renaming.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21439 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 14:31:33 +00:00
Martin Vermeer
5c7dd90532 Reverting crashing patch for 4323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21438 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 14:10:10 +00:00
Abdelrazak Younes
2b310c8157 Fix bug 4317.
http://bugzilla.lyx.org/show_bug.cgi?id=4317

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21437 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 13:54:57 +00:00
Jürgen Spitzmüller
306dcd3916 * src/mathed/InsetMathGrid.cpp:
- clear selection before deleting row/column (fix bug 4323/1).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21434 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 10:47:54 +00:00
Martin Vermeer
2929845c7f Fix bug 4323/2, and more logical naming of addRow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21430 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 10:03:45 +00:00
Abdelrazak Younes
035078cc87 The wide() removal patch!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21428 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 08:04:20 +00:00
Jürgen Spitzmüller
e196b2c531 * src/mathed/MathParser.cpp (getChar):
- return 0 instead of char_type(), which is unpredictable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21427 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 07:56:20 +00:00
Jürgen Spitzmüller
9754bc398c * src/mathed/MathParser.cpp (getChar):
- empty return if the char is not good() (fix bug 4318).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21424 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 07:15:12 +00:00
Martin Vermeer
32f92613c1 Allow dissolution of insets inside mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21423 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-04 20:23:20 +00:00
Jürgen Spitzmüller
2579af6bf2 * src/LyXRC.cpp: fix order.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21419 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-04 11:25:20 +00:00
Abdelrazak Younes
43b0d5f626 Fix compilation for Qt < 4.3 (using 4.2.1).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21412 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 22:23:45 +00:00
Jürgen Spitzmüller
607bdaf91a * src/lengthcommon.cpp: disambiguation of gui string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21373 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 14:49:54 +00:00
Jürgen Spitzmüller
cfd4d240c2 * src/LyXRC.cpp: fix typo in commented-out code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21371 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 14:39:51 +00:00
Jürgen Spitzmüller
0f1b6903a8 * src/LyXRC.{cpp,h}:
- new RC_USE_PIXMAP_CACHE
* src/frontends/qt4/QlPainter.{cpp,h}:
	- use rc.use_pixmap_cache
* src/frontends/qt4/QPrefs.cpp:
* src/frontends/qt4/ui/QPref.ui:
	- implement rc.use_pixmap_cache

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21368 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 11:14:28 +00:00
Jürgen Spitzmüller
77d1135988 * src/insets/InsetTabular.{cpp, h}:
- Abdelize fix for bug 4147.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21356 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 18:41:51 +00:00
Jürgen Spitzmüller
a94fe3fb62 * src/insets/InsetTabular.cpp:
- handle char correctly for docstream (bug 4147).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21353 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 18:02:15 +00:00
Jürgen Spitzmüller
fd4fa37926 * src/frontends/qt4/QErrorList.cpp:
- do not close the dialog on double click (bug 4090).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21349 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:48:14 +00:00
Jürgen Spitzmüller
147e31bff5 * src/frontends/controllers/ControlSpellchecker.cpp:
- update screen after checking the last word (bug 3586).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21348 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:45:39 +00:00
Jürgen Spitzmüller
11be446d51 * src/frontends/qt4/QSearch.{cpp, h}:
- implement update_contents() and move selection-setting of the find input widget there
	  (fixes bug 3999).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21288 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 14:52:42 +00:00
Uwe Stöhr
f95696320b InsetMathBinom.cpp: fix bug 4308
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21281 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 00:52:55 +00:00
Bernhard Roider
ba328852b8 fix bug 3172: open file in binary mode, otherwise iteration of a binary file with for_each stops early.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21221 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 21:45:55 +00:00
Abdelrazak Younes
3bb7b4153c Fix MSVC/CMake error and display caught exception.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 20:47:12 +00:00
Enrico Forestieri
6b2fe73e91 Add support for greek and cyrillic chars such that it is not
necessary to mark them in the proper language for typesetting.

	* src/Paragraph.cpp
	(Paragraph::Pimpl::writeScriptChars): new method.
	(Paragraph::Pimpl::simpleTeXSpecialChars): output proper
	latex code for greek and cyrillic chars when they cannot
	be encoded using the current latex encoding.

	* src/LaTeXFeatures.cpp: add textgreek and textcyr features.

	* src/Encoding.{cpp,h}
	(Encodings::isKnownScriptChar): new method.

	* lib/unicodesymbols: add greek and cyrillic alphabetic chars.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21184 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 17:24:56 +00:00
Jean-Marc Lasgouttes
3175af3ff9 * filetools.cpp (isFileReadable): boost::fs is tasteless enough to
throw exceptions on tests like existence of a file. Work around it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 09:01:51 +00:00
Jürgen Spitzmüller
0d7a465f33 * src/frontends/qt4/ui/ParagraphUi.ui:
- fix several duplicated accelerators (bug 4277)
* src/frontends/qt4/QParagraph.cpp:
	- use the original string from the dialog for the alignDefaultRB
	  widget, in order to display the accelerator.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 07:49:07 +00:00
Martin Vermeer
1267d53707 Fix off-by-one error addCol()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21123 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 18:18:10 +00:00
Martin Vermeer
3837b7a47e Fix problem with pressing C-Enter converting equation to eqnarray
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21122 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 18:07:48 +00:00
Enrico Forestieri
7dfea4e1bb Fix bug 4287
* src/Buffer.cpp (Buffer::save): also replace the ':' character
	in the mangled filename as this it is illegal on Windows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 18:00:37 +00:00
Bo Peng
d323b6d03e Does not display the type of charstyle insets by default. Display type of an charstyle inset under mouse in the status line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20968 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 16:30:22 +00:00
Bo Peng
880739c5c5 Check and show proper error message if configure.py fails (part of buf 2829)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20966 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 14:48:09 +00:00
Bo Peng
492c3a1cde Add Erlang support for listings (bug 4263)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20957 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 20:55:33 +00:00
Uwe Stöhr
dd60fe4480 LaTeXFeatures.cpp: URL-code cleanup, fix bug http://bugzilla.lyx.org/show_bug.cgi?id=2265
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20874 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 21:05:51 +00:00
Abdelrazak Younes
fd69063e00 clear the pixmap cache and the font metrics cache in case of zoom or dpi changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20868 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 16:22:24 +00:00
Jean-Marc Lasgouttes
e16f8a2fd3 Fix bug 2445.
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to 
	simpler 'keep_layout'

	* src/Text.cpp (breakParagraph): change parameter keep_layout to 
	inverse_logic.

	* src/Text3.cpp (dispatch): remove LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT;
	implement "inverse" flag to LFUN_BREAK_PARAGRAPH.

	* lib/bind/cua.bind:
	* lib/bind/xemacs.bind: 
	* lib/bind/emacs.bind:
	* lib/bind/mac.bind: adapt bindings.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 13:35:16 +00:00
Enrico Forestieri
2adcf3c23d Fix bug 2330
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20844 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 11:50:58 +00:00
Jürgen Spitzmüller
6887b5a328 * src/BranchList.cpp:
- fix crash when theApp() didn't exist (command line export of document with branches) [bug 4255]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20841 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 09:25:37 +00:00
Jürgen Spitzmüller
f95b09aa14 * src/BufferView.cpp:
- revert the singlepar optimization (r20567) 
	  for the time being

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20728 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 09:28:26 +00:00
Richard Heck
454227569a Fix bug 4232: Crash on bad counter name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20702 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 18:10:23 +00:00
Jürgen Spitzmüller
22561386d0 * src/frontends/qt4/IconPalette.cpp (updateParent): listen to André
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20651 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 05:54:36 +00:00
Jürgen Spitzmüller
d49e986892 * src/frontends/qt4/IconPalette.cpp (updateParent):
- extent simplification done in r20630 also to math popup menus,
	   by Edwin.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 13:02:29 +00:00
Jürgen Spitzmüller
1b1132bd94 * src/frontends/qt4/IconPalette.cpp (updateParent): Oops ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 10:46:18 +00:00
Jürgen Spitzmüller
91f82566e8 * src/frontends/qt4/IconPalette.cpp (updateParent):
- don't check any single action, but only one for all (performance workaround),
	   by Edwin.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20630 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 10:40:47 +00:00
Jürgen Spitzmüller
fac4864d5a * src/frontends/qt4/QLToolbar.cpp (update):
- only update visible toolbars (performance fix).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20627 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 09:20:21 +00:00
Abdelrazak Younes
5dbee2a3f4 Fix slowness issue related to Clipboard and Selection under X11 platforms:
- GuiClipboard: Cache the Clipboard status when the data is changed.
- GuiSelection: Cache the Selection status when the data is changed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20624 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 09:03:17 +00:00
Jürgen Spitzmüller
819f458d84 * src/insets/InsetGraphics.cpp (prepareFile):
- Fix wrong external_path that triggered an assert on Windows
	  while exporting to LaTeX (bug 4243).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20606 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-30 12:32:31 +00:00
Abdelrazak Younes
3ab50efe1f Rework 'dbg painting' to be in line with trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20568 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 12:24:20 +00:00
Abdelrazak Younes
39cd77bee0 singlePar with non wide inset optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20567 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 12:22:11 +00:00
Jürgen Spitzmüller
95a9ed8c3f * src/LyX.cpp: style corrections.
This should also be done in trunk, but I don't have trunk here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20525 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 20:31:50 +00:00
Bo Peng
4493a50d41 Lyx now starts and asks for reconfigure if no textclass is found (bug 2829)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20521 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 19:33:10 +00:00
Richard Heck
00de2ddcb2 Backport change 20366 to branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20498 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 17:18:33 +00:00
Jürgen Spitzmüller
e244c4c2b4 Fix bug 4182:
* src/insets/InsetCaption.cpp (draw, metrics):
	- set correct font for caption in Workarea.
* src/insets/insetListings.cpp (latex):
	- set correct font for caption in output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20471 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 17:50:07 +00:00
Uwe Stöhr
c79cc07cbc QBox.cpp: fix bug 4233 http://bugzilla.lyx.org/show_bug.cgi?id=4233
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20461 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 11:55:16 +00:00
Jean-Marc Lasgouttes
b873259da2 fix uninitialized variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20413 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 13:33:03 +00:00
Jean-Marc Lasgouttes
8aac38439a fix second parameter of breakParagraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20411 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 12:37:47 +00:00
Abdelrazak Younes
623038deec shut down conversion warning and unicode fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20375 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 10:30:49 +00:00
Abdelrazak Younes
309e9a5516 Fix bug 4211.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20370 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 06:47:39 +00:00
Richard Heck
35c6ae6f30 Somehow this got missed when (partially) fixing the recursive include problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20364 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 23:53:01 +00:00
Abdelrazak Younes
a84506795b Fix bug 4002 and 4029.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20350 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 18:31:24 +00:00
Jürgen Spitzmüller
f535b7e321 * src/LaTeX.cpp (scanLogFile):
- parse file:line:error style messages (bug 4222)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20336 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 13:39:18 +00:00
Bo Peng
648f1b1a97 make index label translatable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20317 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 14:42:56 +00:00
Jürgen Spitzmüller
171fb900e4 * src/Text3.cpp:
- revert accidental commit in r20311.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20316 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 14:31:48 +00:00
Bo Peng
d61a106b0d Display index name in the screen label of index insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20315 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 14:20:08 +00:00
Uwe Stöhr
88ae5b3ba1 EmbeddedObjects.lyx: new section about scaled and rotated material
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 12:45:41 +00:00
Abdelrazak Younes
656e851b88 Fix bug 4178.
Clear out selection and cut stack buffers on exit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20302 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 09:00:10 +00:00
Abdelrazak Younes
0175b39db0 Fix crash with math inset with empty string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20286 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 13:12:21 +00:00
Jean-Marc Lasgouttes
c9a12aabdc * src/Encoding.cpp (read): avoid gcc warning
* src/BranchList.cpp:  inintialize correctly variable to please 
	valgrind


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20278 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 14:07:31 +00:00
Enrico Forestieri
23456280af Fix crash with old versions (earlier than 2.2.92) of fontconfig.
* src/frontends/qt4/GuiFontLoader.{cpp,h}
	(GuiFontLoader::GuiFontLoader): don't store font IDs anymore,
	as we are not going to clean up after ourselves.
	(GuiFontLoader::~GuiFontLoader): make it virtual again and
	do nothing (avoids a crash with fontconfig < 2.2.92).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-12 19:08:04 +00:00
Richard Heck
99f97be8f4 Port change at 19867 by Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20222 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 20:38:25 +00:00
Abdelrazak Younes
5f24e6cc63 Bug fix: correctly redraw a Row containing and inset which Dimension slightly changed. This replace the need for leftEdgeFixed boolean in rowpainter.C:paintPar() which can be removed now.
* Inset::dimension(): access to dim_

* TextMetrics?::redoParagraph(): checking Inset::metrics() returned boolean is not enough as the internal dimension is changed down in the inheritance chain for InsetFoot?->InsetCollapsable?->InsetText?. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20221 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 20:37:03 +00:00
Abdelrazak Younes
b01b6a3023 BufferView: Be on the safe side: clear out all of text_metrics_ when doing a full update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20220 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 20:09:36 +00:00
Jürgen Spitzmüller
33384ba6b2 Backport revision 19747:
* src/frontends/qt4/GuiView.h:
	- Delete include of config.h. This was needed only for the qt3 port.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 06:21:53 +00:00
Bo Peng
f79e11e5f1 backport r19472
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20199 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 19:24:43 +00:00
Jürgen Spitzmüller
2b240a39c2 * src/insets/InsetCommand.{cpp,h}:
- implement edit function that opens the inset's dialog.
* src/BufferView.cpp (doDispatch):
	- call inset->edit (i.e. open dialog) for EDITABLE insets on next-inset-toggle (bug 2907)
* src/Text3.cpp (doDispatch: INDEX_INSERT):
	- move inset->edit to where it belongs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20192 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 16:04:21 +00:00
Abdelrazak Younes
a0c7b98414 Fix bug where the cursor was largely off-screen on document opening (bug 3427).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20191 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 14:44:05 +00:00
Jürgen Spitzmüller
e93b4dc529 * src/Paragraph.cpp (getLabelWidthString):
- don't judge possibility of configurable label string by the existence of such,
	  but rather by the margintype (bug 4127) 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 13:44:49 +00:00
Enrico Forestieri
f6b585d311 Register math fonts with Qt 4.2 or higher. Using Qt 4.1, the old
xft-fonts package is still required. However, on *nix there seem
to be no way to tell fontconfig to prefer our fonts instead of
others matching the requirements, so, in case of conflict, the
fontconfig files should be manually adjusted, or some existing
font package used (note that the quality of the bakoma fonts is
better than that of the xft ones). There is no such problem on
Windows where our private fonts are always preferred over the
installed ones (and I hope the same holds true for Mac).

	* src/LyX.cpp
	(LyX::exec): don't call addFontResources() and restoreFontResources()
	anymore, as the frontend code will do the job.

	* src/frontends/qt4/GuiFontLoader.{cpp,h}
	(GuiFontLoader::GuiFontLoader): register math fonts with Qt.
	(GuiFontLoader::~GuiFontLoader): unregister math fonts.

	* src/support/os.h
	* src/support/os_unix.cpp
	* src/support/os_win32.cpp
	* src/support/os_cygwin.cpp:
	remove code dealing with fonts.

	* configure.ac: don't check for fontconfig headers anymore.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20148 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 17:35:21 +00:00
Jean-Marc Lasgouttes
fd17266d65 Fix bug 4212
* Text2.cpp (deleteEmptyParagraphMechanism):
	* paragraph_func.cpp (breakParagraph): make sure that the start of 
	appendix marker is not lost when deleting or breaking a paragraph



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20125 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 13:27:38 +00:00
Alfredo Braunstein
80af79b747 optimization: avoid checking fonts if lyxrc.rtl_support is false
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20124 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 10:31:32 +00:00
Alfredo Braunstein
99dbbcfa3f font optimization: avoid one font copy in getFont
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20123 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 10:24:58 +00:00
Martin Vermeer
b074fa50bf another translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20111 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 18:10:11 +00:00
Martin Vermeer
b75e3a7a16 Fix ambiguity in translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20110 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 18:06:14 +00:00
Martin Vermeer
e1cdcc86e4 Fix old error string in Cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20109 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 18:03:04 +00:00
Bo Peng
4c43b3465f Fix bug 4193: Revert and saveAs treated as "file is externally modified"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20108 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 16:09:28 +00:00
Enrico Forestieri
2fef8a94bd Register math fonts with fontconfig
* src/support/os_unix.cpp
	  (addFontResources): add the system fonts dir to the paths
	  scanned by fontconfig.
	  (restoreFontResources): remove the system fonts dir from the
	  fontconfig configuration.

	* configure.ac:
	  add check for the fontconfig devel headers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20035 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 13:34:50 +00:00
Alfredo Braunstein
f3b55ec4e7 fix bug 3600
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19942 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 10:45:51 +00:00
Georg Baum
c51c8a7257 fix bug 4132: parse some more column specifiers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19941 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 10:31:19 +00:00
Richard Heck
484ce8eba7 Fix bug 3999: Highlight search text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19917 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 15:06:14 +00:00
Richard Heck
98a7516921 Fix bug 4170: Close window when user wants it closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19890 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 15:31:22 +00:00
Jürgen Spitzmüller
97e7578b62 * src/Text2.cpp:
- fix wrong DEPM in ct mode (bug 3961).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 13:05:35 +00:00
Abdelrazak Younes
58d777eca3 MacOS compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 13:12:18 +00:00
Abdelrazak Younes
d0b8f24cc2 Backport the pixmap cache from trunk. Disabled for X11 and for Qt < 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 11:10:28 +00:00
Abdelrazak Younes
6de44e53f5 Fix crash when inserting float.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 09:31:38 +00:00
Abdelrazak Younes
8fd3e3ecbc New 'Save all on shutdown or cancel' feature from Stephan Witt (Fix bug 1656).
* GuiApplication::commitData(): implement.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19825 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 07:13:05 +00:00
Richard Heck
896b797e05 Make LYX_ALIGN_LAYOUT always be available. (Trunk committed at r19332).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 19:55:46 +00:00
Bo Peng
024ff89634 Remove unused std::time in src/DepTable.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19780 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 17:07:36 +00:00
Abdelrazak Younes
2d8a0710eb Bugfix: the current cursor font was not reset when going to a bookmark.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19770 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 13:53:45 +00:00
Abdelrazak Younes
75e3b6a419 Fix crash when using down cursor in an empty math subscript (Bug 4117).
http://bugzilla.lyx.org/show_bug.cgi?id=4117 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 08:17:07 +00:00
Abdelrazak Younes
920be91bec Fix bug 4123: crash when closing LyX window with document tabs
http://bugzilla.lyx.org/show_bug.cgi?id=4123 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19688 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 08:10:54 +00:00
Bo Peng
b6fb32535a Fix crash when a user removes a formula when its preview is being generated. (Another signal/destructor/gcc3 bug)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19666 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 21:25:14 +00:00
Bo Peng
e025b9fa98 Fix crash when a user removes the underlying figure of a graphic inset that has been copied and pasted (Bug 4108)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19611 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 18:29:53 +00:00
Richard Heck
94476add67 Add LFUN_PARAGRAPH_PARAMS (= paragraph-params), used for changing a paragraph's alignment, spacing, etc. This is complementary to LFUN_PARAGRAPH_PARAMS_APPLY, which sets the parameters. The difference is that APPLY over-rides all existing parameters, setting any not given to the default, whereas this one simply changes those that are given. So
paragraph-params \align right
will align the paragraph right, leaving spacing, etc, as they were, whereas
  paragraph-params-apply \align right
will align the paragraph right but also reset all other parameters to defaults. Note, by the way, that this means that
  paragraph-params-apply
sets everything to default.

Some new arguments have also been introduced. These are:
  \indent
  \indent-toggle
  \spacing default
Of course, none of these are found in valid LyX files, but they are useful in menu bindings, etc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19583 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-15 04:47:30 +00:00
Martin Vermeer
67435c3b60 Finally FINALLY get the bug 580 fix right
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19558 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 14:17:35 +00:00
Martin Vermeer
8a5f90a96c Partially revert bug 580 fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 08:42:22 +00:00
Enrico Forestieri
e70cf8eec0 Add version information to the lyx executable on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19538 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 01:38:12 +00:00
Christian Ridderström
6084e59610 Porting fix for bug 4135 from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19534 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 00:31:04 +00:00
Richard Heck
f7756c3020 Fix bug 4121. The cause was the empty on_available_entered method. Not sure why
that caused the bug, but it does.
Also fix some other UI bugs, relating to resets of the selection models. These
look gratuitous and cause problems in the current code. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19531 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 23:37:45 +00:00
Richard Heck
bb46996f75 Fix update bug when leaving a wide inset with up or down arrow.
Override notifyCursorLeaves() in InsetText? to force update when
inset was wide. Should be removed if and when wide is. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19514 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 17:38:36 +00:00
Jean-Marc Lasgouttes
e7b3dd74b5 * inset/InsetTabular.cpp (doDispatch): LFUN_MOUSE_PRESS: let Text::dispatch
do the work, unless we really have a reason not to (fixes bug 4133)

	* mathed/InsetMathNest.cpp (lfunMousePress): refactor the code to use
	BufferView::mouseSetCursor.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19507 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 15:44:19 +00:00
José Matox
24d2120dab Second part of bug 580, avoid that lyx produces wrong files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19457 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 14:02:48 +00:00
Martin Vermeer
d22e679d78 fix bug 580
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19391 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 08:21:26 +00:00
Bo Peng
5d9a2cc241 Listings ui changes from Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19385 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 21:19:17 +00:00
Bo Peng
ca3ffc6c37 Enable File -> Revert when the file is externally modified, rename this menu item to File -> Revert to saved, and check if the .lyx file has been externally modified when a buffer is saved. (Bugs 3766 and 4114)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19379 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 20:44:44 +00:00
Richard Heck
1b15f008a1 Minor update to previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 16:14:17 +00:00
Richard Heck
f4f99d4cd3 Fix bug 4112: Translate to roman numerals for numbers higher than 20.
We now go up to 999. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19364 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 16:02:59 +00:00
Jean-Marc Lasgouttes
0778d2d83a [the "translation" patch series] Part 2: fixing document label translations
* src/gettext.cpp (locale_init): factor some code; call Messages::init().
	* LyX.cpp (exec): call Messages::init() after initializing package().
	* Messages.cpp (init): new method, factor some code from get().
	(get): change the method used to set the locale. Should be much more robust
	than it was (and simpler too).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 22:20:27 +00:00
Jean-Marc Lasgouttes
013d04ac96 [the "translation" patch series] Part 4: translating the LyX menu on the mac
* development/MacOSX/Makefile.am: when installing, create bogus 
	language directories to allow translation through Qt.

	* src/frontends/qt4/GuiApplication.cpp (MenuTranslator): new class, 
	redirects some Qt translation requests to gettext.
	(GuiApplication): install the MenuTranslator.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19351 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:57:01 +00:00
Jean-Marc Lasgouttes
680e9d0b3d [the "translation" patch series] Part 3: improving the loading of localized files
* src/support/filetools.cpp (i18nLibFileSearch): use a trick to find
	out the name of the current translation. 

	* po/*.po: add the entry necessary for the above trick.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19349 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:36:04 +00:00
Bo Peng
b08540d0d8 Fix loading non-lyx child documents with relative path names, change Load to Edit in the child document dialog. (Bug 4107 and 4111)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19345 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 18:37:33 +00:00
Richard Heck
c237753110 Introduce LFUN to save all modified files, and add menu entries.
Patch from Guillaume Pothier for 1.4.x adapted by me to current branch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19342 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 16:15:32 +00:00
Richard Heck
f4b8546ee5 Introduce LFUN to save all modified files, and add menu entries.
Patch from Guillaume Pothier for 1.4.x adapted by me to current branch.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19341 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 16:15:00 +00:00
Enrico Forestieri
806385246b No need to check whether the TEMP var is already set, it suffices
using false as the third parameter to setenv for not having it
replaced when already set.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19336 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 14:18:33 +00:00
Enrico Forestieri
98b3d68393 Use the internal function of the cygwin dll for syncing the
Windows environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 13:52:04 +00:00
Jean-Marc Lasgouttes
d9251d210b latex_lang should not have a babel language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 12:41:42 +00:00
Bo Peng
6a4b38c97d Fix some incorrect middle button paste behavior. A better fix is due after 1.5.1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 21:53:24 +00:00
Richard Heck
f8d53598d8 Fix bugs 4077 and 4086.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19294 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 16:14:50 +00:00
Jean-Marc Lasgouttes
eac423830d Fix several middle-click pasting problems
* src/BufferView.cpp (workAreaDispatch): be sure to call haveSelection()
	as we do in LyXFunc::dispatch. 

	* src/Text3.cpp (doDispatch): refactor the handling of LFUN_MOUSE_PRESS.
	In particular, make sure that the cursor is alsways set through
	BufferView::mouseSetCursor, so that the selection is correctly saved.

	* src/CutAndPaste.cpp (pasteSelection): do not set the selection, since 
	paste methods do not do it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19292 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 16:02:25 +00:00
Richard Heck
02fb80e579 Fix bug 4096. Don't disconnect the buffer until we're ready to connect again.
Also, clean up the code a little.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19288 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 14:10:02 +00:00
Jean-Marc Lasgouttes
3ed4ef84b6 * src/support/gzstream,cpp:
* src/support/gzstream.h: re-introduce the stream we were using in
	1.4.x. The boost iostream solution produces unreadable streams
	on windows and we do not know why currently.

	* src/support/Makefile.am:
	* src/Buffer.cpp:
	* src/Lexer.cpp:
	* development/scons/scons_manifest.py: adapt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19270 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 15:13:01 +00:00
Jean-Marc Lasgouttes
499ee23ddd * LyXAction.cpp: mark LFUN_SERVER_GOTO_FILE_ROW as working for
read-only files (fixes bug 4023)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19267 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 13:15:57 +00:00
Bo Peng
775d93c837 src/frontends/qt4/GuiApplication.cpp: fix a bug that prevents translator of languages with long names to be loaded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19261 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 17:18:44 +00:00
Enrico Forestieri
ea191d9095 Use home made code for the bool facet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19251 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 13:14:50 +00:00
Jürgen Spitzmüller
d4df3a6b6f * src/LyXFunc.cpp (doDispatch):
- force full screen update on buffer switch (fixes bug 3969).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19242 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-30 14:58:12 +00:00
Jürgen Spitzmüller
63c587190f * src/frontends/controllers/frontend_helpers.{cpp,h}:
- new function getSortedColors
* src/frontends/qt4/QPrefs.cpp:
	- use that to sort the colors (bug 2571)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19235 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-30 13:48:01 +00:00
Enrico Forestieri
e9bcf4b0a7 Add missing facets for extraction from an idocstream on platforms
lacking support for wchar_t. This solves bug 4076.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19234 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-30 13:22:01 +00:00
Jürgen Spitzmüller
39650c58f4 * src/Text3.cpp (doDispatch):
- always replace selected text when inserting an inset (bug 672)
	- inset selected text in inserted URL inset (bug 683)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19232 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-30 10:34:51 +00:00
Jürgen Spitzmüller
2a3514c21f * src/LaTeX.cpp: Get rid of annoying LaTeX error after changing the document language
(bug 2468)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19230 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-27 18:43:52 +00:00
Bo Peng
7fd53d7148 Fix Bug 4053: Update other controls allows invalid listings parameters to be passed in listings-related dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-27 17:55:31 +00:00
Bo Peng
afdf83f235 quick fix for bug: "select, select, middle-button paste" pastes the first selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19199 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-25 05:12:52 +00:00
José Matox
54eeca1c0a revert locale sorting since it gives problems with gcc 3.x (see bug 2738)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-24 22:50:46 +00:00
Jürgen Spitzmüller
bf1af7e3c2 * src/Text3.cpp:
- quick fix for bug 4055 (with FIXME comments)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-24 15:18:21 +00:00
Jürgen Spitzmüller
3154def278 * src/BufferParams.cpp (writeEncodingPreamble):
- correct encoding check.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19171 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-23 16:46:26 +00:00
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
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
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
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
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
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
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
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
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
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
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
Jean-Marc Lasgouttes
b995f7715c * Paragraph.cpp (simpleTeXOnePar): fix bug with size-changing
macro followed by a space (bug 3382)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19057 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 13:25:44 +00:00
Jean-Marc Lasgouttes
a7039727c3 * configure.ac: check earlier for -liconv and -lz, since Qt4 needs them;
put LIBICONV in LIBS.

	* src/Makefile.am: 
	* src/client/Makefile.am: update accordingly.

	* config/qt4.m4: do not try to run pkg-config tests when pkg-config 
	is not installed.

	* INSTALL.MacOSX: advise to use pkg-config; remove -lz from LDFLAGS;
	remove --with-frontend=qt4 from configure line; in the svn case, remove
	also --disable-stdlib-debug and --disable-concept-checks (and explain 
	why --disable-stdlib-debug may be needed).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19056 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 12:57:59 +00:00
Enrico Forestieri
97c5327dd7 Don't use locale facilities for sorting when compiling with GCC 3
as it is missing proper locale facets support.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19054 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 10:26:10 +00:00
Jean-Marc Lasgouttes
f99d41a25a * Layout.cpp (read): fix ObsoletedBy and DependsOn for layout names
that contain underscores.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19053 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 09:25:52 +00:00
Jürgen Spitzmüller
cadae06897 Patch by Richard Heck:
* src/Paragraph.cpp (applyLayout):
	- do not reset everything unconditionally on paragraph layout change (fix bug 3939)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 16:39:26 +00:00
Abdelrazak Younes
4a53fa6e01 Allow unicode in Layout names.
* Layout.h:
  - name_, obsoleted_by_, depends_on_ are now docstrings.

All other changes results from the above string -> docstring changes. In particular, we now try to translate the layout names only if possible (i.e. if they are ASCII only).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 13:39:08 +00:00
Abdelrazak Younes
ba4214cbe9 Following commit 19040, those partial updateLabels() functions are not needed anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 13:30:56 +00:00
Abdelrazak Younes
f1a6378d72 Fix bug 3719: TOC skip-to points out of sync with document
http://bugzilla.lyx.org/show_bug.cgi?id=3719

The problem is that the full toc is not regenerated when creating standard (i.e unnembered) paragraph. As the TocBackEnd use ParIterator for in buffer jumps, this can get out of sync. The partial updateLabel() is my doing and comes before the TocBackend stuf. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19040 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 13:20:19 +00:00
Jean-Marc Lasgouttes
7e84dd3f9b * Counters.cpp (appendix): new getter and setter used to recall
whether we are in appendix mode.

	* buffer_funcs.cpp (setLabel): set Counters::appendix as needed.
	This fixes bug 3862 automagically.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19039 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 12:52:50 +00:00
Enrico Forestieri
76799eb493 Fix bug 3962 (by me, Peter, and Joost)
* src/support/os_cygwin.cpp
	* src/support/os_win32.cpp
	(addFontResources): use AddFontResourceEx on Windows version
	supporting this API in order to mark our fonts as private.
	(restoreFontResources): ditto with RemoveFontResourceEx.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19038 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 11:57:58 +00:00
Jürgen Spitzmüller
029e93d723 * src/frontends/qt4/ui/ParagraphUi.ui: just tiny cosmetics (make dialog more compact)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19035 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 10:09:19 +00:00
Bo Peng
5ead210b1c add a few 'experimental parameters' to insetListingsParameters.cpp. This is pretty safe so I just commit it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 18:57:32 +00:00
Abdelrazak Younes
6c15c36495 This patch revert part of the code changed in revision 18825. This is needed because there is no lyx_view_ when exporting at the command-line: LFUN_BUFFER_CHILD_OPEN uses LyXView::loadLyXFile() in GUI mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19029 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 15:07:00 +00:00
Jean-Marc Lasgouttes
c4769a4d4c a few comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19027 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 12:48:04 +00:00
Jean-Marc Lasgouttes
1d51120eb4 Restore the persistent selection feature (disabled because of bug 3877)
See also http://www.lyx.org/trac/changeset/19003

	* BufferView.cpp (setBuffer): save selection before switching buffer
	(mouseSetCursor): save selection before resetting it
	(putSelectionAt): no need to save selection

	* Cursor.cpp (selHandle): save selection before resetting it

	* CutAndPaste.cpp (cutSelection, eraseSelection): save selection before
	deleting it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19026 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 12:44:19 +00:00
Jean-Marc Lasgouttes
f4b65f4e96 * Text3.cpp (doDispatch): fix the behaviour of word-delete-forward,
word-delete-backward and line-delete when there is a selection.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19025 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 12:20:00 +00:00
Jean-Marc Lasgouttes
ae9dad1770 remove obsolete references to saveSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 10:54:42 +00:00
Jürgen Spitzmüller
c1bbe62b53 fix bug 3819 (patch from Georg Baum):
* src/ConverterCache:
	- fix handling of movers
	- handle pstex/pdftex files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19023 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 09:13:21 +00:00
Michael Schmitt
7f74d469a4 * src/Author.h:
* src/Changes.cpp:
	* src/support/userinfo.cpp:
	* src/Paragraph.cpp:
	* src/Changes.h:
	* src/Buffer.cpp:
	* src/Paragraph.h:
	* src/BufferParams.cpp: do not save the name of authors
	in LyX documents, who have not made a single change in 
	change tracking mode


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 20:52:34 +00:00
Michael Schmitt
39cf8bcf16 * src/frontends/LyXView.h:
* src/frontends/Toolbars.cpp:
	* src/frontends/qt4/QLToolbar.cpp:
	* src/frontends/LyXView.cpp:
	* src/frontends/Toolbars.h:
	* src/LyXFunc.cpp:
	* src/ToolbarBackend.cpp:
	* src/ToolbarBackend.h: fix toolbar issues: translate toolbar name
	in user message; check for ill-formed toolbars in UI files; output
	reasonable error messages in case of erroneous toolbar names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 20:33:32 +00:00
Michael Schmitt
1f2f2892c4 * src/frontends/qt4/QParagraph.cpp:
* src/frontends/qt4/QParagraph.h: fix untranslateable label in the
	paragraph dialog


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19017 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 19:01:27 +00:00
Dov Feldstern
72535633e3 Fix bug 3889 (justification of Bidi text in the GUI)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19016 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 17:18:35 +00:00
Abdelrazak Younes
19e12e5fab Fix crash when closing a child document after having played with the Preference dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 16:52:09 +00:00
Jean-Marc Lasgouttes
625a4b7849 * insets/InsetExternal.cpp (InsetExternalParams): use the first
defined template as default instead of RasterImage (bug 3983)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19013 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 10:56:49 +00:00
Enrico Forestieri
9720992369 Don't use locale facilities for sorting on systems which don't have
support for wchar_t and are missing proper locale facets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19012 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 10:54:28 +00:00
Abdelrazak Younes
e567f1aff2 Fix 3992: Screen update problem in change tracking mode
http://bugzilla.lyx.org/show_bug.cgi?id=3992 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19010 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 10:32:28 +00:00
Abdelrazak Younes
0c80805287 Fix bug 3990: Wrong Paste Message between document with different Document Style
http://bugzilla.lyx.org/show_bug.cgi?id=3990


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19008 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 10:01:57 +00:00
Michael Schmitt
98b921c75c * src/frontend/controllers/frontend_helpers.cpp: safety fix suggested by Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19004 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-07 11:19:39 +00:00
Bo Peng
252ec84acd Remove all saveSelection calls and unify theSelection().setSelection. This is the common, housekeeping part of JMarc's and my patches. Fixes of bug 3877 will come later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19003 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 17:03:45 +00:00
Abdelrazak Younes
2caa734edf revert the obviously incorrect fix of rev. 19001.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19002 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 15:50:39 +00:00
Abdelrazak Younes
46214d708c * lstring.cpp:
- isAscii(): char is signed with MSVC so the comparison was not correct. Add a static_cast to "unsigned char" as per the other methods.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19001 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 14:43:18 +00:00
Dov Feldstern
be01974475 Fix "default" encoding to match "auto" encoding except for the actual output
of \inputencoding commands, which are not needed in some cases (e.g., Hebrew 
with ivritex).

This fixes some of the remaining problems (but not all) from bug 3613 (namely, http://bugzilla.lyx.org/show_bug.cgi?id=3613#c9).
See also some example files fixed by this in http://permalink.gmane.org/gmane.editors.lyx.devel/88805 .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18994 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 19:19:41 +00:00
Dov Feldstern
a4c5f67f5e Set a newly created inset's font/language to the current font/language.
Fixes http://bugzilla.lyx.org/show_bug.cgi?id=3959


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18993 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 17:47:25 +00:00
Jürgen Spitzmüller
c6f4e95d55 * src/frontends/controllers/frontend_helpers.cpp Family name):
- don't try to trim after a dot that is the last character in the name
	  (fixes crash, bug 3981)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18992 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 16:11:44 +00:00
Jürgen Spitzmüller
7562340249 fix unicode decomposition (bugs 3313 and 3498):
* src/support/docstring.{cpp,h}:
	- rename normalize_kc to normalize_c and use normalization form C (instead of KC)

* src/callback.cpp:
* src/Trans.cpp:
* src/frontends/qt4/GuiClipboard.cpp:
* src/frontends/qt4/GuiSelection.cpp:
* lib/lyx2lyx/lyx_1_5.py:
	- use normalization forms C and D instead of KC and KD.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 14:45:00 +00:00
Jean-Marc Lasgouttes
76cefef380 Patch from Pavel Sanda
* frontend_helpers.cpp (Sorter): use the current locale for sorting 
	(bug 2739)

	* frontend_helpers.cpp: cleanup headers.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 10:40:00 +00:00
Abdelrazak Younes
8524ee93c3 Possibly fix this bug:
To reproduce:
1) Press Cntl-N (start new file)
2) Press Alt-I, I, B (insert TOC from BibTeX)
3) Press Alt-A (Add...)
4) Double Click test
5) Press Alt-O (OK)
6) Press Alt-I C (Insert Citation)
7) Press Alt-A (Add) 

* familyName(): return earlier if author name is empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18987 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 09:06:31 +00:00
Abdelrazak Younes
34a2aeec9c Fix bug 3970: Include file crash
The problem is that a screen update needs a bibtex key for proper rendering of the Citation. This key requires the master document to load all child document, which trigger an additional screen update, even when we don't switch buffer. The problem is that we are already in the process to update the screen, hence the crash.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18986 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 08:18:25 +00:00
Jean-Marc Lasgouttes
af9464dfe8 the -lz for zlib is already in LIBS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18985 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 21:54:28 +00:00
Jürgen Spitzmüller
966c48abc6 * src/CutAndPaste.cpp (saveSelection): clarify comment about commenting persistent selection out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18982 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 06:05:23 +00:00
Bernhard Roider
b8b66e8278 Fix uninitialized var introduced in http://www.lyx.org/trac/changeset/18966
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18976 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 18:58:02 +00:00
Abdelrazak Younes
ff6baf9a44 Fix bug 3877.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18975 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 17:11:05 +00:00
Abdelrazak Younes
14fd0298b9 Auto raising the dialog when the user click on a Citation inset...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:59:10 +00:00
Abdelrazak Younes
c05eb62135 add comment and ling to bug 3907.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18973 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:23:04 +00:00
Abdelrazak Younes
574b2ac06f Use native file dialog on non cygwin windows installation (fix bug 3907).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18972 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 06:41:54 +00:00
Bernhard Roider
3525573f40 Fix Bug 3947: BibTeX allows parentheses in the key (even if the whole entry is delimited by parentheses)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18966 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 18:01:27 +00:00
Jean-Marc Lasgouttes
a6f32927ea Fix bug 3750: this code is a kludge and should be removed when tex2lyx is
updated to support format >= 257 (with InsetCaption).

	* src/Layout.cpp (forCaption): new method. Returns a pointer to a newly 
	allocated Layout suitable for representing a caption.

	* src/tex2lyx/tex2lyx.cpp (tex2lyx): allocate a captionlayout object

	* src/tex2lyx/text.cpp: use the captionlayout object to recognize the 
	\caption command.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 16:02:41 +00:00
Jürgen Spitzmüller
ca339eb199 * src/frontends/controllers/Dialog.{cpp,h}:
- new boolean canApplyToReadonly that allows to apply params/update view
	  even if the buffer is readOnly for specific dialogs.

* src/frontends/controllers/ControlPrint.h: 
	- use that (fix bug 3909)
* src/frontends/controllers/ControlViewSource: 
	- dto. (fix bug 3943)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 13:54:30 +00:00
Jürgen Spitzmüller
d226c1de12 * src/tex2lyx/tex2lyx.cpp:
- use internal_path (bug 3788), patch by Hangzai Luo and me).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-01 15:16:08 +00:00
Abdelrazak Younes
39d3f11612 Fix this bug reported by Mael Hilléreau:
1. Open a document with child documents, each comprising divisions;
2. Show the outline pane. You can see childs' divisions;
3. Select (view) one of the childs;
4. Close this child doc. The focus comes back to the master doc;
5. Click in the outline pane at some point corresponding to the child doc you closed. LyX crashes with SIGSEGV (instead of reopening the child...).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18939 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 10:31:51 +00:00
Uwe Stöhr
e729c5ffee ControlPrint.cpp
LyXFunc.cpp
  Quote file paths in printer dialog
  Fix bug 3915: http://bugzilla.lyx.org/show_bug.cgi?id=3915
  (patch from Jürgen and JMarc)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18934 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 21:21:05 +00:00
Richard Heck
3fcc6711f0 Fix some issues with the paragraph settings dialog. The main change
is that we distinguish between the "Default" alignment and whatever
that default happens to be: I.e., so far as the code goes, the UI now
distinguishes LYX_ALIGN_LAYOUT from LYX_ALIGN_WHATEVER, when WHATEVER
happens to be the default. So you can explicitly force, say, left-align,
and that will stick between document classes.

* src/Paragraph.cpp:
Don't output params if alignment is the default.

* src/ParagraphParameters.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment.

* src/Text2.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment, and force it to be accepted
as a possible alignment.

* src/frontends/controllers/ControlParagraph.{h,cpp}
New method haveMultiParSelection().

*src/frontends/qt4/QParagraph.{h,cpp}
*src/frontends/qt4/ui/ParagraphUi.ui
UI adjustments as mentioned.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 00:48:06 +00:00
José Matox
5cbe5cf5ad FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t support compiled in (Jean-Marc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:02:54 +00:00
Georg Baum
25fc26446b typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18911 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 14:50:50 +00:00
Jürgen Spitzmüller
8b9972cbba Fix bug 2753: LyX doesn't support paths and filenames with parentheses
* src/frontends/qt4/QBibtex.cpp:
* src/frontends/qt4/QExternal.cpp:
* src/frontends/qt4/QGraphics.cpp:
* src/frontends/qt4/QInclude.cpp:
	- remove path validator

* src/support/filetools.{cpp,h}:
	- new validator for exporting LaTeX files

* src/insets/ExternalSupport.cpp:
* src/insets/InsetBibtex.cpp:
* src/insets/InsetGraphics.cpp:
* src/insets/InsetInclude.cpp:
	- use validator when exporting a LaTeX file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:55:42 +00:00
Jürgen Spitzmüller
a96a5c55af * src/frontends/qt4/QPrint.cpp:
- use internal_path to prevent assert on windows (bug 3916).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:46:40 +00:00
Enrico Forestieri
7b392cfd2d Fix bug 3904
* src/graphics/GraphicsConverter.cpp
	(move_file, build_script): convert any path name to the local
	encoding directly in the python script.

	* src/support/tempname.cpp
	(tempName): don't pass local 8bit encoded strings to addName as
	it expects them to be utf8 encoded.

	* src/ServerSocket.cpp
	(ServerSocket::ServerSocket): ditto for setEnv.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 15:45:58 +00:00
Alfredo Braunstein
7bc7431b49 Fix to bug 3886
acceptChanges:

* move the bulk of acceptChanges without the call to DEPM to 
paragraph_funcs

copySelectionHelper:

* call this new acceptChanges

pasteParagraphList:

* use Text::setCursor(Cusor,...) instead of Text::setCursor(CursorSlice...) 
in order to have DEPM invoked at the end of the insertion



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 14:11:42 +00:00
Jürgen Spitzmüller
874f4b99fd * src/frontends/qt4/QDocument.cpp:
* src/frontends/qt4/QInclude.cpp:
* src/frontends/qt4/QListings.cpp:
	- add missing slot to "pass validation" checkbox togling signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 08:00:44 +00:00
Uwe Stöhr
d8993d2d6c - Fileformat change: rename "arabic" to "arabic_arabtex"
- Split the language Arabic into "arabic_arabi" that uses the arabi-package and "arabic-arabtex" that uses the arabTeX-package to typeset Arabic. This is needed because both packages have some advantages over the other people need.
(This change is a consequence of a long and fruitful discussion with Mostafa, Dov, and me.)

Patch by Dov and me.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 00:11:03 +00:00