Commit Graph

12457 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
2086684135 * 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
2007-04-05 10:57:14 +00:00
Abdelrazak Younes
29dacff0f0 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
2007-04-05 09:26:09 +00:00
Abdelrazak Younes
13ec7e4b74 Fix bug 3420 by Uwe and Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17726 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 08:10:22 +00:00
Uwe Stöhr
238c087a71 - 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
2007-04-05 01:02:31 +00:00
Uwe Stöhr
dc294b6136 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
2007-04-05 01:01:03 +00:00
Bernhard Roider
4c9121df3b 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
2007-04-04 20:06:34 +00:00
Peter Kümmel
66aea64a21 cmake: simplify all-in-one file naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17722 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 19:21:16 +00:00
Peter Kümmel
afd9d1b40a 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
2007-04-04 19:07:43 +00:00
Peter Kümmel
3ed7a430d5 cmake: work-around for cmake bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17720 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 19:03:57 +00:00
Abdelrazak Younes
b7ff6f82de 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
2007-04-04 16:36:50 +00:00
Abdelrazak Younes
4be4fe2af8 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
2007-04-04 16:17:24 +00:00
Edwin Leuven
f56c8c83b0 * fix layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17717 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 13:10:38 +00:00
Abdelrazak Younes
ad05708682 remove "BufferView.h"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17716 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 12:58:40 +00:00
Abdelrazak Younes
1c9ea1546d 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
2007-04-04 12:50:20 +00:00
Uwe Stöhr
9ad5bde3c6 support for europecv: Layout file and template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:35:15 +00:00
Uwe Stöhr
566d5270f5 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
2007-04-04 01:30:54 +00:00
Uwe Stöhr
c36c0b6cf2 g-brief2.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17712 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:21:38 +00:00
Richard Heck
9fcfc51228 Made sizeHint const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17711 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 21:47:00 +00:00
Uwe Stöhr
c94c3a0f1c add bibitem support for moderncv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17710 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 20:51:27 +00:00
Richard Heck
bb2afff7d0 Added check for valid size to show().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17709 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 20:45:46 +00:00
Abdelrazak Younes
9aed8cf115 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
2007-04-03 13:07:38 +00:00
Abdelrazak Younes
e37e918e38 Following r17706:
* Buffer::Impl::messages: deleted

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17707 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 10:50:38 +00:00
Abdelrazak Younes
f4f0707fb2 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
2007-04-03 10:45:22 +00:00
Georg Baum
f7665c1e11 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
2007-04-03 08:27:23 +00:00
Abdelrazak Younes
3387c00c9d Sync with src/debug.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17703 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 08:17:45 +00:00
Georg Baum
0159c9d6c7 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
2007-04-03 08:15:39 +00:00
Uwe Stöhr
f3558df4c2 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
2007-04-03 02:07:35 +00:00
Uwe Stöhr
228c92e6b4 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
2007-04-03 01:52:34 +00:00
Uwe Stöhr
828343c3e8 - 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
2007-04-03 01:37:39 +00:00
Georg Baum
329d50d90d 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
2007-04-02 15:21:36 +00:00
Georg Baum
3213757e9a remove unused stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 12:42:02 +00:00
Abdelrazak Younes
c1b5490f9f 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
2007-04-02 10:18:12 +00:00
Angus Leeming
c9744fec96 LYXERR compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17695 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 01:12:29 +00:00
Michael Schmitt
16b8db280e * 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
2007-04-01 21:51:17 +00:00
Michael Schmitt
909d293785 po/de.po: translate "Exercise" consistently
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17693 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 21:41:52 +00:00
Michael Schmitt
2f73c3dc8e 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
2007-04-01 21:35:18 +00:00
Michael Schmitt
58f966d534 * 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
2007-04-01 21:15:12 +00:00
Michael Schmitt
b8e23e46d0 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
2007-04-01 20:33:40 +00:00
Abdelrazak Younes
e45632d1f8 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
2007-04-01 16:10:12 +00:00
Abdelrazak Younes
7384d0cf67 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
2007-04-01 16:06:43 +00:00
Uwe Stöhr
6990fb0343 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17687 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 15:37:05 +00:00
Uwe Stöhr
eb0c4fbb87 Add Masanori Iwami to the contributers list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 15:26:11 +00:00
Michael Schmitt
7b31bf784a WS changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17684 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 15:12:19 +00:00
Michael Schmitt
1b591e71b2 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
2007-04-01 15:09:08 +00:00
Abdelrazak Younes
284e9efab7 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
2007-04-01 14:56:55 +00:00
Michael Schmitt
ee47f918c2 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
2007-04-01 14:51:13 +00:00
Michael Schmitt
4823150780 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
2007-04-01 14:44:10 +00:00
Michael Schmitt
580b243a4c 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
2007-04-01 14:35:42 +00:00
Uwe Stöhr
84b2f6f86f Add Stefan Schimanski to the contributers list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 13:58:35 +00:00
André Pönitz
15b343d8f3 better fix for bug #17652
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 13:06:41 +00:00