]>
git.lyx.org Git - lyx.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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