Commit Graph

14494 Commits

Author SHA1 Message Date
Richard Heck
244cda474c Add a FIXME. We need to be more careful here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26766 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 03:16:26 +00:00
Richard Heck
94bc5c3086 Further to r26743, add CustomPars and ForcePlain layout tags to InsetLayout,
so that the allowParagraphCustomization() and forcePlainLayout() features can
be independently controlled.

At present, these are active only for InsetFlex. In future, they should be made
active for InsetCollapsable, in general. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26757 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:38:22 +00:00
Peter Kümmel
30260f0a4d underlying filesystem is case insensitive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:37:56 +00:00
Uwe Stöhr
dfcd6fb7ea make Latvian documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5324
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:12:12 +00:00
Pavel Sanda
bba02237ea Typo from Bennett
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 18:09:51 +00:00
Peter Kümmel
9229214eea fix bug 5332: preferences opens wrong folder for keyboard maps when there is no valid map
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26748 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 14:11:04 +00:00
Uwe Stöhr
8d11bc23be BufferParams.cpp: make Lithuanian documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26746 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 13:42:37 +00:00
Peter Kümmel
f4787aa9c9 Use long path names when comparing FileNames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26745 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 12:08:21 +00:00
Peter Kümmel
cab745d661 Fix bug 2235: jpeg capital letters (.JPG) does not work with pdflatex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26744 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 11:51:18 +00:00
Jürgen Spitzmüller
e7b99324ca * InsetFlex.h:
- correct the enabling of paragraph and layout changes as far as this
	  is possible with the current interface (see FIXMEs).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26743 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 11:00:48 +00:00
Jürgen Spitzmüller
f9e0957eb8 * InsetIndex.h:
- disallow layout and paragraph changes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26742 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:44:30 +00:00
Jürgen Spitzmüller
19372cb052 * InsetBox.h (allowParagraphCustomization):
- fix logic, constify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26741 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:22:53 +00:00
Jürgen Spitzmüller
e996067afa * InsetCollapsable.cpp (getStatus):
- this code is now in InsetText.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26740 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:05:18 +00:00
Jürgen Spitzmüller
a0e6594ced fix bug 3434.
* InsetText.cpp (getStatus):
	- correctly disable layout and paragraph settings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 09:51:28 +00:00
Enrico Forestieri
964a4fac79 Fix bug 1784
http://bugzilla.lyx.org/show_bug.cgi?id=1784


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 00:50:39 +00:00
Peter Kümmel
0d75676233 don't reinvent the wheel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 15:57:26 +00:00
Peter Kümmel
e3a494d322 fix bug 4693, Exporting files doesn't create the files in the correct folder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26718 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 12:05:06 +00:00
Jürgen Spitzmüller
e2fc0d4385 Box fixes from Vincent and me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26711 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 09:24:40 +00:00
Richard Heck
605ce88938 Fix Abdel's FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26708 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 23:16:51 +00:00
Richard Heck
e852600e61 Typo, from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26707 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 22:58:29 +00:00
Abdelrazak Younes
4f878b3566 stupid me...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26702 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 19:57:13 +00:00
Abdelrazak Younes
448f715831 Fix assertion with imaginary end-of-par in Changes::addToToc().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26701 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 19:53:53 +00:00
Jürgen Spitzmüller
87018001e1 * ListingsUi.ui: polish.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26698 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 16:22:55 +00:00
Abdelrazak Younes
f5b6ca1909 Don't show the dock widget at construction time. This should fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5273
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26697 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 13:45:56 +00:00
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
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
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
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
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
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
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