Commit Graph

4058 Commits

Author SHA1 Message Date
Richard Heck
3f40bb1432 At least prevent the crash in #7152. Patch by John McCabe-Dansted, more
or less.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36780 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 20:55:24 +00:00
Jean-Marc Lasgouttes
3370b1d2fa Fix the last part of #3733:
- In GuiApplication::dispatch, do not call markDirty() for lfuns that are not ReadOnly
- In Undo::Private::recordUndo, call markDirty(). The indicator of dirtyness is now the existence of an undo element.
- In lyxfind, remove several markDirty calls that are not needed anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 10:30:45 +00:00
Georg Baum
c24f8ae84e Fix bug #6603.
The problem was that the child buffers were closed,
and therefore the TOC contained dangling pointers.
The fix is simple: Reopen all child docs and create a new TOC.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36766 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 21:31:31 +00:00
Jürgen Spitzmüller
f255f93b9e * Follow Vincent's advice to keep constness. Thanks Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36759 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 09:00:50 +00:00
Jürgen Spitzmüller
2653011613 * Use default output flavor for View Source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36758 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 08:36:42 +00:00
Pavel Sanda
571663dcf8 Replay r36747
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36756 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:18 +00:00
Pavel Sanda
72f91cb394 Replay r36745
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36754 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:14 +00:00
Pavel Sanda
c68d754a74 Revert commits from 36745
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:05:40 +00:00
Peter Kümmel
256b236675 use tabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:57:48 +00:00
Peter Kümmel
099059758d don't show errors when auto saving, #7132
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36745 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:54:03 +00:00
Stephan Witt
627c118d5e avoid recursive check calls triggered by updateView(); show summary and close window when forward move not possible anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36736 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 06:51:32 +00:00
Abdelrazak Younes
9cf9f86b8f Move buffer dispatching code from GuiView::dispatchToBufferView() to BufferView::dispatch().
The execution order bv -> doc_bv -> buffer -> doc_buffer was artificial and not important AFAIU.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36734 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 01:18:32 +00:00
Abdelrazak Younes
ae7bcd3312 GuiView::dispatchToBufferView(): simplify code and move some to Cursor::dispatch().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36733 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 00:57:04 +00:00
Abdelrazak Younes
9fa93b2ea8 revert r36721, this was not needed after all... chasing a wrong track.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36729 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 23:19:42 +00:00
Abdelrazak Younes
6a500079e5 Move code from GuiApplication::dispatch() to GuiView::dispatch().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36726 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:48:08 +00:00
Abdelrazak Younes
28896d1bdd revert previous commit, it did not compile of course...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36723 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:19:53 +00:00
Abdelrazak Younes
7916b0dc68 GuiApplication::dispatch(): decrease indentation at the end.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36722 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:15:51 +00:00
Abdelrazak Younes
1376c39ae6 Make sure the current view is set to busy in order to avoid a crash due to a screen redraw in the middle of a dispatch operation just because a warning or an error was displayed and the focus came back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36721 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:07:39 +00:00
Abdelrazak Younes
ecc492a3ce Fix #7021: the problem was that activating the border combo was triggering dialogToParams() and thus disallowed because of the empty value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36712 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 10:55:03 +00:00
Richard Heck
ab47822680 Towards a proper fix for bug #6846, this just disentangles a couple
things we will ultimately want to do separately.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36694 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 19:00:55 +00:00
Georg Baum
53a72a4526 fix bug #6584
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36687 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:48:06 +00:00
Pavel Sanda
840fa81104 Abdel wants to transliterate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36682 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 15:14:00 +00:00
Pavel Sanda
0464d83ce0 Nothing to translate here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36662 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 20:13:50 +00:00
Pavel Sanda
a831d1bf36 Another shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36646 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 17:10:37 +00:00
Pavel Sanda
8539c4a197 Missing shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36645 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 17:10:34 +00:00
Vincent van Ravesteijn
75cb1ebdc1 Fix crash when apply Preferences. This was introduced in r36625. Just one check too few.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36641 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 00:51:10 +00:00
Pavel Sanda
8d31d48bdd Default decimal point mask is not translatable string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36635 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 18:38:32 +00:00
Pavel Sanda
5a5c4321e1 Resave with another designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36634 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 18:38:30 +00:00
Vincent van Ravesteijn
1f8b9bf9b0 Fix bug #6263: Order of Tabs in Menu and used in Ctrl+PgUp/PgDwn is not the same as in the workarea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 13:03:46 +00:00
Jürgen Spitzmüller
bea55b35a0 * mark string (due to gender)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36620 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 08:11:36 +00:00
Enrico Forestieri
eb2600483a Fix bug #7068 (Crash when pressing down arrow in an equation when there is a suggestion)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36617 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 03:54:29 +00:00
Pavel Sanda
aef9d84e83 Disentangle various "in"s
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:55:34 +00:00
Vincent van Ravesteijn
c9da62fb08 Implement the possibility of concatenating (context) menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36605 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 23:15:31 +00:00
Jean-Marc Lasgouttes
940ab1261b Fix part of bug #7072 by opening undo groups as needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:38:13 +00:00
Jean-Marc Lasgouttes
87a0c25bc4 Fix missing undo group when doing the following:
* create math inset
* enter macro name \ww
* press left arrow to re-enter the macro name inset, add a third 'w'.
* when leaving the inset is is updated through notifyCursorLeaves, but no undo group is active



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36596 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:06:43 +00:00
Pavel Sanda
fdc3b1efd5 ui glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:10 +00:00
Pavel Sanda
182100d376 UI for #4581.
Patch from Ale.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:08 +00:00
Uwe Stöhr
d80053cda8 GuiTabular.cpp: fix #3517
- disable column alignment and width if there is a LaTeX argument
- use also for the LaTeX argument the editingFinished method (as for all other edit fields in the dialog)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36566 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 02:38:29 +00:00
Uwe Stöhr
aa69852341 TabularUi.ui: fix spacing of column width unitCB
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 02:36:25 +00:00
Georg Baum
c5799b7019 Fix bug #7091 and bug #7094
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36556 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:02:10 +00:00
Stephan Witt
0ff09a4e49 #7082 add submenu for suggestions only when not empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-27 10:53:27 +00:00
Pavel Sanda
8435660410 This string composition badly fails on some languages since as a translator
you have no clue about the context for the proper grammatical case.

I'm not particularly happy about the fix, but didn't see much better alternatives.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36532 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-27 03:04:56 +00:00
Richard Heck
4540c4a18e Final batch of BufferParam renaming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36525 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 18:42:53 +00:00
Richard Heck
fc3b06eac8 Rename a bunch of BufferParams to conform to our usual style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36524 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 18:32:29 +00:00
Richard Heck
58978d7bb5 Begin renaming some BufferParams to conform to our usual style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36523 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 18:20:48 +00:00
Richard Heck
c981018111 Fix bug #2743.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36521 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 17:30:45 +00:00
Jürgen Spitzmüller
2dc2e4770b Implement GUI for LuaTeX. File format change due to the renaming of the \use_xetex buffer param.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 09:42:03 +00:00
Vincent van Ravesteijn
f27853ad41 Cosmetics, typos and comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36492 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 16:53:56 +00:00
Uwe Stöhr
e16ee11f18 fix #1983 (rest of #4606): add missing \var*** characters (gig Greek math letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Pavel Sanda
4c39b9d84e Transition to QTreeView in module list was not finished.
Hide the tree decoration from users now, visually we are back at QListView.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36462 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 00:09:49 +00:00