]>
git.lyx.org Git - features.git/log
Richard Heck [Thu, 25 Oct 2007 04:13:56 +0000 (04:13 +0000)]
Move the findInfo() and defaultCommand() routines out of InsetCommand and into its subclasses, so that the subclasses know what parameters they want, etc. Also, introduce an "isCompatibleCommand()" routine, so the subclasses can tell us which commands they are prepared to accept.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21194
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 25 Oct 2007 03:08:22 +0000 (03:08 +0000)]
Properly extend qt standard widgets, remove the search button in PrefShortcuts.
* src/frontends/qt4/ui/ShortcutUi.ui: use ShortcutLineEdit
* src/frontends/qt4/ui/PrefShortcutsUi.ui: remove searchPB
* src/frontends/qt4/CustomizedWidgets.h|cpp: define ShortcutLineEdit and SearchLineEdit.
* src/frontends/qt4/GuiPrefs.h|cpp: remove ShortcutEdit
* src/frontends/qt4/Makefile.am: build system changes
* development/scons/scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21193
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 24 Oct 2007 23:03:40 +0000 (23:03 +0000)]
remove unneded code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21192
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 24 Oct 2007 22:55:39 +0000 (22:55 +0000)]
adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21191
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 24 Oct 2007 22:55:02 +0000 (22:55 +0000)]
cosmetics... less than intented
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21190
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 24 Oct 2007 22:05:53 +0000 (22:05 +0000)]
- po remerge
- some translation work for de.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21189
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 24 Oct 2007 22:02:48 +0000 (22:02 +0000)]
EmbeddedFiles.cpp, GuiPrefs.cpp, PDFSupportUi.ui: fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21188
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 24 Oct 2007 17:22:57 +0000 (17:22 +0000)]
Small tweaks
* src/Paragraph.cpp (knownLangChars): renamed as writeScriptChars.
Now only deals with characters that cannot be encoded using the
current latex encoding.
(latexSpecialChars): only call writeScriptChars if the character
cannot be encoded.
* src/Encoding.{cpp,h} (isKnownLangChar): renamed as isKnownScriptChar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21183
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 16:00:25 +0000 (16:00 +0000)]
delete unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21182
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 15:32:43 +0000 (15:32 +0000)]
* InsetList: introducing find() and count()
* Paragraph:
- erase numberOfOptArgs() and bibitem()
- move onlyText() to Private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21180
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 24 Oct 2007 12:19:54 +0000 (12:19 +0000)]
* layouts/ijmpd.layout:
* layouts/amsmaths.inc: do not use the notation @Section@ for
LabelString.
* layouts/ijmpc.layout: use \thefoo instead of \arabic{foo}. The
classes ijmpc and ijmpd are now very similar, and one of them could
be made to include the other.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21179
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Wed, 24 Oct 2007 11:30:47 +0000 (11:30 +0000)]
Move disabling LFUNS from ERT to Collapsable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21178
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 11:24:53 +0000 (11:24 +0000)]
bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21177
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 09:46:38 +0000 (09:46 +0000)]
get rid of useless Paragraph::Private::size().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21175
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 24 Oct 2007 09:40:15 +0000 (09:40 +0000)]
* layouts/amsmaths-seq.inc:
* layouts/amsmaths.inc: make sure that the preamble of the Theorem
layout is output when using other theorem like layouts that
need its counter (bug 4282).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21174
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 09:01:51 +0000 (09:01 +0000)]
Paragraph::appendString(): use docstring::append().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21173
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 08:50:58 +0000 (08:50 +0000)]
Paragraph::Private: change TextContainer to docstring; this will enable to use advance algorithms for string searching/splitting/merging without useless data copying etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21171
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 08:40:38 +0000 (08:40 +0000)]
I forgot to commit this in 21167.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21170
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 08:32:20 +0000 (08:32 +0000)]
small simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21169
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 08:22:26 +0000 (08:22 +0000)]
Introducing Paragraph::find().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21168
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 07:49:24 +0000 (07:49 +0000)]
Introducing Paragraph::changeCase().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21167
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 07:32:25 +0000 (07:32 +0000)]
small optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21166
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 07:13:20 +0000 (07:13 +0000)]
fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21165
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 07:10:26 +0000 (07:10 +0000)]
compil fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21164
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Oct 2007 07:08:55 +0000 (07:08 +0000)]
* Paragraph: Move more things to Paragraph::Private
- remove META_INSET from Paragraph.h
- move text_ container to Private. I know this put there for performance reason but I don't see any penalty with this move. I guess this is because Buffer loading doesn't use Paragraph::getChar() anymore. I will move performance critical code to Paragraph::Private when/if we detect them.
- replace Paragraph::value_type with straight char_type: this was more noise than anything.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21163
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 24 Oct 2007 05:09:09 +0000 (05:09 +0000)]
fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21162
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 24 Oct 2007 00:34:06 +0000 (00:34 +0000)]
Fix scons update_po by removing deleted files in scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21159
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 23 Oct 2007 21:41:17 +0000 (21:41 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21157
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 23 Oct 2007 21:33:10 +0000 (21:33 +0000)]
scons/SConstruct: remove non-existent path to make "update_po" work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21156
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 23 Oct 2007 18:51:04 +0000 (18:51 +0000)]
Remove methods marked for removal from InsetCommandParams. Yeah, we can do that now. ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21154
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Tue, 23 Oct 2007 18:23:03 +0000 (18:23 +0000)]
Improve verbatim for RTL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21153
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 23 Oct 2007 16:44:16 +0000 (16:44 +0000)]
remove traces of qmake experiment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21152
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 23 Oct 2007 15:58:10 +0000 (15:58 +0000)]
Some comments and cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21151
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 23 Oct 2007 15:02:15 +0000 (15:02 +0000)]
InsetInclude becomes an InsetCommand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21149
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 23 Oct 2007 13:25:05 +0000 (13:25 +0000)]
* Paragraph: erase unused some method and move some members to Paragraph::Private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21148
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 23 Oct 2007 09:53:06 +0000 (09:53 +0000)]
* Paragraph:latex(): de-spaghettization step 2: split out T1 encoding, Typewriter font and 'special phrases' special cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21147
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Tue, 23 Oct 2007 08:23:39 +0000 (08:23 +0000)]
scramble email addresses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21145
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 23 Oct 2007 08:10:55 +0000 (08:10 +0000)]
* src/frontends/qt4/ui/ParagraphUi.ui:
- fix several duplicated accelerators (bug 4277)
* src/frontends/qt4/GuiParagraph{.cpp, h}:
- reintroduce labelMap; the current implementation
displays wrong accelerators.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21144
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 23 Oct 2007 05:07:45 +0000 (05:07 +0000)]
Licensing info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21141
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 23 Oct 2007 03:48:02 +0000 (03:48 +0000)]
PrefShortcuts: ShortcutEdit, adapted from Edwin's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21140
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 23 Oct 2007 01:01:05 +0000 (01:01 +0000)]
PDFOptions.cpp: whitespace fix to please André
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21138
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 22 Oct 2007 23:59:00 +0000 (23:59 +0000)]
configure.py: correct previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21137
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 22 Oct 2007 23:55:13 +0000 (23:55 +0000)]
configure.py, legacy_lyxpreview2ppm.py, lyxpreview2bitmap.py: check also for "platex" (Japanese variant of "latex"); patch by Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21136
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 22 Oct 2007 23:25:17 +0000 (23:25 +0000)]
TabellenBeispiel.lyx: fix the end document tag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21134
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 22 Oct 2007 23:20:09 +0000 (23:20 +0000)]
German UserGuide.lyx updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21132
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 22 Oct 2007 23:13:40 +0000 (23:13 +0000)]
languages: add note to re-enable Sorbian when the next babel version comes out. The babel maintainer has it already fixed in his tree, see LaTeX bug 3982.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21131
a592a061 -630c-0410-9148-
cb99ea01b6c8
Dov Feldstern [Mon, 22 Oct 2007 22:18:52 +0000 (22:18 +0000)]
Getting rid of LTR bias --- part 1/?
This is the first patch in a series meant to remove LTR bias from the code.
Currently, there are many places in the code where "right" and "left" are used,
but where we actually mean "forward" and "backwards" --- which is the same
thing in LTR text, but not in RTL/Bidi text.
See full details in http://permalink.gmane.org/gmane.editors.lyx.devel/97550.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21128
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 22 Oct 2007 20:05:41 +0000 (20:05 +0000)]
* Paragraph: reserve memory by chunks of 100 chars. This improve the loading of big document of about 15% (12s instead of 14s for the UserGuide copied and pasted 10 times). There is zero penalty memory wise; quite weirdly, there is a benefit actually: 58 Megs instead 60 Megs, I don't understand why. For comparison, 1.5 needs 78 Megs for the same document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21127
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 22 Oct 2007 19:18:51 +0000 (19:18 +0000)]
Introducing FontList::setRange()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21126
a592a061 -630c-0410-9148-
cb99ea01b6c8
Dov Feldstern [Mon, 22 Oct 2007 18:49:55 +0000 (18:49 +0000)]
Compilation fix for Qt 4.2.1 in GuiPrefs.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21125
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 22 Oct 2007 18:01:21 +0000 (18:01 +0000)]
Simplify ERT by using verbatim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21121
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 22 Oct 2007 13:58:13 +0000 (13:58 +0000)]
* qt4/Makefile.am: make sure that Resource-related files are deleted by make clean
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21119
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 22 Oct 2007 13:56:59 +0000 (13:56 +0000)]
* GuiPrefs.cpp (PrefShortcuts::setItemType): compilation fix for
qt 4.1 and some simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21118
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 22 Oct 2007 13:09:16 +0000 (13:09 +0000)]
* Paragraph:
- simpleTeXOnePar(): renamed to latex(), beginning of de-spaghettization by truly splitting inset and character cases.
- appendChar(), appendString(): new method for buffer reading.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21117
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 22 Oct 2007 07:49:30 +0000 (07:49 +0000)]
Fix a warning that is potentially a bug (!= used instead of |=).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21116
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 22 Oct 2007 02:05:04 +0000 (02:05 +0000)]
Documentation updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21115
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 22 Oct 2007 01:24:11 +0000 (01:24 +0000)]
UserGuides: update an image path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21112
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 22 Oct 2007 00:43:59 +0000 (00:43 +0000)]
Extended.lyx: remove section about Index preparation as this is since LyX 1.5.2 described in the UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21110
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 21 Oct 2007 22:23:19 +0000 (22:23 +0000)]
cmake: fix indentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21108
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 21 Oct 2007 22:12:12 +0000 (22:12 +0000)]
fix MSVC warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21107
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 21 Oct 2007 20:06:44 +0000 (20:06 +0000)]
Embedding: add LFUN_BUFFER_TOGGLE_EMBEDDING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21106
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 21 Oct 2007 19:08:53 +0000 (19:08 +0000)]
Embedding: remove the embeddingChanged signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21105
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 21 Oct 2007 18:06:00 +0000 (18:06 +0000)]
Remove the manifest section of the .lyx file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21104
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 21 Oct 2007 17:57:13 +0000 (17:57 +0000)]
Fix bug 4287
* src/Buffer.cpp (Buffer::save): also replace the ':' character
in the mangled filename as this it is illegal on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21102
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 21 Oct 2007 17:56:22 +0000 (17:56 +0000)]
Remove the embedding dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21101
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Sun, 21 Oct 2007 17:15:02 +0000 (17:15 +0000)]
* make it compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21100
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bernhard Roider [Sun, 21 Oct 2007 11:56:27 +0000 (11:56 +0000)]
remove unused includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21099
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bernhard Roider [Sun, 21 Oct 2007 11:21:13 +0000 (11:21 +0000)]
fix build: correct filename
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21098
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sun, 21 Oct 2007 10:50:56 +0000 (10:50 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21097
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 21 Oct 2007 05:30:43 +0000 (05:30 +0000)]
PrefShortcuts: handle user unbind items that have no corresponding item in system bind file. Its removal action should be treated differently
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21096
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 21 Oct 2007 04:20:46 +0000 (04:20 +0000)]
Update installer version number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21095
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 21 Oct 2007 01:26:32 +0000 (01:26 +0000)]
Fix scons and CmdDef.h for the introduction of CmdDef.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21094
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bernhard Roider [Sat, 20 Oct 2007 23:27:03 +0000 (23:27 +0000)]
CmdDef.cpp/h: A class that manages command definitions. The definitions are
by default read from lib/commands/default.def
A .def file allows to define a command with
\define "Name" "lfun"
where Name is the name of the new command and lfun is the code
to be executed.
\def_file "FileName"
allows to include another .def file.
The implementation of CmdDef is similar to KeyMap, i.e. there is
one instance created in the LyX.cpp that reads the .def file, holds
a list containing all definitions, and supplies access methods.
LFUN_CALL: The new lfun is used to execute a command definition, e.g.
call Name
If a toolbar item has the associated action "call Name" then the image
lib/images/commands/Name.png is used for the button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21093
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bernhard Roider [Sat, 20 Oct 2007 23:08:02 +0000 (23:08 +0000)]
Search for toolbar images in the filesystem and afterwards in the resource.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21092
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 20 Oct 2007 21:27:22 +0000 (21:27 +0000)]
Fix some bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21091
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 20 Oct 2007 20:50:56 +0000 (20:50 +0000)]
PrefShortcuts: Roughly finish the shortcut configuration panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21090
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 20 Oct 2007 20:44:23 +0000 (20:44 +0000)]
shut down an MSVC warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21089
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 20 Oct 2007 20:35:33 +0000 (20:35 +0000)]
add a \unbind keyword and a few utility functions (unbind, write, delkey) to KeyMap.h,.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21088
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 20 Oct 2007 20:28:05 +0000 (20:28 +0000)]
add another format (BindFile) to KeySequence::print()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21087
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 20 Oct 2007 19:48:53 +0000 (19:48 +0000)]
make trunk compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21086
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 20 Oct 2007 17:35:27 +0000 (17:35 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21085
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 20 Oct 2007 17:07:08 +0000 (17:07 +0000)]
Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21084
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 20 Oct 2007 17:05:28 +0000 (17:05 +0000)]
Verbatim for URL inset, \protect for special phrases (index inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21083
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 20 Oct 2007 14:56:46 +0000 (14:56 +0000)]
remove unused method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21082
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 20 Oct 2007 14:10:49 +0000 (14:10 +0000)]
make trunk compile with gcc4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21081
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 20 Oct 2007 10:51:13 +0000 (10:51 +0000)]
saner borderline between buffer and exporter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21080
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 20 Oct 2007 10:03:45 +0000 (10:03 +0000)]
mainly cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21079
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 20 Oct 2007 09:34:19 +0000 (09:34 +0000)]
cmake: update version info. Is there a build system independent way?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21078
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 20 Oct 2007 09:32:35 +0000 (09:32 +0000)]
cmake: fix broken pch support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21077
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 20 Oct 2007 08:09:55 +0000 (08:09 +0000)]
cleanups: split Paragraph::Private::simpleTeXSpecialChars() in two. Remove two or level of indentation...
What a mess...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21076
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Fri, 19 Oct 2007 18:52:56 +0000 (18:52 +0000)]
Make URL inset better behaved
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21075
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 19 Oct 2007 18:45:09 +0000 (18:45 +0000)]
rcc: use -name option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21074
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 19 Oct 2007 17:49:45 +0000 (17:49 +0000)]
My bad. Sorry Helge!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21073
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 19 Oct 2007 17:22:55 +0000 (17:22 +0000)]
InsetCommandParams() now takes an InsetCode rather than a string.
These changes are just adaptations to the new signature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21072
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 19 Oct 2007 16:49:04 +0000 (16:49 +0000)]
PrefShortcuts: Hide unmatched items instead of highlighting matched ones (JMarc's suggestion )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21071
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 19 Oct 2007 16:22:36 +0000 (16:22 +0000)]
Introducing Font::validate().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21070
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 19 Oct 2007 16:01:32 +0000 (16:01 +0000)]
Introducing FontList::validate()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21069
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 19 Oct 2007 15:42:53 +0000 (15:42 +0000)]
small simplification (and optimization).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21068
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 19 Oct 2007 15:30:54 +0000 (15:30 +0000)]
Introducing FontList::hasChangeInRange()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21067
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 19 Oct 2007 15:23:11 +0000 (15:23 +0000)]
Fix scons and src/FontList.cpp for the addition of FontList.h|cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21066
a592a061 -630c-0410-9148-
cb99ea01b6c8