lyx_mirror/src
Abdelrazak Younes c3890f1377 small code cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22830 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 09:51:49 +00:00
..
client header cleanup. 2007-12-16 22:09:28 +00:00
frontends small code cleanup 2008-02-07 09:51:49 +00:00
graphics Embedding: display a pin at the top left corner of embedded figures 2008-01-08 16:22:05 +00:00
insets Make right click open minimalistic insets. See bug 4400. 2008-02-05 23:29:15 +00:00
mathed The core is now clean enough that we don't need the NoGuiFontLoader/Metrics anymore... 2008-02-07 09:12:19 +00:00
support * LinkBack support files, now in pure Objective-C (without any Objective-C++ which is not supported by automake) 2008-02-03 10:41:23 +00:00
tex2lyx header cleanup 2008-01-14 23:17:24 +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 Handle the case where a file exists but is not readable by the current user. 2008-01-26 20:37:54 +00:00
buffer_funcs.h There was a bit too much copying of dociterators gpoing on leading to an 2008-01-12 21:38:51 +00:00
Buffer.cpp header cleanup 2008-02-07 09:00:49 +00:00
Buffer.h There was a bit too much copying of dociterators gpoing on leading to an 2008-01-12 21:38:51 +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 Use a set<string> instead of a vecctor<string> for list of features. This 2008-02-01 15:12:04 +00:00
BufferParams.h * src/BufferParams.{cpp,h}: 2008-01-25 12:54:25 +00:00
BufferView.cpp header cleanup 2008-02-07 08:58:35 +00:00
BufferView.h Fix scrolling to top and bottom of the document. 2008-01-29 09:51:12 +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 * src/BufferParams.{cpp,h}: 2008-01-25 12:54:25 +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 Move private part of BufferView to a private implementation. 2007-10-11 09:59:01 +00:00
Counters.cpp getting rid of more superfluous lyx::support:: statements. 2007-12-12 20:10:20 +00:00
Counters.h
Cursor.cpp There was a bit too much copying of dociterators gpoing on leading to an 2008-01-12 21:38:51 +00:00
Cursor.h There was a bit too much copying of dociterators gpoing on leading to an 2008-01-12 21:38:51 +00:00
CursorSlice.cpp * CursorSlice::lastpos(): check for text emptiness (should fix a crash when releasing an empty buffer). 2008-01-10 08:46:04 +00:00
CursorSlice.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
CutAndPaste.cpp * Do not keep pointers to data structures around if you don't know 2008-02-05 10:34:01 +00:00
CutAndPaste.h * Support for graphics pasting (with most code in the frontend's GuiClipboard) 2008-02-03 10:43:03 +00:00
DepTable.cpp header cleanup. 2007-12-16 22:09:28 +00:00
DepTable.h
Dimension.cpp
Dimension.h Move private part of BufferView to a private implementation. 2007-10-11 09:59:01 +00:00
DispatchResult.h
DocIterator.cpp Five more percent. 2008-01-12 23:08:21 +00:00
DocIterator.h rewrite comment explaining DocIterator's boundary_ 2008-01-31 22:50:16 +00:00
EmbeddedFiles.cpp * Partly reverting r22619 by Bo which broke the loading of documents 2008-01-26 00:47:46 +00:00
EmbeddedFiles.h Embedding: saving inzip name to .lyx file so that embedded files can always be found under different operating systems (even lyx versions). yet to be tested under windows 2008-01-10 23:39:58 +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 saner borderline between buffer and exporter 2007-10-20 10:51:13 +00:00
factory.cpp * Do not keep pointers to data structures around if you don't know 2008-02-05 10:34:01 +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 * Support for graphics pasting (with most code in the frontend's GuiClipboard) 2008-02-03 10:43:03 +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 cosmetics 2008-01-12 16:40:25 +00:00
InsetList.h * InsetList: introducing find() and count() 2007-10-24 15:32:43 +00:00
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 add another format (BindFile) to KeySequence::print() 2007-10-20 20:28:05 +00:00
Language.cpp getting rid of more superfluous lyx::support:: statements. 2007-12-12 20:10:20 +00:00
Language.h
LaTeX.cpp * src/LaTeX.cpp: 2008-01-17 10:04:48 +00:00
LaTeX.h
LaTeXFeatures.cpp * src/LaTeXFeatures.cpp: 2008-02-03 17:26:46 +00:00
LaTeXFeatures.h Use a set<string> instead of a vecctor<string> for list of features. This 2008-02-01 15:12:04 +00:00
Layout.cpp Use a set<string> instead of a vecctor<string> for list of features. This 2008-02-01 15:12:04 +00:00
Layout.h Use a set<string> instead of a vecctor<string> for list of features. This 2008-02-01 15:12:04 +00:00
LayoutEnums.h
LayoutPtr.h cosmetics 2007-10-23 21:41:17 +00:00
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 header cleanup 2008-01-14 23:16:58 +00:00
Lexer.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
lfuns.h Add LFUN_MENUBAR_TOGGLE and LFUN_STATUSBAR_TOGGLE. 2008-02-06 17:54:04 +00:00
LyX.cpp Fix crash with command line export 2008-02-07 08:57:12 +00:00
LyX.h Transfer some GUI oriented code from core to frontend. 2008-02-06 23:02:57 +00:00
LyXAction.cpp * Doxy add. 2008-02-06 19:23:08 +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 header cleanup 2008-02-07 08:58:35 +00:00
LyXFunc.h Transfer some GUI oriented code from core to frontend. 2008-02-06 23:54:13 +00:00
LyXRC.cpp * a configuration value for the mouse wheel scrolling speed: 2008-01-30 21:20:29 +00:00
LyXRC.h * a configuration value for the mouse wheel scrolling speed: 2008-01-30 21:20:29 +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 This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are. 2008-01-12 04:28:12 +00:00
ModuleList.h This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are. 2008-01-12 04:28:12 +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 ** Fix language switch issue introduced by the CJK patch ** 2008-01-25 13:27:08 +00:00
output_latex.h ** Fix language switch issue introduced by the CJK patch ** 2008-01-25 13:27:08 +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 Verbatim for URL inset, \protect for special phrases (index inset) 2007-10-20 17:05:28 +00:00
OutputParams.h * Paragraph: 2007-10-22 13:09:16 +00:00
paper.h
paragraph_funcs.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
paragraph_funcs.h cosmetics 2007-10-21 10:50:56 +00:00
Paragraph.cpp Use a set<string> instead of a vecctor<string> for list of features. This 2008-02-01 15:12:04 +00:00
Paragraph.h * src/Text.cpp (changeCase): do not set the selection if it was not 2008-01-28 10:50:24 +00:00
ParagraphList.h
ParagraphMetrics.cpp header cleanup 2008-01-14 23:45:47 +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 There was a bit too much copying of dociterators gpoing on leading to an 2008-01-12 21:38:51 +00:00
ParIterator.h There was a bit too much copying of dociterators gpoing on leading to an 2008-01-12 21:38:51 +00:00
pch.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
PDFOptions.cpp PDFoptions: improve the functionality in case the hyperrref is 2008-01-24 01:20:51 +00:00
PDFOptions.h PDFoptions: improve the functionality in case the hyperrref is 2008-01-24 01:20:51 +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 RowPainter::paintLast(): microptimisation and comments. 2008-01-29 07:31:24 +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 Move spacing code around (and fix a bug) 2008-01-22 08:41:45 +00:00
Spacing.h Move spacing code around (and fix a bug) 2008-01-22 08:41:45 +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 * Support for graphics pasting (with most code in the frontend's GuiClipboard) 2008-02-03 10:43:03 +00:00
Text.cpp * src/Text.cpp (changeCase): do not set the selection if it was not 2008-01-28 10:50:24 +00:00
Text.h * Lazy MathData to avoid unneeded interpretation of macro definitions 2007-12-21 20:42:46 +00:00
TextClass.cpp Tex2lyx Compile fix: use Exception Message instead of frontend::Alert. Richard, please verify that the thrown exceptions are correctly caught by the caller in tex2lyx and in lyx. 2008-02-06 09:46:48 +00:00
TextClass.h Use a set<string> instead of a vecctor<string> for list of features. This 2008-02-01 15:12:04 +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 * first check if empty, then set the pit. Otherwise we have a segfault before the assert 2008-02-06 11:26: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 * add "auto" flag for toolbars 2008-01-22 22:56:10 +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 Refactor Undo/Redo framework into an Undo class owned by a Buffer. This reduces header dependencies from Undo.h which was including lots of stuff previously. This also solves the bug where undo/redo were reset upon buffer switching. Now, each buffer has a truly independant undo/redo architecture. 2007-10-18 11:51:17 +00:00
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