Commit Graph

9771 Commits

Author SHA1 Message Date
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
Joost Verburg
ccfaaf947a improved installation type detection in uninstaller, also works without Add/Remove Programs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15500 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 22:50:41 +00:00
Joost Verburg
0b0a643aef * New launcher to setup the environment and run LyX. No more flashing console windows and more reliable configuration.
* Initial main window geometry is calculated based on monitor resolution.
* Solved problems with character sets of translations. The latest gettext and libiconv are required. Uploaded patches for Windows/MSVC 2005.
* Default instant preview size matches default font size.
* Included version information resources.
* Corrected language names.
* Installer code improvements.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15461 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 22:53:19 +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
Bo Peng
b5fb312a49 Scons: remove fast_start feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15344 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 03:26:38 +00:00
Bo Peng
06baf62876 Scons: fix a config.h generation bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15342 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 02:55:30 +00:00
Bo Peng
4a3a9e24ca os_win32.C: remove console-hiding code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15338 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-15 15:04:41 +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
Martin Vermeer
35da03cc4a New layout for International Society for Photogrammetry and Remote Sensing
journals

	* lib/layouts/isprs.layout: the layout
	* lib/doc/LaTeXConfig.lyx.in: the documentation



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15320 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-13 08:57:59 +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
1bdc00f8d1 small update to Romanian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15290 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-09 15:23:38 +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
Bo Peng
bba3ef5acc Scons: fix windows DESTDIR installation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15252 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 03:07:07 +00:00
Bo Peng
64000bbeec Scons: fix cygwin postinstall/lyx.sh installation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15251 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 03:01:38 +00:00
Bo Peng
46c15b2f7e Scons: remove extra CCFLAGS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15243 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 17:29:23 +00:00
Bo Peng
23c2764c61 Scons: sync setEnvironment with trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15242 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 17:11:51 +00:00
Bo Peng
0fb388509c Scons: libintl also needs /MD option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15241 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 17:07:38 +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
Joost Verburg
a3e2b19761 Basque should be translated as Euskara
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15222 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 18:25:50 +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
Joost Verburg
7b9203d00c * Updated Python license
* Removed MSYS license

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15219 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 15:55:37 +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
Bo Peng
a7ba945464 Scons: fix substFile dependence problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15213 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 14:19:35 +00:00
Joost Verburg
a7594d6ca8 * Improved multi-user installation. It is now easier to have both a system as well as a local version of LyX installed.
* Installation for all users is the default for Power Users and Administrators
* For silent installation, it is possible to use the /AllUsers or /CurrentUser command line parameter to choose for which users you want to install
* Updated list of supported languages. The "red" languages from http://www.lyx.org/devel/i18n.php have been removed.
* Language and dictionary names are no longer in English but are translated in the language itself
* One single list with language names, ISO codes and identifiers
* Both the installer and uninstaller automatically detect the user interface language
* Added more space in the user interface for translated texts
* Added all Python encoding files so there will be no problems with future Python scripts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15200 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 17:21:20 +00:00
Joost Verburg
17ccf3cf5f other compilers need this fix as well
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15198 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 15:33:16 +00:00
Michael Schmitt
1b695dc199 Update version number (missed this one before)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15197 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 11:50:02 +00:00
Michael Schmitt
692f022eed set version number to 1.4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15195 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 09:11:23 +00:00
Jean-Marc Lasgouttes
352992f960 Romanian update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15179 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-29 12:34:13 +00:00
Bo Peng
5f6d63954e Scons: cygwin packaging fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15177 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-28 04:43:45 +00:00
Bo Peng
97ca4339ea Scons: correct installation of cygwin fonts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15174 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 19:29:08 +00:00