Commit Graph

316 Commits

Author SHA1 Message Date
Georg Baum
ac1fd9b37f fix bug 2558: hspace support in math
The basic idea was to reuse the corresponding text space inset in the same
fashion as is already done for references. The dialog displays a different
selection for math than for text. If wanted, the additional spaces could
also be enabled for text, but that would be a file format change.
Constructs like \hspace{\mylengthvariable} that are not supported are
treated by the math parser as ERT as before.

For reasons I don't know the context menu does not work, but this is not so
important IMHO (since a left click opens the dialog).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 18:12:32 +00:00
Vincent van Ravesteijn
10b88864a8 Add *.lyx16 filter to File->Open..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27754 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-30 19:14:34 +00:00
Vincent van Ravesteijn
9c9cdd3912 Fix bug 5507: Full screen hangs LyX when no file is opened
http://bugzilla.lyx.org/show_bug.cgi?id=5507

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27744 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 17:29:13 +00:00
Vincent van Ravesteijn
d6f4fb4944 Some fixes for the buttons of the Document and Preferences dialog:
http://bugzilla.lyx.org/show_bug.cgi?id=5295
- set the bc status to INITIAL when the dialog is initialized, and
- enable the restore button in the Document dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27683 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 14:12:39 +00:00
Pavel Sanda
45624a5864 Since meeting we have new codename :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27617 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-18 01:38:18 +00:00
André Pönitz
f8f5a7b28d move updateLables to buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27562 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 16:43:49 +00:00
Stefan Schimanski
f54ef5c173 * open popup on complete-accept if there is a completion available
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27561 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 16:34:16 +00:00
André Pönitz
ad4f5eec6c even less framing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 15:32:11 +00:00
André Pönitz
be16d48d5d remove mourning border from workarea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27551 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 14:36:55 +00:00
Abdelrazak Younes
deef2728c7 The rest of Tommaso patch with some cleanups. Not very clean still but at least it compiles!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 01:20:34 +00:00
André Pönitz
8e2f971ada remove ispell and pspell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:47:25 +00:00
Pavel Sanda
25079068ea Fix fullscreen & settings dialog. Very annoying one.
http://bugzilla.lyx.org/show_bug.cgi?id=5274


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27460 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 16:33:02 +00:00
Stefan Schimanski
f9f5c3baa5 * proper mechanism to dispatch FuncRequests delayed, i.e. when the event loop is idle again
* fixes http://bugzilla.lyx.org/show_bug.cgi?id=5447

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27459 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 16:29:58 +00:00
André Pönitz
baa22609da latin1->utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27424 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:29:47 +00:00
André Pönitz
1fc477efac thrid attempt at changing the naming pattern of the intermediated 'mocced' files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27420 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 14:28:50 +00:00
Stefan Schimanski
5d9b126c96 * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5387
Gui is not setup yet when the file is opened from clicking on it in Finder
  with a closed LyX. We have to wait until the batch commands are executed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:04:37 +00:00
Stefan Schimanski
09399b45f7 * Trivial fix to set the icon size to normal, not 32 as Qt sets it by default on Mac (fixes #5388)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 09:06:50 +00:00
Stefan Schimanski
e8d264e998 * don't rely on the restartCursor call to update the dialog on fullscreen switch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27064 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:46:53 +00:00
Stefan Schimanski
eb80fcdf69 * fix crashing special menu items on Mac after preferences have been changed.
* fix duplicated special menu items in Mac (fixed bug #5168)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27022 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:02:09 +00:00
Abdelrazak Younes
b23058c578 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5319
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 08:42:43 +00:00
Abdelrazak Younes
e29edccc3f GuiView::findOrBuild(): hide the dialog if requested and the dialog already exists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26695 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 13:17:22 +00:00
Abdelrazak Younes
ac55ec0f56 It seems that somebody added the code to show the dockwidget at layout restoration time. This is wrong so I reverted this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26694 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 13:12:58 +00:00
Abdelrazak Younes
4ea899a7af Make sure that the focus is correctly set before closing a window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26690 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 07:54:32 +00:00
Abdelrazak Younes
d8a6c1fc1e potential bug fix, reported by Richard:
Open LyX. Open a new window. Open a new window. Close the first. Close the second.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26689 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 07:38:51 +00:00
Abdelrazak Younes
7bd33462a0 Avoid a complete Toc reset in case when only a toc item update is needed.
* Buffer: new updateTocItem() signal (with Delegates and GuiView associates).
* TocBackend: take care of the signal emission instead of the Cursor::checkBufferStructure()
* TocModel: new updateTocItem() method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26636 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 09:50:54 +00:00
Abdelrazak Younes
3a0ee2070c Add fall back code to assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 08:42:18 +00:00
Jean-Marc Lasgouttes
1db80d4df6 make sure that INSET_APPLY dispatching is inside an undo group
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26539 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 13:20:53 +00:00
Abdelrazak Younes
475a48b78d GuiView::saveLayout(): Use QSettings::beginGroup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26490 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 06:50:35 +00:00
Abdelrazak Younes
305079fb23 X11 compil fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 06:48:08 +00:00
Abdelrazak Younes
ed1122f86b Use QSettings::beginGroup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 22:34:19 +00:00
Abdelrazak Younes
8e4d2d66ce Reset the geometry and ui settings whenever a change in the ui files is selected. This commit will destroy any current geometry session. The "view-id/" nodes are converted into "view/id/" nodes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26484 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 21:28:37 +00:00
Jean-Marc Lasgouttes
d585528d50 fix properly http://bugzilla.lyx.org/show_bug.cgi?id=2040
* BufferView.cpp (setCursorFromInset): new method, useful to find
	an inset that is known to be in the document.

	* frontends/qt4/GuiView.cpp (dispatch): do a proper recordUndo
	befire appplying changes to an inset. The insets are responsible
	for recording additional undo steps that could be needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26428 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-17 14:51:27 +00:00
Jean-Marc Lasgouttes
cf7fdf78bb fix a bunch of harmless warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-16 11:33:07 +00:00
Pavel Sanda
1d25a38fc1 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26362 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 02:21:14 +00:00
Pavel Sanda
a6df920f6b Try to fix the rest of bug http://bugzilla.lyx.org/show_bug.cgi?id=5082 .
(Initialize dialogs after lyx launch).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26359 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 02:02:56 +00:00
Pavel Sanda
e6a27a4724 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5234 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26338 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 15:46:23 +00:00
Pavel Sanda
cc5d0478c6 Move code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26332 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 00:27:07 +00:00
Pavel Sanda
375a2e6e1c Add completion-accept lfun.
Fixes first part of http://bugzilla.lyx.org/show_bug.cgi?id=5062 .

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143281.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26331 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 00:24:47 +00:00
Stefan Schimanski
f6084eaaa9 * LFUNs complete and complete-cancel. No key interception anymore. For now you have to bind the two LFUNs yourself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26330 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 00:13:55 +00:00
Richard Heck
1c5003c4ef Make sure that in_show_ is reset to false, even if an exception is thrown
when we're trying to show a dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26142 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 14:25:56 +00:00
Richard Heck
8c6ba1dd6c Patch from Vincent. This resets the window title appropriately, after
the last BufferView has been closed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26115 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-11 12:57:02 +00:00
Pavel Sanda
c611a1311e Disabling Fullscreen menu feature under X11, until bug
http://bugzilla.lyx.org/show_bug.cgi?id=4888 is fixed.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26059 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 13:03:31 +00:00
Pavel Sanda
d3e62cfe31 Better string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25978 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 13:25:07 +00:00
Pavel Sanda
432c3b23ce VCS: add some message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25973 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 11:55:27 +00:00
Abdelrazak Younes
d56faa70c4 BufferList::getBuffer(): migrate to FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25958 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 08:16:09 +00:00
Jürgen Spitzmüller
89af456100 * GuiView.cpp:
- disable non-working splitting actions (bug 5044).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25712 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 13:17:46 +00:00
Abdelrazak Younes
79beb91e3a Sanitize LyX singleton access by getting rid of ref() and cref() methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 08:35:00 +00:00
Abdelrazak Younes
11e1821284 Fix crash when tab group is closed while Outline is opened.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25537 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 12:44:50 +00:00
Abdelrazak Younes
a54850d762 GuiApplication::resetGui(): reset as many things as possible, including menus and toolbars (not sure about Mac global menubar yet). This means that except for already opened dialog, all ui rc settings are taken into account without the need to restart.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25390 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 18:03:38 +00:00
Abdelrazak Younes
162b3b3b30 Fix toc and source-view initial showing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25384 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 07:23:30 +00:00