lyx_mirror/src
Richard Heck 4daf7b5dfc The Buffer::dispatch() patch.
This patch enhances the Buffer::dispatch() method to make it a full-fledged
member of the dispatch sequence. The most immediate payoff is that LFUNs that
are handled in Buffer::dispatch() can be used from the command line.

We make better use of the DispatchResult object and return error information 
through it, rather than using return values. (This was JMarc's suggestion.) We 
also introduce a  corresponding Buffer::getStatus() method, and modify 
BufferView::getStatus() to return a flag indicating whether a decision has been 
made, as is already done in some other cases.

Finally, some LFUNs are moved to Buffer::dispatch(), including LFUN_BUFFER_PRINT.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29125 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-06 12:12:06 +00:00
..
client use $version_suffix instead of $program_suffix in man pages (the later can come up as NONE) 2009-03-19 22:29:40 +00:00
frontends start XeTeX support. 2009-04-06 06:58:30 +00:00
graphics gcc compile fix. 2009-03-12 19:44:40 +00:00
insets Manage the initial setting of Default or Plain Layout more simply. 2009-04-04 19:34:14 +00:00
lyxled
mathed Don't wrap characters marked as mathalpha in the unicodesymbols file. 2009-04-06 09:04:00 +00:00
support Fix up a few little things after r29065. If we're calculating the autosave 2009-04-04 03:13:46 +00:00
tex2lyx math.cpp: fix a typo 2009-03-30 01:43:40 +00:00
ASpell_local.h * Singleton-ify the used SpellChecker object. 2009-03-29 21:18:16 +00:00
ASpell.cpp * Singleton-ify the used SpellChecker object. 2009-03-29 21:18:16 +00:00
Author.cpp
Author.h
BiblioInfo.cpp Fix the year display in InsetCitation. 2009-04-04 21:10:35 +00:00
BiblioInfo.h This can be a const ref now. 2009-01-17 00:29:32 +00:00
Bidi.cpp Bidi::computeTables(): avoid a Font instantiation for each char. 2008-10-19 07:31:10 +00:00
Bidi.h
boost.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Box.cpp
Box.h
BranchList.cpp
BranchList.h
buffer_funcs.cpp * src/buffer_funcs.{cpp,h}: 2008-12-05 15:49:07 +00:00
buffer_funcs.h * src/buffer_funcs.{cpp,h}: 2008-12-05 15:49:07 +00:00
Buffer.cpp The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
Buffer.h The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
BufferList.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
BufferList.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
BufferParams.cpp * BufferParams.cpp: 2009-04-06 08:10:50 +00:00
BufferParams.h start XeTeX support. 2009-04-06 06:58:30 +00:00
BufferView.cpp The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
BufferView.h The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
Bullet.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Bullet.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Changes.cpp Fix bug 5629: http://bugzilla.lyx.org/show_bug.cgi?id=5629. 2009-02-09 20:47:32 +00:00
Changes.h Fix bug 5629: http://bugzilla.lyx.org/show_bug.cgi?id=5629. 2009-02-09 20:47:32 +00:00
Chktex.cpp rename [io]docfstream to [io]fdocstream 2008-11-16 12:21:29 +00:00
Chktex.h
Citation.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
CmdDef.cpp
CmdDef.h
Color.cpp move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
Color.h move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
ColorCode.h Fix bug 5629: http://bugzilla.lyx.org/show_bug.cgi?id=5629. 2009-02-09 20:47:32 +00:00
ColorSet.h move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
CompletionList.h
Converter.cpp start XeTeX support. 2009-04-06 06:58:30 +00:00
Converter.h
ConverterCache.cpp Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
ConverterCache.h
CoordCache.cpp lyxbreaker: don't crash in release mode. 2008-11-14 16:30:31 +00:00
CoordCache.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Counters.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Counters.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Cursor.cpp Fix bug #2213 (part 5): GuiChanges lacks "Previous Change" button. 2009-04-05 20:16:32 +00:00
Cursor.h Fix bug #2213 (part 5): GuiChanges lacks "Previous Change" button. 2009-04-05 20:16:32 +00:00
CursorSlice.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
CursorSlice.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
CutAndPaste.cpp Fix assertion in trunk, and add a comment about why this needs to 2009-04-04 13:48:30 +00:00
CutAndPaste.h * "Copy as Reference" in the context menu of a label 2008-11-16 19:19:07 +00:00
DepTable.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
DepTable.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Dimension.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Dimension.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
DispatchResult.h The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
DocIterator.cpp Transfer some general code from GuiSpellchecker to Buffer and DocIterator. 2009-03-28 19:02:49 +00:00
DocIterator.h Transfer some general code from GuiSpellchecker to Buffer and DocIterator. 2009-03-28 19:02:49 +00:00
Encoding.cpp Fix bug 5836 (http://bugzilla.lyx.org/show_bug.cgi?id=5836) 2009-03-09 06:34:00 +00:00
Encoding.h Fix bug 5836 (http://bugzilla.lyx.org/show_bug.cgi?id=5836) 2009-03-09 06:34:00 +00:00
ErrorList.cpp
ErrorList.h header ordering. 2009-03-25 08:31:46 +00:00
Exporter.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Exporter.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
factory.cpp allow to read Flex insets with a space in their name 2009-03-09 13:48:09 +00:00
factory.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Floating.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Floating.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
FloatList.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
FloatList.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Font.cpp Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
Font.h Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
FontEnums.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
FontInfo.cpp Add a new member to FontInfo denoting the color to be used when painting. 2009-02-09 20:22:48 +00:00
FontInfo.h move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
FontList.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
FontList.h
Format.cpp
Format.h
FuncCode.h Fix bug #2213 (part 1): GuiChanges lacks "Previous Change" button. 2009-04-05 19:14:37 +00:00
FuncRequest.cpp improve debug information 2008-12-15 15:47:33 +00:00
FuncRequest.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp
Graph.h
InsetIterator.cpp add Buffer * member to DocIterator 2008-11-17 11:46:07 +00:00
InsetIterator.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
InsetList.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
InsetList.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Intl.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Intl.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
KeyMap.cpp Whoops. I somehow undid the reordering with that last commit. Anyway, 2009-04-02 18:59:25 +00:00
KeyMap.h There are too many things here named `table'. 2009-04-02 18:57:19 +00:00
KeySequence.cpp Fix crash when hitting delete key once more after deleting 2009-04-02 18:19:33 +00:00
KeySequence.h Now these don't have to be public. 2009-04-02 15:56:12 +00:00
Language.cpp * src/Language{.cpp,h}: 2008-11-21 14:58:26 +00:00
Language.h * src/Language{.cpp,h}: 2008-11-21 14:58:26 +00:00
LaTeX.cpp * LaTeX.cpp: 2009-03-17 05:09:18 +00:00
LaTeX.h cosmetics 2008-11-16 12:53:49 +00:00
LaTeXFeatures.cpp Partly revert r28731 (see discussion in bug 5836). 2009-03-30 22:40:27 +00:00
LaTeXFeatures.h Better fix for bug 1476 (following an idea by Jean-Marc). 2009-02-17 20:25:56 +00:00
Layout.cpp Cosmetics. 2009-03-25 12:49:52 +00:00
Layout.h Better fix for bug 1476 (following an idea by Jean-Marc). 2009-02-17 20:25:56 +00:00
LayoutEnums.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
LayoutFile.cpp Cosmetics. 2009-02-11 20:02:53 +00:00
LayoutFile.h Next step: LayoutModuleList is now a thin wrapper around a list<string>. 2009-02-12 15:07:22 +00:00
LayoutModuleList.cpp A couple things noticed by Andre. 2009-02-21 21:49:56 +00:00
LayoutModuleList.h A couple things noticed by Andre. 2009-02-21 21:49:56 +00:00
Length.cpp Move the half baked code that guesses whether to default on metric or 2009-02-06 21:24:13 +00:00
Length.h Move the half baked code that guesses whether to default on metric or 2009-02-06 21:24:13 +00:00
lengthcommon.cpp * lengthcommon.cpp: 2009-01-12 09:23:06 +00:00
Lexer.cpp * Lexer.{cpp,h}: 2008-11-25 14:44:17 +00:00
Lexer.h * Lexer.{cpp,h}: 2008-11-25 14:44:17 +00:00
LyX.cpp The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
LyX.h * Singleton-ify the used SpellChecker object. 2009-03-29 21:18:16 +00:00
LyXAction.cpp Fix bug #2213 (part 1): GuiChanges lacks "Previous Change" button. 2009-04-05 19:14:37 +00:00
LyXAction.h Kill next-inset-toggle and expand inset-toggle to provide the same functionality 2009-03-30 13:49:52 +00:00
lyxfind.cpp Fix bug #2213 (part 5): GuiChanges lacks "Previous Change" button. 2009-04-05 20:16:32 +00:00
lyxfind.h Fix bug #2213 (part 1): GuiChanges lacks "Previous Change" button. 2009-04-05 19:11:25 +00:00
LyXFunc.cpp The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
LyXFunc.h Comment 2009-01-08 22:07:22 +00:00
LyXRC.cpp Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
LyXRC.h Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
LyXVC.cpp more robust version 2009-02-01 23:46:41 +00:00
LyXVC.h Improved UI for version control: 2009-01-08 00:14:55 +00:00
lyxwinres.rc Update headers. 2008-11-04 22:32:06 +00:00
main.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Makefile.am * rename SpellBase to SpellChecker 2009-03-29 19:49:52 +00:00
MetricsInfo.cpp move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
MetricsInfo.h Replace the PainterInfo::erased_ member by a proper Change object and remove the Color_deletedtext from InsetTabular. 2009-02-09 21:14:23 +00:00
ModuleList.cpp Rename a routine. 2009-02-19 17:24:37 +00:00
ModuleList.h Rename a routine. 2009-02-19 17:24:37 +00:00
Mover.cpp Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
Mover.h Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
output_docbook.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
output_docbook.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
output_latex.cpp start XeTeX support. 2009-04-06 06:58:30 +00:00
output_latex.h Tommaso patch, part 5, lots of thing to cleanup still but I'll do that afterwards. 2008-11-16 00:12:21 +00:00
output_plaintext.cpp rename [io]docfstream to [io]fdocstream 2008-11-16 12:21:29 +00:00
output_plaintext.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
output.cpp rename [io]docfstream to [io]fdocstream 2008-11-16 12:21:29 +00:00
output.h rename [io]docfstream to [io]fdocstream 2008-11-16 12:21:29 +00:00
OutputParams.cpp Bug 5562: Fix command line output of subfigure insets by introducing new OutputParams and LaTeXFeatures members that tell the insets whether they are in a (sub)float. 2009-02-07 12:27:24 +00:00
OutputParams.h start XeTeX support. 2009-04-06 06:58:30 +00:00
paper.h
paragraph_funcs.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
paragraph_funcs.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Paragraph.cpp AdvSearch - next patch from Tommaso. 2008-12-20 16:00:47 +00:00
Paragraph.h AdvSearch - next patch from Tommaso. 2008-12-20 16:00:47 +00:00
ParagraphList.h
ParagraphMetrics.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ParagraphMetrics.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ParagraphParameters.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ParagraphParameters.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ParIterator.cpp add Buffer * member to DocIterator 2008-11-17 11:46:07 +00:00
ParIterator.h add Buffer * member to DocIterator 2008-11-17 11:46:07 +00:00
pch.h
PDFOptions.cpp Sanitize backreferences in hyperref. 2008-10-13 16:01:02 +00:00
PDFOptions.h Sanitize backreferences in hyperref. 2008-10-13 16:01:02 +00:00
PrinterParams.cpp
PrinterParams.h
Row.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Row.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
rowpainter.cpp Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
rowpainter.h Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
Section.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Section.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Server.cpp Avoid useless assignment to errno and add scope operator for safety. 2008-11-26 19:05:35 +00:00
Server.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ServerSocket.cpp revert r27520 (tr1 stuff) 2008-11-16 11:51:42 +00:00
ServerSocket.h revert r27520 (tr1 stuff) 2008-11-16 11:51:42 +00:00
Session.cpp UI Command Buffer improvements. 2009-01-18 21:50:23 +00:00
Session.h UI Command Buffer improvements. 2009-01-18 21:50:23 +00:00
sgml.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
sgml.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Spacing.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Spacing.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
SpellChecker.h gcc compile fix. 2009-03-30 07:44:01 +00:00
TexRow.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
TexRow.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
TexStream.cpp
TexStream.h
Text2.cpp Constify. 2008-11-26 19:42:18 +00:00
Text3.cpp Fix bug 5827 (validate date-insert argument): 2009-03-27 11:22:54 +00:00
Text.cpp Fix bug 1802: http://bugzilla.lyx.org/show_bug.cgi?id=1802. 2009-02-07 15:24:47 +00:00
Text.h Fix bug 1802: http://bugzilla.lyx.org/show_bug.cgi?id=1802. 2009-02-07 15:24:47 +00:00
TextClass.cpp Better fix for bug 1476 (following an idea by Jean-Marc). 2009-02-17 20:25:56 +00:00
TextClass.h Better fix for bug 1476 (following an idea by Jean-Marc). 2009-02-17 20:25:56 +00:00
TextMetrics.cpp Fix bug 4067: Incorrect indentation in Description environment 2009-04-02 21:36:30 +00:00
TextMetrics.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Thesaurus.cpp fix two compiler warnings 2009-03-30 10:36:05 +00:00
Thesaurus.h remove unneeded "default language" option 2008-11-16 19:22:06 +00:00
TocBackend.cpp * insets/InsetText.cpp (addToToc): 2008-11-03 13:47:12 +00:00
TocBackend.h add Buffer * member to DocIterator 2008-11-17 11:46:07 +00:00
Trans.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Trans.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Undo.cpp So we do, sometimes, need the setBuffer calls that were removed in r28720. 2009-03-12 20:10:46 +00:00
Undo.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
update_flags.h
Variables.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Variables.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
VCBackend.cpp * VCBackend.cpp: 2009-03-17 11:06:28 +00:00
VCBackend.h VCS: constify, thanks Andre 2009-02-01 23:23:01 +00:00
version.cpp
version.h
VSpace.cpp
VSpace.h
WordLangTuple.h
WordList.cpp
WordList.h