]> git.lyx.org Git - lyx.git/log
lyx.git
14 years agoFix bug #6246: InsetMathKern is broken
Enrico Forestieri [Sun, 27 Sep 2009 17:29:01 +0000 (17:29 +0000)]
Fix bug #6246: InsetMathKern is broken

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31474 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Remove GuiView->BufferView->GuiView indirection.
Abdelrazak Younes [Sun, 27 Sep 2009 10:36:24 +0000 (10:36 +0000)]
* Remove GuiView->BufferView->GuiView indirection.
* add a FIXME to LFUN_DIALOG_UPDATE

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31473 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTransfer LFUN_INSET_APPLY from GuiView to BufferView.
Abdelrazak Younes [Sun, 27 Sep 2009 10:29:13 +0000 (10:29 +0000)]
Transfer LFUN_INSET_APPLY from GuiView to BufferView.
The list of dialog edited inset is now stored in BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31472 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoLyXFunc::dispatch(): don't use a buffer pointer set at the beginning of the method...
Abdelrazak Younes [Sat, 26 Sep 2009 18:10:28 +0000 (18:10 +0000)]
LyXFunc::dispatch(): don't use a buffer pointer set at the beginning of the method as this one could change depending of the LFUN. Instead get the proper Buffer in all cases.
The side effect of this patch is that the undo/redo action are properly recorded only for document Buffers. But as this was a mess already with embedded work area. We might try to properly implement undo/redo for embedded work area later.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31471 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoGet rid of some unneeded use of LyXView in LyXFunc::dispatch().
Abdelrazak Younes [Sat, 26 Sep 2009 17:39:19 +0000 (17:39 +0000)]
Get rid of some unneeded use of LyXView in LyXFunc::dispatch().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31470 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTransfer LFUN_CITATION_INSERT to BufferView
Abdelrazak Younes [Sat, 26 Sep 2009 17:30:29 +0000 (17:30 +0000)]
Transfer LFUN_CITATION_INSERT to BufferView

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31469 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTransfer LFUN_DIALOG_SHOW_NEW_INSET to BufferView and put InsetCommand related code...
Abdelrazak Younes [Sat, 26 Sep 2009 17:19:18 +0000 (17:19 +0000)]
Transfer LFUN_DIALOG_SHOW_NEW_INSET to BufferView and put InsetCommand related code to new function decodeInsetParam() in InsetCommand.cpp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31468 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix FindAndReplace dialog for Qt < 4.4.0.
Enrico Forestieri [Thu, 24 Sep 2009 14:28:14 +0000 (14:28 +0000)]
Fix FindAndReplace dialog for Qt < 4.4.0.
For reasons unknown to me, this also fixes the scroll bar issue!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31463 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix doxy.
Richard Heck [Thu, 24 Sep 2009 11:58:09 +0000 (11:58 +0000)]
Fix doxy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31462 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoKornel's gcc compil fix.
Abdelrazak Younes [Thu, 24 Sep 2009 07:20:18 +0000 (07:20 +0000)]
Kornel's gcc compil fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31460 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoHeader cleanup.
Abdelrazak Younes [Wed, 23 Sep 2009 19:53:37 +0000 (19:53 +0000)]
Header cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31459 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoLyXView: make it a pure virtual interface.
Abdelrazak Younes [Wed, 23 Sep 2009 19:51:55 +0000 (19:51 +0000)]
LyXView: make it a pure virtual interface.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31458 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoLyXView: Remove unneeded interface.
Abdelrazak Younes [Wed, 23 Sep 2009 19:49:36 +0000 (19:49 +0000)]
LyXView: Remove unneeded interface.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31457 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Transfer LFUN_SERVER_GOTO_FILE_ROW to GuiView and clean it up a bit.
Abdelrazak Younes [Wed, 23 Sep 2009 13:45:58 +0000 (13:45 +0000)]
* Transfer LFUN_SERVER_GOTO_FILE_ROW to GuiView and clean it up a bit.
* Add a recenter() call to BufferView::setCursorFromRow() in order to get the screen centered around the found position.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31455 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* LaTeXFeatures.cpp: fix whitespace issue after Greek character.
Jürgen Spitzmüller [Wed, 23 Sep 2009 10:32:22 +0000 (10:32 +0000)]
* LaTeXFeatures.cpp: fix whitespace issue after Greek character.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31453 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoGet rid of LyXView::hasFocus().
Abdelrazak Younes [Wed, 23 Sep 2009 09:17:11 +0000 (09:17 +0000)]
Get rid of LyXView::hasFocus().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31452 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTransfer special getStatus() code from LyXFunc to BufferView, GuiView and GuiApplication.
Abdelrazak Younes [Wed, 23 Sep 2009 09:07:24 +0000 (09:07 +0000)]
Transfer special getStatus() code from LyXFunc to BufferView, GuiView and GuiApplication.

I tested this on Windows and Linux/X11 but not on Mac so...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31451 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix crash when switching window when previous window had no BufferView.
Abdelrazak Younes [Wed, 23 Sep 2009 07:14:20 +0000 (07:14 +0000)]
Fix crash when switching window when previous window had no BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31450 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago- elsarticle.layout: add the stdlayouts, fixes #6189
Uwe Stöhr [Tue, 22 Sep 2009 23:13:46 +0000 (23:13 +0000)]
- elsarticle.layout: add the stdlayouts, fixes #6189
- elsarticle.lyx: add two theorems as example

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31448 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoMove LFUN_BUFFER_WRITE_ALL status to GuiView with a FIXME. I believe this LFUN should...
Abdelrazak Younes [Tue, 22 Sep 2009 21:46:16 +0000 (21:46 +0000)]
Move LFUN_BUFFER_WRITE_ALL status to GuiView with a FIXME. I believe this LFUN should go to GuiApplication.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31447 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoUI interaction for advanced f&r.
Tommaso Cucinotta [Tue, 22 Sep 2009 21:39:48 +0000 (21:39 +0000)]
UI interaction for advanced f&r.
Menu voice shows only, does not toggle. This allows for highlighting the keyboard short-cut in the menu, where the user expects to find it.
Toggling of dialog is instead shown in a toggling button on the toolbar (advanced search button besides the standard one). Icon is just draft.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31445 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agodeclaration cleanup.
Abdelrazak Younes [Tue, 22 Sep 2009 21:35:48 +0000 (21:35 +0000)]
declaration cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31444 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoIntroduce Application::currentWindow() and get rid of lyx_view_ member in LyXFunc.
Abdelrazak Younes [Tue, 22 Sep 2009 21:25:32 +0000 (21:25 +0000)]
Introduce Application::currentWindow() and get rid of lyx_view_ member in LyXFunc.
This commit also move the Selection saving to  QEvent::WindowActivate in GuiView.cpp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31443 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoReverting to previous behaviour (c-S-f shows advanced search dialog). It is more...
Tommaso Cucinotta [Tue, 22 Sep 2009 21:17:29 +0000 (21:17 +0000)]
Reverting to previous behaviour (c-S-f shows advanced search dialog). It is more usable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31442 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTransfer LFUN_HELP_OPEN to GuiApplication. There's some code factorization to do...
Abdelrazak Younes [Tue, 22 Sep 2009 19:55:15 +0000 (19:55 +0000)]
Transfer LFUN_HELP_OPEN to GuiApplication. There's some code factorization to do in there...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31441 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix a bug when the language passed as an option to babel is ignored.
Jean-Marc Lasgouttes [Tue, 22 Sep 2009 13:23:36 +0000 (13:23 +0000)]
Fix a bug when the language passed as an option to babel is ignored.
This can be seen by trying out the document attached to ticket #6142.

The problem was that handle_opt() is not used only to parse languages,
and thus setting a lang-related bool in there is asking for trouble.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31440 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoadd "ansinew" as a synonym of LaTeX encoding "cp1252" (second part of #6142)
Jean-Marc Lasgouttes [Tue, 22 Sep 2009 13:05:43 +0000 (13:05 +0000)]
add "ansinew" as a synonym of LaTeX encoding "cp1252" (second part of #6142)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31439 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix FindAndReplace dialog for Qt 4.2
Enrico Forestieri [Tue, 22 Sep 2009 00:16:02 +0000 (00:16 +0000)]
Fix FindAndReplace dialog for Qt 4.2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31438 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoPointer cleanup as suggested by Enrico who noticed a crash when closing a buffer...
Abdelrazak Younes [Mon, 21 Sep 2009 16:52:04 +0000 (16:52 +0000)]
Pointer cleanup as suggested by Enrico who noticed a crash when closing a buffer on Cgwin.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31436 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoIntroduce a new LyXAction property 'NoInternal' to take care of LFUNs that should...
Abdelrazak Younes [Mon, 21 Sep 2009 12:36:22 +0000 (12:36 +0000)]
Introduce a new LyXAction property 'NoInternal' to take care of LFUNs that should not be applied to internal Buffers and use that in BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31433 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agosmall cleanup, now that we require automake 1.8
Jean-Marc Lasgouttes [Mon, 21 Sep 2009 12:16:42 +0000 (12:16 +0000)]
small cleanup, now that we require automake 1.8

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31431 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix crash with LFUN_PARAGRAPH_GOTO in embedded work area.
Abdelrazak Younes [Mon, 21 Sep 2009 08:21:37 +0000 (08:21 +0000)]
Fix crash with LFUN_PARAGRAPH_GOTO in embedded work area.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31427 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix gcc warning.
Abdelrazak Younes [Mon, 21 Sep 2009 08:20:02 +0000 (08:20 +0000)]
Fix gcc warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31426 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoGuiPrefs:
Uwe Stöhr [Mon, 21 Sep 2009 00:44:43 +0000 (00:44 +0000)]
GuiPrefs:
- implement an UI to specify the size of InstantPreview images
- change the default size to 1.0 because we've got many complaints that the former default size of 0.9 was too low

Both changes fix #6176.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31425 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoinstaller: fix a bug
Uwe Stöhr [Mon, 21 Sep 2009 00:38:05 +0000 (00:38 +0000)]
installer: fix a bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31424 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoCorrectly reinitialize ind when successive lines are to be indented.
Enrico Forestieri [Sun, 20 Sep 2009 22:58:55 +0000 (22:58 +0000)]
Correctly reinitialize ind when successive lines are to be indented.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31421 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoStupid cut&paste error in previous revision. Sorry.
Abdelrazak Younes [Sun, 20 Sep 2009 21:58:35 +0000 (21:58 +0000)]
Stupid cut&paste error in previous revision. Sorry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31420 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTry to dispatch to document BufferView in case dispatch to current BufferView fails...
Abdelrazak Younes [Sun, 20 Sep 2009 21:41:21 +0000 (21:41 +0000)]
Try to dispatch to document BufferView in case dispatch to current BufferView fails. This is needed for the LFUNs introduced in r31412
URL: http://www.lyx.org/trac/changeset/31412

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31419 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoKornel's gcc compil fix.
Abdelrazak Younes [Sun, 20 Sep 2009 19:37:26 +0000 (19:37 +0000)]
Kornel's gcc compil fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31418 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agosvglobal3.layout:
Uwe Stöhr [Sun, 20 Sep 2009 18:12:53 +0000 (18:12 +0000)]
svglobal3.layout:
 - major overhaul for version 3.2 that has to be used since 2007
 - remove wrong document class option, fixes first part of #6198
svjour.inc:
 - remove style "subparagraph" that doesn't exist, fixes second part of #6198
 - simplifications
svjour3.lyx: new template file for articles in journals published by Springer (It is the LyX implementation of the  template.tex file provided by svjour version 3.2)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31417 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agorecipebook.layout: remove wrong definitions of the side number and remove doubled...
Uwe Stöhr [Sun, 20 Sep 2009 14:14:15 +0000 (14:14 +0000)]
recipebook.layout: remove wrong definitions of the side number and remove doubled statement about tocdepth and secnumdepth
Jürgen, OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31413 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Move LFUN_TEXTCLASS_* and LFUN_TEXTCLASS_* to BufferView. This is a bit problematic...
Abdelrazak Younes [Sat, 19 Sep 2009 20:56:12 +0000 (20:56 +0000)]
* 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.

* I transferred local function loadLayoutFile() in LyXFunc.cpp to a LayoutFileList::load().

Richard, as I am not into this layout thing, please check that these LFUNs still operate correctly (except from an embedded work area of course).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31412 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agomove LFUN_BUFFER_PARAMS_APPLY to BufferView. I needed to make LyXFunc::updateLayout...
Abdelrazak Younes [Sat, 19 Sep 2009 17:56:53 +0000 (17:56 +0000)]
move LFUN_BUFFER_PARAMS_APPLY to BufferView. I needed to make LyXFunc::updateLayout() public but this method is misplaced there.
LFUN_BUFFER_PARAMS_APPLY has now a status (disabled if read-only).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31411 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoMove LFUN_KEYMAP_* to BufferView.
Abdelrazak Younes [Sat, 19 Sep 2009 16:59:36 +0000 (16:59 +0000)]
Move LFUN_KEYMAP_* to BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31410 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Move LFUN_BUFFER_CHILD_OPEN to GuiView.
Abdelrazak Younes [Sat, 19 Sep 2009 16:49:31 +0000 (16:49 +0000)]
* Move LFUN_BUFFER_CHILD_OPEN to GuiView.
* GuiView:openChildDocument(): New helper method, I removed the comment about bug 3970 because it doesn't apply anymore with this change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31409 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix bug #6215 (spotted by Vincent).
Enrico Forestieri [Sat, 19 Sep 2009 16:15:09 +0000 (16:15 +0000)]
Fix bug #6215 (spotted by Vincent).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31408 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoLyXView: remove closeBuffer() and closeBufferAll() pure virtual interfaces
Abdelrazak Younes [Sat, 19 Sep 2009 16:14:03 +0000 (16:14 +0000)]
LyXView: remove closeBuffer() and closeBufferAll() pure virtual interfaces

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31407 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agode.po: resolve some shortcut clashes
Uwe Stöhr [Sat, 19 Sep 2009 15:26:11 +0000 (15:26 +0000)]
de.po: resolve some shortcut clashes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31405 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoSpanish Math.lyx: translation updates by Ignacio
Uwe Stöhr [Sat, 19 Sep 2009 15:14:37 +0000 (15:14 +0000)]
Spanish Math.lyx: translation updates by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31403 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agode.po: some translations by Hartmut and me
Uwe Stöhr [Sat, 19 Sep 2009 15:02:30 +0000 (15:02 +0000)]
de.po: some translations by Hartmut and me

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31402 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix gcc compile bug... weird...
Abdelrazak Younes [Sat, 19 Sep 2009 14:42:07 +0000 (14:42 +0000)]
Fix gcc compile bug...  weird...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31401 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Move LFUN_BUFFER_CLOSE and LFUN_BUFFER_CLOSE_ALL to GuiView.
Abdelrazak Younes [Sat, 19 Sep 2009 14:34:46 +0000 (14:34 +0000)]
* Move LFUN_BUFFER_CLOSE and LFUN_BUFFER_CLOSE_ALL to GuiView.
* Create a status for LFUN_BUFFER_CLOSE

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31400 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoMove LFUN_BUFFER_LANGUAGE to Buffer and enables it only when the document is not...
Abdelrazak Younes [Sat, 19 Sep 2009 14:20:05 +0000 (14:20 +0000)]
Move LFUN_BUFFER_LANGUAGE to Buffer and enables it only when the document is not read-only.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31399 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Move Buffer specific LFUNs to Buffer::dispatch() and Buffer::getStatus().
Abdelrazak Younes [Sat, 19 Sep 2009 14:05:52 +0000 (14:05 +0000)]
* Move Buffer specific LFUNs to Buffer::dispatch() and Buffer::getStatus().
There is a FIXME in there that says that if some LFUN need to be dispatched even if the Buffer is internal then we should add some code. But I couldn't find any for now.
* Move LFUN_BUFFER_IMPORT status to GuiView where it belongs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31398 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTransfer LFUN_BUFFER_TOGGLE_READ_ONLY to Buffer.
Abdelrazak Younes [Sat, 19 Sep 2009 11:59:39 +0000 (11:59 +0000)]
Transfer LFUN_BUFFER_TOGGLE_READ_ONLY to Buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31397 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTransfer completely LFUN_COMMAND_EXECUTE and LFUN_MESSAGE to GuiView.
Abdelrazak Younes [Sat, 19 Sep 2009 11:54:23 +0000 (11:54 +0000)]
Transfer completely LFUN_COMMAND_EXECUTE and LFUN_MESSAGE to GuiView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31396 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoIt appears that somewhere along the way, backing up originals when saving
Richard Heck [Fri, 18 Sep 2009 16:44:20 +0000 (16:44 +0000)]
It appears that somewhere along the way, backing up originals when saving
got conflated with autosaving, with the result that it became impossible to
disable autosaving, as reported on the user list. This patch disentangles
the two again.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31395 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoMath.lyx: revision of appendix A, symbol for the Fourier translation added
Uwe Stöhr [Thu, 17 Sep 2009 02:06:13 +0000 (02:06 +0000)]
Math.lyx: revision of appendix A, symbol for the Fourier translation added

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31394 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoProperly reset the stream encoding after an environment. Fixes bug #6216.
Enrico Forestieri [Wed, 16 Sep 2009 20:50:40 +0000 (20:50 +0000)]
Properly reset the stream encoding after an environment. Fixes bug #6216.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31392 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoConstify.
Enrico Forestieri [Sun, 13 Sep 2009 18:12:11 +0000 (18:12 +0000)]
Constify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31388 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix display of toolbar icons after r31255.
Enrico Forestieri [Sun, 13 Sep 2009 18:09:40 +0000 (18:09 +0000)]
Fix display of toolbar icons after r31255.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31387 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoTake into account that Qt doesn't allow GUI operations outside the main thread.
Enrico Forestieri [Sun, 13 Sep 2009 15:07:28 +0000 (15:07 +0000)]
Take into account that Qt doesn't allow GUI operations outside the main thread.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31386 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix bug #6188: Assertion with multiple views of same document.
Vincent van Ravesteijn [Sat, 12 Sep 2009 23:50:03 +0000 (23:50 +0000)]
Fix bug #6188: Assertion with multiple views of same document.

We have to prevent that two views share the same ID, also when an id was supplied (because we can open the same document twice).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31381 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoAdd a server_monitor.pro file.
Enrico Forestieri [Sat, 12 Sep 2009 21:50:46 +0000 (21:50 +0000)]
Add a server_monitor.pro file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31380 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix a crash when the modified uncompleted macro is a font changing command.
Enrico Forestieri [Sat, 12 Sep 2009 21:20:51 +0000 (21:20 +0000)]
Fix a crash when the modified uncompleted macro is a font changing command.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31379 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoMove LFUN status check to where they belong.
Abdelrazak Younes [Sat, 12 Sep 2009 21:12:24 +0000 (21:12 +0000)]
Move LFUN status check to where they belong.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31378 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agosome more buffer -> document buffer fixes.
Abdelrazak Younes [Sat, 12 Sep 2009 20:55:35 +0000 (20:55 +0000)]
some more buffer -> document buffer fixes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31377 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoMove LFUN_BUFFER_RELOAD and LFUN_VC_* to GuiView. Try to use the document buffer...
Abdelrazak Younes [Sat, 12 Sep 2009 20:41:24 +0000 (20:41 +0000)]
Move LFUN_BUFFER_RELOAD and LFUN_VC_* to GuiView. Try to use  the document buffer correctly.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31376 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoserver_monitor.h must be included last for msvc sake.
Enrico Forestieri [Sat, 12 Sep 2009 17:40:54 +0000 (17:40 +0000)]
server_monitor.h must be included last for msvc sake.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31375 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoSome more coding style fixes
Enrico Forestieri [Sat, 12 Sep 2009 16:20:37 +0000 (16:20 +0000)]
Some more coding style fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31374 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoCoding style fixes
André Pönitz [Sat, 12 Sep 2009 09:38:26 +0000 (09:38 +0000)]
Coding style fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31373 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoAdd a Qt version of the LyX server monitor program.
Enrico Forestieri [Sat, 12 Sep 2009 00:15:00 +0000 (00:15 +0000)]
Add a Qt version of the LyX server monitor program.
I tried to account for msvc based on the MS docs, but I cannot test it.
Apologies if it does not compile out of the box. It works with mingw.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31372 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoProperly reinitialise the OVERLAPPED structure (thanks Vincent!)
Enrico Forestieri [Fri, 11 Sep 2009 18:19:59 +0000 (18:19 +0000)]
Properly reinitialise the OVERLAPPED structure (thanks Vincent!)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31371 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoAdded scrollbar that shows up when dialog too small, so all buttons are accessible.
Tommaso Cucinotta [Fri, 11 Sep 2009 17:54:21 +0000 (17:54 +0000)]
Added scrollbar that shows up when dialog too small, so all buttons are accessible.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31370 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFor some reason our shortcut ui is ignore-case while bind settings
Pavel Sanda [Fri, 11 Sep 2009 12:23:29 +0000 (12:23 +0000)]
For some reason our shortcut ui is ignore-case while bind settings
are case sensitive as far as BackTab is concerned.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31369 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agopowerdot-example.lyx: remove obsolete option to be able to compile the document with...
Uwe Stöhr [Thu, 10 Sep 2009 23:30:00 +0000 (23:30 +0000)]
powerdot-example.lyx: remove obsolete option to be able to compile the document with recent versions of powerdot

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31368 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoinstaller: sync with branch
Uwe Stöhr [Thu, 10 Sep 2009 23:23:35 +0000 (23:23 +0000)]
installer: sync with branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31366 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFrench UserGuide.lyx, EmbeddedObjects.lyx: a note from Jean-Pierre for a bug in TeXLi...
Uwe Stöhr [Thu, 10 Sep 2009 22:09:15 +0000 (22:09 +0000)]
French UserGuide.lyx, EmbeddedObjects.lyx: a note from Jean-Pierre for a bug in TeXLive 2007

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31364 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix bug 6179 ("|" in index entries not embraced in ERT by lyx2lyx).
Jürgen Spitzmüller [Thu, 10 Sep 2009 12:07:42 +0000 (12:07 +0000)]
Fix bug 6179 ("|" in index entries not embraced in ERT by lyx2lyx).

* OutputParams.{cpp,h}:
- new param inIndexEntry
* InsetIndex.cpp (latex):
- set param.
* InsetErt.cpp (plainText):
- output active chars in IndexInsets

* lib/lyx2lyx/lyx_1_6.py:
- embrace "|" in ERT when converting old index entries to collapsables.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31360 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoMove LFUN_BUFFER_SWITCH from LyXFunc::getStatus to GuiView::getStatus.
Vincent van Ravesteijn [Wed, 9 Sep 2009 05:49:51 +0000 (05:49 +0000)]
Move LFUN_BUFFER_SWITCH from LyXFunc::getStatus to GuiView::getStatus.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31359 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoMove LFUN_WORD_FIND_FORWARD and LFUN_WORD_FIND_BACKWARD to their friends in BufferView.
Vincent van Ravesteijn [Wed, 9 Sep 2009 05:20:30 +0000 (05:20 +0000)]
Move LFUN_WORD_FIND_FORWARD and LFUN_WORD_FIND_BACKWARD to their friends in BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31358 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agobuffer_pimpl.C doesn't even exist.
Vincent van Ravesteijn [Wed, 9 Sep 2009 05:03:38 +0000 (05:03 +0000)]
buffer_pimpl.C doesn't even exist.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31357 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoRemove other explicit tests for an internal buffer.
Vincent van Ravesteijn [Wed, 9 Sep 2009 04:58:48 +0000 (04:58 +0000)]
Remove other explicit tests for an internal buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31356 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoRevert r31219.
Vincent van Ravesteijn [Wed, 9 Sep 2009 04:46:32 +0000 (04:46 +0000)]
Revert r31219.

This is wrong and should have been reverted long ago and since r31340 it even doesn't have any function because addToToc isn't called for an internal buffer anymore.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31355 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix visualization of keyboard short-cut in Edit menu for toggling Advanced Find and...
Tommaso Cucinotta [Tue, 8 Sep 2009 22:11:13 +0000 (22:11 +0000)]
Fix visualization of keyboard short-cut in Edit menu for toggling Advanced Find and Replace panel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31354 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix bug #6194.
Pavel Sanda [Tue, 8 Sep 2009 19:52:39 +0000 (19:52 +0000)]
Fix bug #6194.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31353 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agotypo
Pavel Sanda [Tue, 8 Sep 2009 16:21:54 +0000 (16:21 +0000)]
typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31350 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoAdded isInternal() method, mapped temporarily on check about ".internal" filename...
Tommaso Cucinotta [Tue, 8 Sep 2009 01:29:07 +0000 (01:29 +0000)]
Added isInternal() method, mapped temporarily on check about ".internal" filename extension (minimum impact on current code).
Replaced various replica of such check with the invocation of the new method.
TocBackend now does not call addToToc() for internal buffers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31340 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoFix crash when positioning cursor under some conditions, e.g., when finding in the...
Tommaso Cucinotta [Mon, 7 Sep 2009 23:58:56 +0000 (23:58 +0000)]
Fix crash when positioning cursor under some conditions, e.g., when finding in the sample documents attached to #6112.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31339 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoUpdate it.po
Enrico Forestieri [Mon, 7 Sep 2009 23:15:06 +0000 (23:15 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31338 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* GuiRef.cpp:
Jürgen Spitzmüller [Mon, 7 Sep 2009 09:04:27 +0000 (09:04 +0000)]
* GuiRef.cpp:
- use itemDoubleClicked() instead of itemActivated(). The latter is traditionally defined as single click
  on UNIX, which is not desired here (bug 6204)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31319 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* PrefFileformatsUi.ui:
Jürgen Spitzmüller [Mon, 7 Sep 2009 06:04:17 +0000 (06:04 +0000)]
* PrefFileformatsUi.ui:
- comboboxes adjust to contents.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31317 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Menus.cpp: Spelling.
Jürgen Spitzmüller [Mon, 7 Sep 2009 05:54:51 +0000 (05:54 +0000)]
* Menus.cpp: Spelling.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31316 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* LyXRC.cpp:
Jürgen Spitzmüller [Sun, 6 Sep 2009 16:06:50 +0000 (16:06 +0000)]
* LyXRC.cpp:
- support blanks in viewer_alternatives command.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31315 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Menus.cpp:
Jürgen Spitzmüller [Sun, 6 Sep 2009 14:35:08 +0000 (14:35 +0000)]
* Menus.cpp:
- re-add accelerators.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31314 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* Menus.cpp:
Jürgen Spitzmüller [Sun, 6 Sep 2009 14:28:17 +0000 (14:28 +0000)]
* Menus.cpp:
- show name of default format.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31313 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoThe call to checkStopServer was only needed when we were asking Qt
Enrico Forestieri [Sun, 6 Sep 2009 14:26:59 +0000 (14:26 +0000)]
The call to checkStopServer was only needed when we were asking Qt
to be notified on quit. Now it is superfluous.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31312 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoInterrupt the wait if the stopserver event is triggered.
Enrico Forestieri [Sun, 6 Sep 2009 13:49:34 +0000 (13:49 +0000)]
Interrupt the wait if the stopserver event is triggered.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31311 a592a061-630c-0410-9148-cb99ea01b6c8

14 years agoDisable the TOC when no document is open.
Vincent van Ravesteijn [Sun, 6 Sep 2009 13:07:24 +0000 (13:07 +0000)]
Disable the TOC when no document is open.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31308 a592a061-630c-0410-9148-cb99ea01b6c8

14 years ago* PrefFileformatsUi.ui: tweaks.
Jürgen Spitzmüller [Sun, 6 Sep 2009 09:53:50 +0000 (09:53 +0000)]
* PrefFileformatsUi.ui: tweaks.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31307 a592a061-630c-0410-9148-cb99ea01b6c8