Commit Graph

9707 Commits

Author SHA1 Message Date
Enrico Forestieri
0f641c9a84 Fix dtl tools detection. A non-empty variable is always true in python,
even if its value is false...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15911 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 19:29:17 +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
89c07cb10b update FSF address
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15898 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 14:19:08 +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
Jean-Marc Lasgouttes
b742206cee forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15894 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:03:01 +00:00
Enrico Forestieri
9d46ada90a Check only once for dtl tools in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15892 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 21:59:19 +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
efdad3111b * bind/menus.bind: digits may need the shift modifier (on french
kbd for example).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15829 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 15:44:17 +00:00
Jean-Marc Lasgouttes
da4fe3c7b2 update from Ran Rutenberg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15827 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 15:17:35 +00:00
Jean-Marc Lasgouttes
ba70b87ed6 * src/insets/insetbox.C (InsetBox::doDispatch): remove annoying debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15823 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 14:46:20 +00:00
Joost Verburg
52f7be199d move compressor setting to lyx.nsi because it should not apply to scripts that include the settings file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15775 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 22:14:38 +00:00
Joost Verburg
cae9a14cce * Custom NSIS plug-ins will be included in the dependency packages
* New Console plug-in with support for restricted users
* Warning message if no PDF viewer is installed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15772 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 21:48:00 +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
Joost Verburg
89cd37d5e5 fix for installation by restricted users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15761 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 22:37:27 +00:00
Joost Verburg
289b4415bf i18n improvements:
* More space on installer dialogs
* Shortened a few texts
* Set default LyX language to English if the OS language is not supported
* Corrected text on viewer download dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15759 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 20:48:51 +00:00
Joost Verburg
0845eb281c store temporary PDF files outside the LyX tmpbuf to prevent file locking problems when LyX is closed while Adobe Reader is still open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15741 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 23:05:32 +00:00
Joost Verburg
18ab6a8983 corrected Aiksaurus data directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15733 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 14:17:37 +00:00
Joost Verburg
757e85340c language names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15694 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-02 22:25:39 +00:00
Joost Verburg
f45340ef24 plug-in for HTTP/FTP downloads
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15686 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 23:05:24 +00:00
Joost Verburg
89f92ec00b Improved spell checking on Windows:
* New dictionary installers on ftp.lyx.org. Arabic is now also supported.
* Added support for FTP downloads to the installer.
* Independent registry settings for all Aspell directories.
* Better backwards compatibility with older Aspell installations.
* Improved multi-user installation of Aspell on Windows 2000/XP.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15683 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 22:56:08 +00:00
Georg Baum
1e54cf76a4 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15669 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:12:11 +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
Michael Schmitt
76ce5f0e17 * po/*.po: remove spurious \r escape sequence
(introduced in ui file due to erroneous eol-style);
        remove outdated messages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15629 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 20:53:00 +00:00
Michael Schmitt
e0cda6b0dd * ui/default-alltoolbars.ui:
* ui/default-autotoolbars.ui: set eol-style to native


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15628 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 20:34:04 +00:00
Michael Schmitt
44a1f8273c * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15626 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 19:58:44 +00:00
Joost Verburg
690905225d updated information about LyX for Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15602 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 16:05:08 +00:00
Joost Verburg
d66a940f89 Added ui files to enable the math/table toolbars by default (default-alltoolbars.ui) or to set these toolbars to the context sensitive mode (default-autotoolbars.ui).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15601 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 15:54:48 +00:00
Martin Vermeer
461900deb5 * layout2layout.py
(convert): remove spurious tabs



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15600 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 11:43:18 +00:00
Joost Verburg
54623be435 let MiKTeX ask the user again to download packages if needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15587 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-27 23:27:43 +00:00
Joost Verburg
fb67703632 redirect command line parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15583 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-27 20:24:22 +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
37d00bdce7 add Ran Rutenberg as new contributor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15561 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 14:29:40 +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
Joost Verburg
9961524a85 New Windows PDF view helper application. It is now possible to keep Adobe Reader open without file locking problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15552 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 20:58:23 +00:00
Jean-Marc Lasgouttes
1d4a528c7b forgot that when adding Galician docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15548 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 12:24:16 +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
Joost Verburg
e48fd46d5f Changed default date formatting string to be compatible with both Windows/UNIX. This solves crashes on Windows systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15545 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 10:27:30 +00:00
Jean-Marc Lasgouttes
b55cf79528 small update to contributors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15532 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 14:12:00 +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
Jean-Marc Lasgouttes
3992cbdbc1 add galician to known languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15529 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 13:52:45 +00:00
Jean-Marc Lasgouttes
2b4886e4da new Galician docsstatus.14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15523 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 08:05:17 +00:00
Jean-Marc Lasgouttes
1b7196add2 new Galician l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15522 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 08:04:08 +00:00
Joost Verburg
331827a552 read lyxrc.dist a second time to be able to override viewer auto-detection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15516 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 18:02:12 +00:00