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