Commit Graph

142 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
03b848f567 Remove USE_COMPRESSION and force the use of zlib, by Bo Peng (ben.bob@gmail.com)
* src/lyxlex_pimpl.[hC], src/buffer.C, src/tex2lyx/Makefile.am: remove USE_COMPRESSION
	* configure.ac: check for zlib.h and libz.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13780 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:35:50 +00:00
Jean-Marc Lasgouttes
25f1d0553f Add document->compressed menu item, by Bo Peng (ben.bob@gmail.com)
* src/LyXAction.C, src/lfuns.h: add LFUN_TOGGLE_COMPRESSION
	* src/BufferView_pimpl.C: react to menu item
	* lib/ui/stdmenus.ui: add buffer_toggle_compression



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13779 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:29:45 +00:00
Jean-Marc Lasgouttes
9d509572db * src/support/package.C.in (get_build_dirs): Look at Makefile
instead of lyxrc.defaults. Simplify the check for
          chkconfig.ltx.

	* configure.ac: do not run lib/configure.py

	* lib/doc/Makefile.am: LaTeXConfig.lyx is not generated anymore.

	* lib/configure.py (removeExtraFiles): remove.

	* lib/Makefile.am: no files are generated in there.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13764 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 16:47:07 +00:00
Jean-Marc Lasgouttes
83e0fdf99b update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13762 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 13:07:23 +00:00
Georg Baum
a3123b4c4a * lib/layouts/IEEEtran.layout: Add biographynophoto style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13756 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 07:35:50 +00:00
Georg Baum
a3b23f1f94 Fix bug 2546:
* src/tex2lyx/text.C
	(parse_arguments): Eat space in front of required arguments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13754 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 06:59:06 +00:00
Jean-Marc Lasgouttes
2a156525f9 * text.C (numberOfHfills): do not forget to count the last hfill
(bug 2509).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13749 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 13:42:19 +00:00
Georg Baum
7e9bd4bd81 Fix bug 2107:
* src/LaTeXFeatures.[Ch]: replace nice_ by runparams_

        * src/insets/insetexternal.C
        (InsetExternal::validate): Use the correct template for the desired
        output format

        * src/insets/insetgraphics.C
        (InsetGraphics::prepareFile): Record the needed files for "latex"
        or "pdflatex" format, dependant on the desired output format

        * src/insets/insetinclude.C
        (InsetInclude::latex): ditto

        * src/BufferView_pimpl.C
        (BufferView::Pimpl::getStatus): adapt to LaTeXFeatures changes

        * src/paragraph_pimpl.C
        (Paragraph::Pimpl::simpleTeXSpecialC): ditto

        * src/buffer.C
        (Buffer::makeLaTeXFile): ditto
        (Buffer::makeLinuxDocFile): ditto
        (Buffer::makeDocBookFile): ditto

        * src/paragraph.C
        (Paragraph::simpleTeXOnePar): ditto

        * src/exporter.C
        (Backends): Add "pdflatex" backend format
        (Exporter::Export): set runparams.flavor correctly for "pdflatex" format

        * lib/external_templates
        (RasterImage): Use "pdflatex" format in PDFLaTeX template
        (XFig): ditto
        (ChessDiagram): Add PDFLaTeX template
        (Date): ditto

        * lib/configure.py: Add "pdflatex" format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13745 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 11:44:26 +00:00
Georg Baum
47d49731a4 From Angus:
Enable lib/configure.py to find tex2lyx if the path to it contains spaces.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13742 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 07:34:21 +00:00
Georg Baum
74efa7cd1a Use lib/configure.py and ditch the m4 version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13740 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 14:57:08 +00:00
Georg Baum
735707cc5e * src/LaTeX.C
(LaTeX::scanLogFile): remove \0 characters inserted by MikTeX before
	further processing
	(LaTeX::deplog): likewise


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13738 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 10:12:08 +00:00
Jean-Marc Lasgouttes
46173d31e5 add support for naustrian; fix locale for austrian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13725 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 12:21:05 +00:00
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
Jürgen Spitzmüller
161b10a13b * src/frontends/qt2/QPrefs.C
(void QPrefs::apply):
	(void QPrefs::update_contents):
* src/frontends/qt2/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog):
* src/frontends/qt2/ui/QPrefUIModule.ui:
	remove wheel mouse spin box (bug 783).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13456 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 09:35:38 +00:00
Georg Baum
1b3deba2b9 compile fix from Ling Li: remove superflous class name of members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13455 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 21:42:31 +00:00
Martin Vermeer
7086246c0c Oops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13451 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 17:01:48 +00:00
Martin Vermeer
fedbbe9791 Oops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13444 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 17:55:17 +00:00
Jean-Marc Lasgouttes
f44b2c487d forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13440 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 17:04:25 +00:00
Jürgen Spitzmüller
a4abb93f6b frontends/controllers/ControlBibtex.[Ch]: new members bibtotoc(), getStylefile(),
which hold functionality that has been moved from the frontends
	and implement a method to use a default stylefile for new bibtex 
	insets (bug 2322).

frontends/gtk/GBibtex.C:
frontends/qt2/QBibtex.C:
frontends/xforms/FormBibTex.C: Move parsing of Options (stylefile, bibtotoc) to the 
	controller (bug 2322).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13426 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 10:20:07 +00:00
Georg Baum
e811433ec7 Remove -mms-bitfields compiler option on windows, since all qt
releases that we support with the gcc toolchain on windows are
	compiled without it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13421 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 17:46:15 +00:00
Jürgen Spitzmüller
cac8b7abb6 add extra condition for PASTE to reflect tabularStack (bug 2377)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13413 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 13:15:17 +00:00
Georg Baum
141058b7fb * parser_tools.py (find_tokens_exact): new, extract tokens with
exact match
        * parser_tools.py (find_token2): rename to find_token_exact and make
        it work for tokens with spaces
        * lyx_1_4.py (revert_box, convert_collapsable, revert_bibtopic,
        convert_float): use find_token(s)_exact instead of find_token(s).
        This does not match "FloatList" when "Float" is searched (bug 2245)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13412 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 13:11:51 +00:00
Jürgen Spitzmüller
f45c21fea7 adjust cursor after backspace in change tracking mode (bug 2185).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13406 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:49:15 +00:00
Georg Baum
fd9ff4c011 forgot to document last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13405 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:41:55 +00:00
Georg Baum
2aacaaede1 fix bug 2234
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13400 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:11:03 +00:00
Jean-Marc Lasgouttes
4a6095fe7e bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13396 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:27:47 +00:00
Jürgen Spitzmüller
d1bf49434e Get a sensible prefix inside figure and tabular floats (bug 1999).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13393 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:03:29 +00:00
Jean-Marc Lasgouttes
4836399ae8 disable save when document is clean (bug 2313)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13390 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 13:14:37 +00:00
Georg Baum
01dd14b592 Truncate temporary file names that are too long for MikTeX's pdflatex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13388 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 12:19:55 +00:00
Georg Baum
5bd1399946 fix bug 2361
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13383 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 16:05:24 +00:00
Jean-Marc Lasgouttes
a4bdff534b fix drawing of buttons (bug 2328)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13382 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 15:35:35 +00:00
Jean-Marc Lasgouttes
0c905ee9f2 Italian update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13360 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 14:35:55 +00:00
Martin Vermeer
03e0be78aa Mouse click to right of last nestinset in a cell will position cursor to its
left

(Also: updated status.14x for this and fix 2362)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13359 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 13:42:40 +00:00
Jürgen Spitzmüller
00063a011c document tabular fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13357 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 11:14:59 +00:00
Martin Vermeer
4c81f63af3 Document 2212 fix in status.14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13337 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 19:36:57 +00:00
Jürgen Spitzmüller
525e2dfb60 fix babel/jurabib conflict with Spanish (bug 2365)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13335 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 17:05:06 +00:00
Jean-Marc Lasgouttes
29b3560dc2 update postats.sh to new setting; update to Hungarian translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13333 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:55:45 +00:00
Jürgen Spitzmüller
08323de6c6 define \labelitemi with \def. Fixes LaTeX error if the class has not defined them yet (bug 2053).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13329 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:23:13 +00:00
Jürgen Spitzmüller
03700cf7e3 fix LaTeX error with AMS classes (bug 2363)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13326 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 15:34:02 +00:00
Georg Baum
12439fa1c5 fix bug 2236
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13325 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 15:00:56 +00:00
Georg Baum
b4f7558414 fix bug 1955
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13323 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 14:55:27 +00:00
Jürgen Spitzmüller
4727b86072 Map labeling to list (bug 2246)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13321 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 14:08:59 +00:00
Jean-Marc Lasgouttes
caf77c7d7a add file to document the status of LyX stable branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 13:36:33 +00:00