]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoforgot this in the previous change
Georg Baum [Sun, 12 Nov 2006 16:00:20 +0000 (16:00 +0000)]
forgot this in the previous change

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

17 years agoFix bug 2982 (two undo steps are needed to undo inset-dissolve)
Georg Baum [Sun, 12 Nov 2006 15:48:33 +0000 (15:48 +0000)]
Fix bug 2982 (two undo steps are needed to undo inset-dissolve)
* src/CutAndPaste.C
(pasteParagraphList): Don't record undo info here...

* src/BufferView.C
(BufferView::menuInsertLyXFile): ... but here instead

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

17 years agoFix comments.
Abdelrazak Younes [Sun, 12 Nov 2006 14:59:35 +0000 (14:59 +0000)]
Fix comments.

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

17 years ago* text.C:
Abdelrazak Younes [Sun, 12 Nov 2006 14:47:20 +0000 (14:47 +0000)]
* text.C:
  - LyXText::breakParagraph(): Redo paragraphs before setCursor()
  - LyXText::insertChar(): ditto

* lyxfunc.C: take into account BufferView::update() returned value for WorkArea redrawing.

* BufferView::update(): we also need a second step in singlePar mode.

* WorkArea.C
  - startBlinkingCursor(): also show the cursor
  - stopBlinkingCursor(): also remove the visible cursor
  - processKeySym(): stop and start the cursor blinking instead of merely hide and show it.

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

17 years agoFix output of labels and references that contain characters with an UCS4
Georg Baum [Sun, 12 Nov 2006 13:42:20 +0000 (13:42 +0000)]
Fix output of labels and references that contain characters with an UCS4
codepoint > 255.
I decided that this is no file format change: We already had the change to
format 249 that allowed unicode in .lyx files. The output to .tex of
non-ascii characters is now different than before (even for those that were
supported previously, e.g. german umlauts in latin1), but this is only
relevant if people referenced a label in ERT. Since we cannot detect this
anyway we don't need a file format change.

* src/support/lstrings.C
(escape): Extend the escaping algorithm from 8 bit to 24 bit.

* src/support/lstrings.h
(escape): Update comment

* lib/lyx2lyx/lyx_1_4.py
(lyx_support_escape): Update comment

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

17 years ago* LyXText::backspace(): redo paragraph rows. This is needed now because we don't...
Abdelrazak Younes [Sun, 12 Nov 2006 13:12:59 +0000 (13:12 +0000)]
* LyXText::backspace(): redo paragraph rows. This is needed now because we don't do this automatically at each setCursor() call. More of this kind of fixes will probably come.

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

17 years ago * po/*.po: remerge again
Michael Schmitt [Sun, 12 Nov 2006 12:01:50 +0000 (12:01 +0000)]
* po/*.po: remerge again

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

17 years ago * po/de.po: more updates
Michael Schmitt [Sun, 12 Nov 2006 11:57:28 +0000 (11:57 +0000)]
* po/de.po: more updates

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

17 years ago* src/frontends/qt4/QBoxDialog.C:
Jürgen Spitzmüller [Sun, 12 Nov 2006 11:25:20 +0000 (11:25 +0000)]
* src/frontends/qt4/QBoxDialog.C:
* src/frontends/qt4/QExternalDialog.C:
* src/frontends/qt4/QVSpaceDialog.C:
- fix signal/slot connection

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

17 years ago* bufferview_funcs.C: reconstruct par.rows() in case of empty par creation.
Abdelrazak Younes [Sun, 12 Nov 2006 11:24:27 +0000 (11:24 +0000)]
* bufferview_funcs.C: reconstruct par.rows() in case of empty par creation.

* text2.C: tiny optimisation in LyXText::editXY()

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

17 years agostrip the translation hints also in the dummy variant
Georg Baum [Sun, 12 Nov 2006 11:06:02 +0000 (11:06 +0000)]
strip the translation hints also in the dummy variant

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

17 years ago- coordOffset(): add an assertion on par.rows() emptiness before accessing it and...
Abdelrazak Younes [Sun, 12 Nov 2006 11:03:55 +0000 (11:03 +0000)]
- coordOffset(): add an assertion on par.rows() emptiness before accessing it and a FIXME.

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

17 years agoUnicode: Do the conversion of error messages to docstring where they are read
Georg Baum [Sun, 12 Nov 2006 10:58:00 +0000 (10:58 +0000)]
Unicode: Do the conversion of error messages to docstring where they are read
in, because we don't know the encoding of external files.

* src/LaTeX.C
(LaTeX::scanLogFile): Convert error strings to docstring and add
a comment that this could be wrong

* src/Chktex.C
(Chktex::scanLogFile): Ditto

* src/LaTeX.h
(TeXErrors::error_desc): Convert to docstring
(TeXErrors::error_text): Convert to docstring

* src/buffer_funcs.C
(bufferErrors): no from_utf8 needed anymore

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

17 years ago * po/de.po: update (almost no console messages any more)
Michael Schmitt [Sun, 12 Nov 2006 10:14:35 +0000 (10:14 +0000)]
* po/de.po: update (almost no console messages any more)

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

17 years ago * ui/stdmenus.ui: use the same shortcut for Eqnarrary in
Michael Schmitt [Sun, 12 Nov 2006 09:50:57 +0000 (09:50 +0000)]
* ui/stdmenus.ui: use the same shortcut for Eqnarrary in
"edit" and "insert"

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

17 years agoFix translation of ambiguous messages
Georg Baum [Sun, 12 Nov 2006 09:36:08 +0000 (09:36 +0000)]
Fix translation of ambiguous messages

* src/frontends/qt4/ui/QPrefConvertersUi.ui: Readd translation hint
to label and remove broken tooltip that somebody created instead

* src/messages.C
(Messages::Pimpl::get): reenable stripping of [[..]] from
untranslated messages

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

17 years agoThis hack is not needed any more and it is a _huge_ gain.
Abdelrazak Younes [Sun, 12 Nov 2006 08:47:49 +0000 (08:47 +0000)]
This hack is not needed any more and it is a _huge_ gain.

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

17 years agoDon't ask me why but the cursor x position hack is not needed anymore following my...
Abdelrazak Younes [Sun, 12 Nov 2006 08:39:11 +0000 (08:39 +0000)]
Don't ask me why but the cursor x position hack is not needed anymore following my cursor changes.

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

17 years ago- hum... truly fix the cursor.
Abdelrazak Younes [Sun, 12 Nov 2006 08:29:05 +0000 (08:29 +0000)]
- hum... truly fix the cursor.
- remove unneeded vertical scrollbar policy setting.

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

17 years ago- Clean up CursorWidget and hopefully fix Mac support.
Abdelrazak Younes [Sun, 12 Nov 2006 07:50:18 +0000 (07:50 +0000)]
- Clean up CursorWidget and hopefully fix Mac support.
- restore scrollbar when Buffer available.

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

17 years agonew buglet
Georg Baum [Sat, 11 Nov 2006 21:17:51 +0000 (21:17 +0000)]
new buglet

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

17 years agounicode: ditch another utf8 roundtrip + some obsolete FIXMEs
Georg Baum [Sat, 11 Nov 2006 21:09:51 +0000 (21:09 +0000)]
unicode: ditch another utf8 roundtrip + some obsolete FIXMEs

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

17 years agounicode: ditch another utf8 roundtrip
Georg Baum [Sat, 11 Nov 2006 20:59:04 +0000 (20:59 +0000)]
unicode: ditch another utf8 roundtrip

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

17 years agoUnicode: remove more utf8 roundtrips and faulty conversions to docstring
Georg Baum [Sat, 11 Nov 2006 20:55:40 +0000 (20:55 +0000)]
Unicode: remove more utf8 roundtrips and faulty conversions to docstring
without from_utf8

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

17 years agocomment unused method
Georg Baum [Sat, 11 Nov 2006 19:02:27 +0000 (19:02 +0000)]
comment unused method

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

17 years ago- Cleanup splash screen
Abdelrazak Younes [Sat, 11 Nov 2006 17:41:55 +0000 (17:41 +0000)]
- Cleanup splash screen
- fix bug when no Buffer.
- hide scrollbar when no buffer

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

17 years ago * Status.15x: various TOC-related bug reports (by Jürgen S.)
Michael Schmitt [Sat, 11 Nov 2006 15:30:21 +0000 (15:30 +0000)]
* Status.15x: various TOC-related bug reports (by Jürgen S.)

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

17 years agoRevert revision 14819 and my faulty fix for it.
Georg Baum [Sat, 11 Nov 2006 15:26:31 +0000 (15:26 +0000)]
Revert revision 14819 and my faulty fix for it.
* src/mathed/InsetMathScript.C
(InsetMathScript::write): Do not add braces to the nucleus

* src/mathed/MathParser.C
(Parser::parse1): Do not remove brace insets from the nucleus of
script insets

* src/mathed/InsetMathNest.C
(InsetMathNest::script): ditto

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

17 years ago * Status.15x: new reports by JP Chretien and Pavel Sanda
Michael Schmitt [Sat, 11 Nov 2006 15:04:19 +0000 (15:04 +0000)]
* Status.15x: new reports by JP Chretien and Pavel Sanda

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

17 years ago * po/*.po: remerge (4 new messages)
Michael Schmitt [Sat, 11 Nov 2006 14:56:49 +0000 (14:56 +0000)]
* po/*.po: remerge (4 new messages)

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

17 years ago * paragraph_pimpl.C: eraseChars: assert "end >= start"
Michael Schmitt [Sat, 11 Nov 2006 14:50:21 +0000 (14:50 +0000)]
* paragraph_pimpl.C: eraseChars: assert "end >= start"
rather than "end > start"; eraseChars is invoked
in cases in which no character is to be deleted

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

17 years agoMake it possible to uses non-ascii labelstring, endlabelstring and
Georg Baum [Sat, 11 Nov 2006 12:00:34 +0000 (12:00 +0000)]
Make it possible to uses non-ascii labelstring, endlabelstring and
labelstring_appendix in layout files

* src/text2.C
(LyXText::setLayout): Translate labelwidthstring for paragraph
(LyXText::getStringToIndex): labelwidthstring is now a docstring

* src/buffer.[Ch]
(Buffer::translateLabel): New method for translating a label if it
is not already translated by the user in the layout file

* src/lyxtext.h
(setParagraph): labelwidthstring is now a docstring

* src/support/lstrings.[Ch]
(bool isAscii): New utility function: Determine whether a docstring
contains only pure ascii

* src/text3.C
(LyXText::dispatch): setParagraph() now takes a docstring

* src/lyxlayout.C
(LyXLayout::read): Don't use from_ascii when reading labelstring_,
endlabelstring_ and labelstring_appendix_

* src/buffer_funcs.C
(setLabel): labelwidthstring is now a docstring
(setLabel): Use Buffer::translateLabel instead of Buffer::B_ to
translate labels
(expandLabel): ditto

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

17 years agoUnicode: Avoid another from_utf8(to_utf8()) roundtrip
Georg Baum [Sat, 11 Nov 2006 11:27:47 +0000 (11:27 +0000)]
Unicode: Avoid another from_utf8(to_utf8()) roundtrip

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

17 years ago * src/frontends/qt4/ui/QNomenclUi.ui: add shortcuts
Michael Schmitt [Sat, 11 Nov 2006 00:40:04 +0000 (00:40 +0000)]
* src/frontends/qt4/ui/QNomenclUi.ui: add shortcuts

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

17 years ago* Buffer
Abdelrazak Younes [Sat, 11 Nov 2006 00:35:14 +0000 (00:35 +0000)]
* Buffer
  - new pimpled TocBackend member and associated accessors.

* toc.[Ch]: delete all toc related methods except outline.

* TocBackend:
  - goTo(): deleted, this gets rid of the LyXView dependency
  - made all accessors const.

* ControlToc:
  - rework the controller to work exclusively with TocBackend.
  - goTo(): now call LyXView::dispatch() directly

all other files: update with the TocBackend or ControlToc API changes.

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

17 years ago * src/LaTeX.C: beautification: use identical user messages
Michael Schmitt [Sat, 11 Nov 2006 00:33:53 +0000 (00:33 +0000)]
* src/LaTeX.C: beautification: use identical user messages

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

17 years ago * po/de.po: update
Michael Schmitt [Sat, 11 Nov 2006 00:09:12 +0000 (00:09 +0000)]
* po/de.po: update

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

17 years agoAdd locale facet in order to output numbers to wide streams on systems
Enrico Forestieri [Sat, 11 Nov 2006 00:04:28 +0000 (00:04 +0000)]
Add locale facet in order to output numbers to wide streams on systems
where sizeof(wchar_t) == 2

* src/support/docstring.C:
- New class num_put_failure for warning about non-ascii characters.
- New class ascii_num_put_facet for outputting numbers to odocstreams.
- Add the ascii_num_put_facet facet to the locale initializer.

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

17 years ago * dociterator.C (forwardPar): remove debug code.
Jean-Marc Lasgouttes [Fri, 10 Nov 2006 23:31:21 +0000 (23:31 +0000)]
* dociterator.C (forwardPar): remove debug code.
(forwardInset): speed up (like forwardPar).

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

17 years ago * src/MenuBackend.C
Jean-Marc Lasgouttes [Fri, 10 Nov 2006 23:23:25 +0000 (23:23 +0000)]
* src/MenuBackend.C
(expandToolbar): remove unneeded variables buf and i; use
the toolbar's gui_name.

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

17 years ago * src/paragraph_pimpl.C: replace FIXME for
Michael Schmitt [Fri, 10 Nov 2006 21:49:37 +0000 (21:49 +0000)]
* src/paragraph_pimpl.C: replace FIXME for
change tracking by a comment

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

17 years ago * lyx_main.C: remove duplicate function assertion_failed
Michael Schmitt [Fri, 10 Nov 2006 21:38:07 +0000 (21:38 +0000)]
* lyx_main.C: remove duplicate function assertion_failed
* boost.C: fix namespace problem regarding assertion_failed

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

17 years agoremove obsolete FIXMEs
Georg Baum [Fri, 10 Nov 2006 21:28:13 +0000 (21:28 +0000)]
remove obsolete FIXMEs

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

17 years agofix compiler warnings
Georg Baum [Fri, 10 Nov 2006 21:13:17 +0000 (21:13 +0000)]
fix compiler warnings

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

17 years ago* src/frontends/qt4/BulletsModule.C: only whitespace
Jürgen Spitzmüller [Fri, 10 Nov 2006 17:00:21 +0000 (17:00 +0000)]
* src/frontends/qt4/BulletsModule.C: only whitespace

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

17 years agoglossary documentation update from Ugras
Georg Baum [Fri, 10 Nov 2006 15:49:08 +0000 (15:49 +0000)]
glossary documentation update from Ugras

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

17 years agofix docbook glossary export, from Ugras and me
Georg Baum [Fri, 10 Nov 2006 15:45:42 +0000 (15:45 +0000)]
fix docbook glossary export, from Ugras and me

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

17 years agofix typo
Georg Baum [Fri, 10 Nov 2006 15:11:49 +0000 (15:11 +0000)]
fix typo

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

17 years agougras baran: correct switching between different TOC types
Edwin Leuven [Fri, 10 Nov 2006 13:13:10 +0000 (13:13 +0000)]
ugras baran: correct switching between different TOC types

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

17 years agoremove obsolete includes
Georg Baum [Thu, 9 Nov 2006 18:21:51 +0000 (18:21 +0000)]
remove obsolete includes

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

17 years agofix typo
Georg Baum [Thu, 9 Nov 2006 17:53:10 +0000 (17:53 +0000)]
fix typo

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

17 years agoDo not call InsetCommandParams::read in InsetInclude::read anymore, since
Georg Baum [Thu, 9 Nov 2006 17:45:42 +0000 (17:45 +0000)]
Do not call InsetCommandParams::read in InsetInclude::read anymore, since
the syntax of InsetInclude did not change when the syntax of InsetCommand
changed. Therefore we need to implement our own read method.

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

17 years agoremove obsolete file lyxrc.example
Georg Baum [Thu, 9 Nov 2006 17:40:44 +0000 (17:40 +0000)]
remove obsolete file lyxrc.example

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

17 years agoremove obsolete FIXME
Georg Baum [Thu, 9 Nov 2006 16:59:07 +0000 (16:59 +0000)]
remove obsolete FIXME

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

17 years ago * bind/menus.bind: digits may need the shift modifier (on french
Jean-Marc Lasgouttes [Thu, 9 Nov 2006 15:45:01 +0000 (15:45 +0000)]
* bind/menus.bind: digits may need the shift modifier (on french
kbd for example).

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

17 years agoupdate Basque and Romanian l10n
Jean-Marc Lasgouttes [Thu, 9 Nov 2006 15:28:14 +0000 (15:28 +0000)]
update Basque and Romanian l10n

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

17 years agoupdate from Ran Rutenberg
Jean-Marc Lasgouttes [Thu, 9 Nov 2006 15:17:19 +0000 (15:17 +0000)]
update from Ran Rutenberg

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

17 years agoFix bugs 1720 (almost) and 2877
Jean-Marc Lasgouttes [Thu, 9 Nov 2006 14:56:57 +0000 (14:56 +0000)]
Fix bugs 1720 (almost) and 2877

* src/funcrequest.h: split UI enum into MENU and TOOLBAR

* src/lyxfunc.C (getStatus): disable menu entries that need a
buffer when window does not have focus (bug 1720)
(dispatch, sendDispatchMessage): properly redraw toolbar after each
action (bug 2877).

* src/frontends/Toolbars.C (layoutSelected):
* src/MenuBackend.C (MenuItem):
* src/ToolbarBackend.C (add): adapt to FuncRequest change.

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

17 years ago * src/mathed/InsetMathSymbol.C (metrics): remove broken mac workaround
Jean-Marc Lasgouttes [Thu, 9 Nov 2006 14:47:56 +0000 (14:47 +0000)]
* src/mathed/InsetMathSymbol.C (metrics): remove broken mac workaround

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

17 years ago * src/insets/insetbox.C (InsetBox::doDispatch): remove annoying debug message
Jean-Marc Lasgouttes [Thu, 9 Nov 2006 14:45:53 +0000 (14:45 +0000)]
    * src/insets/insetbox.C (InsetBox::doDispatch): remove annoying debug message

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

17 years agoFix for bug 2975 (http://bugzilla.lyx.org/show_bug.cgi?id=2975) from Ozgur Ugras...
Abdelrazak Younes [Thu, 9 Nov 2006 13:13:28 +0000 (13:13 +0000)]
Fix for bug 2975 (http://bugzilla.lyx.org/show_bug.cgi?id=2975) from Ozgur Ugras BARAN. Looks like a gcc bug with STL map.

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

17 years agosome cleanup:
Edwin Leuven [Thu, 9 Nov 2006 11:07:42 +0000 (11:07 +0000)]
some cleanup:

* have the modify/new functions in the formats and converter modules share most of their code

* get rid of the pointer to PrefConverters in the
formats module

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

17 years agoremove gnome and qt2 from exclude dir and add qt4/ui
Abdelrazak Younes [Thu, 9 Nov 2006 10:27:46 +0000 (10:27 +0000)]
remove gnome and qt2 from exclude dir and add qt4/ui

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

17 years agosolve crash (no cleanup):
Edwin Leuven [Thu, 9 Nov 2006 10:15:17 +0000 (10:15 +0000)]
solve crash (no cleanup):
http://permalink.gmane.org/gmane.editors.lyx.devel/72180

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

17 years agoa small cleanup, a tiny optimization and a comment.
Abdelrazak Younes [Thu, 9 Nov 2006 10:13:13 +0000 (10:13 +0000)]
a small cleanup, a tiny optimization and a comment.

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

17 years agodoxygen update.
Abdelrazak Younes [Thu, 9 Nov 2006 10:10:06 +0000 (10:10 +0000)]
doxygen update.

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

17 years agoscrollbars always on to avoid an additional resize when switching the buffer
Peter Kümmel [Thu, 9 Nov 2006 09:15:04 +0000 (09:15 +0000)]
scrollbars always on to avoid an additional resize when switching the buffer

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

17 years agofix drifted position of restored window
Peter Kümmel [Thu, 9 Nov 2006 09:13:04 +0000 (09:13 +0000)]
fix drifted position of restored window

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

17 years agoadjust a doxygen comment.
Abdelrazak Younes [Thu, 9 Nov 2006 09:06:37 +0000 (09:06 +0000)]
adjust a doxygen comment.

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

17 years agoadd my observations of the icon problems
Georg Baum [Thu, 9 Nov 2006 07:46:25 +0000 (07:46 +0000)]
add my observations of the icon problems

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

17 years agouse default.ui position as fall back value
Peter Kümmel [Wed, 8 Nov 2006 23:15:44 +0000 (23:15 +0000)]
use default.ui position as fall back value

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

17 years agouse default.ui position as fall back value
Peter Kümmel [Wed, 8 Nov 2006 23:15:25 +0000 (23:15 +0000)]
use default.ui position as fall back value

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

17 years agodisable toolbar popup menu, this is better than the current state
Peter Kümmel [Wed, 8 Nov 2006 23:10:46 +0000 (23:10 +0000)]
disable toolbar popup menu, this is better than the current state

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

17 years agouse docstring for textclass preambles
Georg Baum [Wed, 8 Nov 2006 17:22:44 +0000 (17:22 +0000)]
use docstring for textclass preambles

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

17 years ago * es.po: update by Eulogio Serradilla
Michael Schmitt [Wed, 8 Nov 2006 16:13:33 +0000 (16:13 +0000)]
* es.po: update by Eulogio Serradilla

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

17 years agodon't use dummy QT_QTMAIN_INCLUDE_DIR
Peter Kümmel [Wed, 8 Nov 2006 12:26:52 +0000 (12:26 +0000)]
don't use dummy QT_QTMAIN_INCLUDE_DIR

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

17 years agoupdate to cmake's cvs version, fixes missing qtmain error on windows
Peter Kümmel [Wed, 8 Nov 2006 12:25:00 +0000 (12:25 +0000)]
update to cmake's cvs version, fixes missing qtmain error on windows

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

17 years ago* getPos(): add const attribute to BufferView.
Abdelrazak Younes [Wed, 8 Nov 2006 11:38:51 +0000 (11:38 +0000)]
* getPos(): add const attribute to BufferView.

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

17 years agoFix potential crash. Passing an empty string happens _very_ often.
Abdelrazak Younes [Wed, 8 Nov 2006 11:32:33 +0000 (11:32 +0000)]
Fix potential crash. Passing an empty string happens _very_ often.

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

17 years agoMicro-optimisation, avoid rightMargin() call in two loop.
Abdelrazak Younes [Wed, 8 Nov 2006 11:27:06 +0000 (11:27 +0000)]
Micro-optimisation, avoid rightMargin() call in two loop.

* LyXText:
  - rowBreakPoint(): now requires the right margin value.
  - redoParagraph(): factorize rightMargin() call from two loops.
  - editXY(): add doxygen comments.

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

17 years ago * src/text.C: (backspacePos0): rewrite to make it simple and allow
Michael Schmitt [Tue, 7 Nov 2006 23:02:44 +0000 (23:02 +0000)]
* src/text.C: (backspacePos0): rewrite to make it simple and allow
deleting empty paragraphs even when keepempty is true. Do not rely
on dEPM, since this was silly (bugs 2587 and 2882)
(Delete): simplify also and avoid calling backspace.
(backspace): small tweak.
(patch by Jean-Marc)

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

17 years ago * Status.15x: add pending features
Michael Schmitt [Tue, 7 Nov 2006 22:45:44 +0000 (22:45 +0000)]
* Status.15x: add pending features

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

17 years ago * po/hu.po: update
Michael Schmitt [Tue, 7 Nov 2006 22:40:41 +0000 (22:40 +0000)]
* po/hu.po: update

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

17 years ago * po/*.po: remerge
Michael Schmitt [Tue, 7 Nov 2006 22:37:30 +0000 (22:37 +0000)]
* po/*.po: remerge

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

17 years agoreplace "Notation Entry" by "Glossary Entry" and "Notation List" by "Glossary"
Michael Schmitt [Tue, 7 Nov 2006 22:28:53 +0000 (22:28 +0000)]
replace "Notation Entry" by "Glossary Entry" and "Notation List" by "Glossary"

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

17 years ago- Get rid of manifestly expensive debugging output in the most critical path in LyX
Asger Ottar Alstrup [Tue, 7 Nov 2006 22:17:12 +0000 (22:17 +0000)]
- Get rid of manifestly expensive debugging output in the most critical path in LyX

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

17 years ago * Status.15x: fix missing shortcuts
Michael Schmitt [Tue, 7 Nov 2006 21:48:16 +0000 (21:48 +0000)]
* Status.15x: fix missing shortcuts

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

17 years ago * stdtoolbars.ui: change "notation" to "glossary";
Michael Schmitt [Tue, 7 Nov 2006 21:45:30 +0000 (21:45 +0000)]
* stdtoolbars.ui: change "notation" to "glossary";
change "TeX Code" to "TeX code"

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

17 years ago * ui/stdmenus.ui: add shortcuts whereever possible
Michael Schmitt [Tue, 7 Nov 2006 21:38:02 +0000 (21:38 +0000)]
* ui/stdmenus.ui: add shortcuts whereever possible

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

17 years ago- Avoid lyxerr[] like the plague. Use if (lyxerr.debugging( ... )) instead.
Asger Ottar Alstrup [Tue, 7 Nov 2006 21:31:33 +0000 (21:31 +0000)]
- Avoid lyxerr[] like the plague. Use if (lyxerr.debugging( ... )) instead.

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

17 years agodocument docstring abuse for symbol font code points
Georg Baum [Tue, 7 Nov 2006 20:46:38 +0000 (20:46 +0000)]
document docstring abuse for symbol font code points

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

17 years ago * ui/stdmenus.ui: beautification:
Michael Schmitt [Tue, 7 Nov 2006 20:23:54 +0000 (20:23 +0000)]
* ui/stdmenus.ui: beautification:
- capitalize word in menu entries
- remove obsolete comments
- change "Notation" to "Glossary"
- move "Date" to the end of the "insert" menu
- add shortcuts, where possible
- change "Next Reference" to "Next Cross-Reference"

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

17 years ago * src/mathed/InsetMathSymbol.C
Georg Baum [Tue, 7 Nov 2006 19:29:01 +0000 (19:29 +0000)]
* src/mathed/InsetMathSymbol.C
(InsetMathSymbol::draw): Remove obsolete FIXME
(InsetMathSymbol::draw): Microoptimization: Do not copy the string

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

17 years ago * CutAndPaste.C: simplify copySelectionHelper and
Michael Schmitt [Tue, 7 Nov 2006 18:27:03 +0000 (18:27 +0000)]
* CutAndPaste.C: simplify copySelectionHelper and
copySelection; fix change tracking in
pasteSelectionHelper; remove a few CT-related FIXMEs

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

17 years ago * GuiApplication.C: fix compilation (ev => xev)
Michael Schmitt [Tue, 7 Nov 2006 18:17:15 +0000 (18:17 +0000)]
* GuiApplication.C: fix compilation (ev => xev)

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

17 years ago * src/frontends/qt4/qt_helpers.C:
Michael Schmitt [Tue, 7 Nov 2006 18:09:55 +0000 (18:09 +0000)]
* src/frontends/qt4/qt_helpers.C:
* src/frontends/qt4/qt_helpers.h:
* src/frontends/qt4/ui/Makefile.am:
* Status.15x:
* development/scons/qt4.py: fix localization for qt4 strings

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

17 years ago ui/*.ui: <include location="local" >qt_helpers.h</include>
Michael Schmitt [Tue, 7 Nov 2006 17:56:32 +0000 (17:56 +0000)]
ui/*.ui: <include location="local" >qt_helpers.h</include>

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

17 years ago* Application:
Abdelrazak Younes [Tue, 7 Nov 2006 17:19:33 +0000 (17:19 +0000)]
* Application:
  - setBufferView(): deleted
  - currentView(), setCurrentView(): new method to set the current LyXView

* GuiApplication::x11EventFilter(): use currentView().view() to get the current BufferView. This should solves the X11 selection bug.

* WorkArea:
  - dispatch(): redraw only if needRedraw in preparation for the painting optimization patch. Show the cursor immediately on mouse click.
  - setBufferView(): remove call to Application::setBufferView()

* GuiWorkArea:
  - focusInEvent(): update only if we changed LyXView
  - focusInEvent(): stop the cursor only if we changed LyXView.

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

17 years agoremove old duplicate LyXText::drawSelection() (from revision 9325 aka "CoordBranch...
Abdelrazak Younes [Tue, 7 Nov 2006 16:47:01 +0000 (16:47 +0000)]
remove old duplicate LyXText::drawSelection() (from revision 9325 aka "CoordBranch merge")

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

17 years agoHit Qt 4.2 with the sledgehammer until the dialog resizing bug is fixed.
Jürgen Spitzmüller [Tue, 7 Nov 2006 16:20:42 +0000 (16:20 +0000)]
Hit Qt 4.2 with the sledgehammer until the dialog resizing bug is fixed.

* src/frontends/qt4/QDocumentDialog.C:
* src/frontends/qt4/QPrefsDialog.C:
- force updateGeometry() for Qt >= 4.2 after the panel stack
   has been built. This is a workaround for a Qt bug. See FIXMEs.

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