lyx_mirror/src
Richard Heck 5faad9ca68 Additional UI logic related to module requires and excludes.
The logic here is really kind of a mess. If anyone can make it
simpler, I'd be thrilled.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22458 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 01:33:24 +00:00
..
client header cleanup. 2007-12-16 22:09:28 +00:00
frontends Additional UI logic related to module requires and excludes. 2008-01-10 01:33:24 +00:00
graphics Embedding: display a pin at the top left corner of embedded figures 2008-01-08 16:22:05 +00:00
insets Embedding: fix a crash when extracting InsetInclude 2008-01-09 05:11:16 +00:00
mathed * fix a crash during undo: cloned MathMacroTemplates need updated child insets which point back to the correct (cloned) template. 2008-01-08 10:29:47 +00:00
support Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList 2008-01-08 18:55:34 +00:00
tex2lyx * indention fix 2007-12-23 16:33:34 +00:00
ASpell_local.h Compile fix. 2007-11-29 20:11:54 +00:00
ASpell.cpp * src/ASpell.cpp: 2007-12-17 16:51:23 +00:00
Author.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Author.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
BiblioInfo.cpp Support for nocite, provided by Bernhard Reiter. 2007-12-20 15:46:14 +00:00
BiblioInfo.h Support for nocite, provided by Bernhard Reiter. 2007-12-20 15:46:14 +00:00
Bidi.cpp cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
Bidi.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
boost.cpp header cleanup. 2007-12-16 22:09:28 +00:00
Box.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Box.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
BranchList.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
BranchList.h pimpl not needed here 2007-11-02 23:42:27 +00:00
buffer_funcs.cpp Add characters counting. 2008-01-08 15:18:00 +00:00
buffer_funcs.h Add characters counting. 2008-01-08 15:18:00 +00:00
Buffer.cpp Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList 2008-01-08 18:55:34 +00:00
Buffer.h Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList 2008-01-08 18:55:34 +00:00
BufferList.cpp Now that exceptions are allowed, handle gracefully the case where a Buffer temp directory could not be created. As a bonus, the user will get an informative message. 2007-12-17 18:37:13 +00:00
BufferList.h Now that exceptions are allowed, handle gracefully the case where a Buffer temp directory could not be created. As a bonus, the user will get an informative message. 2007-12-17 18:37:13 +00:00
BufferParams.cpp This commit adds some new functionality to the modules stuff. In particular, it introduces the concept of "required" and "excluded" modules: A given module may require one of some list of modules, or it may be incompatible with some other modules. (Complex Boolean combinations are not supported!!) These facts can be noted in the module file, and the UI responds appropriately: Required and excluded modules are noted in the description, and the "Add" button is enabled only if at least one of the required modules has already been selected and no excluded module is selected. Getting this to work involved a fair bit of cleanup of the existing code---including ways Angus, I think, had already pointed out were required---and also involved changing the syntax of the headers of the module files, but in ways that are probably best anyway. 2008-01-09 18:51:02 +00:00
BufferParams.h Pass by const reference. Thanks Andre and Peter. 2008-01-06 18:17:25 +00:00
BufferView.cpp Embedding: simplify the interface of EmbeddedFiles, which will be later merged to EmbeddedFileList 2008-01-08 18:33:43 +00:00
BufferView.h Introduce LFUN_SCROLL. 2007-12-27 11:37:07 +00:00
Bullet.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Bullet.h
Changes.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Changes.h - Get rid of unneeded time_type typedef. 2007-11-29 08:55:43 +00:00
Chktex.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
Chktex.h
CmdDef.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
CmdDef.h CmdDef: 2007-12-02 22:10:26 +00:00
Color.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Color.h pimpl not needed here 2007-11-02 23:42:27 +00:00
ColorCode.h add a new color to distinguish \newpage from \pagebreak 2007-11-25 21:53:39 +00:00
Converter.cpp header cleanup. 2007-12-16 22:09:28 +00:00
Converter.h dissolve Importer 'class' to LyXFunc/Converter 2007-10-25 06:09:38 +00:00
ConverterCache.cpp header cleanup. 2007-12-16 22:09:28 +00:00
ConverterCache.h more of it 2007-11-07 21:25:22 +00:00
CoordCache.cpp Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
CoordCache.h
Counters.cpp getting rid of more superfluous lyx::support:: statements. 2007-12-12 20:10:20 +00:00
Counters.h
Cursor.cpp * make isInside const 2007-12-22 14:38:20 +00:00
Cursor.h * make isInside const 2007-12-22 14:38:20 +00:00
CursorSlice.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
CursorSlice.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
CutAndPaste.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
CutAndPaste.h Introducing TextClassPtr.h to minimize header dependencies. 2007-11-07 23:25:08 +00:00
DepTable.cpp header cleanup. 2007-12-16 22:09:28 +00:00
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h
DocIterator.cpp * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
DocIterator.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
EmbeddedFiles.cpp Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList 2008-01-08 18:55:34 +00:00
EmbeddedFiles.h Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList 2008-01-08 18:55:34 +00:00
Encoding.cpp Use ErrorList to handle encoding error 2007-12-18 17:51:20 +00:00
Encoding.h Use ErrorList to handle encoding error 2007-12-18 17:51:20 +00:00
ErrorList.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
ErrorList.h introduce a header to forward declare std::string. 2007-10-31 22:40:34 +00:00
Exporter.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
Exporter.h
factory.cpp Cleanup the mess I introduced in rev 22165. This happened frequently lately, I am very sorry! 2007-12-16 11:46:34 +00:00
factory.h some std::string -> filename changes 2007-11-03 17:37:37 +00:00
Floating.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Floating.h
FloatList.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
FloatList.h
Font.cpp * src/output_latex.{cpp,h}: 2007-12-17 10:53:38 +00:00
Font.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
FontEnums.h Splitup Font in saner bits: 2007-10-28 18:51:54 +00:00
FontInfo.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
FontInfo.h GCC Compil fix. 2007-10-28 20:30:41 +00:00
FontIterator.cpp Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
FontIterator.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
FontList.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
FontList.h Fix copy&paste bug. 2007-10-29 12:29:06 +00:00
Format.cpp getting rid of superfluous lyx::support:: statements. 2007-12-12 19:57:42 +00:00
Format.h
FuncRequest.cpp cmake/merge: fix compile, this split conflicts with the others 2007-12-13 21:57:37 +00:00
FuncRequest.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Graph.h
InsetIterator.cpp
InsetIterator.h
InsetList.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetList.h
Intl.cpp Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
Intl.h
ISpell.cpp getting rid of more superfluous lyx::support:: statements. 2007-12-12 20:10:20 +00:00
ISpell.h
KeyMap.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
KeyMap.h cosmetics 2007-11-02 21:27:37 +00:00
KeySequence.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
KeySequence.h
Language.cpp getting rid of more superfluous lyx::support:: statements. 2007-12-12 20:10:20 +00:00
Language.h
LaTeX.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
LaTeX.h
LaTeXFeatures.cpp some more uses of Requires. 2008-01-07 17:32:47 +00:00
LaTeXFeatures.h introduce a header to forward declare std::string. 2007-10-31 22:40:34 +00:00
Layout.cpp *** Requires tag for classes, layouts and custom insets *** 2008-01-07 16:59:10 +00:00
Layout.h *** Requires tag for classes, layouts and custom insets *** 2008-01-07 16:59:10 +00:00
LayoutEnums.h
LayoutPtr.h
Length.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Length.h introduce a header to forward declare std::string. 2007-10-31 22:40:34 +00:00
lengthcommon.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Lexer.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
Lexer.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
lfuns.h polish 2008-01-08 15:48:23 +00:00
LyX.cpp Don't pretend we have multiple menu backends: transfer the singleton to GuiApplication. 2007-12-25 22:27:32 +00:00
LyX.h Sanitize the way we use abort() and exit(). With this commit, we should never crash in release mode, even when assertions are enabled. In debug mode, we crash with abort in order to get a useful backtrace. 2007-12-16 11:34:29 +00:00
LyXAction.cpp Add characters counting. 2008-01-08 15:18:00 +00:00
LyXAction.h --boost; style issues. 2007-11-07 21:52:11 +00:00
lyxfind.cpp * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
lyxfind.h introduce a header to forward declare std::string. 2007-10-31 22:40:34 +00:00
LyXFunc.cpp Rationalize the handling of makeTextClass(). 2008-01-05 17:04:56 +00:00
LyXFunc.h * fix bug 4055, overdue patch from Stefan Schimanski: 2007-12-17 18:13:02 +00:00
LyXRC.cpp Add an RC setting to disable/enable the tooltips in the work area. 2007-12-26 13:52:56 +00:00
LyXRC.h Add an RC setting to disable/enable the tooltips in the work area. 2007-12-26 13:52:56 +00:00
LyXVC.cpp header cleanup. 2007-12-16 22:09:28 +00:00
LyXVC.h * FileName: 2007-11-28 09:01:49 +00:00
lyxwinres.rc
main.cpp remove a few toutf8 conversion that are done by lyxerr nowadays 2007-12-12 20:35:55 +00:00
Makefile.am Add cleanfiles for monolithic builds. 2007-12-10 00:53:12 +00:00
MenuBackend.cpp * src/MenuBackend.cpp (expandFormats): do not add shortcut for 2008-01-07 17:13:38 +00:00
MenuBackend.h * MenuBackend.cpp (binding): remove forgui argument 2008-01-07 10:53:04 +00:00
MetricsInfo.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
MetricsInfo.h Simplify single par drawing: 2007-11-17 11:27:03 +00:00
ModuleList.cpp Additional UI logic related to module requires and excludes. 2008-01-10 01:33:24 +00:00
ModuleList.h This commit adds some new functionality to the modules stuff. In particular, it introduces the concept of "required" and "excluded" modules: A given module may require one of some list of modules, or it may be incompatible with some other modules. (Complex Boolean combinations are not supported!!) These facts can be noted in the module file, and the UI responds appropriately: Required and excluded modules are noted in the description, and the "Add" button is enabled only if at least one of the required modules has already been selected and no excluded module is selected. Getting this to work involved a fair bit of cleanup of the existing code---including ways Angus, I think, had already pointed out were required---and also involved changing the syntax of the headers of the module files, but in ways that are probably best anyway. 2008-01-09 18:51:02 +00:00
Mover.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
Mover.h Simplify Movers API and port to FileName. 2007-12-13 08:20:45 +00:00
output_docbook.cpp header cleanup. 2007-12-16 22:09:28 +00:00
output_docbook.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
output_latex.cpp * src/output_latex.{cpp,h}: 2007-12-17 10:53:38 +00:00
output_latex.h * src/output_latex.{cpp,h}: 2007-12-17 10:53:38 +00:00
output_plaintext.cpp Following rev 21967: final touch to odocfstream: 2007-12-29 18:04:43 +00:00
output_plaintext.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
output.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
output.h
OutputParams.cpp
OutputParams.h
paper.h
paragraph_funcs.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
paragraph_funcs.h
Paragraph.cpp *** Requires tag for classes, layouts and custom insets *** 2008-01-07 16:59:10 +00:00
Paragraph.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
ParagraphList.h
ParagraphMetrics.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
ParagraphMetrics.h Simplify single par drawing: 2007-11-17 11:27:03 +00:00
ParagraphParameters.cpp getting rid of superfluous lyx::support:: statements. 2007-12-12 19:57:42 +00:00
ParagraphParameters.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
ParIterator.cpp
ParIterator.h Add ParIterator FIXME. 2008-01-09 13:14:14 +00:00
pch.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
PDFOptions.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
PDFOptions.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
PrinterParams.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
PrinterParams.h
PSpell.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
PSpell.h
Row.cpp Code simplification. We don't need to memorize the current Row hfill anymore. 2007-12-06 08:39:42 +00:00
Row.h Code simplification. We don't need to memorize the current Row hfill anymore. 2007-12-06 08:39:42 +00:00
rowpainter.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
rowpainter.h Cleanup Hfill metrics and painting. InsetHFill is now treated almost like any other inset. 2007-12-05 22:25:07 +00:00
Section.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Section.h
Server.cpp header cleanup. 2007-12-16 22:09:28 +00:00
Server.h
ServerSocket.cpp header cleanup. 2007-12-16 22:09:28 +00:00
ServerSocket.h
Session.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
Session.h some de-boostification 2007-11-02 19:59:08 +00:00
sgml.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
sgml.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
Spacing.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Spacing.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
SpellBase.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
SpellBase.h introduce a header to forward declare std::string. 2007-10-31 22:40:34 +00:00
TexRow.cpp Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
TexRow.h
TexStream.cpp Compile fix 2007-12-12 20:21:09 +00:00
TexStream.h
Text2.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Text3.cpp * newlyxcommand support as LaTeX feature 2007-12-23 16:32:00 +00:00
Text.cpp * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
Text.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
TextClass.cpp * src/TextClass.cpp: 2008-01-08 09:14:44 +00:00
TextClass.h *** Requires tag for classes, layouts and custom insets *** 2008-01-07 16:59:10 +00:00
TextClassList.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
TextClassList.h forgot this 2007-11-07 21:59:19 +00:00
TextClassPtr.h Introducing TextClassPtr.h to minimize header dependencies. 2007-11-07 23:25:08 +00:00
TextMetrics.cpp * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
TextMetrics.h * compile fix 2007-12-21 09:19:19 +00:00
Thesaurus.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Thesaurus.h
TocBackend.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
TocBackend.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
ToolbarBackend.cpp * disable "auto" again until that point is discussed on the mailing list 2007-12-23 00:50:21 +00:00
ToolbarBackend.h * correction of comment 2007-12-23 00:49:44 +00:00
Trans.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
Trans.h
Undo.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Undo.h
update_flags.h Current update architecture doesn't need multiParSel() special case anymore. 2007-11-06 09:34:16 +00:00
Variables.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Variables.h
VCBackend.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
VCBackend.h s/isFileReadable/isReadableFile; 2007-11-25 11:18:16 +00:00
version.cpp Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
version.h
VSpace.cpp cosmetics 2007-12-12 22:43:37 +00:00
VSpace.h
WordLangTuple.h