Commit Graph

327 Commits

Author SHA1 Message Date
Enrico Forestieri
96a6e50ceb Fix bug 3220
* src/insets/ExternalSupport.C
	(updateExternal): Avoid computing crc of a directory as this leads
	to a crash on Cygwin.

	* lib/configure.py:
	Use a python script to get the current date in order to avoid
	a stalling condition with the date command on Win32.

	* lib/scripts/date.py:
	New python script.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17177 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 23:20:29 +00:00
Georg Baum
8114643845 * src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Use correct extension if it cannot be
	stripped. I overlooked this when I did the
	stripExtension -> stripExtensionIfPossible change in revision 10093.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17121 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-09 08:42:26 +00:00
Uwe Stöhr
88cbc4179e reflect Spanish Intro update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17098 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 20:54:45 +00:00
Jean-Marc Lasgouttes
10746de09c update to italian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17086 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 13:24:43 +00:00
Jean-Marc Lasgouttes
4accb66add update to european.kmap from from Jacek Holeczek
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17085 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 13:19:52 +00:00
Jean-Marc Lasgouttes
355b308cdb reorganize a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17084 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 13:17:44 +00:00
Jean-Marc Lasgouttes
2b8df6020f remove mention of bug 2418
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17040 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 16:25:32 +00:00
Uwe Stöhr
da5a8e02bf EmbeddeObjects:
- Spanish updates
- corrections in status.14x

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17037 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 15:07:37 +00:00
Uwe Stöhr
28c5bb870f fix bug 895
http://bugzilla.lyx.org/show_bug.cgi?id=895

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16993 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 20:52:24 +00:00
Jean-Marc Lasgouttes
48d4b9f85b Fix bug 2186 (from G. Baum)
* insetbibtex.C (latex): copy the .bst files to the temp
	dir before running LaTeX, as is done for .bib files, graphics etc.
	(bug 2186)

	* insetgraphics.C (RemoveExtension): remove. The inset will use
	the version from filetools instead.

	* filetools.C (RemoveExtension): new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16972 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 15:01:03 +00:00
Jean-Marc Lasgouttes
bccccbe77f Czech update from Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16967 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 13:12:23 +00:00
Jean-Marc Lasgouttes
dc5e6762fb initial work for 1.4.4 release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16945 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 10:46:20 +00:00
José Matox
559278fc0b Fix bug 2841
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16934 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 19:27:00 +00:00
Georg Baum
0e56b37311 Merge rev 16079:
Fix crash in brutefind2() when the inset was not in the coordcache.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 10:37:29 +00:00
Uwe Stöhr
f6810b243f add two more fixed bugs to status 14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16814 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 00:45:06 +00:00
Georg Baum
52baa724b5 From Bernhard Roider:
* src/insets/insetexternal.C
	(InsetExternalParams::read): Read filenames with spaces correctly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 10:38:37 +00:00
Jürgen Spitzmüller
4832786600 * QRef.C (updateRefs): remove recursive call to gotoRef()
(fixes bug 3063); backport from revision 16754.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16805 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 10:25:09 +00:00
Jean-Marc Lasgouttes
23c6d0089f * insetbranch.C (textString): implement, so that branches appear
in the ToC.

	* output_plaintext.C (asciiParagraph): output things in the right
	order when there is an inset and runparams.linelen == 0.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16764 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-19 16:16:28 +00:00
Jean-Marc Lasgouttes
6672307cdc * lyx_main.C (readUIFile): when reading an include file which name
ends in .ui, try the .inc version too (support for user ui files)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16763 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-19 14:35:32 +00:00
Uwe Stöhr
02534fa08a mention previous bugfix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16749 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 18:50:41 +00:00
Jean-Marc Lasgouttes
fc286bd217 rename stdmenus.ui and stdtoolbars.ui to stdmenus.inc and stdtoolbars.inc (bug 2387)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16735 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 16:47:16 +00:00
Jean-Marc Lasgouttes
196bd6a4b0 * math_hullinset.C (numbered): clear the label when unnumbering
(workaround for bug 2556).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16733 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 16:17:10 +00:00
Jean-Marc Lasgouttes
b902aaa8ba * text.C (breakParagraph): when tracking changes, do not remove
NewLine insets when change tracking is on (bug 2865).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 16:01:49 +00:00
Jürgen Spitzmüller
f18c730b36 * src/text3.C (doDispatch):
- record undo on LFUN_BREAKLINE (bug 3111).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16731 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 15:47:27 +00:00
Jean-Marc Lasgouttes
db71db23ce * BufferView.C (mouseSetCursor): if the cursor was in an empty
script inset and the new position is in the nucleus of the inset,
	notifyCursorLeaves will kill the script inset itself. So we check
	all the elements of the cursor to make sure that they are correct
	(bug 2933).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16728 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 15:24:01 +00:00
Jürgen Spitzmüller
b90cacb659 * src/frontends/qt2/QGraphicsDialog.C:
- allow double values in the bounding box widgets (bug 3055, 3056).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 10:32:25 +00:00
Jean-Marc Lasgouttes
534e97edf3 remove duplicate entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-10 08:45:44 +00:00
Georg Baum
12c39b974d more Sweave commands from Gregor Gorjanc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 19:01:33 +00:00
Uwe Stöhr
b9d2dfa06f again a tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 10:03:00 +00:00
Uwe Stöhr
1c814d993b Spanish version of Extended-Insets manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16627 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 10:00:34 +00:00
Jürgen Spitzmüller
63183ee9da * src/insets/insetcite.C (getNatbibLabel): correct check for citation key cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 08:26:11 +00:00
Jean-Marc Lasgouttes
d2b8a31616 * os_unix.C (canAutoOpenFile, autoOpenFile): on Mac OS X, use
the role kLSRolesAll for both editor and viewer, since it is what 
	the finder does.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16605 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 13:32:20 +00:00
Jürgen Spitzmüller
8c143c72d6 * src/frontends/qt2/QGraphicsDialog.C:
- do not focus filename widget for already existing insets (bug 1663).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16603 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 13:21:36 +00:00
Jürgen Spitzmüller
b474cb3353 * src/frontends/qt4/QBibtexDialog.C: sanitize button behaviour (bug 2895)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16596 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 09:20:18 +00:00
Jürgen Spitzmüller
0b9dad040c Fix bug 3057.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16532 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 14:36:50 +00:00
Jean-Marc Lasgouttes
61da85eb4b * bufferparams.C (writeLaTeX):
* lyx_sty.C: use \setlength{\foo}{bar}, not \setlength\foo{bar}
	(bug 2843)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16477 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 10:39:35 +00:00
Georg Baum
125e638bdb Fix bug 2868
* src/insets/insetgraphics.C
	(findTargetFormat): return pdf for vector graphics

	* src/format.h
	(Flags): new enum describing format flags
	(flags_): new member variable for format flags
	(vectorFormat): new, tell whether a format can contain vector graphics

	* src/format.C: adjust to flags changes

	* src/frontends/qt2QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog): handle new vector flag
	(QPrefsDialog::switch_format): ditto
	(QPrefsDialog::updateFormatsButtons): ditto
	(QPrefsDialog::new_format): ditto
	(QPrefsDialog::modify_format): ditto

	* src/frontends/qt2/ui/QPrefFileformatsModule.ui
	(vectorCB): new checkbox for vector flag

	* src/lyxrc.C
	(LyXRC::read): read vector flag
	(LyXRC::write): write vector flag

	* lib/doc/Customization.lyx: document format flags

	* lib/configure.py
	(checkFormatEntries): Add vector flag to some formats


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 21:11:42 +00:00
Jean-Marc Lasgouttes
382e7201b0 * cursor.C (popRight): place cursor at the right spot:
notifyCursorLeaves may have killed the inset and put its contents
	at lower level (bug 2908)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16431 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 14:18:15 +00:00
Jean-Marc Lasgouttes
b37ba814ca new textclass (bug 2929)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16429 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 13:42:19 +00:00
Jean-Marc Lasgouttes
ce848ae52b * insetcollapsable.C (hasFixedWidth): new virtual method, returns
false by default.
	(metrics): do not set to openinlined if
	hasFixedWidth is true.

	* insetbox.C (hasFixedWidth): returns true if the box has a fixed
	width. 
	(metrics): use hasFixedWidth.
	



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16425 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 11:49:20 +00:00
Jean-Marc Lasgouttes
e4f1405c4e * math_nestinset.C (handleFont): avoid crash on undo when
suppressing a font inset (bug 3019).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16423 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 11:06:15 +00:00
Georg Baum
fb979f06cf Fix bug 2978 (inset-dissolve does not reset latex language)
* src/text.C
	(LyXText::dissolveInset): Reset language to buffer language if the
	dissolved inset is an ERT inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16412 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 10:45:33 +00:00
Georg Baum
280557cbd0 Fix the remaining bits of bug 2476
* src/paragraph.C
	(Paragraph::changeLanguage): Don't forget the dummy font change at
	the end of the paragraph when changing the language. This does not
	affect the other place where this code is used:
	Buffer::changeLanguage.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16409 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 08:09:28 +00:00
Jürgen Spitzmüller
fdb9f4d62f * src/mathed/math_nestinset.C (do_dispatch):
- catch LFUN_QUOTE and output plain quote (bug 3044).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16404 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 15:05:32 +00:00
Jean-Marc Lasgouttes
3bb0f423e3 understand Sweave special macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16402 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 12:08:26 +00:00
Jean-Marc Lasgouttes
9cd79c39c7 update German documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16400 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 11:18:51 +00:00
Jean-Marc Lasgouttes
3172c91da4 new Galician tutorial; updated Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16398 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:41:19 +00:00
Jean-Marc Lasgouttes
83ee897908 Add layout AltAffiliation ; add optional argument support for Author Email and
Author URL


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16346 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-20 14:08:36 +00:00
Jean-Marc Lasgouttes
d2061138de * insetcollapsable.C (doDispatch): do nothing on mouse release if
there is a selection.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16336 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 15:39:26 +00:00
Jean-Marc Lasgouttes
5053826965 boost works perfectly with gcc 4.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16329 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 06:33:29 +00:00