lyx_mirror/src
Richard Heck 1d2cf2771a Fix comment.
By the way, this is extremely inefficient. We have e.g. this code in
Buffer.cpp:
	string target = func.getArg(0);
	string target_name = func.getArg(1);
	string command = func.getArg(2);
As a result, we parse the argument string three times! It seems to me
that we should either (a) expose a "getArgs" routine that returns a
vector<string> and let the caller extract them by position:
	vector<string> args = func.getArgs();
	string target = args[0];
	etc;
or (b) cache the vector<string> in the FuncRequest object itself. The
latter wouldn't in fact require much memory, because these objects are
generally short-lived. 

Opinions?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32771 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 15:21:22 +00:00
..
client Don't rely on the signal delivered by raise(), as this may cause a bogus 2009-08-14 13:19:02 +00:00
frontends Asynchronous preview: cancel too close preview or update calls. 2010-01-05 13:33:29 +00:00
graphics Compute the font_scaling_factor every time a preview is created (we can afford a few multiplications I guess). Now, the newly generated previews use the possibly updated zoom, dpi and preview_scale_factor. 2009-12-17 15:25:55 +00:00
insets Cleanup a bit the pargraph ids generation in order to (trying to) fix 2010-01-05 13:16:55 +00:00
lyxled
mathed Include omitted case, and fix underline. 2010-01-03 17:46:02 +00:00
support Keep in synchro with "All messages" 2010-01-03 17:40:34 +00:00
tex2lyx preamble.cpp: extend a comment 2009-12-12 21:23:54 +00:00
AspellChecker.cpp SpellChecker work: 2009-08-02 09:17:32 +00:00
AspellChecker.h SpellChecker work: 2009-08-02 09:17:32 +00:00
Author.cpp Fix bug #6058: Change tracking not usable in version control. 2009-07-23 20:08:05 +00:00
Author.h Fix another gcc error for r30756. 2009-07-23 20:38:24 +00:00
BiblioInfo.cpp Fix warning. 2009-12-13 21:14:36 +00:00
BiblioInfo.h The BibTeX bibliography only includes BibTeX entries. 2009-12-03 19:54:12 +00:00
Bidi.cpp
Bidi.h
boost.cpp
Box.cpp
Box.h
BranchList.cpp
BranchList.h
buffer_funcs.cpp Do not save an emergency file after choosing to revert the document to the version saved on disk. 2009-12-12 01:18:18 +00:00
buffer_funcs.h Add a global accessible function loadIfNeeded(). 2009-10-24 14:57:28 +00:00
Buffer.cpp Add a FIXME for asynchronous export and preview and child buffers. 2010-01-05 13:29:01 +00:00
Buffer.h Implemented the "Current Buffer" & "Current (Master) Document" scopes in the Advanced Find and Replace feature. 2009-12-30 18:40:18 +00:00
BufferList.cpp Added isInternal() method, mapped temporarily on check about ".internal" filename extension (minimum impact on current code). 2009-09-08 01:29:07 +00:00
BufferList.h Move emergencyWrite() from BufferList to Buffer. 2009-08-15 16:34:54 +00:00
BufferParams.cpp Some BufferParams for XHTML output. 2009-12-30 22:22:33 +00:00
BufferParams.h Some BufferParams for XHTML output. 2009-12-30 22:22:33 +00:00
BufferView.cpp Advanced F&R rework: 2010-01-04 12:29:38 +00:00
BufferView.h Transfer LFUN_INSET_APPLY from GuiView to BufferView. 2009-09-27 10:29:13 +00:00
Bullet.cpp
Bullet.h
Changes.cpp Typos, patch from Sven. 2009-12-05 23:18:21 +00:00
Changes.h Assure the author is encoded correctly in the LaTeX output of change tracking markup (bug 6225). 2009-10-12 16:22:05 +00:00
Chktex.cpp
Chktex.h
Citation.h
CmdDef.cpp
CmdDef.h
Color.cpp Make the pilcrow slightly lighter. 2009-08-19 23:04:17 +00:00
Color.h
ColorCode.h Fix bug #6129: Show paragraph marks / pilcrows. 2009-08-19 22:46:43 +00:00
ColorSet.h
Compare.cpp Make gcc happy. 2009-12-30 22:17:39 +00:00
Compare.h Fix gcc warnings. 2009-11-02 15:20:36 +00:00
CompletionList.h
Converter.cpp Converter: add a safe guard to Alerts because those cannot be called from another thread. The whole Alert system must be rethought I am afraid. 2009-12-18 22:59:59 +00:00
Converter.h Not so soon, I guess, since that FIXME was from r6305. 2009-11-09 16:53:40 +00:00
ConverterCache.cpp At least we have agreed upon this 2009-08-13 21:54:32 +00:00
ConverterCache.h
CoordCache.cpp
CoordCache.h
Counters.cpp IfStyle and IfCounter tags for layout. Docs to follow. 2009-08-12 14:50:01 +00:00
Counters.h Style. 2009-11-15 01:18:13 +00:00
Cursor.cpp Fix second part of bug #6400: After selecting a word by double-clicking it, extending the selection by a single mouse-click should also select only whole words. 2009-12-18 14:18:10 +00:00
Cursor.h Fix second part of bug #6400: After selecting a word by double-clicking it, extending the selection by a single mouse-click should also select only whole words. 2009-12-18 14:18:10 +00:00
CursorSlice.cpp
CursorSlice.h
CutAndPaste.cpp Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still... 2009-11-08 15:53:21 +00:00
CutAndPaste.h
DepTable.cpp
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h
DocIterator.cpp replace links to bugzilla with links to trac 2009-12-11 00:59:10 +00:00
DocIterator.h
Encoding.cpp add "ansinew" as a synonym of LaTeX encoding "cp1252" (second part of #6142) 2009-09-22 13:05:43 +00:00
Encoding.h
ErrorList.cpp
ErrorList.h
Exporter.cpp Style. 2009-11-14 13:16:08 +00:00
Exporter.h Style. 2009-11-14 13:16:08 +00:00
factory.cpp InsetCommand ctor: Pass 'Buffer *' 2009-11-08 16:10:34 +00:00
factory.h Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still... 2009-11-08 15:53:21 +00:00
Floating.cpp Forgot this. 2009-11-30 22:28:22 +00:00
Floating.h Style. 2009-11-30 20:17:55 +00:00
FloatList.cpp
FloatList.h
Font.cpp Fix LyX after r31772 (bug #6294). 2009-10-30 14:57:21 +00:00
Font.h Move some functions that only required a FontInfo parameter from Font.* 2009-10-27 16:16:15 +00:00
FontEnums.h
FontInfo.cpp A bit more cleanup, after JMarc. 2009-10-27 18:23:53 +00:00
FontInfo.h Move some functions that only required a FontInfo parameter from Font.* 2009-10-27 16:16:15 +00:00
FontList.cpp
FontList.h
Format.cpp Fix bug in Preferences>File Formats. Editor box didn't work right. 2009-11-19 23:37:16 +00:00
Format.h Fix bug in Preferences>File Formats. Editor box didn't work right. 2009-11-19 23:37:16 +00:00
FuncCode.h Next step to the world domination. 2009-12-28 15:59:25 +00:00
FuncRequest.cpp Fix comment. 2010-01-05 15:21:22 +00:00
FuncRequest.h new method getLongArg that grabs all the remainder of the argument string 2009-12-02 09:39:39 +00:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp Fix stupid thinko. 2009-11-11 23:24:39 +00:00
Graph.h This more or less completes the re-implementation of this class. The 2009-11-10 01:18:43 +00:00
HSpace.cpp support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change 2009-07-19 21:13:27 +00:00
HSpace.h support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change 2009-07-19 21:13:27 +00:00
HunspellChecker.cpp Fix HunspellChecker when the path is specified with a trailing '/'. (and revert previous stupid commit). 2009-12-05 03:55:03 +00:00
HunspellChecker.h SpellChecker work: 2009-08-02 09:17:32 +00:00
IndicesList.cpp
IndicesList.h
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp KeyMap.cpp: more consistent messages 2009-08-29 19:44:56 +00:00
KeyMap.h
KeySequence.cpp
KeySequence.h
Language.cpp
Language.h Fix bug #6378: Word completion (in texted) should be language-sensitive. 2009-12-18 14:48:56 +00:00
LaTeX.cpp Fix bug #6258: LyX incorrectly interprets tetex warnings as errors. 2009-10-04 15:23:17 +00:00
LaTeX.h
LaTeXFeatures.cpp replace links to bugzilla with links to trac 2009-12-11 00:59:10 +00:00
LaTeXFeatures.h CSS for InsetBibtex. We include this via the validate mechanism, and 2009-12-03 21:06:41 +00:00
Layout.cpp Whoops. 2009-12-01 14:36:48 +00:00
Layout.h Initial work for InsetTOC. This does actually write a TOC, but without 2009-12-10 18:30:48 +00:00
LayoutEnums.h Removed unused code. 2009-08-09 23:06:31 +00:00
LayoutFile.cpp * Move LFUN_TEXTCLASS_* and LFUN_TEXTCLASS_* to BufferView. This is a bit problematic because we don't check is this is a document BufferView or not for these LFUNs. We probably have to dispatch both to currentBufferView() and, if that fails, to documentBufferView(); same as we do know for current Buffer and document Buffer. Ideally those LFUN should go to Buffer as they operate on the full Buffer and the cursor is only needed either for an Undo record or to restore a cursor position. But we don't know how to do that inside Buffer of course. 2009-09-19 20:56:12 +00:00
LayoutFile.h * Move LFUN_TEXTCLASS_* and LFUN_TEXTCLASS_* to BufferView. This is a bit problematic because we don't check is this is a document BufferView or not for these LFUNs. We probably have to dispatch both to currentBufferView() and, if that fails, to documentBufferView(); same as we do know for current Buffer and document Buffer. Ideally those LFUN should go to Buffer as they operate on the full Buffer and the cursor is only needed either for an Undo record or to restore a cursor position. But we don't know how to do that inside Buffer of course. 2009-09-19 20:56:12 +00:00
LayoutModuleList.cpp s/moduleList/theModuleList/ for style purposes. 2009-08-14 15:37:34 +00:00
LayoutModuleList.h Comment. 2009-08-15 18:45:54 +00:00
Length.cpp Length.cpp: take care of percent units also for glue lengths, with this change, #6091 and #6098 can be fixed 2009-07-19 20:01:39 +00:00
Length.h
lengthcommon.cpp
Lexer.cpp
Lexer.h
LyX.cpp no stl includes in debug.h 2009-12-30 15:09:49 +00:00
LyX.h Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC. 2009-08-08 17:05:31 +00:00
LyXAction.cpp Next whitespace 2010-01-03 00:11:58 +00:00
LyXAction.h Introduce a new LyXAction property 'NoInternal' to take care of LFUNs that should not be applied to internal Buffers and use that in BufferView. 2009-09-21 12:36:22 +00:00
lyxfind.cpp Advanced F&R rework: 2010-01-04 12:29:38 +00:00
lyxfind.h Advanced F&R rework: 2010-01-04 12:29:38 +00:00
LyXFunc.cpp Now, current buffer is marked as dirty (instead of document buffer) when typing or doing other editing actions. 2009-12-31 12:22:11 +00:00
LyXFunc.h Transfer all keyboard related code and actions from LyXFunc to GuiApplication. Part of it should be transfered later to GuiView and BufferView. This code can probably be simplified a lot... 2009-10-04 20:58:20 +00:00
LyXRC.cpp Show only those spellers that are active. 2009-11-23 14:03:19 +00:00
LyXRC.h Redo the viewer_alternatives and editor_alternatives in terms of a map, 2009-10-17 22:52:16 +00:00
LyXVC.cpp Constify some functions and correct a typo. 2009-12-31 14:40:02 +00:00
LyXVC.h whitespace 2010-01-02 23:07:21 +00:00
lyxwinres.rc
main.cpp
Makefile.am fix linking of Compare.o with autotools 2009-10-26 15:45:33 +00:00
MetricsInfo.cpp Correctly paint the background of the instant preview of a displayed equation. 2009-12-17 14:09:37 +00:00
MetricsInfo.h
ModuleList.cpp Constify a bunch of stuff that can be const. 2009-08-14 15:46:10 +00:00
ModuleList.h Constify a bunch of stuff that can be const. 2009-08-14 15:46:10 +00:00
Mover.cpp
Mover.h
output_docbook.cpp Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
output_docbook.h Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
output_latex.cpp Restore the master language at the end of an included child document 2009-10-18 21:48:13 +00:00
output_latex.h
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp These add extra whitespace where we don't want it. 2009-12-14 16:45:11 +00:00
output_xhtml.h Restore XHTML output for InsetLabel and InsetRef. There are a couple 2009-11-28 21:37:47 +00:00
output.cpp
output.h
OutputParams.cpp In non-MultiPar insets, we do not want to output paragraphs at all. 2009-11-19 22:31:52 +00:00
OutputParams.h In non-MultiPar insets, we do not want to output paragraphs at all. 2009-11-19 22:31:52 +00:00
paper.h
Paragraph.cpp Cleanup a bit the pargraph ids generation in order to (trying to) fix 2010-01-05 13:16:55 +00:00
Paragraph.h Cleanup a bit the pargraph ids generation in order to (trying to) fix 2010-01-05 13:16:55 +00:00
ParagraphList.h
ParagraphMetrics.cpp Move contents of paragraph_funcs.* to Text.h and Text.cpp. 2009-08-09 17:30:41 +00:00
ParagraphMetrics.h
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
pch.h
PDFOptions.cpp
PDFOptions.h
PrinterParams.cpp
PrinterParams.h
Row.cpp
Row.h
rowpainter.cpp Revert the rtl-part of r30962. 2009-08-22 17:51:41 +00:00
rowpainter.h
Section.cpp
Section.h
Server.cpp Properly reinitialise the OVERLAPPED structure (thanks Vincent!) 2009-09-11 18:19:59 +00:00
Server.h Interrupt the wait if the stopserver event is triggered. 2009-09-06 13:49:34 +00:00
ServerSocket.cpp
ServerSocket.h
Session.cpp
Session.h
sgml.cpp
sgml.h
Spacing.cpp
Spacing.h remove special TEX2LYX code in Spacing,h 2009-10-28 10:07:10 +00:00
SpellChecker.h Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC. 2009-08-08 17:05:31 +00:00
TexRow.cpp
TexRow.h
TexStream.cpp
TexStream.h
Text2.cpp Typos, patch from Sven. 2009-12-05 23:18:21 +00:00
Text3.cpp Fix bug #6426: Language not set correctly when inserting an Inset. 2010-01-03 01:13:55 +00:00
Text.cpp Cleanup a bit the pargraph ids generation in order to (trying to) fix 2010-01-05 13:16:55 +00:00
Text.h Cleanup a bit the pargraph ids generation in order to (trying to) fix 2010-01-05 13:16:55 +00:00
TextClass.cpp Enhance LyX by fixing bug 5587. We add a new ContentAsLabel tag to 2009-12-18 00:29:22 +00:00
TextClass.h Style. 2009-12-10 18:12:35 +00:00
TextMetrics.cpp Simplify code. 2009-12-07 19:06:15 +00:00
TextMetrics.h Fix bug #6126: Assertion with page down in Math manual. 2009-08-13 14:18:12 +00:00
Thesaurus.cpp
Thesaurus.h
TocBackend.cpp Added isInternal() method, mapped temporarily on check about ".internal" filename extension (minimum impact on current code). 2009-09-08 01:29:07 +00:00
TocBackend.h
Trans.cpp
Trans.h
Undo.cpp
Undo.h
update_flags.h
Variables.cpp
Variables.h
VCBackend.cpp RCS read-only toggling also doesn't work correctly for a long time. 2010-01-03 00:07:22 +00:00
VCBackend.h Make updating less dangerous, see comments in #6255. 2009-10-14 19:18:06 +00:00
version.cpp
version.h
VSpace.cpp
VSpace.h
WordLangTuple.h
WordList.cpp Fix bug #6378: Word completion (in texted) should be language-sensitive. 2009-12-18 14:48:56 +00:00
WordList.h Fix bug #6378: Word completion (in texted) should be language-sensitive. 2009-12-18 14:48:56 +00:00