lyx_mirror/src
Richard Heck 4c95238626 Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag
IsPredefined.

The point of this is that the current tag is doing both of these jobs,
and they are different. The achemso class shows this, since it uses
float.sty to define three different kinds of floats internally. We have
to set NeedsFloatPkg to false to prevent LyX from trying to redefine
them, but then we complain that there is no list command defined and so
do not enter it in Insert>List/TOC.

The new tag is not yet functional, just there.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37430 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:28:47 +00:00
..
client Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
frontends Fix bug #7224. This allows two different floats to declare the same 2011-02-02 17:11:56 +00:00
graphics Fix bug #6720 (Better error handling of instant preview) 2011-01-20 23:39:08 +00:00
insets Just some renaming, preparatory to disentangling two jobs the current 2011-02-02 22:15:52 +00:00
lyxled
mathed Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
support In order to avoid code replication, use a template-based solution for 2011-01-29 19:44:53 +00:00
tex2lyx Improve roundtrip of Customization.lyx: 2011-01-28 21:20:48 +00:00
AppleSpellChecker.cpp non-system languages from cocoAspell are enumerated with long names - therefore a mapping from lang code to name is needed 2010-12-20 20:40:32 +00:00
AppleSpellChecker.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
AspellChecker.cpp #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
AspellChecker.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
Author.cpp Author: cosmetics. 2010-11-17 16:12:43 +00:00
Author.h Author: cosmetics. 2010-11-17 16:12:43 +00:00
BiblioInfo.cpp Fix output of HTML tags in bibliography info. 2010-09-15 13:50:17 +00:00
BiblioInfo.h Fix output of HTML tags in bibliography info. 2010-09-15 13:50:17 +00:00
Bidi.cpp
Bidi.h
boost.cpp
Box.cpp
Box.h
BranchList.cpp Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode. 2011-01-06 18:40:39 +00:00
BranchList.h make branch-add-insert aware of the separator ("|") [bug #6621] 2010-06-14 13:39:08 +00:00
buffer_funcs.cpp detect end of paragraph and use it as word separator to correct the word count in tables - thanks, JMarc 2010-12-02 16:50:12 +00:00
buffer_funcs.h
Buffer.cpp Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
Buffer.h fix some typos. Patch by Yuri Chornoivan. 2010-12-29 16:57:04 +00:00
BufferList.cpp BufferList should not determine that the current author has id = 0. This should really be in AuthorList. Besides BufferList shouldn't have to create an Author by itself. 2010-10-29 19:27:55 +00:00
BufferList.h BufferList should not determine that the current author has id = 0. This should really be in AuthorList. Besides BufferList shouldn't have to create an Author by itself. 2010-10-29 19:27:55 +00:00
BufferParams.cpp * BufferParams.{cpp,h}: 2011-02-01 14:00:23 +00:00
BufferParams.h * BufferParams.{cpp,h}: 2011-02-01 14:00:23 +00:00
BufferView.cpp Unify handling of pass thru insets and paragraphs by introducing Paragraph::isPassThru. Many lfuns are now disabled in sweave chunks. 2011-01-26 11:04:42 +00:00
BufferView.h Fix bug #7068 (Crash when pressing down arrow in an equation when there is a suggestion) 2010-11-30 03:54:29 +00:00
Bullet.cpp
Bullet.h
Changes.cpp Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
Changes.h Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
Chktex.cpp support: 2010-04-21 01:19:28 +00:00
Chktex.h
Citation.h
CmdDef.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
CmdDef.h
Color.cpp Import notefontcolor (one more step towards a working roundtrip for the LyX documentation) 2011-01-14 20:00:55 +00:00
Color.h Import notefontcolor (one more step towards a working roundtrip for the LyX documentation) 2011-01-14 20:00:55 +00:00
ColorCode.h Removal of this color was forgotten. 2010-12-04 22:41:50 +00:00
ColorSet.h
Compare.cpp Next headers 2010-03-31 19:38:05 +00:00
Compare.h Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized. 2010-01-27 18:10:33 +00:00
CompletionList.h
Converter.cpp Finish fixing bug #6623 (Sweave cannot read local files) 2011-01-27 11:14:32 +00:00
Converter.h * configure.py: 2010-11-30 09:49:28 +00:00
ConverterCache.cpp support: 2010-04-21 01:19:28 +00:00
ConverterCache.h
CoordCache.cpp
CoordCache.h
Counters.cpp OK, the previous idea, that we don't need to check the masters of other 2011-01-13 01:47:41 +00:00
Counters.h OK, the previous idea, that we don't need to check the masters of other 2011-01-13 01:47:41 +00:00
Cursor.cpp Code simplification (thx Vincent). 2011-01-28 09:52:12 +00:00
Cursor.h Completing r37335 (apologies). 2011-01-27 00:43:25 +00:00
CursorSlice.cpp
CursorSlice.h Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized. 2010-01-27 18:10:33 +00:00
CutAndPaste.cpp Unify handling of pass thru insets and paragraphs by introducing Paragraph::isPassThru. Many lfuns are now disabled in sweave chunks. 2011-01-26 11:04:42 +00:00
CutAndPaste.h
DepTable.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h Use DispatchResult also in GuiView::dispatchVC to handle messages. 2010-10-17 10:44:53 +00:00
DocIterator.cpp Fix bug #6989: Be somewhat more secure with the homebrew dynamic asserts that were changed in r35855. 2010-10-27 07:04:58 +00:00
DocIterator.h
EnchantChecker.cpp add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
EnchantChecker.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
Encoding.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
Encoding.h Avoid unnecessary exceptions. 2010-02-19 16:31:15 +00:00
ErrorList.cpp
ErrorList.h
Exporter.cpp Exporter.cpp: revert r34230 because this interferes with Enrico's new LyXVC feature to setup what LyX should do on export 2010-04-21 01:54:08 +00:00
Exporter.h
factory.cpp fix bug 6698 2010-11-26 17:14:21 +00:00
factory.h
Floating.cpp Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag 2011-02-02 22:28:47 +00:00
Floating.h Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag 2011-02-02 22:28:47 +00:00
FloatList.cpp Some cleanup for the Floating class. 2010-03-04 13:42:05 +00:00
FloatList.h
Font.cpp Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
Font.h Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
FontEnums.h support for formal math script 2010-07-17 15:51:11 +00:00
FontInfo.cpp support for formal math script 2010-07-17 15:51:11 +00:00
FontInfo.h Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized. 2010-01-27 18:10:33 +00:00
FontList.cpp add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
FontList.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
Format.cpp Remove support for viewing URLs from hyperlinks. This is a security 2010-12-09 17:55:11 +00:00
Format.h fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
FuncCode.h Fix inserting subscript/superscript with nonempty selection by creating a dedicated lfun: 2010-11-23 20:09:08 +00:00
FuncRequest.cpp whitespace 2010-11-29 10:48:40 +00:00
FuncRequest.h Swap the argument_ and action_ variables, so that r34105 really does do 2010-04-12 15:40:51 +00:00
FuncStatus.cpp Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it. 2010-04-16 12:15:27 +00:00
FuncStatus.h Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it. 2010-04-16 12:15:27 +00:00
Graph.cpp Use the typedef. 2011-01-19 14:29:46 +00:00
Graph.h Must be a vestige of some earlier code.... 2011-01-19 14:58:20 +00:00
HSpace.cpp
HSpace.h
HunspellChecker.cpp #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
HunspellChecker.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
IndicesList.cpp Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode. 2011-01-06 18:40:39 +00:00
IndicesList.h *List.h: Move the class documentation into the lyx::namespace to be picked up correctly by doxy. 2010-05-03 13:36:19 +00:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp Move bind file format tag to LyXAction.cpp, and rename it. 2011-01-18 15:07:26 +00:00
KeyMap.h Conversion routines for bind files. 2011-01-16 19:53:36 +00:00
KeySequence.cpp
KeySequence.h
Language.cpp fix bug #6584 2010-12-03 17:48:06 +00:00
Language.h fix bug #6584 2010-12-03 17:48:06 +00:00
LaTeX.cpp * LaTeX.cpp: recognize etaremune rerun request. 2011-01-24 09:47:58 +00:00
LaTeX.h
LaTeXFeatures.cpp Just some renaming, preparatory to disentangling two jobs the current 2011-02-02 22:15:52 +00:00
LaTeXFeatures.h * resolve conflicts of XeTeX with AMS by loading all AMS packages before fontspec. See 2010-12-08 18:42:10 +00:00
Layout.cpp make i18npreamble work with polyglossia. 2010-12-08 12:10:22 +00:00
Layout.h make i18npreamble work with polyglossia. 2010-12-08 12:10:22 +00:00
LayoutEnums.h add support for decimal alignment in tables 2010-06-05 07:44:44 +00:00
LayoutFile.cpp Move the error message out of LayoutFileList::load() and have it be 2010-07-28 21:03:27 +00:00
LayoutFile.h Grant a long-standing wish of Lars's: LyX now functions even if we have 2010-04-07 17:02:44 +00:00
LayoutModuleList.cpp Typo from Sven 2010-05-17 20:56:12 +00:00
LayoutModuleList.h
Length.cpp Length.cpp: fix sort order - in all other files we have PTH before PPH 2010-07-25 00:17:48 +00:00
Length.h
lengthcommon.cpp Disentangle various "in"s 2010-11-30 00:55:34 +00:00
Lexer.cpp Fix bug #6868: LYXCMD:xxx:inset-insert:graphics does not parse correctly 2010-08-28 16:46:54 +00:00
Lexer.h Clarify and add some comments. 2010-03-29 18:00:26 +00:00
LyX.cpp introduce the lyx_dir() of Package, automatically set LyXDir environment, correct the replaceEnvironmentPath() function (see #4177) and replace environment variables in path_prefix at runtime 2011-01-25 21:10:49 +00:00
LyX.h Don't try to convert any of the preference files except the user's own. 2011-01-17 15:54:51 +00:00
LyXAction.cpp Update doxy for selection-paste. 2011-01-04 01:41:53 +00:00
LyXAction.h Move bind file format tag to LyXAction.cpp, and rename it. 2011-01-18 15:07:26 +00:00
lyxfind.cpp Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
lyxfind.h Fix up some of the find and replace code again. This solves a bug 2010-10-14 14:32:58 +00:00
LyXRC.cpp Don't try to convert any of the preference files except the user's own. 2011-01-17 15:54:51 +00:00
LyXRC.h Don't try to convert any of the preference files except the user's own. 2011-01-17 15:54:51 +00:00
LyXVC.cpp check for user cancel or errors on vcs revert before reload of buffer in LFUN_VC_REVERT 2010-11-06 11:54:08 +00:00
LyXVC.h Load mhchem if it is requested unconditionally, fix some typos 2010-11-21 18:07:04 +00:00
lyxwinres.rc Update years 2011-01-21 13:24:23 +00:00
main.cpp Remove unneeded include. 2010-11-17 16:14:26 +00:00
Makefile.am #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
MetricsInfo.cpp Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
MetricsInfo.h Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
ModuleList.cpp Fix bug #7044: Better error messages when modules are unavailable. Patch 2011-01-13 21:19:14 +00:00
ModuleList.h Fix bug #7044: Better error messages when modules are unavailable. Patch 2011-01-13 21:19:14 +00:00
Mover.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
Mover.h
output_docbook.cpp Next headers 2010-03-31 19:38:05 +00:00
output_docbook.h
output_latex.cpp Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
output_latex.h Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp Compile fix for r36670. 2010-12-03 02:42:25 +00:00
output_xhtml.h No need for two different containers here. 2010-12-02 22:11:52 +00:00
output.cpp
output.h
OutputEnums.h Add OutputEnums.h. This enum will shortly replace some magic booleans 2010-01-20 19:41:44 +00:00
OutputParams.cpp Revert r37092. The fix was wrong. 2011-01-06 13:41:50 +00:00
OutputParams.h Revert r37092. The fix was wrong. 2011-01-06 13:41:50 +00:00
paper.h support for the ISO C-series paper formats; fileformat change 2010-07-13 01:06:20 +00:00
Paragraph.cpp isWordSeparator crashes when checking end-of-paragraph 2011-01-30 07:17:48 +00:00
Paragraph.h restore the correct behavior of suppression of misspelled marker for word at cursor position - the change r37340 broke it 2011-01-29 12:28:02 +00:00
ParagraphList.h
ParagraphMetrics.cpp * Introduce polyglossia support (bug 6576). 2010-11-22 12:10:16 +00:00
ParagraphMetrics.h
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
pch.h
PDFOptions.cpp PDFOptions.cpp: revert r37111 because this broke the compilation of some documentation files 2011-01-05 23:23:18 +00:00
PDFOptions.h * handle encoding in PDF options gracefully. 2010-03-01 17:39:41 +00:00
PersonalWordList.cpp revert change 37018 for PersonalWordList.cpp, commiting it was a mistake 2010-12-27 22:05:37 +00:00
PersonalWordList.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
PrinterParams.cpp
PrinterParams.h
Row.cpp
Row.h
rowpainter.cpp restore the correct behavior of suppression of misspelled marker for word at cursor position - the change r37340 broke it 2011-01-29 12:28:02 +00:00
rowpainter.h #7120 the painter expects a float as line_thickness_, simplify initial computation of line_thickness_ and line_offset_ 2010-12-15 07:12:42 +00:00
Server.cpp Compile fix for windows for r36278. 2010-11-14 16:27:08 +00:00
Server.h The "single instance" patch. 2010-11-13 11:55:05 +00:00
ServerSocket.cpp msvcUsing "using namespace std" with msvc10 makes also std::tr1::shared_ptr visible and generates conflicts with boost::shared_ptr. 2010-04-22 11:37:32 +00:00
ServerSocket.h msvcUsing "using namespace std" with msvc10 makes also std::tr1::shared_ptr visible and generates conflicts with boost::shared_ptr. 2010-04-22 11:37:32 +00:00
Session.cpp No need for a deque here. 2010-12-04 23:18:52 +00:00
Session.h No need for a deque here. 2010-12-04 23:18:52 +00:00
sgml.cpp Make the new argument to step() mandatory, and add a comment to 2010-01-20 19:47:27 +00:00
sgml.h
Spacing.cpp
Spacing.h
SpellChecker.h remove not needed class name for enums, whitespace 2010-12-01 08:25:17 +00:00
TexRow.cpp Attempt on #6655. 2010-04-16 18:52:40 +00:00
TexRow.h Patch by John McCabe-Dansted to fix bug #6502: 2010-02-08 17:39:55 +00:00
TexStream.cpp
TexStream.h
Text2.cpp Some cosmetics (from my local cosmetics branch). 2010-10-18 14:20:03 +00:00
Text3.cpp Just some renaming, preparatory to disentangling two jobs the current 2011-02-02 22:15:52 +00:00
Text.cpp Remove obsolete comments. 2011-01-12 13:40:47 +00:00
Text.h Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
TextClass.cpp Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag 2011-02-02 22:28:47 +00:00
TextClass.h Fix problem reported by Vincent, that absence of python can cause 2010-07-18 11:58:38 +00:00
TextMetrics.cpp Fix bug #2743. 2010-11-26 17:30:45 +00:00
TextMetrics.h Remove leftover of r36485. 2010-12-06 00:25:45 +00:00
Thesaurus.cpp * Thesaurus.cpp: fix synonym collection. 2010-09-13 16:15:15 +00:00
Thesaurus.h * Spellchecker dialog: 2010-02-10 08:10:31 +00:00
TocBackend.cpp Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
TocBackend.h Fix bug #6672 (part 2): Add tooltips to the outliner. 2010-04-26 00:43:08 +00:00
Trans.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
Trans.h
Undo.cpp #7208 reset undo group level in Undo::clear() too 2011-01-10 09:44:55 +00:00
Undo.h Clear undo/redo stack when reloading buffer. This fixes #7208. 2011-01-09 17:55:16 +00:00
update_flags.h
VCBackend.cpp Stephan, I changed this string since the previous version was strange. 2010-11-30 00:23:34 +00:00
VCBackend.h Comment 2010-11-06 12:32:47 +00:00
version.cpp
version.h
VSpace.cpp Initialize number_index and unit_index in isValidGlueLength(). This is now the same as in isValidLength(), so I assume it's OK. 2010-03-10 16:35:40 +00:00
VSpace.h
WordLangTuple.h Fix bug #6561: Crash when using Spellchecker's language box when cursor is in math. 2010-11-10 20:06:21 +00:00
WordList.cpp
WordList.h