Commit Graph

10649 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
dd94d72560 backport revision 26668. I believe a have tested this sufficently now.
> Author: younes
> Date: Wed Oct  1 10:18:57 2008
> New Revision: 26668

> URL: http://www.lyx.org/trac/changeset/26668
> Log:
> Modify the way multi-cell selection is done in tables:
> * Always put the cursor at the end of the cell (this was set at the beginning
> with mouse selection).
> * handle LFUN_SELF_INSERT in case of multi-cell selection -> the whole cell
> contents will be deleted.

> This commit fixes http://bugzilla.lyx.org/show_bug.cgi?id=5225

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26809 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 09:01:25 +00:00
Uwe Stöhr
6d8ae76078 make Latvian and Lithuanian documents also compilable in branch, fixes bug 5323 and 5324
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26784 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 19:30:07 +00:00
Uwe Stöhr
e5ab65e8f1 LyXFunc.cpp: Add file filters for "*.lyx15" etc, part of http://bugzilla.lyx.org/show_bug.cgi?id=4508
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26783 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 19:26:01 +00:00
Enrico Forestieri
6d2f3cb16e Fix bug 1784
http://bugzilla.lyx.org/show_bug.cgi?id=1784


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26738 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 01:09:41 +00:00
Jean-Marc Lasgouttes
53e35259d7 remove confusing warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26671 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 14:06:28 +00:00
Pavel Sanda
3e2886b52e Backport lyxclient commandline fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26623 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 12:57:07 +00:00
Jürgen Spitzmüller
f1e5ae45db * LaTeXFeatures.cpp:
- don't pass the "none" string as graphics driver to color (part of bug 5294).

This also needs to be done in trunk, but I'll leave this to Uwe.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 09:20:42 +00:00
Enrico Forestieri
9a0b86749c On Vista, if a file type is not registered, AssocQueryString() returns
information about the "Unknown" application instead of admitting that
nothing is registered. The solution is to add ASSOCF_INIT_IGNOREUNKNOWN
to the flags parameter. Also update dead URLs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26499 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 22:07:23 +00:00
Jürgen Spitzmüller
78409ad96f * attempt to fix bug 5189.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26454 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-19 10:06:06 +00:00
Jürgen Spitzmüller
955925ef22 * Validator.cpp:
- get rid of unnecessary conversions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26452 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-19 09:41:21 +00:00
Jean-Marc Lasgouttes
bd6dbedd9c fix http://bugzilla.lyx.org/show_bug.cgi?id=2040
* BufferView.cpp (setCursorFromInset): new method, useful to find
	an inset that is known to be in the document.

	* LyXFunc.cpp (dispatch): do a proper recordUndo
	before appplying changes to an inset. The insets are responsible
	for recording additional undo steps that could be needed.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26436 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-18 10:26:42 +00:00
Enrico Forestieri
210add80d6 Fix bug 5246
http://bugzilla.lyx.org/show_bug.cgi?id=5246


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26417 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 16:26:11 +00:00
Uwe Stöhr
a8afed86ff BufferParams.cpp, InsetListings.cpp: fix two Unicode strings, patch by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26325 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 12:17:43 +00:00
Pavel Sanda
264f9a9148 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26301 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-04 20:11:06 +00:00
Jürgen Spitzmüller
ff81264110 * src/LaTeXFeatures.cpp:
- handle case where natbib is loaded internally by a class, but still plain cite commands
	  have to be output (bug 5182)
* lib/revtex4.layout:
	- this is such a case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26299 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-04 14:42:00 +00:00
Uwe Stöhr
3f71e33274 tex2lyx/preamble.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5181
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26284 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-01 22:37:20 +00:00
Jürgen Spitzmüller
ef26e543d7 * separate nomencl processing command from index processing command, since nomencl
relies on makeindex (with specific options) [bug 5184].

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26270 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-30 15:54:58 +00:00
Jürgen Spitzmüller
dc8d51bd80 * src/inset/InsetNomencl.cpp:
- indicate content of nomencl inset (bug 5183).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26224 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-22 16:17:34 +00:00
Jürgen Spitzmüller
e671b0201a * src/Text.cpp:
- Do not delete special characters in free spacing mode (bug 5125).
	  (this is what we do in trunk already)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26222 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-22 09:09:30 +00:00
Jürgen Spitzmüller
733a01eaa3 * src/Paragraph.cpp:
- use \textquotedbl for straight quotes in T1 encoding (bug 5091).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26213 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 09:02:07 +00:00
Jürgen Spitzmüller
8f2d853ec1 Backport of revision 25419:
URL: http://www.lyx.org/trac/changeset/25419
Log:
*** Extend preview scripts to also handle PDF output (bug 2165) ***

* src/PreviewLoader.cpp:
        - add conditions for preview with pdf output

* lib/scripts/legacy_lyxpreview2ppm.py:
        - if no dvi preview file is available, check for a PDF file
          and process that, if found
        - also produce png output, if requested.

* lib/scripts/lyxpreview2bitmap.py:
        - if no dvi preview file is available, check for a PDF file
          and process that, if found

*  lib/scripts/lyxpreview_tools.py:
        - move some common functions here

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26209 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 08:02:39 +00:00
Jean-Marc Lasgouttes
80eb08d2b2 Fix bug 2449: Insertion of math delimiter cannot completely be undone
http://bugzilla.lyx.org/show_bug.cgi?id=2449

	* Text3.cpp (dispatch): handle undo for LFUN_MATH_INSERT, 
	LFUN_MATH_MATRIX, LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26188 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-16 07:51:35 +00:00
Jean-Marc Lasgouttes
7a7472a8fd Fix bug 3407: Undo with text-in-mathmode
http://bugzilla.lyx.org/show_bug.cgi?id=3407

	* InsetMathNest.cpp (doDispatch/LFUN_MATH_MODE): handle undo



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26187 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-16 07:44:22 +00:00
Jean-Marc Lasgouttes
c452d27b41 Fix bug 5065: DEPM fails with "cursor follows scrollbar"
http://bugzilla.lyx.org/show_bug.cgi?id=5065

	* BufferView.cpp (setCursorFromScrollbar): makes sure that the mouse is 	set using mouseSetCursor (so that dEPM can trigger). 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 16:03:16 +00:00
Jürgen Spitzmüller
63227acc13 * update tex2lyx man page, mostly done bei Uwe (bug 2770).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 07:51:00 +00:00
Uwe Stöhr
fb9d45dfb3 tex2lyx: forgot to add these files in my last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25921 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 22:49:56 +00:00
Uwe Stöhr
282f58b796 tex2lyx: use the same test files as in trunk to uncover bugs that are only in branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 21:58:47 +00:00
Uwe Stöhr
0a263166c3 Fix bug 5090 also in branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 11:28:43 +00:00
Enrico Forestieri
1ef56f38e2 Don't use the \textgreek macro when the latex encoding (iso-8859-7) is
already the right one. No need to mention it in status.15x, as it is part
of the sigma problem and there's already a note about it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25798 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 11:29:24 +00:00
Jean-Marc Lasgouttes
bbcf02620e Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4662
* InsetCollapsable.cpp (doDispatch): on mouse release, do nothing if
	user is clicking button different from 1 or 3 on the inset button.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25701 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-18 13:09:50 +00:00
Abdelrazak Younes
dc8344f95a fix bug 5004
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25631 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 13:01:23 +00:00
Jean-Marc Lasgouttes
057767d789 Fix bugs 4977 and 2018:
http://bugzilla.lyx.org/show_bug.cgi?id=4977
http://bugzilla.lyx.org/show_bug.cgi?id=2018

	* Text3.cpp (doInsertInset): do not copy selection to clipboard if we 
	do not intend to paste it later (bug 4977); do not remove space at
	start of paragraph (bug 2018).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25628 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 08:58:50 +00:00
Jean-Marc Lasgouttes
f406f6a0dc fix trivial compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 12:47:32 +00:00
Jean-Marc Lasgouttes
f1ceb1fec0 revert. This is not doublechecked yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25518 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 10:53:49 +00:00
Jean-Marc Lasgouttes
a229ba95df streamline NEWS file (like in trunk)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25517 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 10:50:36 +00:00
Jean-Marc Lasgouttes
a12ced96f5 * Text.cpp (cursorForwardOneWord, cursorBackwardOneWord): fix
moving in mac-like mode (a space is not a char)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25515 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 09:54:38 +00:00
Jürgen Spitzmüller
2c674129b9 * Paragraph.cpp:
- correct the kerning between two subsequent '<' or '>' characters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25437 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 06:03:33 +00:00
Jürgen Spitzmüller
fd5e171bad * src/Paragraph.cpp (simpleTeXSpecialChars):
- do not assume that typewriter can encode any character (bug 4727).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25434 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-03 14:32:43 +00:00
Jean-Marc Lasgouttes
384807184a * Paragraph.cpp (isChar): new method; returns true when pointer is on
a character that is not a letter. Note that a footnote inset, for 
	example is neither a letter nor a character.
	(isSpace): new method too.

	* LyXRC.cpp:
	* development/MacOSX/lyxrc.dist.in: new variable mac_like_word_movement,
	set to true on Mac OS X. There is no GUI for it now.

	* src/Text.cpp (cursorForwardOneWord, cursorBackWardOneWord): implement
	mac-like and windows like cursor movement. Fix bugs 2815 and 3580.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25417 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-02 09:48:52 +00:00
Enrico Forestieri
b3e09e7bd3 Fix bug 2721
http://bugzilla.lyx.org/show_bug.cgi?id=2721


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25410 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 12:50:54 +00:00
Abdelrazak Younes
f84d8c405f Fix http://bugzilla.lyx.org/show_bug.cgi?id=4972
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25407 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 07:15:20 +00:00
Jürgen Spitzmüller
89496dd922 * src/mathes/InsetMathUnknown.cpp (metrics, draw):
- set correct font shape (bug 2594).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25400 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-28 08:59:07 +00:00
Enrico Forestieri
e71b09793f Fix bug 4320
http://bugzilla.lyx.org/show_bug.cgi?id=4320


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25396 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-27 19:40:38 +00:00
Jürgen Spitzmüller
2dd4b555f9 Fix bug 4946:
* src/Paragraph.cpp (latexSurrogatePair):
        - do not use braces for combinated characters that are natively output (as unicode glyphs)
* src/Encoding.{cpp,h}:
	- build an exception list of characters that must be output as LaTeX command in any case
	  (except in utf8-plain). I.e., the utf8 encodings now also honour the "force" flag.
* lib/unicodesymbols:
	- add "force" flag to combine characters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25395 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-27 08:43:41 +00:00
Jürgen Spitzmüller
e9a3408058 ** fix bug 2477: incorrect font in notes and erts in headings **
* InsetNote.{cpp,h}:
	- reimplement metrics to initialize display font correctly
* InsetERT.{cpp,h}:
	- (getDrawFont): pass buffer font as argument to reset the size appropriately.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25315 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 05:40:02 +00:00
Enrico Forestieri
b9caa6d627 Fix bug 4951
http://bugzilla.lyx.org/show_bug.cgi?id=4951


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25260 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 14:21:04 +00:00
Jürgen Spitzmüller
4bc59f266c * src/frontends/qt4/QPrefs.cpp:
- translate Formats.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25253 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 09:07:43 +00:00
Jean-Marc Lasgouttes
dde7831b82 fix compilation error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25229 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 12:07:35 +00:00
Jürgen Spitzmüller
9033b5a646 * src/output_latex.cpp:
- handle CJK nesting correctly with nested insets (bug 4913).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25102 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 13:47:02 +00:00
Jürgen Spitzmüller
06a7a6d032 * Allow the use of eqrefs in mathed (bug 4623).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25091 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 06:23:00 +00:00