]>
git.lyx.org Git - lyx.git/log
José Matox [Wed, 15 Nov 2006 21:47:55 +0000 (21:47 +0000)]
Fix typo (fix by Jean-Marc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15938
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 15 Nov 2006 21:40:46 +0000 (21:40 +0000)]
Fix crashes reported by Bennet Helm and Kornel Benko
* src/support/unicode.[Ch]
(IconvProcessor): Rework the implementation to fix two bugs:
- iconv_close was called even if the conversion descriptor was
invalid
- The compiler generated copy constructor did simply copy the pimpl_
pointer. Therefore pimpl_ was deleted twice for all IconvProcessor
instances created by eightbit_to_ucs4() and ucs4_to_eightbit().
This is solved by using a scoped_ptr for pimpl_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15937
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Wed, 15 Nov 2006 18:39:20 +0000 (18:39 +0000)]
fix pch error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15936
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Wed, 15 Nov 2006 18:01:44 +0000 (18:01 +0000)]
disable scrollbar when not needed, this patch is totally uncritical
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15935
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Wed, 15 Nov 2006 15:46:45 +0000 (15:46 +0000)]
Allow alpha as suffix for development releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15934
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 15 Nov 2006 09:17:40 +0000 (09:17 +0000)]
rename parameters to sensible names, the old names where misleading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15933
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 15 Nov 2006 01:20:31 +0000 (01:20 +0000)]
Use booleans True and False and fix a typo in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15932
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 21:00:34 +0000 (21:00 +0000)]
QComboBox::textChanged is a Qt3 support signal only, QComboBox::editTextChanged is the new Qt4 signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15931
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 14 Nov 2006 20:45:07 +0000 (20:45 +0000)]
Make nesting levels work. Obviously ++nestdepth does not do in python
what it does in C++.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15930
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 14 Nov 2006 20:33:13 +0000 (20:33 +0000)]
add clarifying comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15929
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 19:54:56 +0000 (19:54 +0000)]
don't pass temporary string objects as parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15928
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 17:31:14 +0000 (17:31 +0000)]
set missing property: svn:eol-style native
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15927
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 17:25:31 +0000 (17:25 +0000)]
svn propset svn:eol-style native
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15925
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 14 Nov 2006 17:13:55 +0000 (17:13 +0000)]
* po/*.po: remerge (again)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15924
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 14 Nov 2006 16:56:47 +0000 (16:56 +0000)]
* po/hu.po: update by Alex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15923
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 14 Nov 2006 16:53:38 +0000 (16:53 +0000)]
* po/nn.po: update by Ingar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15922
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Nov 2006 16:46:06 +0000 (16:46 +0000)]
add a FIXME comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15921
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 16:41:09 +0000 (16:41 +0000)]
add bibliography bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15920
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 16:28:44 +0000 (16:28 +0000)]
support::chmod does not take a const char* as file name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15919
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 16:26:16 +0000 (16:26 +0000)]
support::chmod does not take a mode_t as mode parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15918
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 16:11:59 +0000 (16:11 +0000)]
disable chmod usage with msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15917
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 10:06:07 +0000 (10:06 +0000)]
add option to disable the console on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15916
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 14 Nov 2006 08:19:41 +0000 (08:19 +0000)]
update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15915
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 14 Nov 2006 08:15:38 +0000 (08:15 +0000)]
* src/mathed/MathMacroArgument.C
(MathMacroArgument): fix creation of #digit string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15914
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 13 Nov 2006 23:22:31 +0000 (23:22 +0000)]
chmod fixes for msvc
* development/cmake/config.h.cmake:
there is no mode_t
* src/support/copy.C
chmod is declared in io.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15913
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 19:52:05 +0000 (19:52 +0000)]
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15912
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Mon, 13 Nov 2006 19:23:44 +0000 (19:23 +0000)]
Fix dtl tools detection. A non-empty variable is always true in python,
even if its value is false...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15910
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Mon, 13 Nov 2006 18:52:41 +0000 (18:52 +0000)]
fix signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15909
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 17:51:27 +0000 (17:51 +0000)]
another buglet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15908
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 17:35:18 +0000 (17:35 +0000)]
Add support for the esint package
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): handle esint and wasysym
* src/mathed/MathMacroTable.[Ch]
(requires_): New member: tell the feature this macro requires
(MacroTable::insert): take new requires arg
* src/mathed/MathMacroTemplate.C
(MathMacroTemplate::asMacroData): adjust to change above
* src/mathed/MathSupport.C
(fontinfos): add esint10 font
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): AMS_ON -> package_on
* src/mathed/MathMacroTable.h
* src/mathed/MathFactory.C
(initSymbols): read and store requires field for symbols
* src/mathed/InsetMathSymbol.C
(InsetMathSymbol::metrics): handle esint
(InsetMathSymbol::takesLimits): ditto
* src/buffer.C
(LYX_FORMAT): update format
(Buffer::validate): handle esint, AMS_ON -> package_on
* src/bufferparams.C:
(AMSTranslator): Rename to PackageTranslator
(BufferParams::readToken): Read \use_esint
(BufferParams::writeFile): Write \use_esint
* src/frontends/qt4/QDocumentDialog.C: handle esint
* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes
* src/frontends/qt4/GuiFontLoader.C
(symbol_fonts: Add esint10 font
(symbolFamily): handle esint10 font
(isChosenFont): Add comment
* src/frontends/controllers/ControlMath.C
(latex_varsz): Add new integral symbols
* src/support/fontutils.C
(win_fonts_truetype): Add esint10 font
* src/bufferparams.h
(enum AMS): rename to enum Package
(use_esint): new parameter
* src/lyxfont.[Ch]: Add esint font
* lib/symbols: Add new integral symbols
* lib/lyx2lyx/LyX.py
(format_relation): Update format
* lib/lyx2lyx/lyx_1_5.py: handle new format
* lib/chkconfig.ltx: Test esint package
* lib/images/math/oiintop.xpm
* lib/images/math/sqintop.xpm
* lib/images/math/sqint.xpm
* lib/images/math/ointctrclockwiseop.xpm
* lib/images/math/ointctrclockwise.xpm
* lib/images/math/iiintop.xpm
* lib/images/math/iintop.xpm
* lib/images/math/sqiint.xpm
* lib/images/math/iiint.xpm
* lib/images/math/ointclockwiseop.xpm
* lib/images/math/oiint.xpm
* lib/images/math/dotsintop.xpm
* lib/images/math/sqiintop.xpm
* lib/images/math/ointclockwise.xpm
* lib/images/math/iiiintop.xpm
* lib/images/math/dotsint.xpm
* lib/images/math/iiiint.xpm
* lib/images/math/iint.xpm: new icons
* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package
* lib/doc/UserGuide.lyx: Add short documentation of integral symbols
* lib/Makefile.am: Add new files
* development/scons/scons_manifest.py: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Nov 2006 17:28:37 +0000 (17:28 +0000)]
re-enable opaque widget optimization following Trolltech developer advice (in order to speed up Mac).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15906
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Nov 2006 16:59:10 +0000 (16:59 +0000)]
* LyXText::erase(): make sure the paragraph breaking is up to date. This might be not needed with current svn but will be needed for the future optimize-drawing patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15905
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 16:53:49 +0000 (16:53 +0000)]
Extend the navigate menu to child docs
* src/buffer_funcs.h
(updateLabels): Add bool childonly argument
* src/insets/insetbase.h
(addToToc): New virtual method
* src/insets/insetinclude.[Ch]
(addToToc): New virtual method
(updateLabels): New method
* src/TocBackend.h: reorganize classes so that we can forward
declare TocList
* src/insets/insetfloat.[Ch]
* src/insets/insetwrap.[Ch]
(addToToc): Adjust to type changes in TocBackend.h
* src/frontends/qt4/TocModel.[Ch]: ditto
* src/frontends/controllers/ControlToc.[Ch]: ditto
* src/TocBackend.C: ditto
(TocBackend::update) Remove test for float and wrap inset,
call virtual method instead
* src/BufferView.C
(BufferView::dispatch): make LFUN_PARAGRAPH_GOTO work even if the
target paragraph is in a different buffer
* src/MenuBackend.C: Adjust to type changes in TocBackend.h
(expandToc): Add an entry for the master doc in child docs
* src/buffer_funcs.C
(setLabel): Add text class parameter
(updateLabels): handle included docs if requested by the caller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15904
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 15:05:17 +0000 (15:05 +0000)]
The cursor works on mac now according to Bennet.
Add a replacement bug :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15903
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 15:02:34 +0000 (15:02 +0000)]
add bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15902
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Nov 2006 14:21:37 +0000 (14:21 +0000)]
update FSF address
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15899
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 10:27:57 +0000 (10:27 +0000)]
Add a cache for converted image files. This needs to be enabled in the
preferences file with \use_converter_cache true. It is disabled by default,
and no GUI support for changing the preferences is yet implemented.
* src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Use image file cache
* src/insets/ExternalSupport.C
(updateExternal): Use image file cache
* src/exporter.C
(Exporter::Export): Do not use image file cache
* src/graphics/GraphicsCacheItem.C
(CacheItem::Impl::imageConverted): Add the converted file to the
image file cache
(CacheItem::Impl::convertToDisplayFo): Use image file cache
* src/converter.C
(Converters::convert): Use image file cache if the caller allowed that
* src/converter.h
(Converters::convert): Adjust arguments
* src/Makefile.am: Add new files
* src/support/lyxlib.h
(chmod): new function
(copy): add mode argument
* src/support/copy.C
(chmod): new function
(copy): implement mode argument
* src/support/mkdir.C
(lyx::support::mkdir): Add warning if permissions are ignored
* src/lyxrc.[Ch]: Add new settings \converter_cache_maxage and
\use_converter_cache
* src/ConverterCache.[Ch]: New image file cache
* src/importer.C
(Importer::Import): Do nut use the image file cache
* src/lyx_main.C
(LyX::init): Initialize the image file cache
* src/mover.[Ch]
(Mover::do_copy): Add mode argument
(SpecialisedMover::do_copy): ditto
* configure.ac: Check for chmod
* development/cmake/ConfigureChecks.cmake: ditto
* development/cmake/config.h.cmake: ditto
* development/scons/SConstruct: ditto
* development/scons/scons_manifest.py: Add new files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15897
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Nov 2006 10:10:42 +0000 (10:10 +0000)]
update Italian UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15896
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 09:53:25 +0000 (09:53 +0000)]
Use wctype character classification functions if possible
* src/buffer.C
(Buffer::insertStringAsLines): Uncomment isPrintable test
* src/support/lstrings.C
(compare_no_case): Use char_type and not int for the docstring version
(ascii_tolower): Convert to a template
(compare_ascii_no_case): Do not use a template anymore, because we
need int for the string version and char_type for the docstring
version as intermediate type
(lowercase): Use towlower if possible
(uppercase): Use towupper if possible
* src/support/textutils.h
(isLetterChar): Use iswalpha if possible
(isPrintable): Use iswprint if possible
(isPrintableNonspace): Use iswprint and iswspace if possible
(isDigit): Use iswdigit if possible
* src/paragraph.C
(Paragraph::asString): remove obsolete FIXME
(Paragraph::transformChar): add FIXME
* configure.ac: Add definition of LIBC_WCTYPE_USES_UCS4 to config.h
* development/cmake/config.h.cmake: ditto
* development/scons/SConstruct: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15893
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 12 Nov 2006 21:47:03 +0000 (21:47 +0000)]
Check only once for dtl tools in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15891
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 12 Nov 2006 17:02:43 +0000 (17:02 +0000)]
Fix the remaining bits of bug 2476
* src/paragraph.C
(Paragraph::changeLanguage): Don't forget the dummy font change at
the end of the paragraph when changing the language. This does not
affect the other place where this code is used:
Buffer::changeLanguage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15890
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 12 Nov 2006 16:14:45 +0000 (16:14 +0000)]
* BufferView::workAreaDispatch(): prepare for finer grained updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15889
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 12 Nov 2006 16:11:51 +0000 (16:11 +0000)]
Fix bug 2978 (inset-dissolve does not reset latex language)
* src/text.C
(LyXText::dissolveInset): Reset language to buffer language if the
dissolved inset is an ERT inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15888
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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