]> git.lyx.org Git - lyx.git/log
lyx.git
14 years agoAssure the author is encoded correctly in the LaTeX output of change tracking markup...
Jürgen Spitzmüller [Mon, 12 Oct 2009 16:22:05 +0000 (16:22 +0000)]
Assure the author is encoded correctly in the LaTeX output of change tracking markup (bug 6225).

Patch reviewed by Jean-Marc.

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

14 years agodisable the del-suppresses-equation-label-at-end feature (not easy to describe, is...
Jean-Marc Lasgouttes [Mon, 12 Oct 2009 15:20:23 +0000 (15:20 +0000)]
disable the del-suppresses-equation-label-at-end feature (not easy to describe, is it?) when there is a selection

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

14 years ago* de.po: forgotten corrections.
Jürgen Spitzmüller [Sun, 11 Oct 2009 15:42:12 +0000 (15:42 +0000)]
* de.po: forgotten corrections.

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

14 years ago* de.po: another typo.
Jürgen Spitzmüller [Sun, 11 Oct 2009 15:38:46 +0000 (15:38 +0000)]
* de.po: another typo.

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

14 years agode.po: fix a typo
Uwe Stöhr [Sun, 11 Oct 2009 15:28:25 +0000 (15:28 +0000)]
de.po: fix a typo

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

14 years agofix merged build
Peter Kümmel [Sun, 11 Oct 2009 10:30:00 +0000 (10:30 +0000)]
fix merged build

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

14 years ago* de.po: sync with branch.
Jürgen Spitzmüller [Sun, 11 Oct 2009 09:59:34 +0000 (09:59 +0000)]
* de.po: sync with branch.

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

14 years ago* InsetInclude.cpp:
Jürgen Spitzmüller [Sun, 11 Oct 2009 09:34:13 +0000 (09:34 +0000)]
* InsetInclude.cpp:
- use bformat for syntactically proper translatable message.

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

14 years agoxypic.lyx: add a list item to assure that InstantPreview always works correctly.
Uwe Stöhr [Sun, 11 Oct 2009 02:12:51 +0000 (02:12 +0000)]
xypic.lyx: add a list item to assure that InstantPreview always works correctly.

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

14 years agofix build systems after r31445
Uwe Stöhr [Sun, 11 Oct 2009 01:59:10 +0000 (01:59 +0000)]
fix build systems after r31445

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

14 years agoFix bug #6270: Bug in parsing selection as math macro argument
Enrico Forestieri [Sat, 10 Oct 2009 19:11:23 +0000 (19:11 +0000)]
Fix bug #6270: Bug in parsing selection as math macro argument

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

14 years agoadd the new Slovak splash.lyx also to trunk
Uwe Stöhr [Sat, 10 Oct 2009 14:27:11 +0000 (14:27 +0000)]
add the new Slovak splash.lyx also to trunk

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

14 years agoxypic.lyx: resync with branch (no change in the text of the document)
Uwe Stöhr [Sat, 10 Oct 2009 14:11:25 +0000 (14:11 +0000)]
xypic.lyx: resync with branch (no change in the text of the document)

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

14 years agoFix bug #6250: LyX 1.6.4 crashes when copying Japanese text in math to clipboard
Enrico Forestieri [Fri, 9 Oct 2009 21:33:08 +0000 (21:33 +0000)]
Fix bug #6250: LyX 1.6.4 crashes when copying Japanese text in math to clipboard

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

14 years ago* InsetExternal.cpp:
Jürgen Spitzmüller [Fri, 9 Oct 2009 12:40:34 +0000 (12:40 +0000)]
* InsetExternal.cpp:
* GuiExternal.cpp:
- do not crash if the list of external templates is empty (bug #3974).

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

14 years ago* GuiExternal.cpp:
Jürgen Spitzmüller [Fri, 9 Oct 2009 12:08:47 +0000 (12:08 +0000)]
* GuiExternal.cpp:
- do not use invalid index if a template is not found. Fixes crash bug #6259.

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

14 years agoSeems to work too
Pavel Sanda [Thu, 8 Oct 2009 15:25:11 +0000 (15:25 +0000)]
Seems to work too

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

14 years agoTypo
Pavel Sanda [Thu, 8 Oct 2009 15:21:11 +0000 (15:21 +0000)]
Typo

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

14 years agoFix bug #6264: Broken undo of removed script in mathed when both scripts are present.
Enrico Forestieri [Thu, 8 Oct 2009 12:32:11 +0000 (12:32 +0000)]
Fix bug #6264: Broken undo of removed script in mathed when both scripts are present.

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

14 years agoCorrect sorting
Pavel Sanda [Wed, 7 Oct 2009 09:15:29 +0000 (09:15 +0000)]
Correct sorting

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

14 years agoUpdaye LFUNs.lyx after while
Pavel Sanda [Wed, 7 Oct 2009 00:13:12 +0000 (00:13 +0000)]
Updaye LFUNs.lyx after while

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

14 years agoCoding style
Pavel Sanda [Wed, 7 Oct 2009 00:11:15 +0000 (00:11 +0000)]
Coding style

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

14 years agoDoc & menu entry
Pavel Sanda [Wed, 7 Oct 2009 00:08:18 +0000 (00:08 +0000)]
Doc & menu entry

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

14 years agoIcon
Pavel Sanda [Tue, 6 Oct 2009 23:23:17 +0000 (23:23 +0000)]
Icon

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

14 years agoBug #6255 - Update linked files with version control
Pavel Sanda [Tue, 6 Oct 2009 23:20:52 +0000 (23:20 +0000)]
Bug #6255 - Update linked files with version control

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

14 years agoclarify message for spelling libs
Jean-Marc Lasgouttes [Tue, 6 Oct 2009 15:21:24 +0000 (15:21 +0000)]
clarify message for spelling libs

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

14 years agoremove traces of libtool and of obsolete autoconf macros
Jean-Marc Lasgouttes [Tue, 6 Oct 2009 15:13:20 +0000 (15:13 +0000)]
remove traces of libtool and of obsolete autoconf macros

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

14 years agoAlready done
Pavel Sanda [Tue, 6 Oct 2009 14:26:18 +0000 (14:26 +0000)]
Already done

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

14 years agocleanup the help messages of the configure script; now --with-version-suffix shows...
Jean-Marc Lasgouttes [Tue, 6 Oct 2009 14:05:57 +0000 (14:05 +0000)]
cleanup the help messages of the configure script; now --with-version-suffix shows what the default suffix is

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

14 years agofix wrong file name in r31506
Jean-Marc Lasgouttes [Tue, 6 Oct 2009 13:47:08 +0000 (13:47 +0000)]
fix wrong file name in r31506

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

14 years agoFix warning
Pavel Sanda [Tue, 6 Oct 2009 10:22:06 +0000 (10:22 +0000)]
Fix warning

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

14 years agoeven better :)
Pavel Sanda [Tue, 6 Oct 2009 10:15:14 +0000 (10:15 +0000)]
even better :)

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

14 years agonext compil fix
Pavel Sanda [Tue, 6 Oct 2009 10:12:20 +0000 (10:12 +0000)]
next compil fix

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

14 years agotypo
Pavel Sanda [Tue, 6 Oct 2009 10:10:13 +0000 (10:10 +0000)]
typo

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

14 years agoFix bug #5977 - Make Close button on tabs configurable
Pavel Sanda [Mon, 5 Oct 2009 23:06:29 +0000 (23:06 +0000)]
Fix bug #5977 - Make Close button on tabs configurable
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg154950.html

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

14 years agoMake WorkArea a pure virtual interface.
Abdelrazak Younes [Mon, 5 Oct 2009 21:39:23 +0000 (21:39 +0000)]
Make WorkArea a pure virtual interface.

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

14 years agoCleanup virtual interfaces.
Abdelrazak Younes [Mon, 5 Oct 2009 21:32:20 +0000 (21:32 +0000)]
Cleanup virtual interfaces.

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

14 years agouse GuiView instead of LyXView
Abdelrazak Younes [Mon, 5 Oct 2009 21:31:45 +0000 (21:31 +0000)]
use GuiView instead of LyXView

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

14 years agoKornel's gcc compile fix.
Abdelrazak Younes [Mon, 5 Oct 2009 14:56:51 +0000 (14:56 +0000)]
Kornel's gcc compile fix.

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

14 years agosquash warning
Pavel Sanda [Sun, 4 Oct 2009 22:58:53 +0000 (22:58 +0000)]
squash warning

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

14 years agogcc compil fix.
Abdelrazak Younes [Sun, 4 Oct 2009 22:40:00 +0000 (22:40 +0000)]
gcc compil fix.

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

14 years agotypo
Pavel Sanda [Sun, 4 Oct 2009 21:29:56 +0000 (21:29 +0000)]
typo

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

14 years agoCode simplification.
Abdelrazak Younes [Sun, 4 Oct 2009 21:29:37 +0000 (21:29 +0000)]
Code simplification.

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

14 years agoAvoid indirection.
Abdelrazak Younes [Sun, 4 Oct 2009 21:23:22 +0000 (21:23 +0000)]
Avoid indirection.

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

14 years agoRemove dead code and associated comments. This encoded_last_key member was never...
Abdelrazak Younes [Sun, 4 Oct 2009 21:09:39 +0000 (21:09 +0000)]
Remove dead code and associated comments. This encoded_last_key member was never used.

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

14 years agosmall LFUN status cleanups.
Abdelrazak Younes [Sun, 4 Oct 2009 21:03:37 +0000 (21:03 +0000)]
small LFUN status cleanups.

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

14 years agoTransfer all keyboard related code and actions from LyXFunc to GuiApplication. Part...
Abdelrazak Younes [Sun, 4 Oct 2009 20:58:20 +0000 (20:58 +0000)]
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...

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

14 years agoTypo
Pavel Sanda [Sun, 4 Oct 2009 15:58:46 +0000 (15:58 +0000)]
Typo

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

14 years agoFix bug #6258: LyX incorrectly interprets tetex warnings as errors.
Enrico Forestieri [Sun, 4 Oct 2009 15:23:17 +0000 (15:23 +0000)]
Fix bug #6258: LyX incorrectly interprets tetex warnings as errors.

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

14 years ago* GuiView.cpp (reloadBuffer):
Jürgen Spitzmüller [Sun, 4 Oct 2009 14:35:12 +0000 (14:35 +0000)]
* GuiView.cpp (reloadBuffer):
- adjust r31510 to prevent null pointer.

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

14 years ago* GuiView.cpp (reloadBuffer):
Jürgen Spitzmüller [Sun, 4 Oct 2009 14:21:51 +0000 (14:21 +0000)]
* GuiView.cpp (reloadBuffer):
- make sure a child is re-allocated to its master after reloading (bug 6233).

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

14 years ago* New layout files for Inderscience journals, contributed by Koji Yokota.
Jürgen Spitzmüller [Sun, 4 Oct 2009 12:54:59 +0000 (12:54 +0000)]
* New layout files for Inderscience journals, contributed by Koji Yokota.
  The old layout file is marked deprecated.

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

14 years agotypo
Pavel Sanda [Sat, 3 Oct 2009 23:53:47 +0000 (23:53 +0000)]
typo

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

14 years agoNext patch for keystest from John McCabe-Dansted.
Pavel Sanda [Sat, 3 Oct 2009 23:07:44 +0000 (23:07 +0000)]
Next patch for keystest from John McCabe-Dansted.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg154502.html

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

14 years agoMove actOnUpdatedPrefs() to LyXRC.
Abdelrazak Younes [Sat, 3 Oct 2009 19:37:29 +0000 (19:37 +0000)]
Move actOnUpdatedPrefs() to LyXRC.

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

14 years agoCleanups:
Abdelrazak Younes [Sat, 3 Oct 2009 19:30:48 +0000 (19:30 +0000)]
Cleanups:
Remove dead code and make sendDispatchMessage() a local function.

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

14 years agoMove Undo::beginUndoGroup() and Undo::endUndoGroup() calls to where they are used...
Abdelrazak Younes [Sat, 3 Oct 2009 19:12:21 +0000 (19:12 +0000)]
Move Undo::beginUndoGroup() and Undo::endUndoGroup() calls to where they are used and necessary, hopefully.

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

14 years agoWe cannot use a static int as there are usually multiple InsetText in a same document.
Abdelrazak Younes [Fri, 2 Oct 2009 23:13:19 +0000 (23:13 +0000)]
We cannot use a static int as there are usually multiple InsetText in a same document.

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

14 years agofix bug #6249: optional argument of \bibitem is not imported correctly by tex2lyx
Jean-Marc Lasgouttes [Thu, 1 Oct 2009 09:58:53 +0000 (09:58 +0000)]
fix bug #6249: optional argument of \bibitem is not imported correctly by tex2lyx

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

14 years agoFix crash noticed by Bennett:
Abdelrazak Younes [Wed, 30 Sep 2009 14:30:16 +0000 (14:30 +0000)]
Fix crash noticed by Bennett:

Open new document; LyX > Preferences; change
anything; click on "Save" button --> Crash. Backtrace is below.

Once again, this does not happen when no document is open.

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

14 years agoFix gcc4.4 warnings.
Abdelrazak Younes [Wed, 30 Sep 2009 13:50:07 +0000 (13:50 +0000)]
Fix gcc4.4 warnings.

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

14 years agoremove indirection from LyXView::viewStatusMessage().
Abdelrazak Younes [Wed, 30 Sep 2009 07:40:27 +0000 (07:40 +0000)]
remove indirection from LyXView::viewStatusMessage().

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

14 years agoMac compil fix, sorry Bennett.
Abdelrazak Younes [Mon, 28 Sep 2009 19:19:02 +0000 (19:19 +0000)]
Mac compil fix, sorry Bennett.

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

14 years ago* add modules to do equation/figure/table numbering sectionwise.
Jürgen Spitzmüller [Mon, 28 Sep 2009 11:06:53 +0000 (11:06 +0000)]
* add modules to do equation/figure/table numbering sectionwise.
  Use these modules in the AMS classes (instead of preamble hardcoding).

This is bug 6123.

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

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