lyx_mirror/src
Vincent van Ravesteijn bbafbc884c Extend saveBufferIsNeeded with a parameter indicating whether the buffer is going into a hidden state. If so, and the user discards his changes, the buffer will be reloaded to discard the changes.
Now, the option "Hide Tab" uses closeBuffer and asks for saving intead of instantly removing the workArea.

This is part of bug #5893: we try to make sure that there are no dirty hidden buffers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31043 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 23:12:21 +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 Extend saveBufferIsNeeded with a parameter indicating whether the buffer is going into a hidden state. If so, and the user discards his changes, the buffer will be reloaded to discard the changes. 2009-08-14 23:12:21 +00:00
graphics Fix bug #6134: Reload context menu for graphics inset. 2009-08-13 17:21:59 +00:00
insets Fix bug #6134: Reload context menu for graphics inset. 2009-08-13 17:21:59 +00:00
lyxled
mathed Fix bug #2045. 2009-08-12 22:09:50 +00:00
support Don't rely on the signal delivered by raise(), as this may cause a bogus 2009-08-14 13:19:02 +00:00
tex2lyx Don't rely on the signal delivered by raise(), as this may cause a bogus 2009-08-14 13:19:02 +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 * BiblioInfo.cpp: 2009-06-12 14:29:39 +00:00
BiblioInfo.h Introduce a field for keeping track of the citation label. 2009-06-11 20:29:37 +00:00
Bidi.cpp remove some explicit tests against ERT_CODE; more to come 2009-07-16 10:08:13 +00:00
Bidi.h
boost.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Box.cpp
Box.h
BranchList.cpp * Add possibility to append active branch names to the output file name (#3105). 2009-07-13 14:30:08 +00:00
BranchList.h * Add possibility to append active branch names to the output file name (#3105). 2009-07-13 14:30:08 +00:00
buffer_funcs.cpp Move contents of paragraph_funcs.* to Text.h and Text.cpp. 2009-08-09 17:30:41 +00:00
buffer_funcs.h * src/buffer_funcs.{cpp,h}: 2008-12-05 15:49:07 +00:00
Buffer.cpp new document option to suppress the default date, fileformat change, fixes #5823 2009-08-14 00:52:33 +00:00
Buffer.h Get rid of Buffer::insertStringAsLines(). 2009-08-09 16:37:30 +00:00
BufferList.cpp cosmetics 2009-07-25 16:43:28 +00:00
BufferList.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
BufferParams.cpp new document option to suppress the default date, fileformat change, fixes #5823 2009-08-14 00:52:33 +00:00
BufferParams.h new document option to suppress the default date, fileformat change, fixes #5823 2009-08-14 00:52:33 +00:00
BufferView.cpp Move contents of paragraph_funcs.* to Text.h and Text.cpp. 2009-08-09 17:30:41 +00:00
BufferView.h The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
Bullet.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Bullet.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Changes.cpp Uniform naming of functions. 2009-08-04 22:50:36 +00:00
Changes.h Uniform naming of functions. 2009-08-04 22:50:36 +00:00
Chktex.cpp rename [io]docfstream to [io]fdocstream 2008-11-16 12:21:29 +00:00
Chktex.h
Citation.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
CmdDef.cpp
CmdDef.h
Color.cpp support for \pagecolor, fileformat change 2009-04-11 21:40:11 +00:00
Color.h support for \pagecolor, fileformat change 2009-04-11 21:40:11 +00:00
ColorCode.h Fix bug 5629: http://bugzilla.lyx.org/show_bug.cgi?id=5629. 2009-02-09 20:47:32 +00:00
ColorSet.h move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
CompletionList.h
Converter.cpp Basic output routines for HTML. 2009-06-05 17:44:35 +00:00
Converter.h * add all available formats to view/update others popup icon (bug 5380) 2009-05-02 08:43:22 +00:00
ConverterCache.cpp At least we have agreed upon this 2009-08-13 21:54:32 +00:00
ConverterCache.h Cosmetics and constify. 2009-06-29 23:43:23 +00:00
CoordCache.cpp lyxbreaker: don't crash in release mode. 2008-11-14 16:30:31 +00:00
CoordCache.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Counters.cpp IfStyle and IfCounter tags for layout. Docs to follow. 2009-08-12 14:50:01 +00:00
Counters.h IfStyle and IfCounter tags for layout. Docs to follow. 2009-08-12 14:50:01 +00:00
Cursor.cpp Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
Cursor.h Fix bug #2213 (part 5): GuiChanges lacks "Previous Change" button. 2009-04-05 20:16:32 +00:00
CursorSlice.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
CursorSlice.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
CutAndPaste.cpp Move setLabelWidthStringToSequence() to Text private member. 2009-08-09 17:45:24 +00:00
CutAndPaste.h * "Copy as Reference" in the context menu of a label 2008-11-16 19:19:07 +00:00
DepTable.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
DepTable.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Dimension.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Dimension.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
DispatchResult.h The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
DocIterator.cpp DocIterator::innerText(): reuse innerTextSlice() 2009-08-09 15:47:50 +00:00
DocIterator.h Simplify Buffer::spellCheck() by using Paragraph::spellCheck(). 2009-06-22 16:38:11 +00:00
Encoding.cpp Fix display of BibTeX entries in the info field of the citation 2009-06-12 14:03:57 +00:00
Encoding.h Fix display of BibTeX entries in the info field of the citation 2009-06-12 14:03:57 +00:00
ErrorList.cpp
ErrorList.h header ordering. 2009-03-25 08:31:46 +00:00
Exporter.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Exporter.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
factory.cpp allow to use glue lengths in the HSpace dialog; file format change 2009-07-21 11:51:43 +00:00
factory.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Floating.cpp XHTML output for floats and captions. 2009-06-19 12:49:08 +00:00
Floating.h XHTML output for floats and captions. 2009-06-19 12:49:08 +00:00
FloatList.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
FloatList.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Font.cpp Avoid ugly macros in the preamble and protect underlined \cite commands 2009-05-07 10:57:52 +00:00
Font.h Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
FontEnums.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
FontInfo.cpp Introduce double underline and wavy underline styles from ulem 2009-05-05 09:26:28 +00:00
FontInfo.h Introduce double underline and wavy underline styles from ulem 2009-05-05 09:26:28 +00:00
FontList.cpp Fix font issue due to mispelled marking. 2009-05-01 13:45:30 +00:00
FontList.h New FontList::setMisspelled() method. 2009-05-01 08:17:23 +00:00
Format.cpp
Format.h
FuncCode.h Fix bug #6134: Reload context menu for graphics inset. 2009-08-13 17:21:59 +00:00
FuncRequest.cpp improve debug information 2008-12-15 15:47:33 +00:00
FuncRequest.h TOC context menu (part 2) 2009-04-08 21:06:58 +00:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp
Graph.h
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 hunspell suggestion call. 2009-08-09 13:43:58 +00:00
HunspellChecker.h SpellChecker work: 2009-08-02 09:17:32 +00:00
IndicesList.cpp Introduce splitindex support. File format change. 2009-04-16 07:29:01 +00:00
IndicesList.h Introduce splitindex support. File format change. 2009-04-16 07:29:01 +00:00
InsetIterator.cpp add Buffer * member to DocIterator 2008-11-17 11:46:07 +00:00
InsetIterator.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
InsetList.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
InsetList.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Intl.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Intl.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
KeyMap.cpp Make sure we don't get into an infinite loop here. 2009-07-17 21:51:53 +00:00
KeyMap.h React better if we can't find bind files. Related to bug 6076. 2009-07-16 23:12:45 +00:00
KeySequence.cpp Fix crash when hitting delete key once more after deleting 2009-04-02 18:19:33 +00:00
KeySequence.h Now these don't have to be public. 2009-04-02 15:56:12 +00:00
Language.cpp * src/Language{.cpp,h}: 2008-11-21 14:58:26 +00:00
Language.h * src/Language{.cpp,h}: 2008-11-21 14:58:26 +00:00
LaTeX.cpp * LaTeX.cpp (deplog): 2009-06-20 13:02:12 +00:00
LaTeX.h * Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex) 2009-04-13 09:53:40 +00:00
LaTeXFeatures.cpp * attempt to fix polytonic Greek (with mutli-accents) [bug 5976]. 2009-07-16 06:19:25 +00:00
LaTeXFeatures.h fix bug 5798: Translate float names 2009-06-09 18:16:43 +00:00
Layout.cpp Now we can restore the old (and better) behavior of descriptions. 2009-06-06 04:09:14 +00:00
Layout.h Remove Layout::labelstring_appendix method; add a bool parameter to Layout::labelstring instead. 2009-07-12 21:48:50 +00:00
LayoutEnums.h Removed unused code. 2009-08-09 23:06:31 +00:00
LayoutFile.cpp Cosmetics. 2009-02-11 20:02:53 +00:00
LayoutFile.h Next step: LayoutModuleList is now a thin wrapper around a list<string>. 2009-02-12 15:07:22 +00:00
LayoutModuleList.cpp s/moduleList/theModuleList/ for style purposes. 2009-08-14 15:37:34 +00:00
LayoutModuleList.h A couple things noticed by Andre. 2009-02-21 21:49:56 +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 Length.h: revert unintended change 2009-07-17 01:01:37 +00:00
lengthcommon.cpp Length.h, lengthcommon.cpp: sort the units, the current sorting had no rule and therefore consumed a lot time until one found the desired unit. 2009-07-14 22:38:47 +00:00
Lexer.cpp Fix bug #6030: LyX does not take into account BOM in user layout files. 2009-06-21 18:23:10 +00:00
Lexer.h * Lexer.{cpp,h}: 2008-11-25 14:44:17 +00:00
LyX.cpp s/moduleList/theModuleList/ for style purposes. 2009-08-14 15:37:34 +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 Fix bug #6134: Reload context menu for graphics inset. 2009-08-13 17:21:59 +00:00
LyXAction.h Kill next-inset-toggle and expand inset-toggle to provide the same functionality 2009-03-30 13:49:52 +00:00
lyxfind.cpp Remove some unnecessary negated logic. 2009-08-04 22:44:23 +00:00
lyxfind.h LFUN_WORD_REPLACE: Invert replacement and searched strings in the FuncRequest argument. This is to allow replacement of current word even if it is not selected. 2009-07-04 23:02:27 +00:00
LyXFunc.cpp Compile fix. 2009-08-08 17:26:18 +00:00
LyXFunc.h Comment 2009-01-08 22:07:22 +00:00
LyXRC.cpp Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC. 2009-08-08 17:05:31 +00:00
LyXRC.h Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC. 2009-08-08 17:05:31 +00:00
LyXVC.cpp Guify setting of svn locking property 2009-06-25 14:48:11 +00:00
LyXVC.h Guify setting of svn locking property 2009-06-25 14:48:11 +00:00
lyxwinres.rc Update headers. 2008-11-04 22:32:06 +00:00
main.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Makefile.am Move contents of paragraph_funcs.* to Text.h and Text.cpp. 2009-08-09 17:30:41 +00:00
MetricsInfo.cpp move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
MetricsInfo.h Replace the PainterInfo::erased_ member by a proper Change object and remove the Color_deletedtext from InsetTabular. 2009-02-09 21:14:23 +00:00
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 Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
Mover.h Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
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 Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
output_latex.h Tommaso patch, part 5, lots of thing to cleanup still but I'll do that afterwards. 2008-11-16 00:12:21 +00:00
output_plaintext.cpp rename [io]docfstream to [io]fdocstream 2008-11-16 12:21:29 +00:00
output_plaintext.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
output_xhtml.cpp Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
output_xhtml.h Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
output.cpp rename [io]docfstream to [io]fdocstream 2008-11-16 12:21:29 +00:00
output.h rename [io]docfstream to [io]fdocstream 2008-11-16 12:21:29 +00:00
OutputParams.cpp Fix captions, in accord with observations by Abdel and JMarc. 2009-06-19 18:32:50 +00:00
OutputParams.h Fix captions, in accord with observations by Abdel and JMarc. 2009-06-19 18:32:50 +00:00
paper.h
Paragraph.cpp Move the inline spellchecking code from collectWords() to the row drawing routine. The text row is spell checked only if changed! 2009-08-10 20:54:22 +00:00
Paragraph.h Get rid of Paragraph::forcePlainLayout(). 2009-08-09 15:38: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 more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ParagraphParameters.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ParagraphParameters.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ParIterator.cpp add Buffer * member to DocIterator 2008-11-17 11:46:07 +00:00
ParIterator.h add Buffer * member to DocIterator 2008-11-17 11:46:07 +00:00
pch.h
PDFOptions.cpp Sanitize backreferences in hyperref. 2008-10-13 16:01:02 +00:00
PDFOptions.h Sanitize backreferences in hyperref. 2008-10-13 16:01:02 +00:00
PrinterParams.cpp
PrinterParams.h
Row.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Row.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
rowpainter.cpp Don't paint misspelled mark if continuous spellchecking is disabled. 2009-08-10 22:03:55 +00:00
rowpainter.h Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
Section.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Section.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Server.cpp Avoid useless assignment to errno and add scope operator for safety. 2008-11-26 19:05:35 +00:00
Server.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
ServerSocket.cpp revert r27520 (tr1 stuff) 2008-11-16 11:51:42 +00:00
ServerSocket.h revert r27520 (tr1 stuff) 2008-11-16 11:51:42 +00:00
Session.cpp Fix bug #5131: Remember last file active. 2009-05-05 12:47:44 +00:00
Session.h Fix bug #5131: Remember last file active. 2009-05-05 12:47:44 +00:00
sgml.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
sgml.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Spacing.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Spacing.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +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 more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
TexRow.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
TexStream.cpp
TexStream.h
Text2.cpp Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
Text3.cpp Text::dispatch(): the spellchecking code is now uneeded. 2009-08-10 21:17:08 +00:00
Text.cpp delete unused code. 2009-08-10 20:11:48 +00:00
Text.h Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
TextClass.cpp s/moduleList/theModuleList/ for style purposes. 2009-08-14 15:37:34 +00:00
TextClass.h Separate HTML preamble information. This could be used for javascript, 2009-06-05 19:42:56 +00:00
TextMetrics.cpp Fix bug #6126: Assertion with page down in Math manual. 2009-08-13 14:18:12 +00:00
TextMetrics.h Fix bug #6126: Assertion with page down in Math manual. 2009-08-13 14:18:12 +00:00
Thesaurus.cpp Integrate mythes-1.1 into our source and remove support for aiksaurus. I have tested only the Cmake build system. Please test autotools and scons. 2009-05-08 21:38:50 +00:00
Thesaurus.h CMake/Windows compilation fix. Aiksaurus.h was not visible in frontend/qt4: 2009-05-01 06:33:19 +00:00
TocBackend.cpp TOC context menu (part 4) 2009-04-09 18:42:59 +00:00
TocBackend.h TOC context menu (part 4) 2009-04-09 18:42:59 +00:00
Trans.cpp remove unused includes of convert.h 2009-05-21 21:02:14 +00:00
Trans.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Undo.cpp So we do, sometimes, need the setBuffer calls that were removed in r28720. 2009-03-12 20:10:46 +00:00
Undo.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
update_flags.h
Variables.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
Variables.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
VCBackend.cpp Save translators work 2009-06-28 11:14:27 +00:00
VCBackend.h Guify setting of svn locking property 2009-06-25 14:48:11 +00:00
version.cpp * do not change name of QSettings config file on LyX version change. 2009-06-29 08:44:32 +00:00
version.h * do not change name of QSettings config file on LyX version change. 2009-06-29 08:44:32 +00:00
VSpace.cpp HTML output for InsetVSpace. 2009-06-12 15:07:04 +00:00
VSpace.h HTML output for InsetVSpace. 2009-06-12 15:07:04 +00:00
WordLangTuple.h
WordList.cpp
WordList.h