]> git.lyx.org Git - lyx.git/log
lyx.git
18 years ago * src/insets/insetgraphics.C (prepareFile): output correct file name
Georg Baum [Sat, 8 Apr 2006 09:11:25 +0000 (09:11 +0000)]
* src/insets/insetgraphics.C (prepareFile): output correct file name
of compressed files (bug 2231)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13596 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agosupport/textutils.h:
André Pönitz [Sat, 8 Apr 2006 09:09:57 +0000 (09:09 +0000)]
support/textutils.h:
support/filetools.h: rename IsDirWriteable IsFileReadable IsLyXFilename
IsSGMLFilename IsLineSeparatorChar IsLetterChar IsPrintable
IsPrintableNonspace IsDigit to lower case initial

lyxvc.C:
LaTeXFeatures.C:
lyx_cb.C:
insets/insetbibtex.C:
insets/insetexternal.C:
insets/insetgraphics.C:
insets/ExternalSupport.C:
insets/insetinclude.C:
BufferView_pimpl.C:
graphics/GraphicsCacheItem.C:
text2.C:
converter.C:
buffer.C:
lyxfunc.C:
frontends/gtk/ghelpers.C:
frontends/controllers/ControlGraphics.C:
frontends/controllers/ControlInclude.C:
frontends/controllers/ControlSpellchecker.C:
support/filetools.C:
support/filetools.h: adjust

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13595 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoAdd method: pit_type & pit()
Abdelrazak Younes [Sat, 8 Apr 2006 05:17:45 +0000 (05:17 +0000)]
Add method: pit_type & pit()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13594 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* buffer_funcs.[Ch]: new needsUpdateCounters function
Abdelrazak Younes [Fri, 7 Apr 2006 22:16:09 +0000 (22:16 +0000)]
* buffer_funcs.[Ch]: new needsUpdateCounters function

* text.C:
 - LyXText::breakParagraph(): test if needsUpdateCounters() is enough before a full updateCounter
 - LyXText::backspacePos0(): ditto

* text2.C:
 - LyXText::deleteEmptyParagraphMechanism(): ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13593 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoUpdate version of lyx2lyx to 1.5.0svn
José Matox [Fri, 7 Apr 2006 16:15:14 +0000 (16:15 +0000)]
Update version of lyx2lyx to 1.5.0svn

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13592 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoAdd placeholders for future changes:
José Matox [Fri, 7 Apr 2006 16:11:16 +0000 (16:11 +0000)]
Add placeholders for future changes:

lyx_0_10.py: File format between 2.00 (the first publicaly available) and 2.10
lyx_1_5.py: Post-1.4.x file formats.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13591 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFrom Jean-Marc: Make sure that standard sectioning styles have proper counters
Georg Baum [Fri, 7 Apr 2006 15:43:56 +0000 (15:43 +0000)]
From Jean-Marc: Make sure that standard sectioning styles have proper counters
* lib/layouts/stdsections.inc: include numarticle.inc here instead
of the following files:
* lib/layouts/kluwer.layout
* lib/layouts/aapaper.layout
* lib/layouts/llncs.layout
* lib/layouts/docbook.layout
* lib/layouts/article.layout
* lib/layouts/IEEEtran.layout
* lib/layouts/ijmpd.layout
* lib/layouts/paper.layout
* lib/layouts/aa.layout
* lib/layouts/aastex.layout
* lib/layouts/cl2emult.layout
* lib/layouts/docbook-section.layout
* lib/layouts/svjour.inc
* lib/layouts/amsart.layout
* lib/layouts/spie.layout
* lib/layouts/docbook-chapter.layout
* lib/layouts/aguplus.inc
* lib/layouts/scrartcl.layout
* lib/layouts/dtk.layout
* lib/layouts/agu-dtd.layout
* lib/layouts/elsart.layout
* lib/layouts/mwart.layout
* lib/layouts/seminar.layout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13589 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago *lib/scripts/layout2layout.py: Fix section labelling
Georg Baum [Fri, 7 Apr 2006 15:25:34 +0000 (15:25 +0000)]
*lib/scripts/layout2layout.py: Fix section labelling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13588 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoupdate German Tutorial, Intro and splash
Jean-Marc Lasgouttes [Fri, 7 Apr 2006 12:20:41 +0000 (12:20 +0000)]
update German Tutorial, Intro and splash

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13584 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agocompile fixes + update in pref dialog
Edwin Leuven [Fri, 7 Apr 2006 12:01:11 +0000 (12:01 +0000)]
compile fixes + update in pref dialog

      QtView.C: typo in include
      QPrefsDialog.C: update after changing color
      QPrefsDialog.h: default parent in constructor

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13580 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agodocument fancybox package
Jean-Marc Lasgouttes [Fri, 7 Apr 2006 08:46:18 +0000 (08:46 +0000)]
document fancybox package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13577 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix: The modules' parent is not QPrefsDialog but the widget inside PanelStack.
Abdelrazak Younes [Thu, 6 Apr 2006 21:16:54 +0000 (21:16 +0000)]
Fix: The modules' parent is not QPrefsDialog but the widget inside PanelStack.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13575 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoclean up of the graphics dialog:
Edwin Leuven [Thu, 6 Apr 2006 21:04:27 +0000 (21:04 +0000)]
clean up of the graphics dialog:

-layout
-enabling/disabling widgets
-tab order

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13574 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agocompilation fix: session.h and support/convert.h were missing
Abdelrazak Younes [Thu, 6 Apr 2006 20:19:51 +0000 (20:19 +0000)]
compilation fix: session.h and support/convert.h were missing

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13573 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * lyxrc.C
Martin Vermeer [Thu, 6 Apr 2006 19:05:42 +0000 (19:05 +0000)]
* lyxrc.C
(lyxrcTags[]): restore order

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13572 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* QMathUi.ui:
Abdelrazak Younes [Thu, 6 Apr 2006 15:08:48 +0000 (15:08 +0000)]
* QMathUi.ui:
 - replaced the sqrt etc QPushButton with QToolButton
 - modified the layout

* QMathDialog::QMathDialog
 - got rid of the fixed width for function QWidgetList

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13571 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago The nicefrac patch
Martin Vermeer [Thu, 6 Apr 2006 09:46:01 +0000 (09:46 +0000)]
The nicefrac patch

* LaTeXFeatures.C
(simplefeatures[]: add nicefrac

* mathed/math_factory.C
(createMathInset): change frac semantics

* mathed/math_fracinset.[Ch]

(MathFracInset::metrics):
(MathFracInset::draw):
(MathFracInset::drawT):
(MathFracInset::write):
(MathFracInset::mathmlize): add nicefrac stuff

* mathed/math_dfracinset.C:
* mathed/math_tfracinset.C: adapt semantics

* frontends/qt2/ui/QMathDialogBase.ui

* frontends/qt2/QMathDialog.[Ch]
(QMathDialog::symbol_clicked): provide GUI

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13566 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoWhitespace cleanup.
Lars Gullik Bjønnes [Wed, 5 Apr 2006 23:56:29 +0000 (23:56 +0000)]
Whitespace cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agodo not define boost::throw_exceptions if we are compiling with exceptions
Lars Gullik Bjønnes [Wed, 5 Apr 2006 23:55:36 +0000 (23:55 +0000)]
do not define boost::throw_exceptions if we are compiling with exceptions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13564 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agowhitespace cleanup
Lars Gullik Bjønnes [Wed, 5 Apr 2006 23:39:11 +0000 (23:39 +0000)]
whitespace cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13563 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agocomment out the usage checking macros
Lars Gullik Bjønnes [Wed, 5 Apr 2006 23:03:58 +0000 (23:03 +0000)]
comment out the usage checking macros

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13562 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago2006-04-06 Bo Peng <ben.bob@gmail.com>
Lars Gullik Bjønnes [Wed, 5 Apr 2006 22:56:18 +0000 (22:56 +0000)]
2006-04-06  Bo Peng  <ben.bob@gmail.com>
  session support that
    * handle recent opened files (previously lastfile)
    * save/load bookmarks when quit lyx
    * save/load buffer cursor location whan a file is closed
    * save/load windows position and size when a file is closed
    * add rc entries load_session, use_lastfilepos,
      screen_geometry_height, screen_geometry_width,
      screen_geometry_xysaved.
    * trigger LFUN_QUIT when Alt-F4 or close-button is used to close lyx.
    * remove lastfile.h lastfile.C (merged in session.h, session.C)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13561 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agomake sure that BOOST_ENABLE_ASSERT_HANDLER is always set
Lars Gullik Bjønnes [Wed, 5 Apr 2006 22:50:44 +0000 (22:50 +0000)]
make sure that BOOST_ENABLE_ASSERT_HANDLER is always set

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13560 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix mess up of internal/external paths (from Enrico Forestieri)
Georg Baum [Wed, 5 Apr 2006 19:26:08 +0000 (19:26 +0000)]
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/trunk@13558 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoPorting work from Edwin Leuven:
Abdelrazak Younes [Wed, 5 Apr 2006 15:10:34 +0000 (15:10 +0000)]
Porting work from Edwin Leuven:

* QMathUi.ui: Port to Qt4, icons paths are hacked to point to ../lib/images/
* QMathDialog: Port to qt4
* iconpalette.C: fix cols calculation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13557 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * Makefile.am: add new icon
Georg Baum [Wed, 5 Apr 2006 14:56:07 +0000 (14:56 +0000)]
* Makefile.am: add new icon
* images/style.xpm: fix name for xforms and gtk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13556 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoNew icon for the qt4 math panel (it is hardcoded in the qt2 frontend)
Abdelrazak Younes [Wed, 5 Apr 2006 14:22:59 +0000 (14:22 +0000)]
New icon for the qt4 math panel (it is hardcoded in the qt2 frontend)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13555 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoModified icon for the math panel
Abdelrazak Younes [Wed, 5 Apr 2006 14:21:19 +0000 (14:21 +0000)]
Modified icon for the math panel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13554 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix from Edwin Leuven:
Abdelrazak Younes [Wed, 5 Apr 2006 14:02:37 +0000 (14:02 +0000)]
Fix from Edwin Leuven:

BulletsModule is a widget not a dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13553 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoResize the dialog so that the delimiters appears by couple on screen.
Abdelrazak Younes [Wed, 5 Apr 2006 13:16:52 +0000 (13:16 +0000)]
Resize the dialog so that the delimiters appears by couple on screen.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13552 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agofix bug 1235
Georg Baum [Wed, 5 Apr 2006 08:19:48 +0000 (08:19 +0000)]
fix bug 1235
* src/support/filetools.C
(readBB_from_PSFile): sanitize return value

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13549 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * paragraph_funcs.C
Martin Vermeer [Mon, 3 Apr 2006 18:28:13 +0000 (18:28 +0000)]
* paragraph_funcs.C
(breakParagraph): fix bug 2445 (I think)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13548 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago2006-04-01 Michael Gerz <michael.gerz@teststep.org>
Michael Schmitt [Sat, 1 Apr 2006 13:23:24 +0000 (13:23 +0000)]
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/trunk@13545 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago2006-04-01 Michael Gerz <michael.gerz@teststep.org>
Michael Schmitt [Sat, 1 Apr 2006 13:04:23 +0000 (13:04 +0000)]
2006-04-01  Michael Gerz  <michael.gerz@teststep.org>

        * filename.C (mangledFilename): truncate filename to 100
        characters for MiKTeX's pdflatex

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13543 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix bug 2186 (from Bo Peng):
Georg Baum [Sat, 1 Apr 2006 10:49:58 +0000 (10:49 +0000)]
Fix bug 2186 (from Bo Peng):
* src/insets/insetbibtex.C
(InsetBibtex::latex): mangle filename of bst file for "non-nice"
.tex files

* src/insets/insetgraphics.C
(RemoveExtension): move ...
* src/support/filetools.[Ch]
(removeExtension): ... here

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13540 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoconfigure.py: Bo Peng (ben.bob@gmail.com)
Georg Baum [Sat, 1 Apr 2006 09:39:11 +0000 (09:39 +0000)]
configure.py: Bo Peng (ben.bob@gmail.com)
Fix --without-latex-config option, separate processLayoutFile()
Fix checkCygwinPath(),  by Enrico

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13539 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoMajor cleanup of lib/configure.py from Bo Peng
Georg Baum [Fri, 31 Mar 2006 13:31:16 +0000 (13:31 +0000)]
Major cleanup of lib/configure.py from Bo Peng

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13537 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoLog:
Abdelrazak Younes [Fri, 31 Mar 2006 13:17:44 +0000 (13:17 +0000)]
Log:
* convert to automatic slot connections
* fix TOC navigation
* delete non useful commented out code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13536 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago A more general way of setting paragraphs in an inset to standard
Martin Vermeer [Thu, 30 Mar 2006 12:43:32 +0000 (12:43 +0000)]
A more general way of setting paragraphs in an inset to standard
layout upon paste.

* insettext.[Ch]: add forceParagraphsToDefault method

* insettabular.C
(InsetTabular::doDispatch): use it for cell

* insetbox.C
(InsetBox::doDispatch): use it

* insetert.C
(InsetERT::doDispatch): use it

* insetcharstyle.C
(InsetCharStyle::doDispatch): use it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13535 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * QToc.C
Martin Vermeer [Thu, 30 Mar 2006 12:34:49 +0000 (12:34 +0000)]
* QToc.C
(QToc::updateToc): Better scroll behaviour

* ui/QTocDialogBase.ui: Keyboard shortcuts, Dn -> Down

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13534 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * lib/scripts/layout2layout.py
Georg Baum [Wed, 29 Mar 2006 18:49:27 +0000 (18:49 +0000)]
* 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/trunk@13533 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoAdjust keybord shortcut of the "latex" format to the changed name
Georg Baum [Wed, 29 Mar 2006 18:43:05 +0000 (18:43 +0000)]
Adjust keybord shortcut of the "latex" format to the changed name
(this belongs to the fix for bug 2107)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13532 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agorevert part of Enrico's temp dir patch: The client does not use package()
Georg Baum [Wed, 29 Mar 2006 18:37:39 +0000 (18:37 +0000)]
revert part of Enrico's temp dir patch: The client does not use package()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13531 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoAdd outlining functionality to the Qt4 TOC dialog.
Abdelrazak Younes [Wed, 29 Mar 2006 16:57:47 +0000 (16:57 +0000)]
Add outlining functionality to the Qt4 TOC dialog.

The Toc dialog is not finished yet, there's some clean-up to do especially in select_adapdator which doesn't seem to work. This makes lyx crash when clicking on the Up, Down, In or Out buttons.

    * frontends/qt4/QTocDialog.[Ch]: add automatic slots

    * frontends/qt4/QTocDialog.[Ch]: add "enableButtons(bool)"

    * frontends/qt4/ui/QTocUi.ui: add pushbuttons

    * frontends/qt4/QToc.[Ch]: add move* methods.

The following Qt4 equivalent changes to revision r13521 are not done yet:
    * frontends/qt2/QToc.[Ch]: add move* method.
    (QToc::updateToc):
    (QToc::select): add code for TOC window positioning, and
    outlining methods

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13530 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/LaTeX.C
Jean-Marc Lasgouttes [Wed, 29 Mar 2006 14:45:37 +0000 (14:45 +0000)]
   * src/LaTeX.C
        (handleFoundFile): do not add directories to dep table (crashes cygwin)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13529 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agorevert my faulty fix of bug 2380 and use one by Jean-Marc instead:
Georg Baum [Wed, 29 Mar 2006 10:13:40 +0000 (10:13 +0000)]
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/trunk@13524 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago Add outlining functionality to the TOC dialog.
Martin Vermeer [Wed, 29 Mar 2006 05:08:42 +0000 (05:08 +0000)]
Add outlining functionality to the TOC dialog.

* LyXAction.C
(LyXAction::init): define command

* BufferView_pimpl.C
(BufferView::Pimpl::getStatus):
(BufferView::Pimpl::dispatch): add handling code

* frontends/qt2/QTocDialog.C: add connections, adapters

* frontends/qt2/ui/QTocDialogBase.ui: add pushbuttons

* frontends/qt2/QTocDialog.h: add adapters

* frontends/qt2/QToc.[Ch]
(QToc::updateToc):
(QToc::select): add code for TOC window positioning, and
outlining methods

* frontends/controllers/ControlToc.[Ch]: implement methods

* lfuns.h
(kb_action {): define LFUN

* toc.[Ch]: implement up, down, in and out operations in Outline
method

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13521 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix bug 2107:
Georg Baum [Tue, 28 Mar 2006 18:49:46 +0000 (18:49 +0000)]
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/trunk@13520 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agosrc/insets/insettabular (doDispatch, insertAsciiString): fix insertion of \t- and...
Jürgen Spitzmüller [Tue, 28 Mar 2006 14:04:14 +0000 (14:04 +0000)]
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/trunk@13518 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix bug 2380:
Georg Baum [Tue, 28 Mar 2006 12:49:47 +0000 (12:49 +0000)]
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/trunk@13516 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* frontends/{qt2,qt4}/QPrefsDialog.C (remove_format):
Jürgen Spitzmüller [Tue, 28 Mar 2006 12:01:31 +0000 (12:01 +0000)]
* frontends/{qt2,qt4}/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/trunk@13514 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* lib/scripts/lyxpreview2bitmap.py: fix frac calculation (bug 2391).
Jürgen Spitzmüller [Tue, 28 Mar 2006 10:18:02 +0000 (10:18 +0000)]
* lib/scripts/lyxpreview2bitmap.py: fix frac calculation (bug 2391).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13511 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoupdate to Spanish tutorial from Luis Guillermo Cota Preciado
Jean-Marc Lasgouttes [Tue, 28 Mar 2006 09:37:36 +0000 (09:37 +0000)]
update to Spanish tutorial from Luis Guillermo Cota Preciado

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13507 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agocompatibility with new intel macs
Jean-Marc Lasgouttes [Tue, 28 Mar 2006 09:28:24 +0000 (09:28 +0000)]
compatibility with new intel macs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13506 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoadd missing files
Jean-Marc Lasgouttes [Tue, 28 Mar 2006 09:15:28 +0000 (09:15 +0000)]
add missing files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13503 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/insets/insetert.C
Georg Baum [Mon, 27 Mar 2006 14:13:48 +0000 (14:13 +0000)]
    * 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/trunk@13501 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* QCitation::findKey() use QRegExp but find still doesn't work
Abdelrazak Younes [Sun, 26 Mar 2006 18:35:15 +0000 (18:35 +0000)]
* QCitation::findKey() use QRegExp but find still doesn't work
* QCitationDialog::on_applyPB_clicked(): calls form_->apply
* QCitationDialog::on_oKPB_clicked(): calls form_->apply

TBDone: extract the code from controller&co in order to update the view with a new citation inset (or a modified one).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13499 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoRevert patch from bug 1954, to fix bug 2421
John Spray [Sun, 26 Mar 2006 10:18:52 +0000 (10:18 +0000)]
Revert patch from bug 1954, to fix bug 2421

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13498 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFrom Uwe:
Georg Baum [Sun, 26 Mar 2006 08:28:06 +0000 (08:28 +0000)]
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/trunk@13497 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoThis new citation dialog follows a new design similar to lyx-1.3:
Abdelrazak Younes [Sat, 25 Mar 2006 21:26:09 +0000 (21:26 +0000)]
This new citation dialog follows a new design similar to lyx-1.3:
- two panes for Selected/Available keys
- find as you search (Regular expression are supported)
- advanced search button

There are a lot of work still:
- selected citations are not inserted in the document
- find does not select the found key
- the graying/un-graying of buttons does not work properly
- the Advanced Search Dialog (which will search inside the citation) is not done yet
- ...
But the good news is that I have used the Model/View separation of Qt4. QCitation contains the list models and QCitationDialog contains the list views. The idea would be to reuse the model for a new dialog, I am thinking of a simple combo box placed on the toolbar which insert citations with default style, etc. Or a context menu insert->citation...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13496 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/text.C
Jürgen Spitzmüller [Sat, 25 Mar 2006 16:38:28 +0000 (16:38 +0000)]
* 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/trunk@13495 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago Fix the bug reported by Markus Mayer, that paragraph styles like
Martin Vermeer [Sat, 25 Mar 2006 16:23:06 +0000 (16:23 +0000)]
Fix the bug reported by Markus Mayer, that paragraph styles like
itemize too readily enter into charstyle insets.

* insetcharstyle.C
(InsetCharStyle::doDispatch): force pasted paragraphs to document
default style

* insetcharstyle.h: add forceDefaultParagraphs to true

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13494 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/text.C (bool LyXText::backspace):
Jürgen Spitzmüller [Sat, 25 Mar 2006 09:18:28 +0000 (09:18 +0000)]
* 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/trunk@13492 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago- The layout combox box has now a maximum number of 30 visible items. In the future...
Abdelrazak Younes [Fri, 24 Mar 2006 20:53:40 +0000 (20:53 +0000)]
- The layout combox box has now a maximum number of 30 visible items. In the future it would be  better to calculate the optimal value based on the work area height.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13491 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoOups, compilation fix (missing a '{')
Abdelrazak Younes [Fri, 24 Mar 2006 17:37:44 +0000 (17:37 +0000)]
Oups, compilation fix (missing a '{')

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13488 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* src/frontends/qt4/QDocumentDialog.C
Abdelrazak Younes [Fri, 24 Mar 2006 16:37:06 +0000 (16:37 +0000)]
* src/frontends/qt4/QDocumentDialog.C
(void QDocumentDialog::apply):
(void QDocumentDialog::update_contents): only take action when there is a ToC structure
* port of preampleUi from Q3MultilineEdit to QTextEdit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13485 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoCompilation Fix: Appended "Ui" to main objectName so that it is the same as the ui...
Abdelrazak Younes [Fri, 24 Mar 2006 15:59:11 +0000 (15:59 +0000)]
Compilation Fix: Appended "Ui" to main objectName so that it is the same as the ui file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13484 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * development/MacOSX/LyX.app/Contents/Library/Spotlight/LyX-Metadata.mdimporter...
Jean-Marc Lasgouttes [Fri, 24 Mar 2006 15:47:09 +0000 (15:47 +0000)]
* development/MacOSX/LyX.app/Contents/Library/Spotlight/LyX-Metadata.mdimporter/: update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13482 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * MacOSX/LyX.app/Contents/MacOS/lyxeditor: update location of
Jean-Marc Lasgouttes [Fri, 24 Mar 2006 15:30:40 +0000 (15:30 +0000)]
* 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/trunk@13481 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * insets/insetgraphics.C
Jean-Marc Lasgouttes [Fri, 24 Mar 2006 13:45:33 +0000 (13:45 +0000)]
* insets/insetgraphics.C
(InsetGraphics::latex): add \protect as needed (bug 675)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13478 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/cursor.C
Jean-Marc Lasgouttes [Fri, 24 Mar 2006 13:09:46 +0000 (13:09 +0000)]
* src/cursor.C
(bruteFind): only iterate over the paragraphs that are
in the CoordCache (bug 2217)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13476 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix latex_path on cygwin:
Georg Baum [Fri, 24 Mar 2006 12:48:37 +0000 (12:48 +0000)]
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/trunk@13474 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoPartial fix to bug 2355.
Jean-Marc Lasgouttes [Fri, 24 Mar 2006 11:57:19 +0000 (11:57 +0000)]
Partial fix to bug 2355.

* src/bufferparams.C
(bool BufferParams::writeLaTeX):
(void BufferParams::useClassDefaults): only take action when there is
a ToC structure

* src/frontends/qt2/QDocument.C
(void QDocument::apply):
(void QDocument::update_contents): only take action when there is
        a ToC structure

* src/frontends/xforms/FormDocument.C
(bool FormDocument::language_apply):
(bool FormDocument::options_apply):
(void FormDocument::options_update): only take action when there is
        a ToC structure; disable
(void FormDocument::UpdateClassParams): disable the secnumdepth and
tocdepth widgets when there is no ToC structure

* src/frontends/xforms/FormDocument.h
(options_apply): do not return a bool (was not used)

* src/lyxtextclass.C
(hasTocLevels): new method.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13471 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * output_latex.h:
Lars Gullik Bjønnes [Thu, 23 Mar 2006 20:11:06 +0000 (20:11 +0000)]
    * 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/trunk@13467 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoStore colors as rgb values in branches.
Georg Baum [Thu, 23 Mar 2006 20:04:05 +0000 (20:04 +0000)]
Store colors as rgb values in branches.
* src/frontends/xforms/Color.[Ch]: move to src

* src/Color.[Ch] (getRGBColor): move to src/frontends/*/lyx_gui.C

* src/BranchList.h
(Branch::color_): change type to lyx::RGBColor

* src/BranchList.[Ch]
(Branch): new constrcutor, set color_ to LColor::background
(getColor, setColor): adapt to type change of color_

* src/bufferparams.C
(BufferParams::writeFile): adapt to type change of branch color

* src/frontends/lyx_gui.h
* src/frontends/gtk/lyx_gui.C
* src/frontends/qt2/lyx_gui.C
* src/frontends/qt4/lyx_gui.C
* src/frontends/xforms/lyx_gui.C
(getRGBColor): move from src/Color.[Ch] here

* src/frontends/gtk/lyx_gui.C
* src/frontends/xforms/lyx_gui.C
(hexname): use getRGBColor

* src/frontends/gtk/GDocument.C
(update): adapt to type change of branch color
(apply): add comment about color chooser

* src/frontends/qt2/QDocumentDialog.C
(updateBranchView): adapt to type change of branch color
(toggleBranchColor): ditto

* src/frontends/qt2/lcolorcache.[Ch]
* src/frontends/qt4/lcolorcache.[Ch]
(rgb2qcolor): new utility function

* src/frontends/qt4/QBranches.C
(QBranches::update): adapt to type change of branch color
(QBranches::on_colorPB_clicked): ditto

* src/frontends/xforms/FormDocument.C
(get_current_color): adapt to type change of branch color
(FormDocument::branch_update):

* src/frontends/xforms/FormPreferences.C
(FormPreferences::Colors::LoadBrowse): adapt to RGBColor changes

* src/frontends/xforms/FormPreferences.h: remove unneeded RGBColor
forward declaration

* src/frontends/xforms/XWorkArea.C
(XWorkArea::XWorkArea): adapt to RGBColor changes

* src/frontends/xforms/Makefile.am: remove Color.[Ch]

* src/frontends/xforms/FormColorpicker.[Ch]: adapt to RGBColor changes

* src/frontends/xforms/xformsImage.C: adapt to RGBColor changes

* src/frontends/controllers/ControlDocument.C
(ControlDocument::dispatchParams): adapt to type change of branch color

* src/Makefile.am: add Color.[Ch]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13466 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/frontends/qt4/QPrefsDialog.C
Abdelrazak Younes [Thu, 23 Mar 2006 16:38:46 +0000 (16:38 +0000)]
     * src/frontends/qt4/QPrefsDialog.C
         (QPrefsDialog::QPrefsDialog):
         (void QPrefsDialog::apply):
         (void QPrefsDialog::update):
         * src/frontends/qt4/ui/QPrefUI.ui:  remove wheel mouse spin box (bug 783).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13464 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/lyxfunc.C
Jean-Marc Lasgouttes [Thu, 23 Mar 2006 13:52:32 +0000 (13:52 +0000)]
    * src/lyxfunc.C
        (LyXFunc::getStatus): enable LFUN_MENUWRITE for a new document.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13463 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agodocument that wheel_jump is only used in xforms
Georg Baum [Thu, 23 Mar 2006 12:02:39 +0000 (12:02 +0000)]
document that wheel_jump is only used in xforms

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13461 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/frontends/qt2/qscreen.C
Jean-Marc Lasgouttes [Thu, 23 Mar 2006 11:15:00 +0000 (11:15 +0000)]
    * src/frontends/qt2/qscreen.C
        (void QScreen::showCursor):
        (void QScreen::removeCursor): use update instead of repaint.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13459 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoAdd the tests/ subdirectory
Jean-Marc Lasgouttes [Thu, 23 Mar 2006 11:11:19 +0000 (11:11 +0000)]
Add the tests/ subdirectory

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13458 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* src/frontends/qt2/QPrefs.C
Jürgen Spitzmüller [Thu, 23 Mar 2006 09:37:05 +0000 (09:37 +0000)]
* 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/trunk@13457 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agocompile fix from Ling Li: remove superflous class name of members
Georg Baum [Wed, 22 Mar 2006 21:38:40 +0000 (21:38 +0000)]
compile fix from Ling Li: remove superflous class name of members

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13454 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoChangelog:
Abdelrazak Younes [Wed, 22 Mar 2006 18:59:17 +0000 (18:59 +0000)]
Changelog:
* QDialogView.h: interface methods and slots are now public instead of protected. This allow to avoid making friend classes.
* QPrefs.[Ch]: removed everything GUI related. The controller does not know anything about what the Dialog is doing, it is here only to transfer request one way or the other.
* QPrefsDialogs.[Ch]: transfered everything GUI related here. Things are gathered per module in contructor, apply() and update() methods so that it will be easy to transfer code to separate class afterward
  - QPrefsDialogs::apply(LyXRC & rc): fill in rc parameters from GUI.
  - QPrefsDialogs::update(LyXRC const & rc): update GUI from rc parameters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13453 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * math_gridinset.C (MathGridInset::doDispatch): reset cur.pos() when
Martin Vermeer [Wed, 22 Mar 2006 08:46:54 +0000 (08:46 +0000)]
* math_gridinset.C (MathGridInset::doDispatch): reset cur.pos() when
deleting current col or row

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13450 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoINSTALL.Win32: Update Windows installation instructions
Michael Schmitt [Tue, 21 Mar 2006 22:24:21 +0000 (22:24 +0000)]
INSTALL.Win32: Update Windows installation instructions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13449 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoset svn:eol-style to native in qt4 frontend
Georg Baum [Tue, 21 Mar 2006 19:56:57 +0000 (19:56 +0000)]
set svn:eol-style to native in qt4 frontend

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13447 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoremove qgridview.[Ch] (these files were only needed for qt2)
Georg Baum [Tue, 21 Mar 2006 19:15:31 +0000 (19:15 +0000)]
remove qgridview.[Ch] (these files were only needed for qt2)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13446 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* QPrefsDialog::QPrefsDialog():
Abdelrazak Younes [Tue, 21 Mar 2006 12:49:43 +0000 (12:49 +0000)]
* QPrefsDialog::QPrefsDialog():
  - fix from Edwin Leuven: colorsModule did not recognize colornames grey40, etc.
  - delete unused variable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13445 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoclean up dos style line ending.
Abdelrazak Younes [Mon, 20 Mar 2006 17:25:02 +0000 (17:25 +0000)]
clean up dos style line ending.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13442 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agocompile fix
Georg Baum [Mon, 20 Mar 2006 17:11:08 +0000 (17:11 +0000)]
compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13441 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * lib/bind/sciword.bind: fix find&replace
Jean-Marc Lasgouttes [Mon, 20 Mar 2006 15:56:08 +0000 (15:56 +0000)]
    * lib/bind/sciword.bind: fix find&replace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13437 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoreplace hard-coded "/tmp" with package().temp_dir()
Abdelrazak Younes [Mon, 20 Mar 2006 15:35:04 +0000 (15:35 +0000)]
replace hard-coded "/tmp" with package().temp_dir()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13434 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/frontends/qt2/QWorkArea.C
Jean-Marc Lasgouttes [Mon, 20 Mar 2006 15:33:24 +0000 (15:33 +0000)]
    * src/frontends/qt2/QWorkArea.C
        (QWorkArea::QWorkArea): do not set background of the workarea (bug 2197)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13433 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago Selective expose patch
Martin Vermeer [Mon, 20 Mar 2006 15:05:07 +0000 (15:05 +0000)]
Selective expose patch

* metricsinfo.h
(ViewMetricsInfo): add size parameter

* BufferView_pimpl.C
(BufferView::Pimpl::metrics): return size

* frontends/screen.C
(LyXScreen::redraw): expose selectively, using y1, y2 in vi, and
exposing lower grey at end using size test

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13432 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago Further revision of the raise/lower selection to super/subscript
Martin Vermeer [Mon, 20 Mar 2006 14:42:04 +0000 (14:42 +0000)]
Further revision of the raise/lower selection to super/subscript
patch, avoiding class data member for nestinset

* cursor.h: remove paste() (was forgotten)
* mathed/math_nestinset.C
(MathNestInset::doDispatch):
(MathNestInset::lfunMouseRelease):
(MathNestInset::interpret): incorporate saved selection into
script() call parameters
(MathNestInset::script): saved selection is extra parameter
* mathed/math_nestinset.h: extra parameter; remove safe_

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13431 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoWhen I created the Branches dialog class, I forgot to connect it to the Document...
Abdelrazak Younes [Mon, 20 Mar 2006 14:40:27 +0000 (14:40 +0000)]
When I created the Branches dialog class, I forgot to connect it to the Document settings panel dialog.
* QDocumentDialog.C: added connection to QBranches::changed signal.
* QBranches.h: added changed signal
* QBranches::update() added changed signal emission.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13430 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoQBranches::on_colorPB_clicked() one-line bug fix:
Abdelrazak Younes [Mon, 20 Mar 2006 14:10:31 +0000 (14:10 +0000)]
QBranches::on_colorPB_clicked() one-line bug fix:
When you click the "Alter button" on a added branch in "Document Settings/Branches" Dialog, clicking on the palette on the right to select a color won't work (selected color stays black). After selecting a color from the "Basic Colors" or the "Custon colors"
(which works fine), the color selection from the palette will work correctly. The problems lies in that the QColor() constructor produces an invalid color (RGB 0,0,0). "lightskyblue" is now the default color for a branch when you click the alter button.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13429 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* qscreen.[Ch]:
Abdelrazak Younes [Mon, 20 Mar 2006 10:43:21 +0000 (10:43 +0000)]
* qscreen.[Ch]:
  - Cursor handing is done on the server -> *cursor are
    QPixmap
  - Use new drawScreen and copyScreen methods.
* QWorkArea.[Ch]:
  - Pixel manipulation is done on the client -> paint_device_ is a
    QImage
  - an intermediate Screen device is updated whenever expose is called
    -> sreen_device_ is a QPixmap. This screen_device is the one that is
    painted on screen in QWorkArea::repaintEvent().
  - new update, drawScreen and copyScreen methods.
* QLPainter.C: use the new paintDevice interface.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13428 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agofrontends/controllers/ControlBibtex.[Ch]: new members bibtotoc(), getStylefile(),
Jürgen Spitzmüller [Mon, 20 Mar 2006 10:24:23 +0000 (10:24 +0000)]
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/qt4/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/trunk@13427 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * math_nestinset.C
Martin Vermeer [Mon, 20 Mar 2006 08:42:43 +0000 (08:42 +0000)]
* math_nestinset.C
(MathNestInset::doDispatch): fix bug 2345: C-M on text in math gives
an empty mbox

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13425 a592a061-630c-0410-9148-cb99ea01b6c8