Jürgen Spitzmüller
9e40cf69f7
Don't jump back to cursor on inset clicking (bug 2426):
...
* src/insets/insetcollapsable.C
(void InsetCollapsable::doDispatch): undispatch cursor after lmb button click.
* src/insets/insettabular.C
(void InsetTabular::doDispatch): undispatch cursor after rmb click.
* src/insets/insetref.C
(void InsetRef::doDispatch): undispatch cursor after rmb click.
* src/text3.C
(void LyXText::dispatch): set cursor also after rmb click.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13724 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 10:43:49 +00:00
Georg Baum
5a755b4e1e
Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
...
--with-version-suffix):
* src/lyx_cb.C
(reconfigure): get the configure command from package()
* src/lyx_main.C
(showFileError): ditto
* src/support/package.[Ch]
(configure_command): new, return the configure command
* src/support/package.C.in
(with_version_suffix): new, return the version suffix argument
of the configure command
* src/support/Makefile.am
(package.C.in): substitute %PROGRAM_SUFFIX% in package.C.in
* config/lyxinclude.m4: substitute program_suffix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13723 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 10:28:27 +00:00
Jean-Marc Lasgouttes
dc67ce04e3
German documentation update (again)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13722 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:49:47 +00:00
Jean-Marc Lasgouttes
621394e5aa
Hungarian documentation and localization update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13717 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:26:10 +00:00
Georg Baum
1fe1dae34d
Fix bug 2476:
...
* src/CutAndPaste.C
(resetOwnerAndChanges): rename to resetParagraph and reset the
language of ERT paragraphs, too
(copySelectionHelper): adapt to changes above
(cutSelection): ditto
(copySelection): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13703 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 16:34:50 +00:00
Martin Vermeer
493b4ee28a
Add two fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13701 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 13:45:06 +00:00
Jürgen Spitzmüller
a89da87da8
* src/LaTeXFeatures.C
...
(char const * simplefeatures[]): add tipa
* src/mathed/math_fontinset.C
(void MathFontInset::validate): textipa requires tipa
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13678 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-14 14:40:16 +00:00
Jean-Marc Lasgouttes
db644a7fb2
update german userguide
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13669 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 17:52:46 +00:00
Jürgen Spitzmüller
c0aadd8443
* src/paragraph.h (public): new enum ChangeTracking,
...
indicating if ct is used in the current buffer.
(cleanChanges): pass enum ChangeTracking.
* src/paragraph_pimpl.C (cleanChanges): delete ct marks from
paste content if ct is of in the buffer. Set content INSERTED
if ct is on (bug 2207).
* src/CutAndPaste.C (pasteSelectionHelper): pass information
about the current change tracking state to cleanChanges.
* src/paragraph_pimpl.h (cleanChanges): pass enum ChangeTracking.
* src/paragraph.C (cleanChanges): pass enum ChangeTracking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13667 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 16:49:24 +00:00
Jürgen Spitzmüller
86b7e5701b
* src/insets/insettabular (doDispatch): use insertAsciiString in
...
LFUN_PASTESELECTION. Simplifies the code a lot and fixes
wrong language settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13664 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 13:29:16 +00:00
Jean-Marc Lasgouttes
2fb3b40d87
* math_xarrowinset.C (validate):
...
* math_splitinset.C (validate): new methods; require amsmath (bug
2149).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13661 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 10:30:28 +00:00
Georg Baum
7d91f9f96e
* lib/scripts/layout2layout.py
...
(convert): Change "LabelType Static" to "LabelType Itemize" for
itemize environments
(convert): Change "LabelType Counter_EnumI" to "LabelType Enumerate"
for enumerate environments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13660 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 09:10:40 +00:00
Jean-Marc Lasgouttes
add226478a
add header <sys/time.h> for DragonFly BSD
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13654 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 09:37:33 +00:00
Georg Baum
0efa19f72a
fix bug 2036:
...
* src/mathed/math_amsarrayinset.C
(metrics): use ArrayChanger to change the style
(draw): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13653 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 07:42:50 +00:00
Jean-Marc Lasgouttes
cf3bcb2d9c
fix compilation for win98
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13650 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 15:21:21 +00:00
Jean-Marc Lasgouttes
a577fcdbaf
begin work on 1.4.2svn
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13649 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 14:58:27 +00:00
Jean-Marc Lasgouttes
fa3308aaaf
ready for 1.4.1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13638 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 08:56:24 +00:00
Jean-Marc Lasgouttes
4da500315e
update Spanish localization
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13631 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 07:12:05 +00:00
Jean-Marc Lasgouttes
88aee1018c
reorganize a bit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13630 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 06:50:30 +00:00
Martin Vermeer
90eee39411
Updated status.14x
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13629 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 19:51:17 +00:00
Jean-Marc Lasgouttes
2927cd088b
update Basque and Hungarian l10n
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13623 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 15:27:47 +00:00
José Matox
c06454317b
Update status.14x to refer bug 2501 (old lyx-docbook document with SGML paragraphs).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13621 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 11:15:50 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jean-Marc Lasgouttes
baa55b55fa
enable save for new documents (bug 2313 again)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 13:51:00 +00:00
Jean-Marc Lasgouttes
956270cc3b
use update instead of repaint when changing cursor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13460 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 11:20:58 +00:00