Commit Graph

10995 Commits

Author SHA1 Message Date
Abdelrazak Younes
3bc4d28449 Revert change in rev. 15955 because as Georg says:
This fix will create extra translator work, and nobody will remmeber that
bformat should be used instead of your solution once the real problem is
fixed. If you use from_ascii instead of from_utf8 everything is OK. utf8
can be wrong as encoding for files anyway, so for now we require that files
are pure ascii.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15957 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 17:28:14 +00:00
Abdelrazak Younes
2ea833ac71 Incomplete TocDialog slider implementation from Ugras Baran.
* QTocDialog::getIndexDepth(): new method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15956 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 17:19:43 +00:00
Abdelrazak Younes
4f5432f427 * docstring.C: add a FIXME in utf8_to_ucs4() WRT static IconvProcessor and Mac
* lyx_main.C:
  - LyX::prepareExit(): avoid utf8_to_ucs4() conversion at this late stage because this can cause problem on Mac.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15955 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 16:58:32 +00:00
Abdelrazak Younes
146631a5c7 Fix Mac crash on exit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15954 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 15:24:26 +00:00
Georg Baum
1c3755244f Fix bug 2393 (from Dov Feldstern)
* src/lyxtext.h
	* src/text.C
	(LyXText::charsTranspose): New method for transposing characters

	* src/text.C
	(LyXText::dispatch): Call charsTranspose for LFUN_CHARS_TRANSPOSE


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15951 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 09:03:30 +00:00
Georg Baum
8b9ccb51bf add more bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15950 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 15:18:28 +00:00
Abdelrazak Younes
a6933a9b4e Bug fixes from Ugras Baran:
Following patch corrects some misbehavior in TOC dialog:

- When clicking on Toc insets, dialog switches to correct list.
- cursor goes to correct entry when clicked..
- some other fixes..


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15949 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 12:37:55 +00:00
Abdelrazak Younes
454bf36bc3 Patch from Martin V.: Fix Undo/Redo bugs with outline.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15948 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 12:20:50 +00:00
Georg Baum
bb8c9253e4 Add button for default layout to the toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15946 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 08:17:48 +00:00
Michael Schmitt
f5979da1d2 * po/*.po: remerge (also consider outdated po files)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15945 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:55:08 +00:00
Michael Schmitt
b038201481 * LINGUAS: do not ignore some po files for the time being
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15944 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:41:24 +00:00
Michael Schmitt
23c3c841f7 * QPrefsDialog.C: make static strings translateable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15943 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:37:26 +00:00
José Matox
51c0f33fd3 Back to business
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15942 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:34:04 +00:00
José Matox
afdfe21db4 LyX-1.5.0alpha1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15940 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:15:19 +00:00
José Matox
8bc788c598 Remove usage from egrep, cleaner code (Jean-Marc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15939 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:10:24 +00:00
José Matox
288775e945 Fix typo (fix by Jean-Marc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15938 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 21:47:55 +00:00
Georg Baum
2981181ec3 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
2006-11-15 21:40:46 +00:00
Peter Kümmel
51a3125356 fix pch error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15936 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 18:39:20 +00:00
Peter Kümmel
2b4b4d721f 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
2006-11-15 18:01:44 +00:00
José Matox
6e22254244 Allow alpha as suffix for development releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15934 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 15:46:45 +00:00
Georg Baum
48dd256733 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
2006-11-15 09:17:40 +00:00
Enrico Forestieri
35be7672f4 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
2006-11-15 01:20:31 +00:00
Peter Kümmel
c72b361fc9 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
2006-11-14 21:00:34 +00:00
Georg Baum
f71a169294 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
2006-11-14 20:45:07 +00:00
Georg Baum
0735a7bcdc add clarifying comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15929 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 20:33:13 +00:00
Peter Kümmel
646c312740 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
2006-11-14 19:54:56 +00:00
Peter Kümmel
010145b8ed set missing property: svn:eol-style native
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15927 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 17:31:14 +00:00
Peter Kümmel
cbab23bce0 svn propset svn:eol-style native
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15925 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 17:25:31 +00:00
Michael Schmitt
d2cea745f9 * po/*.po: remerge (again)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15924 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 17:13:55 +00:00
Michael Schmitt
7d82ee4c9d * po/hu.po: update by Alex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15923 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:56:47 +00:00
Michael Schmitt
1053283ad4 * po/nn.po: update by Ingar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15922 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:53:38 +00:00
Abdelrazak Younes
31db12fa14 add a FIXME comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15921 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:46:06 +00:00
Peter Kümmel
8d6da829e7 add bibliography bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15920 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:41:09 +00:00
Peter Kümmel
324f6b75ae 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
2006-11-14 16:28:44 +00:00
Peter Kümmel
979e30b838 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
2006-11-14 16:26:16 +00:00
Peter Kümmel
7860112e71 disable chmod usage with msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15917 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:11:59 +00:00
Peter Kümmel
b0b3338abd 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
2006-11-14 10:06:07 +00:00
Jean-Marc Lasgouttes
debbb01da1 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15915 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 08:19:41 +00:00
Jean-Marc Lasgouttes
0f4aaa8ed4 * 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
2006-11-14 08:15:38 +00:00
Peter Kümmel
b912982bdc 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
2006-11-13 23:22:31 +00:00
Georg Baum
7df136c9b0 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15912 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 19:52:05 +00:00
Enrico Forestieri
bfe2d2c027 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
2006-11-13 19:23:44 +00:00
Edwin Leuven
24160975f5 fix signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15909 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 18:52:41 +00:00
Georg Baum
1e7911cfbc another buglet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15908 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:51:27 +00:00
Georg Baum
2db7521b70 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
2006-11-13 17:35:18 +00:00
Abdelrazak Younes
3b91a07daa 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
2006-11-13 17:28:37 +00:00
Abdelrazak Younes
03522cf7ca * 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
2006-11-13 16:59:10 +00:00
Georg Baum
2734cc1548 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
2006-11-13 16:53:49 +00:00
Georg Baum
b43bb0c2c2 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
2006-11-13 15:05:17 +00:00
Georg Baum
05ba68f3db add bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15902 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 15:02:34 +00:00