]>
git.lyx.org Git - lyx.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Martin Vermeer [Mon, 20 Mar 2006 06:53:29 +0000 (06:53 +0000)]
Get raising/lowering into super/subscripts of selection working (1.3
regression)
* cursor.C: get rid of paste()
* mathed/math_nestinset.C
(MathNestInset::doDispatch):
(MathNestInset::lfunMouseRelease): define safe_ (selection) in
several places
(MathNestInset::script): use data member safe_ to insert selection
* mathed/math_nestinset.h: data member safe_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13424
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 18 Mar 2006 21:15:21 +0000 (21:15 +0000)]
* text.C
(LyXText::backspace): Fix changebar non-update (Juergen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13422
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 18 Mar 2006 17:39:54 +0000 (17:39 +0000)]
* src/insets/insetbase.h
* src/insets/insettext.h
(asTextInset): constify
* src/rowpainter.C
(RowPainter::paintInset): remove unneeded casts
(paintPar): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13420
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 18 Mar 2006 17:36:41 +0000 (17:36 +0000)]
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/trunk@13419
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 18 Mar 2006 17:04:28 +0000 (17:04 +0000)]
expand redrawing of current row to endpos() AGAIN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13418
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 18 Mar 2006 16:14:31 +0000 (16:14 +0000)]
fix lib/configure.py invocation for builddir != srcdir
(create the lib directorty if it does not exist before running the script)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13417
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Fri, 17 Mar 2006 19:45:28 +0000 (19:45 +0000)]
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/trunk@13415
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 17 Mar 2006 19:02:43 +0000 (19:02 +0000)]
Remove qt2 support in the following files:
* src/frontends/qt2/qt_helpers.C
(makeFontName):
* src/frontends/qt2/QWorkArea.C
(QWorkArea::haveSelection):
(QWorkArea::haveSelection):
(QWorkArea::getClipboard):
* src/frontends/qt2/panelstack.C
(PanelStack::PanelStack):
* src/frontends/qt4/qt_helpers.C
(makeFontName):
* README: remove notice about qt2
* config/qt.m4: make 3.0 the minimum required qt version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13414
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 17 Mar 2006 13:11:32 +0000 (13:11 +0000)]
(getStatus): add extra condition for PASTE to reflect tabularStack (bug 2377)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13411
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 17 Mar 2006 09:52:13 +0000 (09:52 +0000)]
* 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/trunk@13410
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 16 Mar 2006 20:34:20 +0000 (20:34 +0000)]
* src/frontends/qt4/QWorkArea.C
(QWorkArea::mouseMoveEvent): Use qt wide scroll wheel setting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13409
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 16 Mar 2006 17:17:30 +0000 (17:17 +0000)]
fix stripLeadingSpaces mechanism with change tracking enabled
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13408
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 16 Mar 2006 15:53:28 +0000 (15:53 +0000)]
adjust cursor after backspace in change tracking mode (bug 2185).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13407
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 16 Mar 2006 15:37:35 +0000 (15:37 +0000)]
* text.C, tex2lyx.h (translate_len): make public
* table.C (handle_tabular): translate widths to LyX (bug 2290)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13403
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 16 Mar 2006 15:26:44 +0000 (15:26 +0000)]
QContentPane::mouseMoveEvent: Use qt wide scroll wheel setting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13401
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 16 Mar 2006 15:05:47 +0000 (15:05 +0000)]
fix bug 2234
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13399
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Mar 2006 14:24:53 +0000 (14:24 +0000)]
bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13395
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 16 Mar 2006 14:15:51 +0000 (14:15 +0000)]
adding abdelrazak younes to the credits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13394
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 16 Mar 2006 13:35:53 +0000 (13:35 +0000)]
Get a sensible prefix inside figure and tabular floats (bug 1999).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13392
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 16 Mar 2006 13:15:42 +0000 (13:15 +0000)]
PanelStack::addPanel(): fixed document settings dialog size when first showed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13391
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Mar 2006 13:12:40 +0000 (13:12 +0000)]
disable save when document is clean (bug 2313)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13389
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 16 Mar 2006 11:23:23 +0000 (11:23 +0000)]
Edwin Leuven <e.leuven@uva.nl>
* entries in the combobox in the toolbar are not legible
* same for entries in the listview in the preferences dialog
* the color is not updated after changing it (i always change the murky pink color of lyx's background to white)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13387
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 16 Mar 2006 10:52:20 +0000 (10:52 +0000)]
fixed inset buttons grey colors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13386
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Thu, 16 Mar 2006 06:54:08 +0000 (06:54 +0000)]
Change tracking -related bug fixes (reported by Juergen) and some
documentation work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13385
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 15 Mar 2006 21:00:15 +0000 (21:00 +0000)]
truncate too long filenames for pdflatex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13384
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 15 Mar 2006 15:32:32 +0000 (15:32 +0000)]
fix drawing of buttons (bug 2328)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13381
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 15 Mar 2006 15:26:21 +0000 (15:26 +0000)]
removed topLevelMenu_.clear() call in QLPopupMenu::update() following MenuBackend change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13380
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 15 Mar 2006 15:07:20 +0000 (15:07 +0000)]
make sure we clear menu contents before expand()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13379
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 15 Mar 2006 13:39:59 +0000 (13:39 +0000)]
fix symbols fonts on X11
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13378
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 15 Mar 2006 11:27:32 +0000 (11:27 +0000)]
QLPopupMenu.[Ch]: renamed topLevelMenu to topLevelMenu_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13377
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 15 Mar 2006 11:12:52 +0000 (11:12 +0000)]
QLMenubar.C: Fix potential MACX crash on menubar initialisation.
The MACX specific menubar hack present in qt2 frontend is still not ported to the qt4 frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13376
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 14 Mar 2006 19:56:00 +0000 (19:56 +0000)]
restore entries from 11/2002 to 5/2005
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13372
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Mar 2006 14:50:00 +0000 (14:50 +0000)]
QWorkArea.[Ch]: Wheel one-liner mouse fix
QWorkArea.h: Added comments
Reverted to Q_WS_X11 and Q_WS_MACX instead of Q_OS_*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13371
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Tue, 14 Mar 2006 14:47:24 +0000 (14:47 +0000)]
Fix to bug 2325: Mouse click to right of last nestinset in a cell will
position cursor to its left
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13370
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Mar 2006 17:56:32 +0000 (17:56 +0000)]
fix bug 2361
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13369
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Mar 2006 14:43:31 +0000 (14:43 +0000)]
bug 1611: clarify Title handling in tutorial (trivial)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13363
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Mon, 13 Mar 2006 14:38:22 +0000 (14:38 +0000)]
Helper script to compile the Aspell library.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13362
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Mon, 13 Mar 2006 14:37:56 +0000 (14:37 +0000)]
Add Polish interface to the Windows installer (forward ported from 1.3.x).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13361
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 13 Mar 2006 11:05:07 +0000 (11:05 +0000)]
fix painting of change bar with only paragraph break changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13356
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 13 Mar 2006 10:55:56 +0000 (10:55 +0000)]
Michael's installer patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13354
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 12 Mar 2006 17:44:38 +0000 (17:44 +0000)]
Abdelrazak Younes: Compile fixes for the Mac (ChangeLog follows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13349
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 12 Mar 2006 17:29:34 +0000 (17:29 +0000)]
(Abdelrazak Younes:)
* QWorkArea.[Ch] cleanup:
- Added private members workWidth_ and workHeight_ in order to
make sure QWorkArea is always able to draw (link to
workArea::WorkAreaResize).
- deleted superfluous debugging stuff
- deleted superfluous commented out code.
- placed all specific stuff (Qt-immodule, X11 and Mac OSX) in a
separate place at the end of QWorkArea.C.
- initial support for Wheel mouse (still does not work).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13348
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 12 Mar 2006 10:51:11 +0000 (10:51 +0000)]
Get rid of lib/configure.m4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13347
a592a061 -630c-0410-9148-
cb99ea01b6c8