]> git.lyx.org Git - lyx.git/log
lyx.git
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

17 years ago* InsetText::Wide() -> wide()
Abdelrazak Younes [Tue, 7 Nov 2006 15:24:34 +0000 (15:24 +0000)]
* InsetText::Wide() -> wide()

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

17 years ago* InsetText:
Abdelrazak Younes [Tue, 7 Nov 2006 15:21:47 +0000 (15:21 +0000)]
* InsetText:
  - wide_inset_ is not mutable any more
  - Wide(): split up in Wide() and setWide()

* rowpainter.C:
  - paintPar(): use a const_cast instead of the mutable InsetText::Wide()

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

17 years agoadd link to QTabBar close button suggestion
Peter Kümmel [Tue, 7 Nov 2006 10:55:35 +0000 (10:55 +0000)]
add link to QTabBar close button suggestion

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

17 years ago * Status.15x: mark two bugs with WONTFIX because they actually Qt 4.2.1 bugs;
Michael Schmitt [Mon, 6 Nov 2006 22:33:58 +0000 (22:33 +0000)]
* Status.15x: mark two bugs with WONTFIX because they actually Qt 4.2.1 bugs;
add new toolbar bug

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

17 years agomove compressor setting to lyx.nsi because it should not apply to scripts that includ...
Joost Verburg [Mon, 6 Nov 2006 22:15:04 +0000 (22:15 +0000)]
move compressor setting to lyx.nsi because it should not apply to scripts that include the settings file

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

17 years ago * cua.bind: bind CTRL-Y to "redo" (like most apps);
Michael Schmitt [Mon, 6 Nov 2006 22:05:18 +0000 (22:05 +0000)]
* cua.bind: bind CTRL-Y to "redo" (like most apps);
keep the CTRL-Shift-Z binding

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

17 years ago* Custom NSIS plug-ins will be included in the dependency packages
Joost Verburg [Mon, 6 Nov 2006 21:51:43 +0000 (21:51 +0000)]
* Custom NSIS plug-ins will be included in the dependency packages
* New Console plug-in with support for restricted users
* Warning message if no PDF viewer is installed

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

17 years ago * INSTALL: be a bit more specific on Qt versions:
Michael Schmitt [Mon, 6 Nov 2006 21:15:26 +0000 (21:15 +0000)]
* INSTALL: be a bit more specific on Qt versions:
"LyX has been tested with Qt 4.1.5.". Other 4.1.X versions
have a security flaw; if LyX proves to work with 4.2.1,
we should add a note later

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

17 years agoRevert from revision 15769:
Jürgen Spitzmüller [Mon, 6 Nov 2006 18:04:51 +0000 (18:04 +0000)]
Revert from revision 15769:

* src/frontends/qt4/panelstack.C:
- fix the preferences and document dialog resizing problem (well, at least
  for me -- please verify).

This didn't fix the problem. I'm pretty sure now that this is a bug in Qt 4.2(.1?)

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

17 years ago* src/frontends/qt4/panelstack.C:
Jürgen Spitzmüller [Mon, 6 Nov 2006 16:27:31 +0000 (16:27 +0000)]
* src/frontends/qt4/panelstack.C:
- fix the preferences and document dialog resizing problem (well, at least
  for me -- please verify).

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

17 years agoAnother compile fix. I don't understand why it worked for me.
Georg Baum [Mon, 6 Nov 2006 15:31:27 +0000 (15:31 +0000)]
Another compile fix. I don't understand why it worked for me.

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

17 years agocompile fix
Georg Baum [Mon, 6 Nov 2006 13:27:05 +0000 (13:27 +0000)]
compile fix

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

17 years agoClarify window size bug
Georg Baum [Mon, 6 Nov 2006 09:28:49 +0000 (09:28 +0000)]
Clarify window size bug

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

17 years agoTwo new bugs (wrt minibuffer).
Jürgen Spitzmüller [Mon, 6 Nov 2006 09:17:34 +0000 (09:17 +0000)]
Two new bugs (wrt minibuffer).

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

17 years ago* lib/images/nomencl-insert.xpm:
Jürgen Spitzmüller [Mon, 6 Nov 2006 09:08:28 +0000 (09:08 +0000)]
* lib/images/nomencl-insert.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
- a (provisional) nomencl-insert icon

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

17 years agofix for installation by restricted users
Joost Verburg [Sun, 5 Nov 2006 22:37:44 +0000 (22:37 +0000)]
fix for installation by restricted users

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

17 years agoi18n improvements:
Joost Verburg [Sun, 5 Nov 2006 20:52:02 +0000 (20:52 +0000)]
i18n improvements:

* More space on installer dialogs
* Shortened a few texts
* Set default LyX language to English if the OS language is not supported
* Corrected text on viewer download dialog

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

17 years agoRemove unused symbol encoding
Georg Baum [Sun, 5 Nov 2006 20:13:22 +0000 (20:13 +0000)]
Remove unused symbol encoding
* src/encoding.[Ch]
(symbol_encoding, symbol_encoding_): remove (unused)

* src/frontends/qt4/QLPainter.C
(QLPainter::text): Remove commented code. It was used in pre
unicode times to get unicode values of the symbol fonts if
USE_UNICODE_FOR_SYMBOLS was defined, but this was never defined
anyway, since the code points of the symbol fonts (as written in
lib/symbols) are directly used.

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

17 years agochange tracking:
Michael Schmitt [Sun, 5 Nov 2006 19:00:53 +0000 (19:00 +0000)]
change tracking:

* src/paragraph_funcs.C: fix end-of-par handling;
fix various CT-related comments

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

17 years agochange tracking:
Michael Schmitt [Sun, 5 Nov 2006 18:39:03 +0000 (18:39 +0000)]
change tracking:

* paragraph_funcs.C: moveItem(): rename and
reorder parameters to make the function better understandable;
do not pass a Change parameter, because the function is able to
retrieve the right change by itself; adjust all function calls;
simplify the CT code and remove 3 FIXMEs at the same time

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

17 years ago * src/frontends/qt4/GuiFontMetrics.C
Georg Baum [Sun, 5 Nov 2006 18:27:50 +0000 (18:27 +0000)]
* src/frontends/qt4/GuiFontMetrics.C
(GuiFontMetrics::signedWidth): Micropotimization: Avoid a temporary
docstring

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

17 years ago * Status.15x: Selection highlighting is broken!
Michael Schmitt [Sun, 5 Nov 2006 18:20:39 +0000 (18:20 +0000)]
* Status.15x: Selection highlighting is broken!

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

17 years ago * src/frontends/qt4/QDelimiterDialog.C: don't use term 'size' in
Michael Schmitt [Sun, 5 Nov 2006 17:38:58 +0000 (17:38 +0000)]
* src/frontends/qt4/QDelimiterDialog.C: don't use term 'size' in
math delimiter size values
* Status.15x: kill one bug & add a new one

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

17 years ago * src/frontends/qt4/ui/QCitationUi.ui: cosmetics: capitalize label
Michael Schmitt [Sun, 5 Nov 2006 17:23:20 +0000 (17:23 +0000)]
* src/frontends/qt4/ui/QCitationUi.ui: cosmetics: capitalize label

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

17 years ago * Status.15x: all button and label texts are not translated
Michael Schmitt [Sun, 5 Nov 2006 17:09:14 +0000 (17:09 +0000)]
* Status.15x: all button and label texts are not translated

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

17 years agoBug Fix: Window title was not updated in new window.
Abdelrazak Younes [Sun, 5 Nov 2006 15:34:18 +0000 (15:34 +0000)]
Bug Fix: Window title was not updated in new window.

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

17 years ago* src/frontends/qt4/panelstack.C:
Jürgen Spitzmüller [Sun, 5 Nov 2006 12:30:12 +0000 (12:30 +0000)]
* src/frontends/qt4/panelstack.C:
- fix resizing of treeview
- hide pointless header

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

17 years ago* src/client/messages.C: add missing #include <cerrno>
Jürgen Spitzmüller [Sun, 5 Nov 2006 12:26:31 +0000 (12:26 +0000)]
* src/client/messages.C: add missing #include <cerrno>

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

17 years agoFix MSVC warning.
Abdelrazak Younes [Sun, 5 Nov 2006 12:22:05 +0000 (12:22 +0000)]
Fix MSVC warning.

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