Commit Graph

9543 Commits

Author SHA1 Message Date
Martin Vermeer
0cb515b425 Fix bug 2485 and crash on middle-mouse paste into math.
Also move reponse to middle mouse from Release to Press

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13620 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 11:10:03 +00:00
José Matox
c9974774af Fix SGML paragraphs convertion for docbook documents and update lyx2lyx version string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13618 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 10:51:18 +00:00
Georg Baum
e0657f7f6e * src/insets/insetgraphics.C (prepareFile): output correct file name
of compressed files (bug 2231)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13597 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 10:35:01 +00:00
Georg Baum
d4104bbaa2 From Jean-Marc: Make sure that standard sectioning styles have proper counters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13590 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 15:45:09 +00:00
Georg Baum
7e95bc60fc *lib/scripts/layout2layout.py: Fix section labelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13587 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 15:24:07 +00:00
Jean-Marc Lasgouttes
2c87b34b34 import 1.3.7 translations, which were better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13585 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 13:11:34 +00:00
Jean-Marc Lasgouttes
8ea0187fe5 update German Tutorial, Intro and splash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13583 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 12:19:58 +00:00
Jean-Marc Lasgouttes
ee810920ca remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13581 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 12:05:28 +00:00
Jean-Marc Lasgouttes
8956c47e36 * src/rowpainter.C (CursorOnRow): expand redrawing of current row to
endpos(). 



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

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



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

	Changes to the within-inset row rendering caching code.

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



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13568 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 12:06:37 +00:00
Jean-Marc Lasgouttes
b5d8f230a1 forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13567 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 10:47:16 +00:00
Jean-Marc Lasgouttes
7c6332c454 Update Polish localization and fix bug 2439
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13559 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 20:53:51 +00:00
Georg Baum
ebc0e7ef71 forgot the status update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13551 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 09:22:50 +00:00
Georg Baum
29d5aa8d82 fix bug 1235
* src/support/filetools.C
	(readBB_from_PSFile): sanitize return value


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13542 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 13:01:03 +00:00
Georg Baum
a3c2ea155d * lib/scripts/layout2layout.py
(concatenate_label): new, concatenate two labels in an intelligent way
	(convert): add the TocLevel for sectioning styles
	(convert): convert LabelString and StringAppendix for sectioning
	styles (append counter)


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



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13528 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 14:45:04 +00:00
Jean-Marc Lasgouttes
39cc61cc74 update again for 1.4.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13527 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 14:27:53 +00:00
Jean-Marc Lasgouttes
70c4bc5954 fixes from angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13526 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 12:07:25 +00:00
Georg Baum
be62b3345e revert my faulty fix of bug 2380 and use one by Jean-Marc instead:
* insets/insettabular.C
	(InsetTabular::insertAsciiString): set BufferView cache of cell


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

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



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


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


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

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


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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13509 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 10:07:05 +00:00
Jean-Marc Lasgouttes
ff4191df6d update to Spanish tutorial from Luis Guillermo Cota Preciado
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13508 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:45:20 +00:00
Jean-Marc Lasgouttes
7f8ab038cf compatibility with new intel macs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13505 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:28:01 +00:00
Jean-Marc Lasgouttes
7022e24fe2 add missing files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13504 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:16:38 +00:00
Michael Schmitt
8fdc06fb98 * de.po: minor changes suggested by Hartmut Haase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13502 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-27 18:18:46 +00:00
Georg Baum
a917aff7ec From Uwe:
* chkconfig.ltx: check for the preview package
        * doc/LaTeXConfig.lyx.in: document prettyref, varioref and preview


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13500 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-27 14:09:59 +00:00
Jürgen Spitzmüller
6a8475c331 * src/text.C (bool LyXText::backspace):
don't try to go to previous par when in first par 
	(fix crash in change tracking mode). 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13493 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-25 14:37:08 +00:00
Jürgen Spitzmüller
1333a74909 honour change tracking fixes in the release notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13490 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 19:10:55 +00:00
Jürgen Spitzmüller
5c21a7611d the ChangeLog for rev13487
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13489 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 18:20:09 +00:00
Georg Baum
5822df009a Merge Abdel's ParagraphList from trunk
* output_latex.h:
        * buffer.h:
        * CutAndPaste.h:
        * pariterator.h:
        * paragraph_funcs.h:
        * output_linuxdoc.h:
        * output_docbook.h:
        * insets/insettext.h: get forward declaration of ParagraphList

        * output_plaintext.C:
        * bufferlist.C:
        * undo.C:
        * lyxtext.h:
        * undo.h:
        * buffer_funcs.C:
        * insets/insetbibitem.C: get proper ParagraphList decls

        * output_linuxdoc.C (linuxdocParagraphs):
        * output_latex.C (TeXOnePar):
        * insets/insettext.C (appendParagraphs):
        * insets/insetcharstyle.C (docbook): use std::distance

        * CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
        * paragraph_funcs.C (breakParagraph,
        breakParagraphConservative, mergeParagraph):
        * text.C (acceptChange, rejectChange):
        * text2.C (deleteEmptyParagraphMechanism): use boost::next

        * output_docbook.C (several places): use boost::next and
        std::distance

        * ParagraphList_fwd.h: modify to provid a forward declaratoin
        of the new ParagraphList.

        * RandomAccessList.h: New container for Paragraphs from
        Abdelrazak Younes

        * ParagraphList.h: new file, setup user of RandomAccessList

        * paragraph.C: remove ParagraphList constructor from this file


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13487 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 17:37:15 +00:00
Jürgen Spitzmüller
3f2c546936 The big change tracking paragraph patch (bug 880)
from Martin Vermeer  <martin.vermeer@hut.fi>:

	* text.C (backspace): Fix changebar non-update
	* CutAndPaste.C (pasteSelectionHelper): comments
	* paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
	* changes.h: comments
	* paragraph.C (stripLeadingSpaces): remove unnecessary setChange
	* text.C (backspace): allow deletion of inserted para break
	Change tracking -related bug fixes (reported by Juergen) and
	some documentation work
	* rowpainter.C (paintChangeBar): fix painting of change bar with
	only paragraph break changed
	* paragraph.[Ch] (write, lookupChange, lookupChangeFull;
	added setChangeFull):
	* paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
	rejectChange, erase; added setChangeFull):
	* CutAndPaste.C (eraseSelectionHelper):
	* lyxtext.h:
	* text.C (readParToken, readParagraph, breakParagraph,
	acceptChange, rejectChange, backspace, currentState;
	added backspacePos0):
	* paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
	* lyxfind.C (findChange, findNextChange): fix bug 880: Change
	tracked paragraphs should still allow a paragraph split (and related
	things, i.e., multi-paragraph change tracking)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13486 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 16:38:30 +00:00
Jean-Marc Lasgouttes
2e7158c61b * development/MacOSX/LyX.app/Contents/Library/Spotlight/LyX-Metadata.mdimporter/Contents/MacOS/LyX-Metadata: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13483 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:48:05 +00:00
Jean-Marc Lasgouttes
ca46f14e71 * MacOSX/LyX.app/Contents/MacOS/lyxeditor: update location of
preferences file within LyX.app bundle 
	
	* MacOSX/LyX.app/Contents/Resources/preferences: update
	path_prefix to include /opt/local/bin, and remove references to
	"-1.4" version suffix



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13480 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:30:04 +00:00
Jean-Marc Lasgouttes
a73f17a1d9 * src/insets/insetgraphics.C
(InsetGraphics::latex): add \protect as needed (bug 675)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13479 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 13:47:22 +00:00
Jean-Marc Lasgouttes
94570286e8 * src/cursor.C
(bruteFind): only iterate over the paragraphs that are
	in the CoordCache (bug 2217)

	* status.14x
	* RELEASE-NOTES: update accordingly



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13477 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 13:20:41 +00:00
Georg Baum
6370b5ca98 Fix latex_path on cygwin:
* src/support/os.h
        * src/support/os_unix.C
        * src/support/os_win32.C
        * src/support/os_cygwin.C
        (latex_path): new function, handle the OS-specific part of
        lyx::support::latex_path

        * src/support/filetools.C
        (latex_path): use lyx::os::support::latex_path (bug 2409)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13475 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 12:53:46 +00:00
Jean-Marc Lasgouttes
9426c1d394 status update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13473 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 12:03:39 +00:00