]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoPrepare lib/kbd for the unicode transition (part 1, more expected)
Georg Baum [Sat, 31 Mar 2007 10:21:56 +0000 (10:21 +0000)]
Prepare lib/kbd for the unicode transition (part 1, more expected)

* lib/kbd/serbocroatian.kmap: Remove hack that replaced d-Stroke and
D-Stroke with d-Caron and D-Caron, respectively.
This is no longer needed.

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

17 years agoConvert the part of the keymap code that will not be removed to docstring.
Georg Baum [Sat, 31 Mar 2007 08:12:08 +0000 (08:12 +0000)]
Convert the part of the keymap code that will not be removed to docstring.
This is purely mechanical, and touches only code that is currently not active.

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

17 years agomore encoding fixes for German docs
Uwe Stöhr [Sat, 31 Mar 2007 01:50:40 +0000 (01:50 +0000)]
more encoding fixes for German docs

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

17 years agode_Userguide: encoding fix
Uwe Stöhr [Sat, 31 Mar 2007 01:44:20 +0000 (01:44 +0000)]
de_Userguide: encoding fix

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

17 years ago * src/text3.C (dispatch): revert previous fix to 3143
Jean-Marc Lasgouttes [Fri, 30 Mar 2007 20:41:38 +0000 (20:41 +0000)]
* src/text3.C (dispatch): revert previous fix to 3143

* src/text.C (breakParagraph): setCursor does not set current_font when
applied to a CursorSlice (fixes bug 3143)

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

17 years agocmake: some cleanup only
Peter Kümmel [Fri, 30 Mar 2007 20:29:23 +0000 (20:29 +0000)]
cmake: some cleanup only

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

17 years agofix #3130
André Pönitz [Fri, 30 Mar 2007 19:28:03 +0000 (19:28 +0000)]
fix #3130

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

17 years agorevert 17649. This code was only a temporary mean to help fixing #3396. Apart from...
André Pönitz [Fri, 30 Mar 2007 17:20:27 +0000 (17:20 +0000)]
revert 17649. This code was only a temporary mean to help fixing #3396. Apart from that it is not needed to get a proper stack trace and clutters the source

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

17 years agofix 3396
André Pönitz [Fri, 30 Mar 2007 17:16:26 +0000 (17:16 +0000)]
fix 3396

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

17 years agoavoid recursive dump() in case of math parsing problem.
Abdelrazak Younes [Fri, 30 Mar 2007 16:29:35 +0000 (16:29 +0000)]
avoid recursive dump() in case of math parsing problem.

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

17 years agoFix for bug 3381, itself due to a bug in QT 4.2.3.
Richard Heck [Fri, 30 Mar 2007 15:15:44 +0000 (15:15 +0000)]
Fix for bug 3381, itself due to a bug in QT 4.2.3.

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

17 years agoenable LFUN_MATH_INSERT in text
André Pönitz [Fri, 30 Mar 2007 13:29:09 +0000 (13:29 +0000)]
enable LFUN_MATH_INSERT in text

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

17 years agoWhitespace correction after rev 17639
André Pönitz [Fri, 30 Mar 2007 05:30:23 +0000 (05:30 +0000)]
Whitespace correction after rev 17639

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

17 years agoFix for bug 3109: http://bugzilla.lyx.org/show_bug.cgi?id=3109. Added comments regard...
Richard Heck [Fri, 30 Mar 2007 04:24:54 +0000 (04:24 +0000)]
Fix for bug 3109: http://bugzilla.lyx.org/show_bug.cgi?id=3109. Added comments regarding longer-term issues with this code.

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

17 years agoCompleted table on naming conventions for widgets
Richard Heck [Fri, 30 Mar 2007 04:06:16 +0000 (04:06 +0000)]
Completed table on naming conventions for widgets

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

17 years agoLyXWinInstaller: minor update again
Uwe Stöhr [Fri, 30 Mar 2007 01:22:25 +0000 (01:22 +0000)]
LyXWinInstaller: minor update again

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

17 years agoLyXWinInstaller: reflect GS update
Uwe Stöhr [Fri, 30 Mar 2007 01:03:18 +0000 (01:03 +0000)]
LyXWinInstaller: reflect GS update

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

17 years agotiny encoding fix for LyXWinInstaller
Uwe Stöhr [Thu, 29 Mar 2007 23:57:32 +0000 (23:57 +0000)]
tiny encoding fix for LyXWinInstaller

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

17 years agosmall LyXWinInstaller updates
Uwe Stöhr [Thu, 29 Mar 2007 23:54:40 +0000 (23:54 +0000)]
small LyXWinInstaller updates

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

17 years agoantialiasing for fonts by Stefan
Uwe Stöhr [Thu, 29 Mar 2007 23:08:29 +0000 (23:08 +0000)]
antialiasing for fonts by Stefan

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

17 years agobetter UI fix for bug 3364 from Richard
Uwe Stöhr [Thu, 29 Mar 2007 22:27:40 +0000 (22:27 +0000)]
better UI fix for bug 3364 from Richard

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

17 years agomake up/down vuttons in command bar narrower
André Pönitz [Thu, 29 Mar 2007 22:12:34 +0000 (22:12 +0000)]
make up/down vuttons in command bar narrower

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

17 years agoEmbeddedObjects: dcolum fixes
Uwe Stöhr [Thu, 29 Mar 2007 22:10:45 +0000 (22:10 +0000)]
EmbeddedObjects: dcolum fixes

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

17 years agoremove a space
André Pönitz [Thu, 29 Mar 2007 22:01:21 +0000 (22:01 +0000)]
remove a space

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

17 years agofix mathed regression (pullArg was gone)
André Pönitz [Thu, 29 Mar 2007 21:58:15 +0000 (21:58 +0000)]
fix mathed regression (pullArg was gone)

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

17 years agoCustomization.lyx: add again a hint about bindings to avoid confusions
Uwe Stöhr [Thu, 29 Mar 2007 20:31:01 +0000 (20:31 +0000)]
Customization.lyx: add again a hint about bindings to avoid confusions
de_Userguide.lyx: small correction

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

17 years agocmake: remove obsolete file generation
Peter Kümmel [Thu, 29 Mar 2007 19:25:35 +0000 (19:25 +0000)]
cmake: remove obsolete file generation

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

17 years agoremove unneeded declarations.
Abdelrazak Younes [Thu, 29 Mar 2007 15:00:00 +0000 (15:00 +0000)]
remove unneeded declarations.

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

17 years agoRestore old bookmark behaviors (stop using bookmark queue)
Bo Peng [Thu, 29 Mar 2007 03:41:55 +0000 (03:41 +0000)]
Restore old bookmark behaviors (stop using bookmark queue)

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

17 years agoFix bug 3364:
Uwe Stöhr [Wed, 28 Mar 2007 23:57:48 +0000 (23:57 +0000)]
Fix bug 3364:
http://bugzilla.lyx.org/show_bug.cgi?id=3364

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

17 years agofix rev 17625
Uwe Stöhr [Wed, 28 Mar 2007 23:43:29 +0000 (23:43 +0000)]
fix rev 17625

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

17 years agosmall adjustment to have the same button size for Browse and Edit button.
Uwe Stöhr [Wed, 28 Mar 2007 23:35:25 +0000 (23:35 +0000)]
small adjustment to have the same button size for Browse and Edit button.

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

17 years agoCoustomization.lyx: add a hint about bindings to avoid confusions, see bug 3378
Uwe Stöhr [Wed, 28 Mar 2007 23:00:52 +0000 (23:00 +0000)]
Coustomization.lyx: add a hint about bindings to avoid confusions, see bug 3378
http://bugzilla.lyx.org/show_bug.cgi?id=3378

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

17 years agoFix a bunch of focus proxy.
Abdelrazak Younes [Wed, 28 Mar 2007 21:17:47 +0000 (21:17 +0000)]
Fix a bunch of focus proxy.

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

17 years agodon't allow negative window positions on non-virtual desktops
Peter Kümmel [Wed, 28 Mar 2007 21:12:50 +0000 (21:12 +0000)]
don't allow negative window positions on non-virtual desktops

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

17 years agocmake: fix C&P error
Peter Kümmel [Wed, 28 Mar 2007 20:54:37 +0000 (20:54 +0000)]
cmake: fix C&P error

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

17 years agoFix focus proxy.
Abdelrazak Younes [Wed, 28 Mar 2007 20:20:42 +0000 (20:20 +0000)]
Fix focus proxy.

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

17 years agoFix focus proxy.
Abdelrazak Younes [Wed, 28 Mar 2007 20:14:50 +0000 (20:14 +0000)]
Fix focus proxy.

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

17 years ago * ui/stdmenues.inc: add missing ellipsis for "glossary entry" menu entry
Michael Schmitt [Wed, 28 Mar 2007 19:53:05 +0000 (19:53 +0000)]
* ui/stdmenues.inc: add missing ellipsis for "glossary entry" menu entry

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

17 years agocmake: force to new build type when reconfiguring
Peter Kümmel [Wed, 28 Mar 2007 19:23:57 +0000 (19:23 +0000)]
cmake: force to new build type when reconfiguring

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

17 years agoFix bug 3246 by Richard Heck:
Abdelrazak Younes [Wed, 28 Mar 2007 17:02:20 +0000 (17:02 +0000)]
Fix bug 3246 by Richard Heck:
Problem was that SIGNAL itemSelectionChanged was not connected to anything.

* QRefDialog::selectionChanged(): new slot for itemSelectionChanged signal.

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

17 years agoFix unreported bug related to 3246 by Richard Heck:
Abdelrazak Younes [Wed, 28 Mar 2007 16:58:08 +0000 (16:58 +0000)]
Fix unreported bug related to 3246 by Richard Heck:
"View" button in TeX information dialog not enabled when file is selected with the keyboard. Problem was that SIGNAL itemSelectionChanged was not connected to anything. Also made some minor stylistic changes to the code.

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

17 years agoFix bug 3356 by Bernhard Roider:
Abdelrazak Younes [Wed, 28 Mar 2007 16:01:32 +0000 (16:01 +0000)]
Fix bug 3356  by Bernhard Roider:

The crash happens on alt+up and alt+down if the position of the cursor
in the moved paragraph is beyond the length of the target paragraph.

To avoid it the Position of the iterators for the target paragraph must
be corrected. I set it to 0 as i assume it is not really used.

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

17 years agoFix bug 3143 by Richard Heck. Background information from Richard:
Abdelrazak Younes [Wed, 28 Mar 2007 15:22:39 +0000 (15:22 +0000)]
Fix bug 3143 by Richard Heck. Background information from Richard:

breakParagraph seems to be called five times: in buffer.C, by
insertStringAsLines; and in text3.C, for LFUN_BREAK_PARAGRAPH,
LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT, LFUN_BREAK_PARAGRAPH_SKIP (which
itself calls LFUN_BREAK_PARAGRAPH if a paragraph will be broken), and
for LFUN_FLOAT_LIST. My sense was that the KEEP_LAYOUT version maybe
shouldn't reset the text style.  That's why I put it where I did. But I
doubt it matters very much, and I had it in breakParagraph myself at one
point.

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

17 years ago* lyxtext.h: add comments to checkInsetHit() and editXY()
Abdelrazak Younes [Wed, 28 Mar 2007 15:00:34 +0000 (15:00 +0000)]
* lyxtext.h: add comments to checkInsetHit() and editXY()

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

17 years agoRe-enable mouse hover detection over insets. This was disable at rev 17589 to fix...
Abdelrazak Younes [Wed, 28 Mar 2007 14:47:52 +0000 (14:47 +0000)]
Re-enable mouse hover detection over insets. This was disable at rev 17589 to fix bug 3144 which has been re-opened for this.
There is a user visible change with this commit: For text insets, the button stays "highlighted" as long as the mouse cursor is within the inset but not within a nested inset. Formerly the button was highlighted only when hovered. This new behaviour is better because we can now imagine funkier behaviour like inset color background change when hovered. Also the small math pink corners can be adapted to react to mouse hover in the future. Ideally we should also "highlight" the button when entering the inset via the keyboard or when the keyboard cursor is just before the inset (because we can then use Ctrl-i).

* BufferView:
  - getCoveringInset(): new method.
  - workAreaDispatch(): use getCoveringInset() instead of LyXText::checkInsetHit()

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

17 years ago * src/encoding.C (latexChar,read):
Jean-Marc Lasgouttes [Wed, 28 Mar 2007 13:57:22 +0000 (13:57 +0000)]
    * src/encoding.C (latexChar,read):
        * src/support/unicode.C (convert): do not forget to reset lyxerr to
        std::dec type of output.

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

17 years agoremove useless provide tags
Jean-Marc Lasgouttes [Wed, 28 Mar 2007 12:41:11 +0000 (12:41 +0000)]
remove useless provide tags

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

17 years ago* LyXText::getPitNearY(): Make it const.
Abdelrazak Younes [Wed, 28 Mar 2007 09:20:38 +0000 (09:20 +0000)]
* LyXText::getPitNearY(): Make it const.

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

17 years agoEmbeddedObjects: Small update
Uwe Stöhr [Wed, 28 Mar 2007 00:45:39 +0000 (00:45 +0000)]
EmbeddedObjects: Small update

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

17 years agoes_EmbeddedObjects: Updates from Ignacio
Uwe Stöhr [Wed, 28 Mar 2007 00:34:33 +0000 (00:34 +0000)]
es_EmbeddedObjects: Updates from Ignacio

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

17 years agoPresent to the eyes.
Enrico Forestieri [Wed, 28 Mar 2007 00:26:04 +0000 (00:26 +0000)]
Present to the eyes.

* src/frontends/qt4/QLog.C
(logHighlighter::logHighlighter): Use a darker gray.

* src/frontends/qt4/QViewSource.C
(latexHighlighter::latexHighlighter): Ditto.

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

17 years agoSmall refinement to subscript placement
Enrico Forestieri [Wed, 28 Mar 2007 00:02:15 +0000 (00:02 +0000)]
Small refinement to subscript placement

* src/mathed/InsetMathScript.C
(InsetMathScript::dy01): Make sure that the subscript is placed
not higher than when it appears alone.

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

17 years agode_Intro.lyx: Small update from Hartmut
Uwe Stöhr [Tue, 27 Mar 2007 23:49:38 +0000 (23:49 +0000)]
de_Intro.lyx: Small update from Hartmut

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

17 years agode_Userguide.lyx: Updates from Hartmut
Uwe Stöhr [Tue, 27 Mar 2007 23:44:54 +0000 (23:44 +0000)]
de_Userguide.lyx: Updates from Hartmut

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

17 years agocmake: add shared library support
Peter Kümmel [Tue, 27 Mar 2007 18:26:36 +0000 (18:26 +0000)]
cmake: add shared library support

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

17 years agomarginal changes (more to come)
Michael Schmitt [Tue, 27 Mar 2007 18:10:18 +0000 (18:10 +0000)]
marginal changes (more to come)

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

17 years ago* lib/CREDITS:
Jürgen Spitzmüller [Tue, 27 Mar 2007 17:58:58 +0000 (17:58 +0000)]
* lib/CREDITS:
* lib/generate_contributions.py:
- add Richard Heck.

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

17 years agofix typo: LateX => LaTeX
Michael Schmitt [Tue, 27 Mar 2007 17:40:05 +0000 (17:40 +0000)]
fix typo: LateX => LaTeX

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

17 years ago* src/frontends/qt4/GuiWorkArea.C:
Jürgen Spitzmüller [Tue, 27 Mar 2007 17:31:29 +0000 (17:31 +0000)]
* src/frontends/qt4/GuiWorkArea.C:
- whitespace. I forgot to save the changes before committing :-(

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

17 years ago* src/frontends/qt4/GuiWorkArea.[Ch]:
Jürgen Spitzmüller [Tue, 27 Mar 2007 17:26:11 +0000 (17:26 +0000)]
* src/frontends/qt4/GuiWorkArea.[Ch]:
- some further refinement (and cleanup) of the triple click behaviour,
  from Richard G. Heck.

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

17 years agoBufferView.C: remove unneeded comment
Bo Peng [Tue, 27 Mar 2007 14:39:09 +0000 (14:39 +0000)]
BufferView.C: remove unneeded comment

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

17 years agoSome more debug information in case the cursor is ill
André Pönitz [Tue, 27 Mar 2007 14:35:48 +0000 (14:35 +0000)]
Some more debug information in case the cursor is ill

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

17 years agoThis is supposed to fix #3189 basically by avoiding the error condition:
André Pönitz [Tue, 27 Mar 2007 14:33:19 +0000 (14:33 +0000)]
This is supposed to fix #3189 basically by avoiding the error condition:
The string representation of math data stored in an undo could not be
read back. Now we store the math directly and do not convert to and from
a string.

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

17 years agofix uninitialized variable
Jean-Marc Lasgouttes [Tue, 27 Mar 2007 12:51:47 +0000 (12:51 +0000)]
fix uninitialized variable

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

17 years agoFix bug 3144 by Richard Heck (slightly modified by me):
Abdelrazak Younes [Tue, 27 Mar 2007 10:07:53 +0000 (10:07 +0000)]
Fix bug 3144 by Richard Heck (slightly modified by me):
http://bugzilla.lyx.org/show_bug.cgi?id=3144

The problem was that we set the cursor even for mouse hover event.

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

17 years ago* src/frontends/qt4/GuiWorkArea.[Ch]:
Jürgen Spitzmüller [Tue, 27 Mar 2007 08:05:31 +0000 (08:05 +0000)]
* src/frontends/qt4/GuiWorkArea.[Ch]:
- reimplement doubleClickTimeout() from the qt3 frontend
   in order to get triple clicking working (bug 3272).
   This is just an emultation of triple clicking, since qt does not have
   a mouseTripleClickEvent()

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

17 years agoadjust layout
Edwin Leuven [Tue, 27 Mar 2007 07:57:09 +0000 (07:57 +0000)]
adjust layout

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

17 years agoConvert makeRelPath to docstring (from Michael Gerz)
Georg Baum [Tue, 27 Mar 2007 07:24:16 +0000 (07:24 +0000)]
Convert makeRelPath to docstring (from Michael Gerz)

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

17 years ago* src/frontends/qt4/BulletModule.C: remove unneeded debug include.
Jürgen Spitzmüller [Tue, 27 Mar 2007 06:57:50 +0000 (06:57 +0000)]
* src/frontends/qt4/BulletModule.C: remove unneeded debug include.

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

17 years ago* src/frontends/qt4/BulletModule.C:
Jürgen Spitzmüller [Tue, 27 Mar 2007 06:55:25 +0000 (06:55 +0000)]
* src/frontends/qt4/BulletModule.C:
* src/frontends/qt4/ui/BulletsUi.ui:
- assure that six columns of bullets are displayed in the widget
  (fix bug 3147).

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

17 years ago* src/toc.C: whitespace
Jürgen Spitzmüller [Tue, 27 Mar 2007 05:58:10 +0000 (05:58 +0000)]
* src/toc.C: whitespace

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

17 years ago* src/toc.C: allow upwards movement to first paragraph (bug 3131)
Jürgen Spitzmüller [Tue, 27 Mar 2007 05:53:14 +0000 (05:53 +0000)]
* src/toc.C: allow upwards movement to first paragraph (bug 3131)

fix from Bernhard Roider.

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

17 years agocmake: show full command
Peter Kümmel [Mon, 26 Mar 2007 20:21:41 +0000 (20:21 +0000)]
cmake: show full command

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

17 years agosome more tipa characters
Georg Baum [Mon, 26 Mar 2007 20:19:11 +0000 (20:19 +0000)]
some more tipa characters

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

17 years agocmake: overwrite allinone files on each cmake run
Peter Kümmel [Mon, 26 Mar 2007 20:03:31 +0000 (20:03 +0000)]
cmake: overwrite allinone files on each cmake run

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

17 years ago * src/insets/insetcharstyle.C: fix bug #3252 (by M. Vermeer):
Michael Schmitt [Mon, 26 Mar 2007 19:16:49 +0000 (19:16 +0000)]
* src/insets/insetcharstyle.C: fix bug #3252 (by M. Vermeer):
Cursor is not placed correctly in char style inset

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

17 years agocmake: force new build type
Peter Kümmel [Mon, 26 Mar 2007 18:50:41 +0000 (18:50 +0000)]
cmake: force new build type

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

17 years agoalso speed up compiling touched files under Linux
Peter Kümmel [Mon, 26 Mar 2007 18:03:56 +0000 (18:03 +0000)]
also speed up compiling touched files under Linux

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

17 years ago* src/frontends/controllers/ControlAboutlyx.[Ch]:
Jürgen Spitzmüller [Mon, 26 Mar 2007 15:58:00 +0000 (15:58 +0000)]
* src/frontends/controllers/ControlAboutlyx.[Ch]:
* src/frontends/qt4/QAbout.C:
- revert r17572 and restore the correct copyright notice.

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

17 years agoCorrectly highlight comments in latexHighlighter
Bo Peng [Mon, 26 Mar 2007 15:51:34 +0000 (15:51 +0000)]
Correctly highlight comments in latexHighlighter

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

17 years agolatexHighlighter: handles multiline reg expression of all sorts of displayed mathemat...
Bo Peng [Mon, 26 Mar 2007 15:10:59 +0000 (15:10 +0000)]
latexHighlighter: handles multiline reg expression of all sorts of displayed mathematics environments

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

17 years ago* src/frontends/controllers/ControlAboutlyx.[Ch]:
Jürgen Spitzmüller [Mon, 26 Mar 2007 15:05:59 +0000 (15:05 +0000)]
* src/frontends/controllers/ControlAboutlyx.[Ch]:
* src/frontends/qt4/QAbout.C:
- remove obsolete getLicense (which is identical to getDisclaimer)
   [bug 3371]

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

17 years ago* src/frontends/qt4/QCharacter.C:
Jürgen Spitzmüller [Mon, 26 Mar 2007 14:06:20 +0000 (14:06 +0000)]
* src/frontends/qt4/QCharacter.C:
* src/frontends/qt4/QDocumentDialog.C:
* src/frontends/qt4/QPrefsDialog.C:
- document persistence of Qt4 resizing bug.

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

17 years agoupdate gl.po; remerge to use the new lyx_pot.py code
Jean-Marc Lasgouttes [Mon, 26 Mar 2007 13:59:28 +0000 (13:59 +0000)]
update gl.po; remerge to use the new lyx_pot.py code

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

17 years agoFix bug 3293 by Bernhard Roider:
Abdelrazak Younes [Mon, 26 Mar 2007 13:43:49 +0000 (13:43 +0000)]
Fix bug 3293 by Bernhard Roider:

This changes the semantics of isOK() and operator(), comments from Bernhard below:

With the old version of lyxlex it was _impossible_ to check whether reading an integer, float, ... succeeded or not. The current solution to check for is.bad() in some cases and in other cases use is.good() does not give the desired information. Moreover the result of is.bad() depends on the stl implementation and behaves different for linux and windows.

the bug was introduced by the patch that fixed the bug that crashed lyx when "inset-insert ert" was executed from the command buffer.
The lexer has the method isOK() which reflects the status of the stream is.
The operators void* and ! are not really well defined (they depend on the value of is.bad()). What is missing is a test if the last reading operation was successful and thus the returned value is valid.
That's what i implemented in this patch.

The new rule for using the lexer:

if you want to know if the lexer still has data to read (either from the stream or from the pushed token) then use "lex.isOK()".
If you want to test if the last reading operation was successful then use eg. "if (lex) {...}" or unsuccessful then use eg. "if (!lex) {...}"

an example:

int readParam(LyxLex &lex) {

    int param = 1; // default value
    if (lex.isOK()) { // the lexer has data to read
        int p;    // temporary variable
        lex >> p;
        if (lex) param = p; // only use the input if the reading operation was successful
    }
    return param;
}

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

17 years agoFix bug 3258:
Abdelrazak Younes [Mon, 26 Mar 2007 13:36:27 +0000 (13:36 +0000)]
Fix bug 3258:

http://bugzilla.lyx.org/show_bug.cgi?id=3258

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

17 years agofix MSVC warning.
Abdelrazak Younes [Mon, 26 Mar 2007 10:33:27 +0000 (10:33 +0000)]
fix MSVC warning.

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

17 years agoGet rid of LyXRC::font_norm_type, since it is no longer needed for arabic
Georg Baum [Mon, 26 Mar 2007 08:24:38 +0000 (08:24 +0000)]
Get rid of LyXRC::font_norm_type, since it is no longer needed for arabic
support.
LyXRC::font_norm stays for now, since it is still used for the kbmap stuff.

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

17 years agoremove lyxrc variables that where only used by xforms
Georg Baum [Mon, 26 Mar 2007 08:14:17 +0000 (08:14 +0000)]
remove lyxrc variables that where only used by xforms

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

17 years agocompile fix
Georg Baum [Mon, 26 Mar 2007 07:38:33 +0000 (07:38 +0000)]
compile fix

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

17 years agodisable requirement for 2.4.4 version
Peter Kümmel [Mon, 26 Mar 2007 06:55:16 +0000 (06:55 +0000)]
disable requirement for 2.4.4 version

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

17 years agoPresent to Abdel: Syntax highlighting for LaTeX Log. (I know I should have been readi...
Bo Peng [Mon, 26 Mar 2007 04:25:49 +0000 (04:25 +0000)]
Present to Abdel: Syntax highlighting for LaTeX Log. (I know I should have been reading windows installers :-)

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

17 years agoAvoid random kerning values.
Enrico Forestieri [Mon, 26 Mar 2007 00:05:28 +0000 (00:05 +0000)]
Avoid random kerning values.

* src/mathed/MathData.C
(MathArray::metrics): Explicitly initialize kerning_ as it may
contain random data when the nucleus is an empty MathFont inset.

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

17 years agoFix crash in debug mode (MSVC) due to an assertion in Qt.
Abdelrazak Younes [Sun, 25 Mar 2007 23:22:25 +0000 (23:22 +0000)]
Fix crash in debug mode (MSVC) due to an assertion in Qt.

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

17 years agocmake:
Peter Kümmel [Sun, 25 Mar 2007 22:03:59 +0000 (22:03 +0000)]
cmake:
 - add flags for debug/release/profile
 - also build qt4 as one file with gcc

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

17 years ago * src/text.C: fix bug #2810
Michael Schmitt [Sun, 25 Mar 2007 17:11:30 +0000 (17:11 +0000)]
* src/text.C: fix bug #2810

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

17 years agoadd some comments
Georg Baum [Sun, 25 Mar 2007 16:45:51 +0000 (16:45 +0000)]
add some comments

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

17 years agoFix crash with included files
Georg Baum [Sun, 25 Mar 2007 16:31:16 +0000 (16:31 +0000)]
Fix crash with included files

* src/buffer.C
(Buffer::makeLaTeXFile): Use runparams.encoding to be consistent

* src/insets/insetinclude.C
(InsetInclude::latex): Change runparams.encoding to the encoding of
the child document for makeLateXFile

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

17 years agoAdd FIXME.
Abdelrazak Younes [Sun, 25 Mar 2007 16:22:13 +0000 (16:22 +0000)]
Add FIXME.

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