Commit Graph

14704 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
83c2108f79 Backport revision 22332:
URL: http://www.lyx.org/trac/changeset/22332
Log:
Following rev 21967: final touch to odocfstream:
- odocfstream: properly fix plaintext output by getting rid of ctor with std::string argument as this can be mixed up with std::ofstream(std::string) ctor where the argument is a file. UTF8 is now the default encoding.
- PreviewLoader::Impl::startLoading(): catch another potential iconv exception.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22335 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-30 10:14:29 +00:00
Jürgen Spitzmüller
5eea754d54 * src/output_plaintext.cpp:
- fix plaintext output. Abdel, you still should have a look at this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22331 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-29 10:22:42 +00:00
Jürgen Spitzmüller
762a38c282 Fix multiple cell pasting on Windows and Mac (bug 4436):
* src/frontends/Clipboard.h:
* src/frontends/GuiClipboard.{cpp,h}:
	- new member hasInternal() which indicates whether the OS knows
	  the concept of clipboard ownership.

* src/insets/InsetTabular.cpp (doDispatch):
	- consider hasInternal() while pasting.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22326 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 15:58:28 +00:00
Jürgen Spitzmüller
80410d0386 backport revision 20903:
URL: http://www.lyx.org/trac/changeset/20903
	Log:
	initial support for shift + right-mouse-click selection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22323 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-27 10:50:01 +00:00
Jürgen Spitzmüller
2bfa4c6bd7 * src/support/unicode.cpp (convert):
- flush out data at the end of the conversion process (bug 4439).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22320 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-27 07:30:56 +00:00
Jürgen Spitzmüller
6799fbc1c6 * src/insets/InsetSpace.cpp:
- further improve appearance of protected space.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22306 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 10:27:32 +00:00
Jürgen Spitzmüller
3f3caf121a * src/Buffer.cpp:
- better translatable error message for uncodable chars, now also
	  displaying the code point value.
* src/Paragraph.cpp:
	- do not throw in View Source mode, but mark up uncodable chars (fix bug 4437).
* src/frontends/qt4/QViewSource.{cpp,h}:
	- highlight LyX warnings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22293 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 13:53:46 +00:00
Enrico Forestieri
644475c13b Try to improve maintainability by separately checking for the
gather environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22289 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 02:42:39 +00:00
Enrico Forestieri
fccbc1c6e0 Center rows in the gather environment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22279 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 02:10:14 +00:00
Uwe Stöhr
7e1bc63285 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 18:55:33 +00:00
Uwe Stöhr
94f8395a08 - EmbeddedObjects.lyx: typo
- German Tutorial update by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22263 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 18:51:20 +00:00
Jürgen Spitzmüller
8ece22c237 * src/insets/InsetCharStyle.cpp:
- fix update/metrics (patch by Abdel).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22261 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 15:55:55 +00:00
Uwe Stöhr
1db87131e8 es.po: updates by Eugenio, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4381
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22256 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 11:43:04 +00:00
Jürgen Spitzmüller
b1f810398e document revision 22237.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22254 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 10:13:02 +00:00
Uwe Stöhr
28465b493a installer: back to work for LyX 1.5.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 21:06:28 +00:00
Uwe Stöhr
031c4b6e06 status.15x: minor layout change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22246 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 21:06:07 +00:00
Uwe Stöhr
20d7138a17 Intro.lyx: change some sentences as proposed on the docs list by Jeff Barnes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22240 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:42:15 +00:00
Richard Heck
8a46f91320 Improve space size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22237 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 19:39:49 +00:00
Bo Peng
3181c5122f An dialog is displayed if some character can not be encoded properly. The offending character will be highlighted. (BUG3511)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22235 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 17:31:45 +00:00
Jürgen Spitzmüller
9975b55687 backport revision 21967, from Abdel:
* src/support/docstream.{cpp.h}: 
	- factorize out some code and introduce odocfstream::reset()
* src/output_plaintext.cpp:
	- pass encoding argument.
* src/Buffer.cpp (makeLaTeXFile()): 
	- try to catch one more iconv exception. Fix bug 4385 (http://bugzilla.lyx.org/show_bug.cgi?id=4385)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22234 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 17:18:36 +00:00
Jürgen Spitzmüller
677689945f Fix bug 2913: "mark-on" broken.
* src/Cursor.cpp (selHandle):
	- handle mark()
* src/Text.cpp (dissolveInset):
	- switch mark off before using selHandle, just in case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22229 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 11:30:54 +00:00
Uwe Stöhr
1eb26c45ba - Tutorial: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22210 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-18 21:35:44 +00:00
Uwe Stöhr
ed49acd88a installer updates again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22201 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 23:12:12 +00:00
Uwe Stöhr
acd476b82e more work on the MiKTeX 2.7 integration and some updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 22:08:48 +00:00
Uwe Stöhr
93939a820c installer:
- support for MiKTeX 2.7
- support for MiKTeX 2.4 removed
- support for JabRef 2.3.1
- prepare installer for LyX 1.5.3

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22197 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 20:06:05 +00:00
Jürgen Spitzmüller
f3c5a66dc0 * status.15x: document bugfix 4055.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22195 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 18:15:56 +00:00
Jürgen Spitzmüller
b903a4abd4 * fix bug 4055, overdue patch from Stefan Schimanski:
"The idea of the beforeDispX/Y_ variables in the Cursor is to hold the position
of the cursor on screen before the lyxfunc is dispatched. But to get this the
metrics must be valid. It's updated in Cursor::dispatch before the dispatch
loop.
After inserting/deleting stuff (like when deleting the selected text before
inserting the alpha) the metrics are invalid. But the handler for the alpha
calls Cursor::dispatch after the deletion and hence the crash with your second
patch.

Here is a patch fixing that:

The beforeDispatchXY variable do not belong into the Cursor::dispatch because
Cursor::dispatch is often called "manually" by many handlers to some followup
action. So this logic must go somewhere else where it is sure that is not
updated after the metrics got invalidated."

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 18:15:14 +00:00
Jürgen Spitzmüller
cf0411cffa * src/ASpell.cpp:
- implement lyxrc.isp_accept_compound (bug 4408).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22191 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 16:53:07 +00:00
Jürgen Spitzmüller
edfaaca4b2 * RELEASE_NOTES:
- remove notes on cjk issues (now fixed).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22186 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 12:11:04 +00:00
Jürgen Spitzmüller
434e9afc02 * lib/doc/fr/Intro.lyx:
- revision from Jean-Pierre Chretien

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 11:02:24 +00:00
Jürgen Spitzmüller
7e875f3225 * document CJK fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22182 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 10:02:44 +00:00
Jürgen Spitzmüller
d8e0a2ba6b Sanitize CJK support (fix bug 3561, 4349 and 4337):
* src/output_latex.{cpp, h}:
	- Many changes in order to allow CJK in a mulitlingual context.
* src/Paragraph.cpp:
	- Fix file encoding switch and language nesting with CJK.
* src/Buffer.cpp:
	- Move the opening and closing CJK and lanaguage tags to ouput_latex.cpp.
* src/Font.cpp:
	- switchEncoding call now takes runparams as argument.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22181 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 10:01:57 +00:00
Jürgen Spitzmüller
9b2c0e8032 * src/support/os_win32.cpp:
- backport rev. 22179: Fix network drive access (on Windows).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22180 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 08:18:14 +00:00
Jürgen Spitzmüller
701792c661 back to work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22175 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 17:55:29 +00:00
Jürgen Spitzmüller
8cceb9e268 * ANNOUNCE:
* NEWS:
	- preparing 1.5.3.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22173 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 17:07:59 +00:00
Jürgen Spitzmüller
eb8eb36fdf Tag release lyx-1.5.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/tags/lyx-1_5_3@22174 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 17:39:33 +00:00
Jürgen Spitzmüller
a1e8f0e7c0 * po/*.po: final remerge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 16:58:46 +00:00
Jürgen Spitzmüller
876ee2c6e7 * configure.ac: prepare 1.5.3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22171 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 16:56:42 +00:00
Jürgen Spitzmüller
e0dcc790fe * RELEASE_NOTES:
- revert update to the Fedora crash issue (turned out to be wrong).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22170 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 16:27:10 +00:00
Uwe Stöhr
a7a4bc5649 hu.po: translation updates by Szöke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22160 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-15 15:21:04 +00:00
Uwe Stöhr
089ccab8a6 Tutorial.lyx: revise the last missing chapter 4
Intro.lyx: rewrite some sentences suggested on the docs list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 01:25:44 +00:00
Uwe Stöhr
c54529ad15 fr.po: updates from Jean-Pierre
he.po: updates from Ran

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22139 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 22:22:40 +00:00
Michael Schmitt
d415e7d92b * po/*.po: remerge (just some line changes actually)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 21:58:22 +00:00
Pavel Sanda
e8daa5eecc Fix bug number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22130 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 12:24:27 +00:00
Jürgen Spitzmüller
04f6c55ebd src/frontends/qt4/GuiSelection.cpp:
- use QClipboard::selectionChanged() signal instead of 
	  QClipboard::dataChanged() (bug 4147).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22122 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 09:03:18 +00:00
Uwe Stöhr
37b594ac5f French Intro.lyx: updates by Jean-Pierre Chretien
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22116 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 01:39:52 +00:00
Jürgen Spitzmüller
d4a169b381 * RELEASE_NOTES:
- update to the Fedora crash issue.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 21:35:18 +00:00
Jürgen Spitzmüller
c84f22b5ca * src/frontends/controllers/ControlCitation.cpp:
- catch exception from boost::regex (bug 4421)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22100 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 11:50:05 +00:00
Jürgen Spitzmüller
cc5246782d * lib/doc/Makefile.am:
- compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 09:37:09 +00:00
Uwe Stöhr
28492bdd99 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 21:54:23 +00:00