Commit Graph

22416 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
2c6f0ae445 * 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
2009-10-09 12:08:47 +00:00
Pavel Sanda
08192ea2dc Seems to work too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31561 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-08 15:25:11 +00:00
Pavel Sanda
88c9d568bb Typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-08 15:21:11 +00:00
Enrico Forestieri
6fb07e35c5 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
2009-10-08 12:32:11 +00:00
Pavel Sanda
05182073a1 Correct sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31552 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-07 09:15:29 +00:00
Pavel Sanda
81bfb974ee Updaye LFUNs.lyx after while
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-07 00:13:12 +00:00
Pavel Sanda
9467c8a809 Coding style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31549 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-07 00:11:15 +00:00
Pavel Sanda
701157df09 Doc & menu entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31548 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-07 00:08:18 +00:00
Pavel Sanda
aa4c5b2d05 Icon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31547 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 23:23:17 +00:00
Pavel Sanda
4f0957c819 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
2009-10-06 23:20:52 +00:00
Jean-Marc Lasgouttes
89dde39404 clarify message for spelling libs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31545 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 15:21:24 +00:00
Jean-Marc Lasgouttes
06a229faf8 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
2009-10-06 15:13:20 +00:00
Pavel Sanda
5847e05e12 Already done
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31543 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 14:26:18 +00:00
Jean-Marc Lasgouttes
84880b5842 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
2009-10-06 14:05:57 +00:00
Jean-Marc Lasgouttes
34d26e7f5f fix wrong file name in r31506
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31541 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 13:47:08 +00:00
Pavel Sanda
a1ca858084 Fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31539 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 10:22:06 +00:00
Pavel Sanda
d67f1e3662 even better :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31538 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 10:15:14 +00:00
Pavel Sanda
ff3b2b54f2 next compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31537 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 10:12:20 +00:00
Pavel Sanda
230d5fc648 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31536 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 10:10:13 +00:00
Pavel Sanda
3f170ec08c 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
2009-10-05 23:06:29 +00:00
Abdelrazak Younes
8661b320ce Make WorkArea a pure virtual interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31534 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 21:39:23 +00:00
Abdelrazak Younes
ea0cac6e7b Cleanup virtual interfaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31533 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 21:32:20 +00:00
Abdelrazak Younes
6abd0d0edf use GuiView instead of LyXView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31532 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 21:31:45 +00:00
Abdelrazak Younes
b794a8efb1 Kornel's gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31530 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 14:56:51 +00:00
Pavel Sanda
a11372fa6b squash warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31528 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 22:58:53 +00:00
Abdelrazak Younes
1375c489eb gcc compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 22:40:00 +00:00
Pavel Sanda
944a2753aa typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31524 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 21:29:56 +00:00
Abdelrazak Younes
96f5fec524 Code simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 21:29:37 +00:00
Abdelrazak Younes
b34763a4c8 Avoid indirection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31521 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 21:23:22 +00:00
Abdelrazak Younes
3890ee964e 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
2009-10-04 21:09:39 +00:00
Abdelrazak Younes
1538827daf small LFUN status cleanups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31519 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 21:03:37 +00:00
Abdelrazak Younes
1cd45c2ae1 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
2009-10-04 20:58:20 +00:00
Pavel Sanda
19dd4f4583 Typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 15:58:46 +00:00
Enrico Forestieri
b01b9b5e84 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
2009-10-04 15:23:17 +00:00
Jürgen Spitzmüller
73a4394e97 * 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
2009-10-04 14:35:12 +00:00
Jürgen Spitzmüller
42b2fa2acf * 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
2009-10-04 14:21:51 +00:00
Jürgen Spitzmüller
e5533c552e * 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
2009-10-04 12:54:59 +00:00
Pavel Sanda
64625e0a85 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31498 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-03 23:53:47 +00:00
Pavel Sanda
8a7b05f57c 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
2009-10-03 23:07:44 +00:00
Abdelrazak Younes
2d027e83f9 Move actOnUpdatedPrefs() to LyXRC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31494 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-03 19:37:29 +00:00
Abdelrazak Younes
f47cfcf48b 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
2009-10-03 19:30:48 +00:00
Abdelrazak Younes
d38ca04ff7 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
2009-10-03 19:12:21 +00:00
Abdelrazak Younes
116c7c34c3 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
2009-10-02 23:13:19 +00:00
Jean-Marc Lasgouttes
7a52f14bc0 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
2009-10-01 09:58:53 +00:00
Abdelrazak Younes
5c2dad7029 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
2009-09-30 14:30:16 +00:00
Abdelrazak Younes
da47dc051e Fix gcc4.4 warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31485 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-30 13:50:07 +00:00
Abdelrazak Younes
f8b8f20316 remove indirection from LyXView::viewStatusMessage().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31484 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-30 07:40:27 +00:00
Abdelrazak Younes
ab8e0596a9 Mac compil fix, sorry Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-28 19:19:02 +00:00
Jürgen Spitzmüller
5695850a49 * 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
2009-09-28 11:06:53 +00:00
Enrico Forestieri
eb065995b1 Fix bug #6246: InsetMathKern is broken
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31474 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-27 17:29:01 +00:00