]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoDocument Provides tag and changes to LabelString[Appendix]
Jean-Marc Lasgouttes [Fri, 6 Apr 2007 09:41:55 +0000 (09:41 +0000)]
Document Provides tag and changes to LabelString[Appendix]

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

17 years agoremove duplicate top_srcdir()
Georg Baum [Fri, 6 Apr 2007 09:39:05 +0000 (09:39 +0000)]
remove duplicate top_srcdir()

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

17 years agoNew framework for declaring generic features in textclasses.
Jean-Marc Lasgouttes [Fri, 6 Apr 2007 09:02:23 +0000 (09:02 +0000)]
New framework for declaring generic features in textclasses.

* src/LaTeXFeatures.C (mustProvide): new method; returns true when
isRequired is true and the feature is not provided by the
textclass.
(getPackages, getLyXSGMLEntities): use mustProvide when relevant.

* src/bufferparams.C (getEngine):
* src/buffer.C (validate): adapt to change below.

* src/lyxtextclass.C (read): replace tags ProvidesNatbib,
ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic
"Provides".
(provides): take a string as argument.

* lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags
to "Provides xxx".

* lib/layouts/*: update to format 4.

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

17 years agoremove methods that are no longer needed since we have the new bibtex parser
Georg Baum [Fri, 6 Apr 2007 08:48:34 +0000 (08:48 +0000)]
remove methods that are no longer needed since we have the new bibtex parser

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

17 years agoFix dialog interaction with InsetMathRef (leftover from changed
Georg Baum [Fri, 6 Apr 2007 08:30:37 +0000 (08:30 +0000)]
Fix dialog interaction with InsetMathRef (leftover from changed
InsetCommandParams)

* src/mathed/InsetMathCommand.[Ch]
(CommandInset::createDialogStr): Move to InsetMathRef, since it is
no longer generic.

* src/mathed/MathFactory.C
(createInsetMath_fromDialogStr): Use InsetCommandMailer instead of
manual parsing. This ensures that the syntax is correct.

* src/mathed/InsetMathRef.[Ch]
(InsetMathRef::createDialogStr): Moved here from InsetMathCommand,
but use InsetCommandMailer.

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

17 years agoProbably fix bug 3360:
Georg Baum [Thu, 5 Apr 2007 15:55:04 +0000 (15:55 +0000)]
Probably fix bug 3360:

* src/lyxfunc.C
(LyXFunc::dispatch): Call LFUN_DIALOG_SHOW_NEW_INSET instead of
LFUN_DIALOG_SHOW, since the former seems to be connected to the last
open inset.

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

17 years agoFix for bug 3215. All changes in src/frontends/qt4/.
Richard Heck [Thu, 5 Apr 2007 14:58:15 +0000 (14:58 +0000)]
Fix for bug 3215. All changes in src/frontends/qt4/.
Changed dialog and added routines to deal with an "auto" label
in cases where defaults are used.

ui/MarginsUi.ui: Changed labels for width and height to checkboxes. Removed connections.
checkwidgets.[Ch]: Extended checkedLineEdit routines to take a QWidget.
qt_helpers.[Ch]:
  Added void lengthToWidgets(QLineEdit *, LengthCombo *, LyXLength const &, LyXLength::UNIT)
  Added void lengthAutoToWidgets(QLineEdit *, LengthCombo *, LyXLength const &, LyXLength::UNIT)
  Added void setAutoTextCB(QCheckBox *, QLineEdit *, LengthCombo *)
validators.[Ch]:
  Added class LengthAutoValidator : public LengthValidator
  Added class DoubleAutoValidator : public QDoubleValidator
QGraphicsDialog.[Ch]
  Added virtual void setAutoText()
  Added virtual void on_WidthCB_toggled(bool)
  Added virtual void on_HeightCB_toggled(bool)
  Used the new functions to set "auto" in default cases and toggle checkboxes as needed.
  Set validator for scale.
  Re-organized connect routines.
QGraphics.C:
  Completely re-worked update_contents().
  Significant changes to apply().

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

17 years agoFix for bug 3416. Change output routine for geometry package.
Richard Heck [Thu, 5 Apr 2007 13:51:42 +0000 (13:51 +0000)]
Fix for bug 3416. Change output routine for geometry package.

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

17 years agoFix for bug 3401. Updated LFUN_CITATION_INSERT to new format.
Richard Heck [Thu, 5 Apr 2007 13:49:01 +0000 (13:49 +0000)]
Fix for bug 3401. Updated LFUN_CITATION_INSERT to new format.

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

17 years agoUse case:
Abdelrazak Younes [Thu, 5 Apr 2007 12:39:22 +0000 (12:39 +0000)]
Use case:
1) launch the dialog
2) select a delimiter in the left pane
3) Tab
4) select a delimiter in the right pane
5) Enter

So:
- Also enable the quick insertion while in the right pane
- Do not limit the quick insertion to matched key

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

17 years agoRework the delimiter dialog:
Abdelrazak Younes [Thu, 5 Apr 2007 12:12:07 +0000 (12:12 +0000)]
Rework the delimiter dialog:
- ListWidget instead of combo,
- matched delimiters on the same row,
- immediate insertion on "enter" or "double-click" if the 'match' option is checked.
- simplification of the code.

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

17 years ago * lyxlayout.C (read): set labelstringappendix_ every time
Jean-Marc Lasgouttes [Thu, 5 Apr 2007 10:57:14 +0000 (10:57 +0000)]
* lyxlayout.C (read): set labelstringappendix_ every time
labelstring is set (instead of using this value only as a
fallback) (bug 3351)

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

17 years agoDelimiter dilaog: Cleanup the code and rework the dialog a bit.
Abdelrazak Younes [Thu, 5 Apr 2007 09:26:09 +0000 (09:26 +0000)]
Delimiter dilaog: Cleanup the code and rework the dialog a bit.
Most of the change is about using the new private member delimiters_ instead of the "delim" table.  Also, we don't display an icon when the delimiter is one character.
I did not manage to let the combos expand to the maximum.

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

17 years agoFix bug 3420 by Uwe and Enrico.
Abdelrazak Younes [Thu, 5 Apr 2007 08:10:22 +0000 (08:10 +0000)]
Fix bug 3420 by Uwe and Enrico.

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

17 years ago- layouts/stdstruct.inc: fix tipo
Uwe Stöhr [Thu, 5 Apr 2007 01:02:31 +0000 (01:02 +0000)]
- layouts/stdstruct.inc: fix tipo
- templates/modernCV.lyx: small cleanup

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

17 years agoeuropecv: - fix bibliography and wrong address layout
Uwe Stöhr [Thu, 5 Apr 2007 01:01:03 +0000 (01:01 +0000)]
europecv: - fix bibliography and wrong address layout
          - change layout file because europecv doesn't support bibitems

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

17 years agoFix bug 1826 + A more precise parser for bibtex files based on the description found...
Bernhard Roider [Wed, 4 Apr 2007 20:06:34 +0000 (20:06 +0000)]
Fix bug 1826 + A more precise parser for bibtex files based on the description found on this web page: http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html

Most important improvements:
- read file character by character and treat newline like space characters.
  Thus the @ does not need to be at the beginning of a line.
- it reads @string entries and replaces the strings in the field values
- it also handles @comment entries
- it recovers from syntax errors at the next entry starting with @
- it ignores everything between entries

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

17 years agocmake: simplify all-in-one file naming
Peter Kümmel [Wed, 4 Apr 2007 19:21:16 +0000 (19:21 +0000)]
cmake: simplify all-in-one file naming

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

17 years agocmake: remove warning about const const, don't use pchs when compiling merged
Peter Kümmel [Wed, 4 Apr 2007 19:07:43 +0000 (19:07 +0000)]
cmake: remove warning about const const, don't use pchs when compiling merged

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

17 years agocmake: work-around for cmake bug
Peter Kümmel [Wed, 4 Apr 2007 19:03:57 +0000 (19:03 +0000)]
cmake: work-around for cmake bug

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

17 years agoFix bug 3412:
Abdelrazak Younes [Wed, 4 Apr 2007 16:36:50 +0000 (16:36 +0000)]
Fix bug 3412:
http://bugzilla.lyx.org/show_bug.cgi?id=3412

* QNomenclDialog::QNomenclDialog(): setting the focus proxy in the Description edit box.

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

17 years agoFix bug 3408 and 3408:
Abdelrazak Younes [Wed, 4 Apr 2007 16:17:24 +0000 (16:17 +0000)]
Fix bug 3408 and 3408:
http://bugzilla.lyx.org/show_bug.cgi?id=3408
http://bugzilla.lyx.org/show_bug.cgi?id=3409

The missing redraw was introduced with "Draw only decoration" optimisation in mathed. Setting the flags to Update::Force in case of Preview mode fixes the problem.

* InsetMathHull::notifyCursorLeaves(): set the cursor flags to 'Force'

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

17 years ago* fix layout
Edwin Leuven [Wed, 4 Apr 2007 13:10:38 +0000 (13:10 +0000)]
* fix layout

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

17 years agoremove "BufferView.h"
Abdelrazak Younes [Wed, 4 Apr 2007 12:58:40 +0000 (12:58 +0000)]
remove "BufferView.h"

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

17 years agoPut file editor and Browse and Edit buttons in the same horizontal layout.
Abdelrazak Younes [Wed, 4 Apr 2007 12:50:20 +0000 (12:50 +0000)]
Put file editor and Browse and Edit buttons in the same horizontal layout.

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

17 years agosupport for europecv: Layout file and template
Uwe Stöhr [Wed, 4 Apr 2007 01:35:15 +0000 (01:35 +0000)]
support for europecv: Layout file and template

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

17 years agomoderncv: - reworked layout and template file
Uwe Stöhr [Wed, 4 Apr 2007 01:30:54 +0000 (01:30 +0000)]
moderncv: - reworked layout and template file
          - reduce ERT to minimum

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

17 years agog-brief2.layout: whitespace
Uwe Stöhr [Wed, 4 Apr 2007 01:21:38 +0000 (01:21 +0000)]
g-brief2.layout: whitespace

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

17 years agoMade sizeHint const.
Richard Heck [Tue, 3 Apr 2007 21:47:00 +0000 (21:47 +0000)]
Made sizeHint const.

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

17 years agoadd bibitem support for moderncv
Uwe Stöhr [Tue, 3 Apr 2007 20:51:27 +0000 (20:51 +0000)]
add bibitem support for moderncv

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

17 years agoAdded check for valid size to show().
Richard Heck [Tue, 3 Apr 2007 20:45:46 +0000 (20:45 +0000)]
Added check for valid size to show().

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

17 years agoStill trying to solve the Toc panel crash with stdlib-debug enabled gcc.
Abdelrazak Younes [Tue, 3 Apr 2007 13:07:38 +0000 (13:07 +0000)]
Still trying to solve the Toc panel crash with stdlib-debug enabled gcc.

* ControlToc::update(): get rid of the pure virutal method.
* QToc::initialiseParams(): overload ControlToc method.

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

17 years agoFollowing r17706:
Abdelrazak Younes [Tue, 3 Apr 2007 10:50:38 +0000 (10:50 +0000)]
Following r17706:

* Buffer::Impl::messages: deleted

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

17 years agoSmall cleanup. updateDocLang() was basically a void function since my paragraph langu...
Abdelrazak Younes [Tue, 3 Apr 2007 10:45:22 +0000 (10:45 +0000)]
Small cleanup. updateDocLang() was basically a void function since my paragraph language cleanup.

* Buffer:
  - updateDocLang(): deleted.
  - B_(): use getLanguage() directly.

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

17 years agoexplain why ownsClipbiard() does not work on Windows and OS X
Georg Baum [Tue, 3 Apr 2007 08:27:23 +0000 (08:27 +0000)]
explain why ownsClipbiard() does not work on Windows and OS X

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

17 years agoSync with src/debug.C
Abdelrazak Younes [Tue, 3 Apr 2007 08:17:45 +0000 (08:17 +0000)]
Sync with src/debug.C

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

17 years agoNormalize everything that comes from 'outside' (plain text import,
Georg Baum [Tue, 3 Apr 2007 08:15:39 +0000 (08:15 +0000)]
Normalize  everything that comes from 'outside' (plain text import,
keyboard input via kmap, clipboard and selection) to normalized form KC
(precomposed characters) since we don't support the decomposed form very
well.

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

17 years agoQGraphicsDialog.C: fix bug that there is no image scale value when keepaspectratio...
Uwe Stöhr [Tue, 3 Apr 2007 02:07:35 +0000 (02:07 +0000)]
QGraphicsDialog.C: fix bug that there is no image scale value when keepaspectratio was previously checked
QGraphics.C: remove double entry

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

17 years agosupport for moderncv: Layout file and template as we currently have no CV template...
Uwe Stöhr [Tue, 3 Apr 2007 01:52:34 +0000 (01:52 +0000)]
support for moderncv: Layout file and template as we currently have no CV template but as discusses some times ago on the users list we need one for the beginners.
(The next days I'll also prepare support for europecv, the second nicht CV class that is also required to use in some fields.)

I hope I'm not too rash here.

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

17 years ago- g-brief2 cleanups: Make Standard style the default as Letter style as default cause...
Uwe Stöhr [Tue, 3 Apr 2007 01:37:39 +0000 (01:37 +0000)]
- g-brief2 cleanups: Make Standard style the default as Letter style as default causes LaTeX errors when you accidentally have two of them
(since years now used by me successfully)
- new template for g-brief2

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

17 years agoUse new isAlphaASCII and isDigitASCII functions instead of isalpha and
Georg Baum [Mon, 2 Apr 2007 15:21:36 +0000 (15:21 +0000)]
Use new isAlphaASCII and isDigitASCII functions instead of isalpha and
isdigit from ctype.h, because the latter are locale dependant and do not
work with char_type.

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

17 years agoremove unused stuff
Georg Baum [Mon, 2 Apr 2007 12:42:02 +0000 (12:42 +0000)]
remove unused stuff

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

17 years agoImplement Angus suggestion.
Abdelrazak Younes [Mon, 2 Apr 2007 10:18:12 +0000 (10:18 +0000)]
Implement Angus suggestion.

* GuiApplication::notify(): try to catch 'normal' exception first.

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

17 years agoLYXERR compilation fix.
Angus Leeming [Mon, 2 Apr 2007 01:12:29 +0000 (01:12 +0000)]
LYXERR compilation fix.

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

17 years ago * src/frontends/qt4/ui/QTabularUi.ui:
Michael Schmitt [Sun, 1 Apr 2007 21:51:17 +0000 (21:51 +0000)]
* src/frontends/qt4/ui/QTabularUi.ui:
* src/frontends/qt4/QTabular.C: change "Block" to "Justified"
to avoid translation clash and to align with paragraph settings

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

17 years ago po/de.po: translate "Exercise" consistently
Michael Schmitt [Sun, 1 Apr 2007 21:41:52 +0000 (21:41 +0000)]
po/de.po: translate "Exercise" consistently

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

17 years ago po/de.po: consistent translation of "Fact"; translate "Offprints"
Michael Schmitt [Sun, 1 Apr 2007 21:35:18 +0000 (21:35 +0000)]
po/de.po: consistent translation of "Fact"; translate "Offprints"

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

17 years ago * po/de.po: update (especially for the revised citation dialog)
Michael Schmitt [Sun, 1 Apr 2007 21:15:12 +0000 (21:15 +0000)]
* po/de.po: update (especially for the revised citation dialog)

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

17 years agorestore the old LyX banner in preparation of the next release;
Michael Schmitt [Sun, 1 Apr 2007 20:33:40 +0000 (20:33 +0000)]
restore the old LyX banner in preparation of the next release;
replace banner.ppm by banner.png

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

17 years agoThe error message doesn't need to be translated.
Abdelrazak Younes [Sun, 1 Apr 2007 16:10:12 +0000 (16:10 +0000)]
The error message doesn't need to be translated.

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

17 years agoFix bug 3288:
Abdelrazak Younes [Sun, 1 Apr 2007 16:06:43 +0000 (16:06 +0000)]
Fix bug 3288:
http://bugzilla.lyx.org/show_bug.cgi?id=3288

This is recommended by Qt:

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

* GuiApplication::notify(): reimplemented from QApplication::notify().

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

17 years agofix typo
Uwe Stöhr [Sun, 1 Apr 2007 15:37:05 +0000 (15:37 +0000)]
fix typo

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

17 years agoAdd Masanori Iwami to the contributers list.
Uwe Stöhr [Sun, 1 Apr 2007 15:26:11 +0000 (15:26 +0000)]
Add Masanori Iwami to the contributers list.

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

17 years agoWS changes
Michael Schmitt [Sun, 1 Apr 2007 15:12:19 +0000 (15:12 +0000)]
WS changes

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

17 years agoremove redundant lyxerr.debugging checks; macro LYXERR already checks whether the...
Michael Schmitt [Sun, 1 Apr 2007 15:09:08 +0000 (15:09 +0000)]
remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed

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

17 years agoSome more cleanup and comments from Iwami and myself.
Abdelrazak Younes [Sun, 1 Apr 2007 14:56:55 +0000 (14:56 +0000)]
Some more cleanup and comments from Iwami and myself.

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

17 years agoremove redundant lyxerr.debugging checks; macro LYXERR already checks whether the...
Michael Schmitt [Sun, 1 Apr 2007 14:51:13 +0000 (14:51 +0000)]
remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed

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

17 years agoremove redundant lyxerr.debugging checks; macro LYXERR already checks whether the...
Michael Schmitt [Sun, 1 Apr 2007 14:44:10 +0000 (14:44 +0000)]
remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed

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

17 years agoremove redundant lyxerr.debugging checks; macro LYXERR already checks whether the...
Michael Schmitt [Sun, 1 Apr 2007 14:35:42 +0000 (14:35 +0000)]
remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed

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

17 years agoAdd Stefan Schimanski to the contributers list.
Uwe Stöhr [Sun, 1 Apr 2007 13:58:35 +0000 (13:58 +0000)]
Add Stefan Schimanski to the contributers list.

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

17 years agobetter fix for bug #17652
André Pönitz [Sun, 1 Apr 2007 13:06:41 +0000 (13:06 +0000)]
better fix for bug #17652

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

17 years agoavoid evalutation of lyxerr arguments unless really needed
André Pönitz [Sun, 1 Apr 2007 10:09:49 +0000 (10:09 +0000)]
avoid evalutation of lyxerr arguments unless really needed

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

17 years agofix WS
Michael Schmitt [Sun, 1 Apr 2007 09:39:01 +0000 (09:39 +0000)]
fix WS

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

17 years agoMake encoding conversion more robust (workaround for bug 3404)
Georg Baum [Sun, 1 Apr 2007 09:33:39 +0000 (09:33 +0000)]
Make encoding conversion more robust (workaround for bug 3404)

* lib/lyx2lyx/lyx_1_5.py
(convert_multiencoding): Don't get confused by too many \end_layout
tokens.

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

17 years agocleanup headers.
Abdelrazak Younes [Sun, 1 Apr 2007 09:24:54 +0000 (09:24 +0000)]
cleanup headers.

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

17 years agoImproved input method support by M. Iwami. I fixed some typo, and simplified the...
Abdelrazak Younes [Sun, 1 Apr 2007 09:14:08 +0000 (09:14 +0000)]
Improved input method support by M. Iwami. I fixed some typo, and simplified the code a bit.

* Painter:
  - preeditText(), dashedUnderline(): new methods for CJK support.

* GuiWorkArea:
  - inputMethodQuery(): new Qt inherited method for proper CJK support.
  - inputMethodEvent(): now properly take care of input methods.

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

17 years agofix bug 912
Uwe Stöhr [Sun, 1 Apr 2007 02:02:28 +0000 (02:02 +0000)]
fix bug 912

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

17 years agoDon't convert keystrokes to LaTeX accents, but insert unicode combining
Georg Baum [Sat, 31 Mar 2007 18:28:36 +0000 (18:28 +0000)]
Don't convert keystrokes to LaTeX accents, but insert unicode combining
characters (forgot this with the last commit)

* src/lyxfunc.C: remove function declaration

* src/tex-accent.C
(lyx_accent_table): Remove obsolete stuff and add UCS4 codes
(DoAccent): Create UCS4 combining sequences instead of LaTeX accents

* src/tex-accent.h
(tex_accent_struct): Remove cms member, add ucs4 member

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

17 years agoFix bug 3400
Enrico Forestieri [Sat, 31 Mar 2007 18:21:54 +0000 (18:21 +0000)]
Fix bug 3400

* lib/scripts/convertDefault.py: Use the cropbox option when the
source format is pdf and convert supports it.

* lib/configure.py: Don't define a PDF->PNG converter in order to
avoid the EPS->PDF->PNG route when converting EPS to a loadable
format.

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

17 years agode_Userguide: updates from Hartmut
Uwe Stöhr [Sat, 31 Mar 2007 17:35:49 +0000 (17:35 +0000)]
de_Userguide: updates from Hartmut

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

17 years agofix recursive repaint, detected by Qt 4.3
Peter Kümmel [Sat, 31 Mar 2007 17:06:36 +0000 (17:06 +0000)]
fix recursive repaint, detected by Qt 4.3

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

17 years agoFinish the transition to unicode of the kmap machinery and enable kmap files
Georg Baum [Sat, 31 Mar 2007 16:41:02 +0000 (16:41 +0000)]
Finish the transition to unicode of the kmap machinery and enable kmap files
again (bug 3304)

* src/intl.C
(Intl::initKeyMapper): Don't set the char set of trans anymore

* src/chset.[Ch]: delete, no longer needed

* lib/kbd/*.cdef: ditto

* src/lyxrc.[Ch]: remove RC_SCREEN_FONT_ENCODING and font_norm,
these are no longer needed

* src/lyxfunc.C: adapt to lyxrc changes

* src/Makefile.am: remove deleted files

* lib/Makefile.am: ditto

* development/scons/scons_manifest.py: ditto

* src/text3.C
(LyXText::dispatch): reenable the kmap mechanism

* src/trans_mgr.[Ch]
(TransManager::setCharset): remove, no longer needed
(TransManager::insert): remove, since it would be identical to
insertVerbatim now
(TransManager::insertVerbatim): rename to insert

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

17 years agoManually fix kmap files after automatic conversion
Georg Baum [Sat, 31 Mar 2007 16:29:41 +0000 (16:29 +0000)]
Manually fix kmap files after automatic conversion

* lib/kbd/french.kmap: Replace \b{} (nonstandard degree symbol from
iso8859-8.cdef) with U+00B0
Fix broken comment sign

* lib/kbd/sg.kmap: Replace \b{} with U+00B0
Comment out obscure entries with \it\${}

* lib/kbd/sf.kmap: ditto

* lib/kbd/european.kmap: Replace \b{} with U+00B0
Remove obsolete comments

* lib/kbd/espanol.kmap: Fix inverted question and exclamation marks

* lib/kbd/american-2.kmap: Remove obsolete comments

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

17 years agoConvert kmap files from LaTeX commands to unicode as discussed last week
Georg Baum [Sat, 31 Mar 2007 16:07:05 +0000 (16:07 +0000)]
Convert kmap files from LaTeX commands to unicode as discussed last week

* development/tools/convert_kmap.py: New conversion script

* lib/kbd/*.kmap: Convert with convert_kmap.py

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

17 years ago * po/*.po: remerge
Michael Schmitt [Sat, 31 Mar 2007 14:22:56 +0000 (14:22 +0000)]
* po/*.po: remerge

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

17 years agofix obvious typo
Michael Schmitt [Sat, 31 Mar 2007 13:57:04 +0000 (13:57 +0000)]
fix obvious typo

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

17 years agoes_EmbeddedObjects: some more updates from Ignacio
Uwe Stöhr [Sat, 31 Mar 2007 13:15:58 +0000 (13:15 +0000)]
es_EmbeddedObjects: some more updates from Ignacio

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

17 years agoPrepare lib/kbd for the unicode transition (part 2):
Georg Baum [Sat, 31 Mar 2007 10:47:17 +0000 (10:47 +0000)]
Prepare lib/kbd for the unicode transition (part 2):
Convert all .kmap files to utf8

* lib/kbd/thai-kedmanee.kmap convert from tis620-0
* lib/kbd/greek.kmap         convert from iso8859-7
* lib/kbd/polski.kmap        convert from iso8859-2
* lib/kbd/german-3.kmap      convert from iso8859-1
* lib/kbd/german.kmap        convert from iso8859-1
* lib/kbd/koi8-r.kmap        convert from koi8-r
* lib/kbd/hebrew.kmap        convert from cp1255
* lib/kbd/european.kmap      convert from iso8859-1
* lib/kbd/magyar-3.kmap      convert from iso8859-2
* lib/kbd/arabic.kmap        convert from iso8859-6
* lib/kbd/bg-bds-1251.kmap   convert from cp1251
* lib/kbd/francais.kmap      convert from iso8859-1
* lib/kbd/latvian.kmap       convert from iso8859-13
* lib/kbd/german-2.kmap      convert from iso8859-1
* lib/kbd/portuges.kmap      convert from iso8859-1
* lib/kbd/koi8-u.kmap        convert from koi8-u
* lib/kbd/american-2.kmap    convert from iso8859-1
* lib/kbd/magyar-2.kmap      convert from iso8859-2
* lib/kbd/serbian.kmap       convert from iso8859-5

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

17 years agoPrepare lib/kbd for the unicode transition (part 1, more expected)
Georg Baum [Sat, 31 Mar 2007 10:21:56 +0000 (10:21 +0000)]
Prepare lib/kbd for the unicode transition (part 1, more expected)

* lib/kbd/serbocroatian.kmap: Remove hack that replaced d-Stroke and
D-Stroke with d-Caron and D-Caron, respectively.
This is no longer needed.

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

17 years agoConvert the part of the keymap code that will not be removed to docstring.
Georg Baum [Sat, 31 Mar 2007 08:12:08 +0000 (08:12 +0000)]
Convert the part of the keymap code that will not be removed to docstring.
This is purely mechanical, and touches only code that is currently not active.

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

17 years agomore encoding fixes for German docs
Uwe Stöhr [Sat, 31 Mar 2007 01:50:40 +0000 (01:50 +0000)]
more encoding fixes for German docs

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

17 years agode_Userguide: encoding fix
Uwe Stöhr [Sat, 31 Mar 2007 01:44:20 +0000 (01:44 +0000)]
de_Userguide: encoding fix

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

17 years ago * src/text3.C (dispatch): revert previous fix to 3143
Jean-Marc Lasgouttes [Fri, 30 Mar 2007 20:41:38 +0000 (20:41 +0000)]
* src/text3.C (dispatch): revert previous fix to 3143

* src/text.C (breakParagraph): setCursor does not set current_font when
applied to a CursorSlice (fixes bug 3143)

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

17 years agocmake: some cleanup only
Peter Kümmel [Fri, 30 Mar 2007 20:29:23 +0000 (20:29 +0000)]
cmake: some cleanup only

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

17 years agofix #3130
André Pönitz [Fri, 30 Mar 2007 19:28:03 +0000 (19:28 +0000)]
fix #3130

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

17 years agorevert 17649. This code was only a temporary mean to help fixing #3396. Apart from...
André Pönitz [Fri, 30 Mar 2007 17:20:27 +0000 (17:20 +0000)]
revert 17649. This code was only a temporary mean to help fixing #3396. Apart from that it is not needed to get a proper stack trace and clutters the source

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

17 years agofix 3396
André Pönitz [Fri, 30 Mar 2007 17:16:26 +0000 (17:16 +0000)]
fix 3396

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

17 years agoavoid recursive dump() in case of math parsing problem.
Abdelrazak Younes [Fri, 30 Mar 2007 16:29:35 +0000 (16:29 +0000)]
avoid recursive dump() in case of math parsing problem.

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

17 years agoFix for bug 3381, itself due to a bug in QT 4.2.3.
Richard Heck [Fri, 30 Mar 2007 15:15:44 +0000 (15:15 +0000)]
Fix for bug 3381, itself due to a bug in QT 4.2.3.

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

17 years agoenable LFUN_MATH_INSERT in text
André Pönitz [Fri, 30 Mar 2007 13:29:09 +0000 (13:29 +0000)]
enable LFUN_MATH_INSERT in text

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

17 years agoWhitespace correction after rev 17639
André Pönitz [Fri, 30 Mar 2007 05:30:23 +0000 (05:30 +0000)]
Whitespace correction after rev 17639

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

17 years agoFix for bug 3109: http://bugzilla.lyx.org/show_bug.cgi?id=3109. Added comments regard...
Richard Heck [Fri, 30 Mar 2007 04:24:54 +0000 (04:24 +0000)]
Fix for bug 3109: http://bugzilla.lyx.org/show_bug.cgi?id=3109. Added comments regarding longer-term issues with this code.

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

17 years agoCompleted table on naming conventions for widgets
Richard Heck [Fri, 30 Mar 2007 04:06:16 +0000 (04:06 +0000)]
Completed table on naming conventions for widgets

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

17 years agoLyXWinInstaller: minor update again
Uwe Stöhr [Fri, 30 Mar 2007 01:22:25 +0000 (01:22 +0000)]
LyXWinInstaller: minor update again

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

17 years agoLyXWinInstaller: reflect GS update
Uwe Stöhr [Fri, 30 Mar 2007 01:03:18 +0000 (01:03 +0000)]
LyXWinInstaller: reflect GS update

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

17 years agotiny encoding fix for LyXWinInstaller
Uwe Stöhr [Thu, 29 Mar 2007 23:57:32 +0000 (23:57 +0000)]
tiny encoding fix for LyXWinInstaller

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

17 years agosmall LyXWinInstaller updates
Uwe Stöhr [Thu, 29 Mar 2007 23:54:40 +0000 (23:54 +0000)]
small LyXWinInstaller updates

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

17 years agoantialiasing for fonts by Stefan
Uwe Stöhr [Thu, 29 Mar 2007 23:08:29 +0000 (23:08 +0000)]
antialiasing for fonts by Stefan

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

17 years agobetter UI fix for bug 3364 from Richard
Uwe Stöhr [Thu, 29 Mar 2007 22:27:40 +0000 (22:27 +0000)]
better UI fix for bug 3364 from Richard

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

17 years agomake up/down vuttons in command bar narrower
André Pönitz [Thu, 29 Mar 2007 22:12:34 +0000 (22:12 +0000)]
make up/down vuttons in command bar narrower

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