Commit Graph

20036 Commits

Author SHA1 Message Date
Abdelrazak Younes
4873fb9d6c We don't want to restore geometry session for dock widgets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26696 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 13:34:10 +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
Peter Kümmel
7231275a09 fix merge build: this is a std::exception
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26693 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 12:51:20 +00:00
Enrico Forestieri
4ec9b07596 Don't trust designer and manually fix TocUi.ui for Qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26692 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 11:51:49 +00:00
Enrico Forestieri
9df450b058 Revert r26686
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26691 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 11:25:38 +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
Uwe Stöhr
78d8b107fb UserGuide.lyx: describe the new outliner options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26688 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 23:53:44 +00:00
Uwe Stöhr
e654f6c0de UserGuide.lyx: fix a math superscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26687 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 23:25:36 +00:00
Enrico Forestieri
c68a342d72 Fix TocUi.ui for Qt 4.2.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26686 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 18:08:46 +00:00
Pavel Sanda
0c46365302 Port Enrico's patch for the current version of Toc.ui
so that vsize is stretched even for Qt 4.2.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26685 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 15:09:00 +00:00
Pavel Sanda
2ca370b135 Add persistent view switch to the outliner.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144343.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 15:00:43 +00:00
Richard Heck
4dc976497f Simplify the mover semantics a bit further: The extra variable being passed in
the deleted functions was never actually used, and it hasn't been for a very
long time. So the comment about the "other version" of Mover::copy() was way
out of date.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26683 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 14:41:07 +00:00
Pavel Sanda
4e02ce0a9b * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26682 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 12:17:58 +00:00
Enrico Forestieri
3ed7124d51 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26677 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 23:08:12 +00:00
Uwe Stöhr
8e2fafe1d3 - po file remerge
- some translations for de.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26676 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 22:06:19 +00:00
Uwe Stöhr
8461827e90 example files: fileformat and partly other updates second part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 20:26:35 +00:00
Jean-Marc Lasgouttes
8cc7e00cfd Turn th message about disabled socket into optional debug, since many
windows users believe that it actually means something, see e.g.
http://thread.gmane.org/gmane.editors.lyx.general/50338
http://thread.gmane.org/gmane.editors.lyx.general/39680



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 09:37:25 +00:00
Abdelrazak Younes
c7a28bbec7 Attempt to fix http://bugzilla.lyx.org/show_bug.cgi?id=4693
isDirWritable(): make it work when there is no trailing slash!
createPath(): return false if the directory already exists.
createDirectory(): don't use mymkdir on Windows, use createPath() instead.


 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26669 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 09:36:01 +00:00
Abdelrazak Younes
0ac664310a Modify the way multi-cell selection is done in tables:
* Always put the cursor at the end of the cell (this was set at the beginning with mouse selection).
* handle LFUN_SELF_INSERT in case of multi-cell selection -> the whole cell contents will be deleted.

This commit fixes http://bugzilla.lyx.org/show_bug.cgi?id=5225


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26668 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 08:18:57 +00:00
Abdelrazak Younes
1b47d2e5e2 Remove assertion that are already checked in debug mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26667 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 08:15:02 +00:00
Uwe Stöhr
0668df3828 - listings.lyx
- Minipage.lyx

delete both example files as their content is already completely included in the EmbeddedObjects manual
Can also be done for branch Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26666 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 01:06:30 +00:00
Uwe Stöhr
d89aa94268 - listings.lyx
- Minipage.lyx

delete both example files as their content is already completely included in the EmbeddedObjects manual
Can also be done for branch Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26665 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 01:01:34 +00:00
Uwe Stöhr
6a7a6a2c38 example files: fileformat and partly other general updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26664 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 00:59:36 +00:00
Uwe Stöhr
2f52e63640 Braille.lyx: update the file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26663 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 00:36:58 +00:00
Uwe Stöhr
af9752a0a6 boost.cpp: make LyX compilable again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26662 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 00:35:26 +00:00
Pavel Sanda
4006e089c9 let the sun shine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26661 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:55:08 +00:00
Pavel Sanda
37f82d6b30 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26660 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:49:25 +00:00
Pavel Sanda
7d86961eed Proper lfun handling naming for listing tabs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:42:43 +00:00
Pavel Sanda
31b1ad0407 * Make braille.module consistent.
Uwe, please check this patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26658 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:39:24 +00:00
Enrico Forestieri
70939b7e77 Fix bug 5297
http://bugzilla.lyx.org/show_bug.cgi?id=5297


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26657 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:29:11 +00:00
Peter Kümmel
2950127d8d remove warning. is this a boost bug? the macro is explicitly defined for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26655 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 19:58:56 +00:00
Uwe Stöhr
2738d32714 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26653 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:29:41 +00:00
Joost Verburg
1e81efdca3 add 256x256 icon for Windows Vista
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26650 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:23:20 +00:00
Peter Kümmel
a07f5fcc35 win2k fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26649 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:03:26 +00:00
Peter Kümmel
c2f99181e6 update boost to version 1.36
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26648 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:01:03 +00:00
Uwe Stöhr
7382c55fd7 add support for TABs in Listings, fileformat change, fixes http://bugzilla.lyx.org/show_bug.cgi?id=3629 , patch by Vincent, lyx2lyx and UI stuff by me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26647 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:00:02 +00:00
Jean-Marc Lasgouttes
ede2dbfade Cleanup and layoutification of the InsetInfo class.
* InsetInfo.cpp (InsetInfo): derive from InsetCollapsable instead of 
	InsetText, so that we can use InsetLayout. Should be reverted when the 
	layout stuff is migrated to InsetText or some lower level.
	(initTranslator, nameTranslator): moved outside of the class.
	(name, neverIndent): added.
	(draw, setMouseHover): removed.
	(updateInfo): cleanup and use layout
	(read, setInfo): make sure to reset layout.

	* lib/layouts/stdinsets.inc: add layouts for the various Info insets.
	These are used for both display and output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26646 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 14:11:40 +00:00
Jean-Marc Lasgouttes
709df05d9f Fix properly bug 5287: http://bugzilla.lyx.org/show_bug.cgi?id=5287
* BufferView.cpp (setCursorFromInset): do not ignore the first inset 
	of the document; revert first tentative patch for this bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26645 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 13:47:16 +00:00
José Matox
06b1a3615c Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 13:03:03 +00:00
Abdelrazak Younes
b54b51c694 gcc compile fix: vector::insert() requires an iterator, not a const_iterator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26642 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 12:34:36 +00:00
Abdelrazak Younes
f40a74eae2 Fix the order of changes in the Navigator. They appeared backwards.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26641 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 11:26:40 +00:00
Abdelrazak Younes
2d55770a29 stupid cut&paste error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26640 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 11:18:16 +00:00
Abdelrazak Younes
5ce39aa8b5 Add a "List of Changes" in the Navigator. The list is updated only when the document structure is reset or when the update button is clicked. Some work is needed to track more finely individual changes as we do for sections.
Changes::addToToc(): New method to insert changes sorted by authors. The symbols 0x2702 and 0x270d are used to represent deletion and insertion.

TocBackend::item(): new method to lookup for a given item.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26639 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 11:06:34 +00:00
Abdelrazak Younes
7236cfc31d revert faulty commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26638 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 10:07:22 +00:00
Abdelrazak Younes
9388404c88 TocWidget::updateView(): only set the tree depth if there's a model reset. This is to avoid node collapsing when simply editing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26637 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 09:59:33 +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
Jürgen Spitzmüller
03b652c9b8 * InsetInclude.cpp:
- fix duplicate check of listings labels.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26635 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 08:41:37 +00:00
Abdelrazak Younes
6bd9b43ce5 cosmetics and doxygen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26634 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 07:38:34 +00:00