]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoupdate my credits entry and make generate_contributions.py run again
Georg Baum [Tue, 10 Apr 2007 11:01:44 +0000 (11:01 +0000)]
update my credits entry and make generate_contributions.py run again

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

17 years agofix cash with Toc widget (when stdlib-debug is on)
Jean-Marc Lasgouttes [Tue, 10 Apr 2007 09:15:40 +0000 (09:15 +0000)]
fix cash with Toc widget (when stdlib-debug is on)

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

17 years ago* src/rowpainter.C (paintPar):
Jürgen Spitzmüller [Tue, 10 Apr 2007 08:20:12 +0000 (08:20 +0000)]
* src/rowpainter.C (paintPar):
- only set wide() to true for insets if they are not nested
  in a non-wide inset (bug 3275)
* src/rowpainter.C (inNarrowInset):
- new helper func for the above.

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

17 years agoLyXWinInstaller:
Uwe Stöhr [Mon, 9 Apr 2007 23:51:22 +0000 (23:51 +0000)]
LyXWinInstaller:
- removed Galician files as they were only there due to a bug in NSIS
 -> NSIS 2.25 is now required for compilation
 -> updated Readme files
- version bump

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

17 years agoDescribe the latest graphics dialog changes in the docs, by Richard and me.
Uwe Stöhr [Mon, 9 Apr 2007 20:55:38 +0000 (20:55 +0000)]
Describe the latest graphics dialog changes in the docs, by Richard and me.

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

17 years agoes_Extended: some adjustments for PDF-bookmarks
Uwe Stöhr [Mon, 9 Apr 2007 18:04:31 +0000 (18:04 +0000)]
es_Extended: some adjustments for PDF-bookmarks

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

17 years agoNew Spanish translation of the Extended manual, by Ignacio.
Uwe Stöhr [Mon, 9 Apr 2007 17:30:54 +0000 (17:30 +0000)]
New Spanish translation of the Extended manual, by Ignacio.

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

17 years ago* src/lyxfunc.C (dispatch):
Jürgen Spitzmüller [Mon, 9 Apr 2007 09:31:56 +0000 (09:31 +0000)]
* src/lyxfunc.C (dispatch):
- do not attempt to toggle math insets via ALL_INSETS_TOGGLE
  (fixes bug 3358)

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

17 years agoFix gui for slash and backslash big/variable size delimiters
Enrico Forestieri [Sat, 7 Apr 2007 02:07:15 +0000 (02:07 +0000)]
Fix gui for slash and backslash big/variable size delimiters

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

17 years agoRestore the version number position on the splash screen
Enrico Forestieri [Sat, 7 Apr 2007 01:07:51 +0000 (01:07 +0000)]
Restore the version number position on the splash screen

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

17 years agoadd GuiView parent to QToc for proper memory management.
Abdelrazak Younes [Sat, 7 Apr 2007 00:04:38 +0000 (00:04 +0000)]
add GuiView parent to QToc for proper memory management.

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

17 years agoFix gui for the "|" big delimiter
Enrico Forestieri [Sat, 7 Apr 2007 00:00:32 +0000 (00:00 +0000)]
Fix gui for the "|" big delimiter

* src/frontends/qt4/QDelimiterDialog.C
(fix_name): Return "|" instead of "\|" as this is equivalent to \Vert.

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

17 years agoprevent the compiler from optimiying away support::Path variables
Georg Baum [Fri, 6 Apr 2007 18:03:29 +0000 (18:03 +0000)]
prevent the compiler from optimiying away support::Path variables

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

17 years agoMoved std* includes before customizations.
Richard Heck [Fri, 6 Apr 2007 17:48:54 +0000 (17:48 +0000)]
Moved std* includes before customizations.

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

17 years agoFix bug 3410 by Georg and me
Enrico Forestieri [Fri, 6 Apr 2007 17:38:11 +0000 (17:38 +0000)]
Fix bug 3410 by Georg and me

* src/support/tempname.C
(tempName): Return FileName in utf8 encoding.

* src/lyxsocket.[Ch]
(LyXServerSocket::LyXServerSocket): Use FileName instead of string
and set the env var LYXSOCKET in the filesystem encoding as this
is what the client expects.

* src/support/socktools.[Ch]
(socktools::listen): Convert to FileName and use the filesystem
encoding for the file names stored in the sockaddr_un struct.

* src/client/client.C
(socktools::connect): Convert to FileName and use the filesystem
encoding for the file names stored in the sockaddr_un struct.
(LyXDataSocket::LyXDataSocket, main): Convert to FileName.

* src/lyx_main.C
(LyX::exec): Use FileName instead of string in socket code.

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

17 years agoFix bug 3413:
Abdelrazak Younes [Fri, 6 Apr 2007 16:27:10 +0000 (16:27 +0000)]
Fix bug 3413:

http://bugzilla.lyx.org/show_bug.cgi?id=3413

* ui/QNomenclUi.ui
  - description field: replace LineEdit with TexEdit

* QNomencl.C: take care of the \n <-> \\ conversion in the description field.

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

17 years agoMake the delimiters dialog use true unicode symbols instead of pixmaps.
Abdelrazak Younes [Fri, 6 Apr 2007 15:57:32 +0000 (15:57 +0000)]
Make the delimiters dialog use true unicode symbols instead of pixmaps.

* ControlMath.[Ch]
  - mathSymbol(), texName(): new method for easy access of math symbols and associated TeX names
  - latex_delimiters: allowed delimiters transferred from QDelimiterDialog.C

* QDelimiterDialog.C:
  - makes use of the above.
  - display the TeX code in a label instead of beside the symbol.

* QDelimiterUi.ui
  - shrink it so that it could nicely fit in a DockWidget but this doesn't work, the dialog is too large!
  - texCodeL: new label.

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

17 years agoUse FileName instead of strings in support::Package.
Georg Baum [Fri, 6 Apr 2007 13:09:54 +0000 (13:09 +0000)]
Use FileName instead of strings in support::Package.
This fixes some encoding problems, and hopefully also bug 3410.

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

17 years agoFix small bug with new graphics dialog.
Richard Heck [Fri, 6 Apr 2007 12:38:23 +0000 (12:38 +0000)]
Fix small bug with new graphics dialog.

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

17 years agoremove unneeded lyx qualifier
Georg Baum [Fri, 6 Apr 2007 12:31:33 +0000 (12:31 +0000)]
remove unneeded lyx qualifier

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

17 years agoremove unneeded lyx qualifier
Georg Baum [Fri, 6 Apr 2007 11:20:09 +0000 (11:20 +0000)]
remove unneeded lyx qualifier

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

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