Commit Graph

361 Commits

Author SHA1 Message Date
Georg Baum
3be8ab0929 Fix bug 2982 (two undo steps are needed to undo inset-dissolve)
* src/CutAndPaste.C
	(pasteParagraphList): Don't record undo info here...
	(pasteSelection): ... but here ...

	* src/BufferView_pimpl.C
	(BufferView::Pimpl::menuInsertLyXFile): ... and here instead


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15962 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 20:45:35 +00:00
Georg Baum
c4b59fab79 Add button for default layout to the 'extra' toolbar
* src/text3.C
	(LyXText::dispatch): An empty argument of LFUN_LAYOUT is now allowd
	and means the default layout of the text class

	* lib/images/layout.xpm: New image for default layout

	* lib/Makefile.am: Add new file
	* development/scons/scons_manifest.py: ditto

	* lib/ui/stdtoolbars.ui: Add "Deafult" layout button to the extra toolbar


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15953 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 09:56:34 +00:00
Georg Baum
c904b9aa0c Fix bug 2393 (from Dov Feldstern)
* src/lyxtext.h
	* src/text.C
	(LyXText::charsTranspose): New method for transposing characters

	* src/text.C
	(LyXText::dispatch): Call charsTranspose for LFUN_CHARS_TRANSPOSE


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15952 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 09:34:31 +00:00
Georg Baum
0914aa347e Fix bug 2789 (as discussed)
* src/mathed/math_hullinset.C
	(MathHullInset::doDispatch): move code for ref insert to MathNestInset 
	(MathHullInset::getStatus): move code for ref insert to MathNestInset

	* src/mathed/math_nestinset.C
	(MathNestInset::doDispatch): move code from MathHullInset here
	(MathNestInset::getStatus): move code from MathHullInset here


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15901 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 14:25:55 +00:00
Jean-Marc Lasgouttes
c9b04ce446 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15900 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 14:24:00 +00:00
Jean-Marc Lasgouttes
1f2e71d57d update Italian UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15895 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:03:34 +00:00
Georg Baum
5b8d08adef Revert revision 14802.
* src/mathed/math_scriptinset.C
	(MathScriptInset::write): Do not add braces to the nucleus

	* src/mathed/math_parser.C
	(Parser::parse1): Do not remove brace insets from the nucleus of
	script insets

	* src/mathed/math_nestinset.C
	(MathNestInset::script): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15861 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-11 15:50:31 +00:00
Jean-Marc Lasgouttes
f0575463d0 * dociterator.C (forwardPar): remove debug code.
(forwardInset): speed up (like forwardPar).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15847 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-10 23:31:02 +00:00
Martin Vermeer
05b14cc357 * src/toc.C
(outline): Fix undo bug in TOC navigation



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15836 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-10 11:37:41 +00:00
Jean-Marc Lasgouttes
77bfc3a011 * MenuBackend.C (expandToc2, expandToc): add a view argument in
order to disable correctly the entries when needed.

	* lyxfunc.C (dispatch): update menus and toolbars here
	(getStatus): only honor LyXView::hasFocus when command originates
	from a menu (bug 2877)

	* funcrequest.h: split the UI enum value into TOOLBAR and MENU.

	* lyxfunc.C (sendDispatchMessage): 
	* MenuBackend.C (MenuItem): 
	* ToolbarBackend.C (add): 
	* frontends/qt2/Toolbars.C (layoutSelected): adapt to the change above.

	* frontends/qt2/QtView.C (hasFocus): return a correct value now (and fix bug 1720).

-This line, and those below, will be ignored--

M    src/ChangeLog
M    src/lyxfunc.C
M    src/frontends/Toolbars.C
M    src/frontends/qt2/ChangeLog
M    src/frontends/qt2/QtView.C
M    src/frontends/ChangeLog
M    src/funcrequest.h
M    src/MenuBackend.C
M    src/ToolbarBackend.C
M    status.14x


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15768 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 15:34:58 +00:00
Georg Baum
438b6cbf18 Fix invalid help documents: s/\\color default/\\color inherit/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15667 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:01:07 +00:00
Georg Baum
b415929e67 Add beamer.layout and example document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15659 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 11:53:57 +00:00
Michael Schmitt
442b9c271e * status.14x:
* po/ChangeLog:
        * po/de.po: update German localization


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15658 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 10:53:13 +00:00
Georg Baum
93d5d41c24 Fix generation of invalid LyX files
* src/lyxfont.C
	(LyXFont::lyxWriteChanges): Don't change color "inherit" to
	"default", since that cannot be read in.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15655 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 09:46:14 +00:00
Martin Vermeer
163bfbfcf8 Added note to status.14x on tabs removal from layout2layout.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15631 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 07:32:58 +00:00
Enrico Forestieri
6ce8659e50 Make MathBigInset working and implement GUI for fixed size math delimiters
(by Georg and me)

	* src/lfuns.h
	(enum kb_action): New lfun LFUN_MATH_BIGDELIM

	* src/LyXAction.C
	(init): New lfun LFUN_MATH_BIGDELIM

	* src/cursor.C
	(macroModeClose): try to intepret the current macro before
	it is simply inserted

	* src/mathed/math_biginset.[Ch]
	(name): implement
	(isBigInsetDelim): new, test whether a given token is a valid
	MathBigInset delimiter
	(infoize2): implement to show name if the cursor is to the right

	* src/mathed/math_biginset.C
	(size): handle Big, bigg and Bigg
	(increase): ditto
	(draw): fix deco drawing
	(write): don't write space before delimiter but append one if necessary

	* src/mathed/math_factory.C
	(createMathInset): handle l->inset == "big"

	* src/mathed/math_parser.C
	(asInput): return a token as input, stolen from tex2lyx
	(parse1): create a MathBigInset when needed

	* src/mathed/math_nestinset.C
	(doDispatch): try to intepret the argument of LFUN_SELFINSERT also
	if it is longer than one character
	(doDispatch): remove debug message
	(doDispatch): remove LFUN_MATH_DELIM test for multiple cells (now
	in getStatus)
	(doDispatch): handle LFUN_MATH_BIGDELIM
	(getStatus): Disable LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM when
	the selection spans multiple cells

	* src/mathed/math_nestinset.[Ch]
	(interpret): new, combine the previous math atom with the new
	character to a MathBigInset if possible

	* src/mathed/math_support.C
	(deco_table): add lbrace and rbrace

	* src/frontends/qt2/QDelimiterDialog.[Ch]
	(fix_name, QDelimiterDialog, insertClicked, size_selected):
	Allow for fixed size delimiters.

	* src/frontends/qt2/ui/QDelimiterDialogBase.ui:
	Added a combobox for selecting delimiter size.

	* src/frontends/xforms/forms/form_maths_delim.fd: ditto

	* src/frontends/xforms/FormMathsDelim.h:
	Added a private variable to store selected delimiter size

	* src/frontends/xforms/FormMathsDelim.C:
	Correct entry in delim_rversion[] for matching braces.
	(fix_name): new, return correct name for fixed size delimiter
	(build, apply, update): allow for fixed size delimiters.

	* src/frontends/gtk/GMathDelim.C: Add FIXME comment for fixed
	size delimiters

	* src/frontends/controllers/ControlMath.[Ch]:
	Added dispatchBigDelim() to deal with fixed size delimiters.

	* src/ParagraphParameters.C
	(findToken): move from here

	* src/support/lstrings.[Ch]
	(findToken): to here

	* src/text3.C
	(dispatch): handle LFUN_MATH_BIGDELIM
	(getStatus): ditto

	* src/ToolbarBackend.C
	(getIcon): handle LFUN_MATH_BIGDELIM

	* lib/symbols: add MathBigInset symbols



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15570 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 19:09:10 +00:00
Jean-Marc Lasgouttes
c77cfd3960 update Hebrew translation of Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15558 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 13:44:24 +00:00
Jean-Marc Lasgouttes
c57bff5fa5 * text.C (backspacePos0): rewrite to make it simple and allow
deleting empty paragraphs even when keepempty is true. Do not rely
	on dEPM, since this was silly (bugs 2587 and 2882)
	(Delete): simplify also and avoid calling backspace.
	(backspace): small tweak.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15547 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 12:18:56 +00:00
Jean-Marc Lasgouttes
18bfc160eb forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15530 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 13:54:06 +00:00
Martin Vermeer
4854791af8 Give Wide() inset proper clickable area
* status.14x: updated

	* src/insets/insettext.[Ch]: added covers() method



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15415 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 16:46:03 +00:00
Jürgen Spitzmüller
d0b141506f fix bug 2910:
* QDocumentDialog.C (updateNumbering): don't include headings
	that have no counter in their label.

* ui/NumberingModuleBase.ui: show scrollbar when appropriate. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15351 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 16:20:08 +00:00
Georg Baum
06836918b8 * src/factory.C
(readInset): Add comment about citation commands

	* src/tex2lyx/text.C
	(known_jurabib_commands): remove fullcite
	since LyX does not know it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15350 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 12:06:50 +00:00
Martin Vermeer
7424e3a0d7 Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15321 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-13 10:48:13 +00:00
Georg Baum
17f2dfdda4 Fix bug 2901: Add menu entry for numbered formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15309 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 15:06:32 +00:00
Jean-Marc Lasgouttes
b37e65c2c7 fix casing in svn command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15287 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-09 13:02:21 +00:00
Jürgen Spitzmüller
11b7b84d1f Fix bug 2744:
* buffer.[Ch] (changeRefsIfUnique): extend to handle bibitems 
	as well	(the function takes a InsetCode argument now) [bug 2744];
	clean up by using InsetIterator.

* math_hullinset.C (doDispatch): changeRefsIfUnique needs a
	InsetCode argument now (bug 2744).

* insetlabel (doDispatch): changeRefsIfUnique needs a
	InsetCode argument now.

* insetbibitem (doDispatch): use changeRefsIfUnique
	(actual fix for bug 2744).

* insetcommand.[Ch]:
* insetcite.[Ch]: implement replaceContents, which is
	used by changeRefsIfUnique.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15282 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-09 09:52:07 +00:00
Georg Baum
294109c66a Add lilypond external inset
* src/graphics/GraphicsConverter.C
	(build_script): Change the current directory to the directory of
	the output file

	* src/converter.C
	(Converters::convert): Add comment

	* lib/external_templates: Add lilypond template

	* lib/configure.py
	(checkFormatEntries): Add lilypond format
	(checkConverterEntries): Add lilypond converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15260 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 19:58:42 +00:00
Georg Baum
0b77857427 Document that python 2.2.0 is required.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15255 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 13:09:10 +00:00
Georg Baum
698763da0f Give a better error message for missing layout include files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15238 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 16:18:53 +00:00
Georg Baum
411024615c Support lgathered and rgathered math environments
* src/mathed/math_splitinset.C
	(MathSplitInset::validate): Only require amsmath for AMS stuff

	* src/mathed/math_factory.C
	(createMathInset): create MathSplitInset if the latexkey is "split"

	* src/mathed/math_parser.C
	(Parser::parse1): create MathSplitInset if the latexkey is "split"

	* lib/symbols: Add aligned, gathered, lgathered and rgathered


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15227 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 20:11:00 +00:00
Georg Baum
006106094d Parse optional arguments of aligned, gathered and alignedat
* src/mathed/math_splitinset.[Ch]
	(MathSplitInset): Add valignment argument to constructor

	* src/mathed/math_splitinset.C
	(MathSplitInset::write): write vertical alignment if needed

	* src/mathed/math_parser.C
	(Parser::parse1): parse optional arguments of aligned, gathered and
	alignedat


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15225 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 19:49:57 +00:00
Martin Vermeer
a5168640c1 The Outline patch. Movement in four directions, moving headers
deeper and shallower, up and down.

	* LyXAction.C

	* BufferView_pimpl.C:
	(BufferView::Pimpl::getStatus)
	(BufferView::Pimpl::dispatch)

	* frontends/qt2/QTocDialog.C:
	(QTocDialog::select_adaptor)

	* frontends/qt2/ui/QTocDialogBase.ui

	* frontends/qt2/QTocDialog.h:
	(QTocDialog : public QTocDialogBase)

	* frontends/qt2/QToc.[Ch]:
	(QToc::build_dialog)
	(QToc::updateType)
	(QToc::updateToc)
	(QToc::updateToc)
	(QToc::updateToc)
	(QToc::select)
	(QToc::set_depth)

	* frontends/controllers/ControlToc.[Ch]:
	(ControlToc::goTo)

	* toc.[Ch]:
	(asciiTocList)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15221 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 16:41:12 +00:00
Jürgen Spitzmüller
0bdf054359 Fix the fix for bug 2869.
* src/insets/insetvspace.C (doDispatch): open dialog on 
	mouse release, not mouse press 
	(fixes cursor positioning: bug 2869).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15217 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 15:18:27 +00:00
Georg Baum
ebc38de12a Add latex2rtf converter
* lib/configure.py
	(checkFormatEntries): Add rtf format
	(checkConverterEntries): Add latex2rtf converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15170 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 14:17:55 +00:00
Jean-Marc Lasgouttes
8aa36f90ac update romanian translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15162 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 10:56:59 +00:00
Jean-Marc Lasgouttes
83bf839fcc small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15154 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-26 10:35:58 +00:00
Enrico Forestieri
9d8b608c5e Was forgetting this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15139 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-25 14:43:33 +00:00
Georg Baum
927155ee00 Fix bug 2845
* lib/configure.py
	(checkFormatEntries): Add wmf format
	(checkConverterEntries): Add wmf -> eps converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15122 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 14:27:23 +00:00
Georg Baum
75ffbdd2e0 Fix a crash that occured on exit if the clipboard was not empty
(only on windows).
	* src/frontends/Dialogs.C
	(Dialogs::hide): Don't send the signal if we are quitting


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15115 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 10:00:19 +00:00
Jean-Marc Lasgouttes
9ecb7a7d4c begin 1.4.4svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15113 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 09:31:49 +00:00
José Matox
b487206145 Change python requirement to 2.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15106 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 12:07:09 +00:00
Jean-Marc Lasgouttes
0ce5f5cedf * insettabular.C (doDispatch): do not modify cursor when iterating
over the cells to apply LFUN_EMPH and friends.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15100 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:42:09 +00:00
Jean-Marc Lasgouttes
757bbecf45 tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15098 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:16:51 +00:00
Peter Kümmel
a989be6e85 add scons and cmake to the lyx-1.4.3 distribution
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15095 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 09:43:46 +00:00
Jean-Marc Lasgouttes
24e0a84407 * lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15094 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 09:29:54 +00:00
Georg Baum
94d391b183 Fix a crash when lyx2lyx failed to convert LyX file.
* src/buffer.C
	(Buffer::readFile): Only call updateDocLang if reading the file
	succeeded


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15093 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 07:57:45 +00:00
Jean-Marc Lasgouttes
a84c402884 * insettabular.C (cutSelection): reset cursor when it is invalid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15087 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-20 12:13:38 +00:00
Jean-Marc Lasgouttes
1bc5b6a567 forgotten entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15067 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 12:38:48 +00:00
Jean-Marc Lasgouttes
abb6dab873 more tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15066 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 10:37:41 +00:00
Jürgen Spitzmüller
18dc22d2dc Fix bug 2382:
* src/CutAndPaste.C (pasteSelectionHelper): pass Cursor 
	as argument, remove cursor-dependent arguments, 	
	implement method to reset layout in insets which
	forceParagraphsToDefault.

	* CutAndPaste.C (pasteParagraphList): adapt call of 
	pasteSelectionHelper.

	* insetert.C (doDispatch):
	* insetcharstyle.C (doDispatch): remove ad-hoc-Code to 
	reset paragraph layout. 
	This is now done generally in CutAndPaste.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15061 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 09:34:42 +00:00
Jean-Marc Lasgouttes
10a49d10d8 new Hungarian translation of the Tuturial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15039 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 12:10:29 +00:00
Jean-Marc Lasgouttes
e2f1ea229d l10n updates before release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15037 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 10:33:03 +00:00
Michael Schmitt
8089eb77a2 add menu entries for phonetic symbols and accepting/rejecting
a single change in CT mode


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15015 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-16 13:09:46 +00:00
Georg Baum
73da83f89e Add phantom icons from Uwe and me (last part of bug 1473)
* src/frontends/controllers/ControlMath.C
	(latex_misc): Add phnatom, vphantom and hphantom

	* lib/images/math/hphantom.xpm: new
	* lib/images/math/phantom.xpm: new
	* lib/images/math/vphantom.xpm: new

	* lib/Makefile.am: add new files
	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15008 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 10:53:42 +00:00
Jean-Marc Lasgouttes
29396209ad * text.C (setCursorFromCoordinates):
* text2.C (setCursorIntern): add an assertion.

	* BufferView_pimpl.C (scrollDocView): reset cursor before setting
	it from coordinates (bug 2830).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15005 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 09:53:33 +00:00
Jean-Marc Lasgouttes
c50a5e9897 * paragraph_funcs.C (breakParagraph): make sure to respect nesting
when depth > 0 (bug 2445)/



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15001 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 09:37:33 +00:00
Jean-Marc Lasgouttes
6aa2f26bdb update french l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14999 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 07:59:25 +00:00
Jürgen Spitzmüller
e6bb6625ea * src/text3.C (doInsertInset): reset first paragraph to default after selected content has been pasted (bug 2802)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14994 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-14 13:50:37 +00:00
Jean-Marc Lasgouttes
309e1990fd Update Nynorsk; remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14984 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-13 13:21:51 +00:00
Jean-Marc Lasgouttes
e983b7c499 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14972 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-11 09:54:44 +00:00
Georg Baum
cac74dce2f forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14938 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-08 12:35:11 +00:00
Jean-Marc Lasgouttes
817d7c5fb3 * BufferView_pimpl.C (getCurrentChange): do not assume that
LyXText at cursor position is the same as LyXText at
	cursor.selBegin() position. Fixes a crash (bug 2600).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14935 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-08 12:16:35 +00:00
Bo Peng
9c4a1c3756 Scons: produce cygwin-compatible binary package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14933 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-08 01:51:57 +00:00
Georg Baum
361902d2f1 Fix bug 2660
* lib/doc/de_UserGuide.lyx: fix image paths


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14929 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 12:46:02 +00:00
Georg Baum
ca0a6d9f4a Fix bug 2698 (new images from Uwe Stöhr)
* src/frontends/controllers/ControlMath.C
	(latex_misc): Add intop and ointop

	* lib/images/math/intop.xpm: New
	* lib/images/math/ointop.xpm: Ditto

	* lib/images/math/int.xpm: Add box to make the difference to intop clear
	* lib/images/math/oint.xpm: ditto

	* lib/Makefile.am: add new files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14923 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 09:46:11 +00:00
Georg Baum
a64ef97c46 Fix bug 2637
* src/graphics/GraphicsCacheItem.C
        (CacheItem::Impl::convertToDisplayFormat): Don't derive the temp
        file name from the original file name. This ensures that it is
        composed of valid characters only.

        * src/graphics/GraphicsConverter.C: remove example script, since it
        will get out of date.
        (Converter::Impl::Impl): Don't call the default converter directly,
        but create a temporary script with build_script() as for the
        configured converters. This makes sure that the file name does not
        need to be passed on the command line anymore.
        (build_script): Copy the original file to a temp file before the
        conversion chain starts. This avoids problems with converters that
        can't handle ' in filenames.
        (build_script): This cannot fail anymore, so change the return type
        to void
        (build_script): Use build_conversion_command also for the default
        converter. This has the advantage that the special code for moving
        ${outfile}.0, ${outfile}.1 is actually used for ImageMagick's convert.
        (build_conversion_command): factored out from build_script


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14891 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-04 14:59:46 +00:00
Georg Baum
aeb9a00172 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14842 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-25 19:30:00 +00:00
Jean-Marc Lasgouttes
7380301361 more grammatically-correct version from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14840 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-25 16:47:54 +00:00
Georg Baum
c30511f6a0 Fix bug 2677
* boost/boost/bind.hpp:
	* boost/boost/ref.hpp:
	* boost/boost/mem_fn.hpp:
	* boost/boost/bind/mem_fn_template.hpp:
	* boost/boost/bind/storage.hpp:
	* boost/boost/bind/placeholders.hpp:
	* boost/boost/bind/bind_template.hpp: Update to boost 1.34cvs


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14839 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-25 14:59:20 +00:00
Georg Baum
841e126803 Fix bug 2786: import of spaces
* src/tex2lyx/text.C
	(known_spaces): new, LaTeX names of known spaces
	(known_coded_spaces): new, LyX names of known spaces
	(parse_text): Recognize all known spaces


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14834 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-24 17:01:03 +00:00
Jean-Marc Lasgouttes
f27ae48030 * math_nestinset.C (lfunMousePress): on button 2 press, paste
inner LyX selection if it exists (bug 2779).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14813 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-22 14:26:29 +00:00
Jean-Marc Lasgouttes
4d35334d5a * src/frontends/qt2/QContentPane.C (focusInEvent, focusOutEvent):
new methods; invoke signal WorkArea::focusChange (bug 2423).

	* src/frontends/WorkArea.h: add signal focusChange.

	* src/BufferView_pimpl.C (focusChange): new method; updates the
	toolbars (bug 2423)
	(Pimpl): connect the WorkArea::focusChange signal.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14808 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-19 16:27:00 +00:00
Jürgen Spitzmüller
d9e68dc1b2 * insetcite.C (getNatbibLabel): prevent filesystem exception
if the bib file is in a non-readable directory (bug 2782).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14806 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-19 10:37:57 +00:00
Jürgen Spitzmüller
f7557a9294 * insetcite.C (getNatbibLabel): prevent filesystem exception
if the bib file does not exist.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14804 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-18 13:11:28 +00:00
Jean-Marc Lasgouttes
8e0a72ebd3 Handle properly script insets which nucleus has more than one
element (like {a'}^{2}).

	* src/mathed/math_nestinset.C (script): when creating a script
	inset, handle specially previous atom if it is a MathBraceInset
	(this is used in interactive input).

	* src/mathed/math_parser.C (parse1): when creating a script inset,
	handle specially previous atom if it is a MathBraceInset (this is
	used in parsing phase).

	* src/mathed/math_scriptinset.C (write): put nucleus into braces
	if it contains more than one element or is itself a script inset.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14802 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-18 08:55:55 +00:00
Jean-Marc Lasgouttes
b9ef040be2 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14797 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 21:33:02 +00:00
Jean-Marc Lasgouttes
31f3506938 Fix bug 2727.
* math_scriptinset.C (notifyCursorLeaves): call recordUndoInset
	before deleting a cell; if the nucleus does not have scripts
	anymore, delete it and replace it by its contents at enclosing
	level.
	(write): output scripts even when they are empty.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14794 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 21:13:15 +00:00
Jean-Marc Lasgouttes
01010f76e8 * undo.C (recordUndoInset): remember the cursor position inside
the inset.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14790 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 20:12:13 +00:00
Jean-Marc Lasgouttes
226f97d044 update german documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14778 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 10:13:10 +00:00
Jean-Marc Lasgouttes
14bb3e541a * src/lyxfind.C (find): comment out debug message.
* src/frontends/controllers/ControlSpellchecker.C 
	(nextWord): take a LCursor as parameter; set the selection over
	the word that has been found.
	(check): adapt to changes above (the length of the word is not
	necessarily the length of the selection -- fixes bug 2068).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14710 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 21:44:37 +00:00
Bo Peng
548886a6e0 msvc support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14707 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 21:10:55 +00:00
Jean-Marc Lasgouttes
74ebb861b3 * src/BufferView_pimpl.C (getStatus, dispatch): do not handle
LFUN_GOTOERROR.

	* src/bufferview_funcs.C (findInset): exit early when at end of
	document (and avoid a crash).




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14705 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 20:28:03 +00:00
Jean-Marc Lasgouttes
ef4570e804 Fix bug 2774 (crash with Theorem environment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14701 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 13:52:22 +00:00
Jean-Marc Lasgouttes
2da50c5f07 * text2.C (init): do not reset curent font (bug 2664)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14699 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 10:09:51 +00:00
Bo Peng
4d7fc5b6a9 Fix bug 2768 (inset comment eats space after it)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14693 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-15 15:22:30 +00:00
Jean-Marc Lasgouttes
e554bf9a8d * text2.C (changeDepthAllowed): exit early when selection spans
several cells (bug 2630)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14677 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 19:02:04 +00:00
Georg Baum
eee8e74783 Fix bug 2723
* src/lyx_sty.C
	(lyxgreyedout_def): Use \textcolor instead of \color

	* status.14x: Not forgotten this time!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14656 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 18:48:49 +00:00
Jean-Marc Lasgouttes
9f12b59a91 Fix bug 2179
* controllers/ControlErrorList.h (unreadlist_): new member, tells whether the
  errorlist has been read by the dialog.

  * controllers/ControlErrorList.C (errorList, initialiseParams): update
  unreadlist_ as needed.

  * qt2/QErrorList.C (update_contents): do nothing if error list has not
  been updated (bug 2179).

  * xforms/FormErrorList.C (update): do not call updateContents if the
  error list has not been updated (bug 2179).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14655 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 17:39:36 +00:00
Bo Peng
2949a35176 Add scons build system.
* INSTALL.scons: instruction
	* development/scons/*: scons build system, qt frontend only
	* development/ChangeLog, status.14x, ChangeLog: bookkeeping


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14650 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 16:07:17 +00:00
Jean-Marc Lasgouttes
dcbfef703a * dociterator.C (forwardPosNoDescend): when at the end of the
inset, leave it, like forwardPos does (bug 2510).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14648 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 15:45:06 +00:00
Georg Baum
2e9002304a forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14641 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 13:29:00 +00:00
Michael Schmitt
77a28709ce * status.14x: status update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14640 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 13:24:34 +00:00
Jean-Marc Lasgouttes
bdb2556d5b * src/buffer.C (updateDocLang): update labels when changing language.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14628 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 20:12:52 +00:00
Georg Baum
2a64df96f9 Fix bug 2404
* src/lyx_cb.C
	(newFile): Only set the new buffer if it is valid

	* src/BufferView_pimpl.C
	(BufferView::Pimpl::loadLyXFile): Test whether newFile succeeded

	* src/lyxfunc.C
	(LyXFunc::menuNew): Only set the new buffer if it is valid
	(LyXFunc::open): ditto

	* src/importer.C
	(Importer::Import): ditto

	* src/lyx_main.C
	(LyX::exec2): Only use the new buffer if newFile succeeded

	* src/buffer_funcs.C
	(newFile): discard the buffer and return 0 if the template is invalid

	* src/BufferView_pimpl.[Ch]
	(BufferView::Pimpl::newFile): remove, not used anymore

	* src/BufferView.C
	(BufferView::newFile): remove, not used anymore


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14623 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 12:31:19 +00:00
Jean-Marc Lasgouttes
98151fde55 * Customization.lyx:
* fr_Customization.lyx:
	* de_Customization.lyx: remove reference to reLyX.

	* Tutorial.lyx: rename sec:relyx label to sec:tex2lyx.
	* fr_Tutorial.lyx: ditto, and change references to reLyX




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14621 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 11:25:41 +00:00
Jean-Marc Lasgouttes
98097da2c9 * src/lyx_main.C (init): Do automatic reconfiguration even when
running in batch mode (bug 2741).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14618 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 22:10:23 +00:00
Jean-Marc Lasgouttes
84e22d209e Fix bug 2756:
* src/BufferView_pimpl.C (dispatch/LFUN_NEXT_INSET_TOGGLE): moved from
	LyXText.

	* src/text3.C (dispatch/LFUN_NEXT_INSET_TOGGLE): moved to
	BufferView::Pimpl, since this should work in mathed too.

	* src/mathed/math_nestinset.C (doDispatch/LFUN_INSET_TOGGLE): do not try to
	do the work which belongs to LFUN_NEXT_INSET_TOGGLE (bug 2756).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14616 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 21:40:24 +00:00
Georg Baum
8d7df59e74 Fix bug 2481 and read in of \over (related to bug 2481)
* src/mathed/math_fracinset.[Ch]
	(MathFracInset::extraBraces): new, return true for \atop
	* src/mathed/math_binominset.[Ch]
	(MathBinomInset::extraBraces): new, return true for \choose

        * src/mathed/math_factory.C
        (createMathInset): Create a MathFracInset of kind OVER for \over

        * src/mathed/math_fracinset.C
        (MathFracInset::draw): handle kind OVER
        (MathFracInset::drawT): ditto
        (MathFracInset::write): ditto
        (MathFracInset::name): ditto
        (MathFracInset::extraBraces): ditto

        * src/mathed/math_fracinset.h
        (Kind): New kind OVER


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14615 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 13:10:37 +00:00
Jean-Marc Lasgouttes
fb6b3d7509 update from Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14604 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 09:25:27 +00:00
Jean-Marc Lasgouttes
99c7563806 new Czech translation; remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14601 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 08:58:40 +00:00
Jean-Marc Lasgouttes
4b804ed623 * lib/Makefile.am (dist_pkgdata_DATA): remove configure.py
(dist_pkgdata_PYTHON): and put it here
	(dist_scripts_DATA): rename to dist_scripts_PYTHON; this invokes
	automake's built-in python support.
	(install-data-hook): adapt to above change.

	* lib/lyx2lyx/Makefile.am (dist_lyx2lyx_DATA): rename to dist_lyx2lyx_PYTHON;
	this invokes automake's built-in python support.
	(install-data-hook): new target: sets executable bit on lyx2lyx.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14593 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 20:53:51 +00:00
Bo Peng
f6dbef59e6 Keep a copy of output from lib/configure.py to configure.log
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14591 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 15:27:12 +00:00
Jean-Marc Lasgouttes
24f5fcbcf6 update to reflect the new menu structure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14582 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 21:44:42 +00:00
Jean-Marc Lasgouttes
ccc943ac88 update italian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14577 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 20:57:25 +00:00
Jürgen Spitzmüller
365a2daf53 Prevent boost::filesystem assert (w/ dataloss) when the backup dir was invalid or not writeable. War the user instead and skip backup (bug 2740)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14576 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 14:39:08 +00:00
Jean-Marc Lasgouttes
08b31ac8a5 (Backport from changeset 14515 from Lars)
Let gcc 4.x be handled.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14575 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 14:06:21 +00:00
Jean-Marc Lasgouttes
eb42722649 Fix bug 2616 (backport of changeset 14496 from G. Baum)
* src/LaTeX.C
        (LaTeX::deplog): Add the toc file to the dependencies if a line
        \tf@toc=\write#
        is present in the log file, since miktex does not write the line
        \openout# = `sample.toc'.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14573 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:56:21 +00:00
Jean-Marc Lasgouttes
bd648f4a81 Fix bug 2716 (backport changeset 14504 from G. Baum)
* lib/external_templates
	(XFig): Require the color package, since xfig generates LaTeX
	code with \color.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14571 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:33:49 +00:00
Jean-Marc Lasgouttes
226519b64f (backport of changeset 14516 from G. Baum)
Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
setting CPPFLAGS)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14570 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:26:22 +00:00
Jean-Marc Lasgouttes
41e2e9cea1 Partial fix for bug 2420 (backport of changeset 14495 from G. Baum)
* src/tex2lyx/preamble.C
	(parse_preamble): ignore the definition of the lyxgreyedout
	environment



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14569 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:12:07 +00:00
Jean-Marc Lasgouttes
40ea8765be Give feedback if TeXFiles.py fails (from Georg Baum)
* src/frontends/controllers/tex_helpers.h: doxyfy comment

	* src/frontends/controllers/tex_helpers.C
	(rescanTexStyles): Pop up a message box when TeXFiles.py fails



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14566 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:57:09 +00:00
Jean-Marc Lasgouttes
5bb256a268 forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14564 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:31:20 +00:00
Jean-Marc Lasgouttes
5c985f39ab Fix bug 2667 (from Georg Baum)
* src/tex2lyx/tex2lyx.C
	(tex2lyx): output an empty paragraph if the document is empty

	* src/tex2lyx/context.C
	(Context::check_layout): set empty to false

	* src/tex2lyx/context.[Ch]
	(empty): new flag, tells whether all contexts are empty


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14555 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 13:47:28 +00:00
Bo Peng
c012fabf39 lib/configure.py: display latex package checking results faster
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14548 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-06 23:21:43 +00:00
Bo Peng
293c9812db Add revision 14479 to the bug fixes section of status.14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14480 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:50:41 +00:00
Bo Peng
1e2f3d80e8 Minor fix to status.14x concerning no-shell patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14473 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 13:56:33 +00:00
Bo Peng
ffb930966e Add status.14x entry for the no-shell patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14471 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 02:20:48 +00:00
Jean-Marc Lasgouttes
29eeae433c * src/frontends/qt2/QContentPane.C (q_key_state): allow both Alt and Meta as alt
modifier. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14445 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 09:25:32 +00:00
Jean-Marc Lasgouttes
33b3b933b9 back to work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14444 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 09:13:23 +00:00
Jean-Marc Lasgouttes
bea368b6ac * src/text3.C (dispatch): merge the SEL and non-SEL cursor movement
LFUNs; use LCursor::selHandle consistently (fixes bugs 2119 and
	2259, and also a crash related to with dEPM)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14437 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 07:47:33 +00:00
Jean-Marc Lasgouttes
e209374eca fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-12 15:09:32 +00:00
Jean-Marc Lasgouttes
eb0570411e fixes from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14427 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-12 13:27:57 +00:00
Jean-Marc Lasgouttes
50645561e6 move things around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14425 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-12 12:38:11 +00:00
Jean-Marc Lasgouttes
8d88258cfd update slovak translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-12 12:23:29 +00:00
Jean-Marc Lasgouttes
a5e0ce7d03 * src/rowpainter.h (rightMargin): reduce to 10 pixels, like the left
margin. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14358 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 13:42:03 +00:00
Jürgen Spitzmüller
0bf849e21c * src/insets/insettabular.h: return true for allowSpellcheck (bug 2675)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14355 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 10:03:48 +00:00
Jean-Marc Lasgouttes
61bb33f91c fix hyphens in man pages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14350 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 14:26:07 +00:00
Jean-Marc Lasgouttes
e85e582e83 New TeXFiles.py script from Bo Peng. This avoids a crash with the bash
version in windows.

	* lib/Makefile.am (dist_scripts_DATA): update.
	* lib/scripts/TeXFiles.sh: removed.
	* lib/scripts/TeXFiles.py: new script.

	* src/frontends/controllers/tex_helpers.C (rescanTexStyles):
	invoke the new TeXFiles.py python script.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14349 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 12:59:11 +00:00
Jean-Marc Lasgouttes
732d9156a0 update Polish l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14334 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-04 07:50:28 +00:00
Jean-Marc Lasgouttes
6087a93f0f update turkish l10n; update postats script to use proper trac URL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14326 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 21:54:30 +00:00
Jean-Marc Lasgouttes
fa8db4c6a9 update Italian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14313 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 12:21:11 +00:00
Jürgen Spitzmüller
f66fd91896 * ui/QPrefUIModule.ui: fix layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14268 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 09:49:08 +00:00
Michael Schmitt
7a218f2b31 status.14x: mention German translations; fix minor typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14267 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-29 20:16:42 +00:00
Martin Vermeer
e41b09f2d4 * insettabular.C (drawSelection): initialize tabular background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14262 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-29 07:17:54 +00:00
Jean-Marc Lasgouttes
a63942bee5 Patch from Martin Vermeer for bug 2218.
* src/frontends/xforms/FormSpellchecker.C (update): 
	* src/frontends/qt2/QSpellchecker.C (update_contents): fix bug 
	2218: Spellchecker doesn't pop up dialogue window for the first 
	misspelled word.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14247 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 12:20:59 +00:00
Jean-Marc Lasgouttes
daa8296b7f The big cygwin_path rewrite patch from Enrico Forestieri.
Renaming:
	cygwin_path_fix		->	windows_style_tex_paths
	cygwin_path_fix_needed	->	tex_expects_windows_paths
	check_cygwin_path	->	check_windows_style_tex_paths
	use_cygwin_paths	->	use_windows_paths
	RC_CYGWIN_PATH_FIX	->	RC_TEX_EXPECTS_WINDOWS_PATHS

	* src/frontends/qt4/ui/QPrefCygwinPathUi.ui
	* src/frontends/qt3/ui/QPrefCygwinPathModule.ui
	  Updated checkbutton label and description

	* src/frontends/qt4/QPrefsDialog.C
	  (PrefCygwinPath): cygwin_path_fix -> windows_style_tex_paths
	  (QPrefsDialog): Enable checkbutton for native WIN32 builds

	* src/frontends/xforms/forms/form_preferences.fd
	  Updated label and name of checkbutton

	* src/frontends/xforms/FormPreferences.C
	  (apply): cygwin_path_fix -> windows_style_tex_paths
	           check_cygwin_path -> check_windows_style_tex_paths
	  (build): Enable checkbutton for native WIN32 builds
	  (update): Ditto
	  (feedback): Updated description

	* src/frontends/qt3/QPrefs.C
	* src/frontends/qt3/QPrefsDialog.C
	* src/frontends/qt3/QPrefsDialog.h
	  Renaming as above, enabled checkbutton for native WIN32 builds

	* src/support/os_unix.C
	* src/support/os.h
	* src/support/os_win32.C
	  Renaming cygwin_path_fix -> windows_style_tex_paths
	* src/support/os_cygwin.C
	  Ditto
	  (external_path, external_path_list): always return windows
	  style paths, not depending on the checkbutton status

	* src/lyxrc.C
	* src/lyxrc.h
	* src/lyxfunc.C
	* src/lyx_main.C
	  Renaming

	* lib/configure.py
	  Renaming, more meaningful diagnostics




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14243 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 10:54:14 +00:00
Georg Baum
2019a3e590 Fix limit display of intop and ointop
* src/mathed/math_scriptinset.C
	(MathScriptInset::hasLimits): handle \intop and \ointop

	* lib/symbols: add intop and ointop


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14230 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 16:38:11 +00:00
Jean-Marc Lasgouttes
e8e9296063 fix bug 2650: weird numbering and crash in italian documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14218 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 10:54:02 +00:00
Georg Baum
332a0fef95 * src/mathed/math_gridinset.C
(doDispatch): fix off by one error when checking cur.idx() (bug 2655)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14187 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-23 15:32:54 +00:00
Jean-Marc Lasgouttes
d6e40e19ad use our own font width cache with Qt/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14127 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-16 14:32:42 +00:00
Georg Baum
8fa0d2ccb3 Fix crash on exit (bug 2549) by correct usage of QApplication
* src/lyx_cb.C
        (quitLyX): lyx_gui::exit takes now an argument

        * src/frontends/{gtk,xforms}/lyx_gui.C
        (lyx_gui::parse_init): rename to lyx_gui::exec and call LyX::exec2
        (void lyx_gui::exit): add exit status argument

        * src/frontends/qt2/lyx_gui.C
        (cleanup): new function for pointer cleanup
        (lyx_gui::parse_init): rename to lyx_gui::exec and call LyX::exec2,
        turn static variables into automatic variables
        (void lyx_gui::exit): add exit status argument
        (start): Use cleanup()
        (exit): ditto

        * src/frontends/lyx_gui.h
        (parse_init): remove
        (exec): new
        (exit): Take exist status argument

        * src/lyx_main.[Ch]
        (LyX::priv_exec): split into LyX::priv_exec and LyX::exec2

        * src/lyx_main.C
        (lyx_exit): New, choose the right exit function
        (showFileError): call lyx_exit
        (LyX::queryUserLyXDir): ditto
        (LyX::init): ditto
        (LyX::priv_exec): ditto
        (LyX::priv_exec): Replace want_gui by lyx_gui::use_gui
        (LyX::priv_exec): replace lyx_gui::parse_init by lyx_gui::exec and
        exec2
        (LyX::init): Replace gui argument by lyx_gui::use_gui



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14059 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-09 13:07:04 +00:00
Martin Vermeer
01190aaf7a Remembered this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14058 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-09 12:19:00 +00:00
Jean-Marc Lasgouttes
a2a94df651 small updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14043 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-08 12:56:29 +00:00
Georg Baum
5086925d93 add bug number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14042 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-08 12:42:36 +00:00
Jean-Marc Lasgouttes
27b299205d * src/bufferparams.h: make author_map use an unsigned index, to avoid
a warning.

	* src/text.C (readParToken): handle \change_inserted and
	\change_deleted tokens with wrong author index (bug 2614).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14029 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-07 17:06:00 +00:00
Georg Baum
51ca3d43d3 * lib/configure.py: Add tgif->png and tgif->ppm converters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-06 11:42:35 +00:00
Jean-Marc Lasgouttes
993374a769 2006-06-01 Panayotis Papasotiriou <papasot@physics.upatras.gr>
* Makefile.am:
	* templates/ijmpc.lyx: 
	* layouts/ijmpc.layout: new textclass for International Journal of
	Modern Physics C. 

	* templates/ijmpd.lyx:
	* layouts/ijmpd.layout: update.

	* LaTeXConfig.lyx.in:
	* Extended.lyx: update for ijmpc/d textclasses.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13978 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-01 13:14:19 +00:00
Jean-Marc Lasgouttes
86a77679c8 * src/intl.C (InitKeyMapper): reset kbmap file names if the files
could not be read (bug 2604).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13970 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-31 10:32:26 +00:00
Jürgen Spitzmüller
b75165353e fix bug 2623:
* lib/layouts/memoir.layout:
	add ProvidesMakeindex

* src/LaTeX.C (run):
	rerun latex if idx file is empty (needed by memoir)
	fix typo in comment
* src/LaTeXFeatures.C (getPackages):
	whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13963 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 17:28:02 +00:00
Jean-Marc Lasgouttes
48f0a4b681 * src/support/os_unix.C (canAutoOpenFile, autoOpenFile): add support for Mac
OS X.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13960 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 16:41:31 +00:00