lyx_mirror/src/frontends
Abdelrazak Younes c5a4f61f33 This commit creates a error_lists map member inside the Buffer class.
I had no choice but to use string for the map key. This is
because the only information that could be passed to the controller is a
string.

With this new architecture, persistent error lists are now possible.

* Buffer
  - errorList_, addError(),  : deleted
  - std::map<std::string, ErrorList> errorLists_ : new member
  - errorList(std::string const & type): associated accessors

* buffer_funcs.C
  - bufferErrors(Buffer const & buf, TeXErrors const & terr): now needs a third errorList argument
  - bufferErrors(Buffer const & buf, ErrorList const & el): deleted.

* Converter
  - convert(): now needs an ErrorList argument instead of filling the Buffer errorList member directly.
  - runLaTeX(): ditto
  - scanLog(): ditto

* CutAndPaste.C
  - pasteParagraphList(): ditto
  - pasteSelection(): ditto

* lyxtext.h/text.C
  - readParagraph(): ditto
  - LyXText::read(): ditto

* importer:
  - Importer::Import(): ditto

* BufferView_pimpl.C
  - loadLyXFile(): send the Buffer::errors() signal instead of calling LyXView::showErrorList() directly.

* exporter.C
  - Export(): send the Buffer::errors() signal instead of calling LyXView::showErrorList() directly in lyxfunc.C

* ControlErrorList.C
  - initialiseParams(): translation operation transfered here from LyXView::showErrorList().

* LyXView.C
  - LoadLyXFile(): add a showErrorList("Parse") call.
  - showErrorList(): simplified due to code transferred to the ControlErrorList.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14652 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 16:16:43 +00:00
..
controllers This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
gtk Fix redraw problems in qt3 and gtk 2006-07-30 14:57:01 +00:00
qt3 remove accelerator keys (Alt+) from designer files... 2006-08-10 14:16:30 +00:00
qt4 GuiWorkArea: #undef QT3_SUPPORT 2006-08-13 15:55:03 +00:00
Alert_pimpl.h
Alert.C
Alert.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
ChangeLog fix drawing of buttons (bug 2328) 2006-03-15 15:32:32 +00:00
Clipboard.h Split clipboard and X selection 2006-07-10 11:32:25 +00:00
Dialogs.C remove redrawGUI() 2006-07-12 19:10:17 +00:00
Dialogs.h remove redrawGUI() 2006-07-12 19:10:17 +00:00
FileDialog.h * FileDialog.h: make private_ member private 2006-07-09 17:27:17 +00:00
font_metrics.h * support/types.h: introduce the char_type type 2006-04-09 02:30:40 +00:00
Gui.h Split clipboard and X selection 2006-07-10 11:32:25 +00:00
guiapi.C
guiapi.h
key_state.h
lyx_gui.h load files from lyx_main.C instead of lyx_gui.C, do not add session-restored files to lastfile list. 2006-07-27 14:13:45 +00:00
LyXKeySym.h * lyxfunc.h: 2006-04-13 12:18:42 +00:00
LyXKeySymFactory.h
LyXView.C This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
LyXView.h This commit transfer the ErrorList handling from LyXView to Buffer. It also removes the need for the error signal and simplify the kerbel <-> frontend communication. I think it should speed-up _significantly_ the latex compilation for example in case of problematic files. 2006-07-15 22:43:37 +00:00
Makefile.am Split clipboard and X selection 2006-07-10 11:32:25 +00:00
Menubar.h
mouse_state.h
nullpainter.C This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
nullpainter.h delete Painter::fillPolygon() and associated frontend implementations 2006-07-10 15:14:29 +00:00
Painter.C This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
Painter.h delete Painter::fillPolygon() and associated frontend implementations 2006-07-10 15:14:29 +00:00
pch.h
Selection.h Split clipboard and X selection 2006-07-10 11:32:25 +00:00
Timeout.C
Timeout.h
Toolbars.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
Toolbars.h
WorkArea.C fix line ending 2006-07-15 11:37:20 +00:00
WorkArea.h Fix redraw problems in qt3 and gtk 2006-07-30 14:57:01 +00:00