Commit Graph

9154 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
6a8475c331 * src/text.C (bool LyXText::backspace):
don't try to go to previous par when in first par 
	(fix crash in change tracking mode). 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13493 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-25 14:37:08 +00:00
Jürgen Spitzmüller
1333a74909 honour change tracking fixes in the release notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13490 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 19:10:55 +00:00
Jürgen Spitzmüller
5c21a7611d the ChangeLog for rev13487
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13489 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 18:20:09 +00:00
Georg Baum
5822df009a Merge Abdel's ParagraphList from trunk
* output_latex.h:
        * buffer.h:
        * CutAndPaste.h:
        * pariterator.h:
        * paragraph_funcs.h:
        * output_linuxdoc.h:
        * output_docbook.h:
        * insets/insettext.h: get forward declaration of ParagraphList

        * output_plaintext.C:
        * bufferlist.C:
        * undo.C:
        * lyxtext.h:
        * undo.h:
        * buffer_funcs.C:
        * insets/insetbibitem.C: get proper ParagraphList decls

        * output_linuxdoc.C (linuxdocParagraphs):
        * output_latex.C (TeXOnePar):
        * insets/insettext.C (appendParagraphs):
        * insets/insetcharstyle.C (docbook): use std::distance

        * CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
        * paragraph_funcs.C (breakParagraph,
        breakParagraphConservative, mergeParagraph):
        * text.C (acceptChange, rejectChange):
        * text2.C (deleteEmptyParagraphMechanism): use boost::next

        * output_docbook.C (several places): use boost::next and
        std::distance

        * ParagraphList_fwd.h: modify to provid a forward declaratoin
        of the new ParagraphList.

        * RandomAccessList.h: New container for Paragraphs from
        Abdelrazak Younes

        * ParagraphList.h: new file, setup user of RandomAccessList

        * paragraph.C: remove ParagraphList constructor from this file


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13487 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 17:37:15 +00:00
Jürgen Spitzmüller
3f2c546936 The big change tracking paragraph patch (bug 880)
from Martin Vermeer  <martin.vermeer@hut.fi>:

	* text.C (backspace): Fix changebar non-update
	* CutAndPaste.C (pasteSelectionHelper): comments
	* paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
	* changes.h: comments
	* paragraph.C (stripLeadingSpaces): remove unnecessary setChange
	* text.C (backspace): allow deletion of inserted para break
	Change tracking -related bug fixes (reported by Juergen) and
	some documentation work
	* rowpainter.C (paintChangeBar): fix painting of change bar with
	only paragraph break changed
	* paragraph.[Ch] (write, lookupChange, lookupChangeFull;
	added setChangeFull):
	* paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
	rejectChange, erase; added setChangeFull):
	* CutAndPaste.C (eraseSelectionHelper):
	* lyxtext.h:
	* text.C (readParToken, readParagraph, breakParagraph,
	acceptChange, rejectChange, backspace, currentState;
	added backspacePos0):
	* paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
	* lyxfind.C (findChange, findNextChange): fix bug 880: Change
	tracked paragraphs should still allow a paragraph split (and related
	things, i.e., multi-paragraph change tracking)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13486 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 16:38:30 +00:00
Jean-Marc Lasgouttes
2e7158c61b * development/MacOSX/LyX.app/Contents/Library/Spotlight/LyX-Metadata.mdimporter/Contents/MacOS/LyX-Metadata: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13483 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:48:05 +00:00
Jean-Marc Lasgouttes
ca46f14e71 * MacOSX/LyX.app/Contents/MacOS/lyxeditor: update location of
preferences file within LyX.app bundle 
	
	* MacOSX/LyX.app/Contents/Resources/preferences: update
	path_prefix to include /opt/local/bin, and remove references to
	"-1.4" version suffix



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13480 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:30:04 +00:00
Jean-Marc Lasgouttes
a73f17a1d9 * src/insets/insetgraphics.C
(InsetGraphics::latex): add \protect as needed (bug 675)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13479 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 13:47:22 +00:00
Jean-Marc Lasgouttes
94570286e8 * src/cursor.C
(bruteFind): only iterate over the paragraphs that are
	in the CoordCache (bug 2217)

	* status.14x
	* RELEASE-NOTES: update accordingly



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13477 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 13:20:41 +00:00
Georg Baum
6370b5ca98 Fix latex_path on cygwin:
* src/support/os.h
        * src/support/os_unix.C
        * src/support/os_win32.C
        * src/support/os_cygwin.C
        (latex_path): new function, handle the OS-specific part of
        lyx::support::latex_path

        * src/support/filetools.C
        (latex_path): use lyx::os::support::latex_path (bug 2409)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13475 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 12:53:46 +00:00
Jean-Marc Lasgouttes
9426c1d394 status update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13473 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 12:03:39 +00:00
Jean-Marc Lasgouttes
49e07e45a6 Partial fix to bug 2355.
* src/bufferparams.C
	(bool BufferParams::writeLaTeX):
	(void BufferParams::useClassDefaults): only take action when there is
	a ToC structure

	* src/frontends/qt2/QDocument.C
	(void QDocument::apply):
	(void QDocument::update_contents): only take action when there is
        a ToC structure

	* src/frontends/xforms/FormDocument.C
	(bool FormDocument::language_apply):
	(bool FormDocument::options_apply):
	(void FormDocument::options_update): only take action when there is
        a ToC structure; disable 
	(void FormDocument::UpdateClassParams): disable the secnumdepth and
	tocdepth widgets when there is no ToC structure

	* src/frontends/xforms/FormDocument.h
	(options_apply): do not return a bool (was not used)

	* src/lyxtextclass.C
	(hasTocLevels): new method.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13472 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 11:59:09 +00:00
Jean-Marc Lasgouttes
baa55b55fa enable save for new documents (bug 2313 again)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 13:51:00 +00:00
Jean-Marc Lasgouttes
956270cc3b use update instead of repaint when changing cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13460 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 11:20:58 +00:00
Jürgen Spitzmüller
161b10a13b * src/frontends/qt2/QPrefs.C
(void QPrefs::apply):
	(void QPrefs::update_contents):
* src/frontends/qt2/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog):
* src/frontends/qt2/ui/QPrefUIModule.ui:
	remove wheel mouse spin box (bug 783).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13456 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 09:35:38 +00:00
Georg Baum
1b3deba2b9 compile fix from Ling Li: remove superflous class name of members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13455 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 21:42:31 +00:00
Martin Vermeer
c362a8a4d1 * math_gridinset.C (MathGridInset::doDispatch): reset cur.pos() when
deleting current col or row



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13452 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 17:08:41 +00:00
Martin Vermeer
7086246c0c Oops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13451 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 17:01:48 +00:00
Michael Schmitt
7b522c42a8 INSTALL.Win32: Update Windows installation instructions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13448 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-21 22:23:28 +00:00
Martin Vermeer
fedbbe9791 Oops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13444 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 17:55:17 +00:00
Martin Vermeer
ad88a4608a Make raising/lowering selection to super/sub script work again.
Also C-M of math does not result in empty mbox anymore.

	* cursor.[Ch]: remove paste()

	* mathed/math_nestinset.C
	(MathNestInset::doDispatch):
	(MathNestInset::lfunMouseRelease):
	(MathNestInset::interpret): save selection and transfer to script
	(MathNestInset::script): insert selection into super/sub script

	* mathed/math_nestinset.h: add parameter to script



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13443 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 17:47:33 +00:00
Jean-Marc Lasgouttes
f44b2c487d forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13440 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 17:04:25 +00:00
Jean-Marc Lasgouttes
9c63cb4110 Hungarian update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13438 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 16:42:59 +00:00
Jean-Marc Lasgouttes
a9a6592f58 fix find&replace with sciword bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13436 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:41:25 +00:00
Jean-Marc Lasgouttes
61343483cb * src/frontends/qt2/QWorkArea.C
(QWorkArea::QWorkArea): do not set workarea background (bug 2197)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13435 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:36:14 +00:00
Jürgen Spitzmüller
a4abb93f6b frontends/controllers/ControlBibtex.[Ch]: new members bibtotoc(), getStylefile(),
which hold functionality that has been moved from the frontends
	and implement a method to use a default stylefile for new bibtex 
	insets (bug 2322).

frontends/gtk/GBibtex.C:
frontends/qt2/QBibtex.C:
frontends/xforms/FormBibTex.C: Move parsing of Options (stylefile, bibtotoc) to the 
	controller (bug 2322).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13426 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 10:20:07 +00:00
Georg Baum
e811433ec7 Remove -mms-bitfields compiler option on windows, since all qt
releases that we support with the gcc toolchain on windows are
	compiled without it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13421 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 17:46:15 +00:00
Michael Schmitt
473ae1eebd Sync Windows installer sources with LyX 1.5 (trunk)
Win32/packaging/build_aspell.sh: add new aspell build script
Win32/packaging/installer/lyx_languages.polish.nsh: add polish translations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13416 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 15:01:23 +00:00
Jürgen Spitzmüller
cac8b7abb6 add extra condition for PASTE to reflect tabularStack (bug 2377)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13413 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 13:15:17 +00:00
Georg Baum
141058b7fb * parser_tools.py (find_tokens_exact): new, extract tokens with
exact match
        * parser_tools.py (find_token2): rename to find_token_exact and make
        it work for tokens with spaces
        * lyx_1_4.py (revert_box, convert_collapsable, revert_bibtopic,
        convert_float): use find_token(s)_exact instead of find_token(s).
        This does not match "FloatList" when "Float" is searched (bug 2245)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13412 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 13:11:51 +00:00
Jürgen Spitzmüller
f45c21fea7 adjust cursor after backspace in change tracking mode (bug 2185).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13406 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:49:15 +00:00
Georg Baum
fd9ff4c011 forgot to document last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13405 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:41:55 +00:00
Georg Baum
b33ef8ae10 * text.C, tex2lyx.h (translate_len): make public
* table.C (handle_tabular): translate widths to LyX (bug 2290)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13404 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:38:31 +00:00
Georg Baum
54797970b9 QContentPane::mouseMoveEvent: Use qt wide scroll wheel setting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13402 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:30:43 +00:00
Georg Baum
2aacaaede1 fix bug 2234
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13400 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:11:03 +00:00
Jean-Marc Lasgouttes
3b7e21a013 Oops! revert unwanted changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13397 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:30:10 +00:00
Jean-Marc Lasgouttes
4a6095fe7e bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13396 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:27:47 +00:00
Jürgen Spitzmüller
d1bf49434e Get a sensible prefix inside figure and tabular floats (bug 1999).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13393 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:03:29 +00:00
Jean-Marc Lasgouttes
4836399ae8 disable save when document is clean (bug 2313)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13390 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 13:14:37 +00:00
Georg Baum
01dd14b592 Truncate temporary file names that are too long for MikTeX's pdflatex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13388 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 12:19:55 +00:00
Georg Baum
5bd1399946 fix bug 2361
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13383 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 16:05:24 +00:00
Jean-Marc Lasgouttes
a4bdff534b fix drawing of buttons (bug 2328)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13382 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 15:35:35 +00:00
Jean-Marc Lasgouttes
368fad3297 fix version number (1.4.1svn instead of 1.4.0svn)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13366 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 15:11:44 +00:00
Jean-Marc Lasgouttes
5b29659a28 bug 1611: clarify Title handling in tutorial (trivial)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13364 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 14:43:47 +00:00
Jean-Marc Lasgouttes
0c905ee9f2 Italian update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13360 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 14:35:55 +00:00
Martin Vermeer
03e0be78aa Mouse click to right of last nestinset in a cell will position cursor to its
left

(Also: updated status.14x for this and fix 2362)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13359 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 13:42:40 +00:00
Georg Baum
2f15123953 merge configure.py with trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13358 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 12:38:32 +00:00
Jürgen Spitzmüller
00063a011c document tabular fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13357 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 11:14:59 +00:00
Martin Vermeer
59a6b822d9 Fix to bug 2362: Deleting superscript also deletes subscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13355 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 10:58:22 +00:00
Jürgen Spitzmüller
721dacbc33 Michael's installer patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13353 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 10:53:39 +00:00