Commit Graph

7554 Commits

Author SHA1 Message Date
Georg Baum
5a755b4e1e Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
--with-version-suffix):

        * src/lyx_cb.C
        (reconfigure): get the configure command from package()

        * src/lyx_main.C
        (showFileError): ditto

        * src/support/package.[Ch]
        (configure_command): new, return the configure command

        * src/support/package.C.in
        (with_version_suffix): new, return the version suffix argument
        of the configure command

        * src/support/Makefile.am
        (package.C.in): substitute %PROGRAM_SUFFIX% in package.C.in

        * config/lyxinclude.m4: substitute program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13723 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 10:28:27 +00:00
Georg Baum
1fe1dae34d Fix bug 2476:
* src/CutAndPaste.C
        (resetOwnerAndChanges): rename to resetParagraph and reset the
        language of ERT paragraphs, too
        (copySelectionHelper): adapt to changes above
        (cutSelection): ditto
        (copySelection): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13703 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 16:34:50 +00:00
Martin Vermeer
2ae7098e10 * math_nestinset.C
(MathNestInset::doDispatch): replace recordUndo by recordUndoInset for
	LFUN_DELETE, to fix undo behaviour



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13691 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-18 06:40:04 +00:00
Jürgen Spitzmüller
a89da87da8 * src/LaTeXFeatures.C
(char const * simplefeatures[]): add tipa

        * src/mathed/math_fontinset.C
        (void MathFontInset::validate): textipa requires tipa


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13678 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-14 14:40:16 +00:00
Jürgen Spitzmüller
c0aadd8443 * src/paragraph.h (public): new enum ChangeTracking,
indicating if ct is used in the current buffer.
	(cleanChanges): pass enum ChangeTracking.

        * src/paragraph_pimpl.C (cleanChanges): delete ct marks from
	paste content if ct is of in the buffer. Set content INSERTED
	if ct is on (bug 2207).

        * src/CutAndPaste.C (pasteSelectionHelper): pass information 
	about the current change tracking state to cleanChanges.

        * src/paragraph_pimpl.h (cleanChanges): pass enum ChangeTracking.

        * src/paragraph.C (cleanChanges): pass enum ChangeTracking.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13667 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 16:49:24 +00:00
Jürgen Spitzmüller
86b7e5701b * src/insets/insettabular (doDispatch): use insertAsciiString in
LFUN_PASTESELECTION. Simplifies the code a lot and fixes 
	wrong language settings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13664 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 13:29:16 +00:00
Jean-Marc Lasgouttes
2fb3b40d87 * math_xarrowinset.C (validate):
* math_splitinset.C (validate): new methods; require amsmath (bug
	2149).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13661 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 10:30:28 +00:00
Jean-Marc Lasgouttes
add226478a add header <sys/time.h> for DragonFly BSD
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13654 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 09:37:33 +00:00
Georg Baum
0efa19f72a fix bug 2036:
* src/mathed/math_amsarrayinset.C
	(metrics): use ArrayChanger to change the style
	(draw): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13653 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 07:42:50 +00:00
Jean-Marc Lasgouttes
a577fcdbaf begin work on 1.4.2svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13649 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 14:58:27 +00:00
Jean-Marc Lasgouttes
fa3308aaaf ready for 1.4.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13638 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 08:56:24 +00:00
Georg Baum
3948536777 revert accidentally commited change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13636 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 08:26:49 +00:00
Georg Baum
4442fbb74f * src/buffer_funcs.C (setCounter): Ignore the layout label string in
paragraphs without label


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13634 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 08:25:31 +00:00
Martin Vermeer
3d5edab5c3 * ControlMath.C
(ControlMath::dispatchInsert): fix broken GUI for sub/superscript
	insertion



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13622 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 14:39:36 +00:00
Martin Vermeer
0cb515b425 Fix bug 2485 and crash on middle-mouse paste into math.
Also move reponse to middle mouse from Release to Press

        * math_nestinset.C
        (MathNestInset::lfunMousePress): Add and convert to editXY
        (MathNestInset::lfunMouseRelease): Remove


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13620 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 11:10:03 +00:00
Georg Baum
e0657f7f6e * src/insets/insetgraphics.C (prepareFile): output correct file name
of compressed files (bug 2231)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13597 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 10:35:01 +00:00
Jean-Marc Lasgouttes
8956c47e36 * src/rowpainter.C (CursorOnRow): expand redrawing of current row to
endpos(). 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13579 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 09:09:22 +00:00
Jean-Marc Lasgouttes
9c74d33b82 Fix mess up of internal/external paths (from Enrico Forestieri)
* src/frontends/qt2/QPrefs.C:
	(internal_path_list, external_path_list): Handle the PATH prefix
	style according to the user-prefs style.
	(QPrefs::apply, QPrefs::update_contents): fix inverted logic of
	rc.cygwin_path_fix

	* src/support/os.h: New declarations to deal with PATH lists.
	* src/support/os_cygwin.C: Major rewrite to account for path style
	problems.
	* src/support/os_unix.C:
	* src/support/os_win32.C: Stub functions for PATH lists.
	* src/support/environment.C: fix bug 2344: Wrong path_prefix handling
	in cygwin
	* src/support/filetools.C (ChangeExtension): fix for the path
	style to be written in .tex files (cygwin related).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13570 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 14:44:52 +00:00
Jean-Marc Lasgouttes
5adf6d5d58 Fix bug 2195: Slowness in rendering inside insets, especially
on the Mac

	Changes to the within-inset row rendering caching code.

	* insets/insetenv.h: 
	* insets/insetcollapsable.h: remove method
	* insets/insettabular.h:
	* insets/insetbase.h: rename, add methods
	* insets/insettext.[Ch]: rename method; add Tall()
	* paragraph_pimpl.C
	(Paragraph::Pimpl::simpleTeXSpecialC): rename call
	* mathed/math_hullinset.h: rename method
	* rowpainter.C
	(RowPainter::paintInset):
	(paintPar): remove isTrueTextInset, move to insets 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13568 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 12:06:37 +00:00
Georg Baum
29d5aa8d82 fix bug 1235
* src/support/filetools.C
	(readBB_from_PSFile): sanitize return value


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13550 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 09:13:32 +00:00
Michael Schmitt
5fb6c496c6 2006-04-01 Michael Gerz <michael.gerz@teststep.org>
* lib/ui/stdmenus.ui:
        * lib/ui/stdtoolbars.ui:
        * src/converter.C
        * src/lyx_main.C
        * src/support/package.C.in: tiny changes to text messages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13544 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 13:20:37 +00:00
Michael Schmitt
bf5bdd827b * filename.C: truncate file names to 100 characters
to support MikTeX's pdflatex


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13542 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 13:01:03 +00:00
Jean-Marc Lasgouttes
7fac128691 * src/LaTeX.C
(handleFoundFile): do not add directories to dep table (crashes cygwin)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13528 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 14:45:04 +00:00
Georg Baum
be62b3345e revert my faulty fix of bug 2380 and use one by Jean-Marc instead:
* insets/insettabular.C
	(InsetTabular::insertAsciiString): set BufferView cache of cell


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13525 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 10:16:23 +00:00
Martin Vermeer
0389d82117 * src/insets/insetcharstyle.C
(InsetCharStyle::doDispatch): prevent non-standard paragraph layout
	from being pasted into charstyle inset

	* src/insets/insetcharstyle.h: disable non-standard layouts



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13523 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 08:48:59 +00:00
Jean-Marc Lasgouttes
d0872f2ce5 * src/lyxrc.C (setDefaults): no need to initialize tempdir_path.
* src/bufferlist.C (emergencyWrite): do not use explicit /tmp
       directory name.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13522 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 08:22:20 +00:00
Jürgen Spitzmüller
f2ad6169c8 src/insets/insettabular (doDispatch, insertAsciiString): fix insertion of \t- and \n-separated content from external clipboard (bug 2394)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13519 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 14:14:50 +00:00
Georg Baum
820cf70cd5 Fix bug 2380:
* src/insets/insettabular.C
        (InsetTabular::hasPasteBuffer):
        (InsetTabular::doDispatch):
        (InsetTabular::insertAsciiString): Construct LyXTabulars with a
BufferView
* src/tabular.[Ch]
        (cellstruct): Set bv_owner of the text inset
        (LyXTabular::fixCellNums):
        (LyXTabular::appendRow):
        (LyXTabular::deleteRow):
        (LyXTabular::appendColumn):
        (LyXTabular::read): Construct cellstructs with a BufferView


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13517 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 12:53:07 +00:00
Jürgen Spitzmüller
88d71d9375 * QPrefsDialog.C (remove_format): Prevent deletion of file formats
if they are used by a converter and warn the user accordingly.
	Fixes crash (bug 2431).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13513 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 11:56:00 +00:00
Georg Baum
bf4edb9a09 * src/insets/insetert.C
(getStatus): enable LFUN_QUOTE
	(doDispatch): handle LFUN_QUOTE directly (fixes bug 2429)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13512 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 10:35:42 +00:00
Jürgen Spitzmüller
8b38f6f875 * src/text.C
(bool LyXText::Delete):
	move cursor to next par after deleting a paragraph break
	in change tracking mode. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13509 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 10:07:05 +00:00
Jean-Marc Lasgouttes
7022e24fe2 add missing files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13504 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:16:38 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
64671aa6c7 insettabular.C (dist): fix miscalculation of rowheight (bug 2006)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13352 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 10:48:35 +00:00
Martin Vermeer
21cc9c2795 fix bug 2212: First change is skipped in Merge changes... dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13332 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:53:24 +00:00
Jürgen Spitzmüller
08323de6c6 define \labelitemi with \def. Fixes LaTeX error if the class has not defined them yet (bug 2053).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13329 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:23:13 +00:00
Georg Baum
12439fa1c5 fix bug 2236
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13325 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 15:00:56 +00:00
Georg Baum
b4f7558414 fix bug 1955
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13323 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 14:55:27 +00:00
Georg Baum
cd1f5d793c fix fix of bug 2192
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13318 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 12:44:03 +00:00
Lars Gullik Bjønnes
06ac1ff5e4 set date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13308 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-06 23:02:17 +00:00
Georg Baum
53c0391ae6 fix bug 2315
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13287 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-02 19:59:57 +00:00
Martin Vermeer
786c079b89 fix (properly) insertion of fonts/decorations around selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13280 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-28 19:16:38 +00:00
Georg Baum
90f00ecfa6 fix bug 2316
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13277 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-27 12:22:36 +00:00
Jean-Marc Lasgouttes
498a451a76 bug 1918: Positioning cursor in mathinset with the mouse does not work correctly (and can crash)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13275 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-24 14:41:48 +00:00
Jean-Marc Lasgouttes
215476903e fix bugs 2321 and 2323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13272 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-24 12:58:31 +00:00
Jürgen Spitzmüller
44f88f7fc9 recognize deleted preamble (bug 2317).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13268 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 17:34:43 +00:00
Jürgen Spitzmüller
3490f23a1d Fix defaultFont problems (bug 2308)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13266 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 15:44:57 +00:00
Georg Baum
2535ea14bd readd xymatrix inset (bug 2238)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13265 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 12:26:06 +00:00
John Spray
44fc7b62a5 window size tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13262 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:12:01 +00:00
John Spray
b59621bc59 Rewording in GTK document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13261 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:07:25 +00:00
John Spray
786759e106 Some work on GTK tabular dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13260 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:03:24 +00:00
John Spray
e4c3c00f80 revise layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13259 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 16:26:45 +00:00
John Spray
153c985ba2 grayscale and monochrome
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13258 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 16:26:23 +00:00
John Spray
757cb58173 Spellchecker options for gtk preferences dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13253 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 17:05:24 +00:00
John Spray
dfaf9a11a1 Fix update() of GTK wrap dialog for default placement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13252 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 01:39:07 +00:00
John Spray
c822a28e39 Escape underscores in GTK menu labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13251 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 01:24:22 +00:00
John Spray
a67c5829cb Fix spinbutton limits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13250 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:53:30 +00:00
John Spray
01b554be2a Fix rows and columns getting confused in table creation dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13249 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:52:58 +00:00
John Spray
b7039ba891 revert removal of update() from show() - I misunderstood.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13248 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:46:25 +00:00
John Spray
9aa58f9986 Make GCitation show selected keys even if they're not in
the list of bibkeys.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13247 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-16 19:31:03 +00:00
Jürgen Spitzmüller
414a11684e code cosmetics to the iterator fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13242 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-15 14:12:54 +00:00
Jürgen Spitzmüller
36945644e7 fix crash due to invalidated iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13241 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-15 11:13:37 +00:00
John Spray
5d14da2001 Fix double-updating, thus fixing GChanges skipping first change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13240 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 16:14:33 +00:00
John Spray
5943449516 Add comments to mark questionable text encoding conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13239 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:55:27 +00:00
John Spray
a50e83ea38 Fix copy and paste text encoding in GTK frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13238 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:49:41 +00:00
John Spray
42843b1c02 ...and the changelog entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13237 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:47:42 +00:00
John Spray
29e7776c34 Remove broken multibyte stuff from GTK frontend, make single-byte
stuff work properly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13236 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:46:22 +00:00
Jean-Marc Lasgouttes
7bb1fa55ac bug 2060: Clicking on a macro in a math inset crashes LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13235 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 10:41:34 +00:00
John Spray
72c40bc700 Try to make GPainter a bit more efficient
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13230 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 19:36:10 +00:00
John Spray
61133c4b56 Tweak layout in GToc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13229 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 18:12:56 +00:00
John Spray
65ca7003ba Fix event loop to no longer eat CPU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13228 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 18:01:41 +00:00
John Spray
e820144307 Fix some font names getting mangled in GPreferences, as
pointed out by Bartok.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13227 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 17:51:11 +00:00