lyx_mirror/src/insets
Jürgen Spitzmüller 9e5eebc14c *** Requires tag for classes, layouts and custom insets ***
* src/TextClass{cpp,h}:
	- implement Requires tag for class and InsetLayout.
* src/Layout.{cpp,h}:
	- implement Requires tag for layouts.
	- increase layouts format to 6.
* src/Paragraph.cpp:
	- request required features for paragraph layouts.
* src/LaTeXFeatures.cpp:
	- add some packages needed by modules.
	- remove Preamble method for InsetLayout. This is now done
	  in InsetFlex::validate.
* src/BufferParams.cpp (validate):
	- request required features for the class.
* src/insets/InsetLayout.h:
	- new member "requires".
* src/insets/InsetFlex.{cpp,h}:
	- implement validate method and request required features and preamble snippets.

* lib/layouts/*.{layout,module,inc}:
	- increase layouts format to 6.
	- use Requires tags in some modules (more can be done later).

* lib/doc/Customization.lyx:
	- document Requires tag.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 16:59:10 +00:00
..
ExternalSupport.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
ExternalSupport.h Fix bug 3240 2007-02-15 21:22:40 +00:00
ExternalTemplate.cpp getting rid of superfluous lyx::support:: statements. 2007-12-12 19:57:42 +00:00
ExternalTemplate.h boost/utility -> boost/noncopyable 2007-09-30 15:47:00 +00:00
ExternalTransforms.cpp getting rid of superfluous lyx::support:: statements. 2007-12-12 19:57:42 +00:00
ExternalTransforms.h rename/merge LyXLength related stuff 2007-04-28 12:58:49 +00:00
Inset.cpp initial basic context menu support. 2007-12-26 12:40:58 +00:00
Inset.h initial basic context menu support. 2007-12-26 12:40:58 +00:00
InsetBibitem.cpp getting rid of superfluous lyx::support:: statements. 2007-12-12 19:57:42 +00:00
InsetBibitem.h 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. 2007-10-25 04:13:56 +00:00
InsetBibtex.cpp Support for \nocite* from Berhard Reiter. Increments file format to 210. 2007-12-28 16:56:57 +00:00
InsetBibtex.h Introducing FileNameList, cleanup some headers and put back dirList() into FileName. 2007-12-05 10:32:49 +00:00
InsetBox.cpp fix compilation warnings: more unused parameters 2008-01-03 16:10:44 +00:00
InsetBox.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
InsetBranch.cpp * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
InsetBranch.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
InsetCaption.cpp * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
InsetCaption.h Adjust headers. 2007-11-07 23:34:45 +00:00
InsetCitation.cpp Support for nocite, provided by Bernhard Reiter. 2007-12-20 15:46:14 +00:00
InsetCitation.h 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. 2007-10-25 04:13:56 +00:00
InsetCode.h support for \pagebreak: 2007-11-23 02:10:00 +00:00
InsetCollapsable.cpp fix compilation warnings: more unused parameters 2008-01-03 16:10:44 +00:00
InsetCollapsable.h Implement tooltips for visible insets. 2007-12-25 18:53:38 +00:00
InsetCommand.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetCommand.h 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. 2007-10-25 04:13:56 +00:00
InsetCommandParams.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetCommandParams.h remove unneeded include 2007-10-29 23:05:18 +00:00
InsetEnvironment.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetEnvironment.h cosmetics 2007-10-23 21:41:17 +00:00
InsetERT.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
InsetERT.h Further cleanup of InsetFlex, InsetCollapsable and InsetLayout: 2007-11-03 00:35:07 +00:00
InsetExternal.cpp Embedding: After another round of EmbeddedFiles changes, embedded figures should more or less work now. 2008-01-07 03:34:21 +00:00
InsetExternal.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
InsetFlex.cpp *** Requires tag for classes, layouts and custom insets *** 2008-01-07 16:59:10 +00:00
InsetFlex.h *** Requires tag for classes, layouts and custom insets *** 2008-01-07 16:59:10 +00:00
InsetFloat.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
InsetFloat.h * some warnings less 2007-12-24 14:13:10 +00:00
InsetFloatList.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetFloatList.h 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. 2007-10-25 04:13:56 +00:00
InsetFoot.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetFoot.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
InsetFootlike.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetFootlike.h * some warnings less 2007-12-24 14:13:10 +00:00
InsetGraphics.cpp Embedding: After another round of EmbeddedFiles changes, embedded figures should more or less work now. 2008-01-07 03:34:21 +00:00
InsetGraphics.h Use forceLTR instead of inset codes in order to determine whether an inset 2007-11-05 23:44:47 +00:00
InsetGraphicsParams.cpp Embedding: After another round of EmbeddedFiles changes, embedded figures should more or less work now. 2008-01-07 03:34:21 +00:00
InsetGraphicsParams.h Minor format fix 2008-01-06 16:24:19 +00:00
InsetHFill.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetHFill.h Cleanup Hfill metrics and painting. InsetHFill is now treated almost like any other inset. 2007-12-05 22:25:07 +00:00
InsetHyperlink.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
InsetHyperlink.h Use forceLTR instead of inset codes in order to determine whether an inset 2007-11-05 23:44:47 +00:00
InsetInclude.cpp Embedding: temporarily disable embedding for include and external insets (focusing on graphics) 2008-01-05 04:44:41 +00:00
InsetInclude.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
InsetIndex.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetIndex.h Implement ForceLtR; cleanup of collapsable insets 2007-10-30 12:30:46 +00:00
InsetInfo.cpp Don't pretend we have multiple menu backends: transfer the singleton to GuiApplication. 2007-12-25 22:27:32 +00:00
InsetInfo.h Add buffer name/path/class to InsetInfo 2007-12-19 18:09:00 +00:00
InsetLabel.cpp getting rid of superfluous lyx::support:: statements. 2007-12-12 19:57:42 +00:00
InsetLabel.h 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. 2007-10-25 04:13:56 +00:00
InsetLayout.h *** Requires tag for classes, layouts and custom insets *** 2008-01-07 16:59:10 +00:00
InsetLine.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetLine.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
InsetListings.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
InsetListings.h * some warnings less 2007-12-24 14:13:10 +00:00
InsetListingsParams.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetListingsParams.h Add bypass validation checkboxes to listings related dialogs 2007-06-12 17:10:28 +00:00
InsetMarginal.cpp Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
InsetMarginal.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
InsetNewline.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetNewline.h translating empty strings is not a good idea 2008-01-04 15:44:51 +00:00
InsetNewpage.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetNewpage.h Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
InsetNomencl.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetNomencl.h 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. 2007-10-25 04:13:56 +00:00
InsetNote.cpp * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
InsetNote.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
InsetOptArg.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetOptArg.h Add InsetOptArg to standard insets. 2007-11-15 15:40:01 +00:00
InsetQuotes.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
InsetQuotes.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
InsetRef.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetRef.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
InsetSpace.cpp * src/insets/InsetSpace.cpp: 2007-12-26 10:38:59 +00:00
InsetSpace.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
InsetSpecialChar.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetSpecialChar.h Support for \slash and \nobreakdash- 2007-12-06 11:04:56 +00:00
InsetTabular.cpp Fix multiple cell pasting on Windows and Mac (bug 4436): 2007-12-28 15:56:05 +00:00
InsetTabular.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
InsetText.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetText.h * some warnings less 2007-12-24 14:13:10 +00:00
InsetTheorem.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetTheorem.h * some warnings less 2007-12-24 14:13:10 +00:00
InsetTOC.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
InsetTOC.h 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. 2007-10-25 04:13:56 +00:00
InsetVSpace.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetVSpace.h Remove remnant of the past. 2007-09-25 07:41:03 +00:00
InsetWrap.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetWrap.h * some warnings less 2007-12-24 14:13:10 +00:00
MailInset.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
MailInset.h rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
RenderBase.h remove spurious include 2007-11-23 22:41:07 +00:00
RenderButton.cpp Splitup Font in saner bits: 2007-10-28 18:51:54 +00:00
RenderButton.h * Inset: 2007-09-21 20:39:47 +00:00
RenderGraphic.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
RenderGraphic.h * Inset: 2007-09-21 20:39:47 +00:00
RenderPreview.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
RenderPreview.h * Inset: 2007-09-21 20:39:47 +00:00