Commit Graph

23609 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
167b6dc0f2 Make LFUN_HELP_OPEN open the document in read-only mode.
This fixes problems where Mac users can modify the documentation
by mistake. Note that it is still possible to open those document by
explicit path or to toggle off the read-only status (but this is only
useful to documentors anyway).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33260 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 12:01:17 +00:00
Jean-Marc Lasgouttes
a1e991a82e Get rid of the errorstat and dispatch_buffer members of LyXFunc.
This required to make Cursor::disp_ mutable.

Also, the server parts now pass a DispatchResult object to dispatch (which is
a good thing anyway).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33259 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 11:22:33 +00:00
Jean-Marc Lasgouttes
00338d3747 add a dispatchresult parameter to lyxview::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33258 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 10:42:39 +00:00
Jürgen Spitzmüller
818aeeddc6 * de.po: resolve some conflicting shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33257 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 10:06:58 +00:00
Jürgen Spitzmüller
1d6745f618 * po/*.po: remerge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33256 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 09:04:24 +00:00
Jürgen Spitzmüller
676aca028d * FindAndReplace.cpp:
- correct strings, following the attempt at r33252.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33255 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 08:59:09 +00:00
Jürgen Spitzmüller
d907d5421e * GuiView.cpp:
- use tabbed dock area for multiple docks (such as "source" and "messages")
	  by default (requires Qt 4.3).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33254 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 08:19:45 +00:00
Tommaso Cucinotta
52c059e68a Make the fake sequence for braces highly unlikely (addressing #6478).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33253 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 07:35:13 +00:00
Tommaso Cucinotta
a75fd08b65 Changed "from begin" to "from the beginning", as suggested by gmatht (in #6478)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33252 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 07:29:25 +00:00
Vincent van Ravesteijn
489b80aef4 Correct the mess introduced in r33250.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33251 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 20:03:09 +00:00
Vincent van Ravesteijn
61eecb8a44 Expand the string "regexp" to something user will better be able to understand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33250 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 19:56:12 +00:00
Jürgen Spitzmüller
7bbd67eb26 * Implement updateLabels in mathed and add the MathRef insets to the references cache.
This fixes bug #1560.

The diverse setBuffer / updateLabels calls need auditing. See FIXMEs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33249 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 17:37:22 +00:00
Tommaso Cucinotta
c6784d708d Open or closed braces ({ or }) are now translated to non-braces fake constructs while searching (fixes #6478, avoiding assert).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33248 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 17:26:18 +00:00
Jürgen Spitzmüller
5b2d31fbb1 * InsetTabular.cpp (addToToc):
- pass correct iterator (and prevent assertion).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33247 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 12:25:43 +00:00
Jürgen Spitzmüller
fd40810a8c * InsetMathHull.h: constness, as suggested by Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33243 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 09:18:15 +00:00
Jürgen Spitzmüller
bc5fd28ddf * InsetTabular.{cpp, h}:
- implement addToToc (bug 6372).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33240 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 08:33:14 +00:00
Vincent van Ravesteijn
347d4a7d3e Rewrite FindAndReplace::eventFilter() and make it more human-readable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33238 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 19:17:18 +00:00
Tommaso Cucinotta
e6fbc8bc72 Get rid of non-existent slot warning after removal of Close button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33237 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 18:38:43 +00:00
Vincent van Ravesteijn
a4e03846cd Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33236 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 18:10:33 +00:00
Pavel Sanda
b16e500d5c Let the tag affect other sides too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33235 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 17:23:40 +00:00
Pavel Sanda
ae752e13a5 Introduce "samerow" toolbar tag and let View/Update toolbar to be in the
beginning of the first row.

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



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 17:19:14 +00:00
Tommaso Cucinotta
19806d62f7 Avoid overlapping of shortcuts with Menu items (for English and Italian).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33232 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 12:35:16 +00:00
Tommaso Cucinotta
23fda6aaf7 Removed redundant Close button (space may be useful for smth. else).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33231 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 12:27:58 +00:00
Jürgen Spitzmüller
a484f95910 When pasting a math inset with a label, check for duplicates (as we do outside math)
(bug 6218)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33230 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 08:41:19 +00:00
Vincent van Ravesteijn
f68fcc98a9 Fix bug #6477: LFUN_OUTLINE_* don't work anymore.
This code was erroneously killed in r33050.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33229 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-26 16:57:29 +00:00
Kornel Benko
686cd4e3a5 Remove moc-files from the set of source files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33228 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-26 12:40:51 +00:00
Abdelrazak Younes
9eabfb51ac Buffer: Pimpl private methods and fix a few constness issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33227 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 18:39:08 +00:00
Jean-Marc Lasgouttes
fe9a43f44b Add DispatchResult argument to BufferView::dispatch, and remove explicit updates in there.
Split LyXFunc::dispatch into a wrapper that does the actual screen updates and
a worker method that updates a DispatchResult object.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33226 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 15:14:41 +00:00
Enrico Forestieri
6ca1889ade Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33225 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 15:00:21 +00:00
Abdelrazak Younes
a4e56ba613 Buffer: Pimpl gui_ and remove unused code. support/SignalSlot* should
probably go also as we agreed that if we need signal/slot in src/ we'll
directly use Qt's.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33224 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 14:32:39 +00:00
Abdelrazak Younes
d9f22c0233 Get rid of mostly unused methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33223 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 14:13:04 +00:00
Abdelrazak Younes
11474f6b89 Get rid of Buffer::setReadOnly() pseudo signal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33222 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 13:31:07 +00:00
Jürgen Spitzmüller
e4f796aee7 FindAndReplace.cpp: line length and formatting blues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33221 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 08:06:26 +00:00
Jürgen Spitzmüller
fa1d1a464d FindAndReplaceUi.ui: add tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33220 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 07:45:41 +00:00
Jürgen Spitzmüller
6b014049b9 * po/*.po: remerge (new strings)
* de.po: update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33219 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 07:32:28 +00:00
Jürgen Spitzmüller
995471b16d * add forgotten l7n tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33218 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 07:23:58 +00:00
Jürgen Spitzmüller
138a4f8e9c * FindAndReplace{cpp,h,Ui.ui}: some UI plishment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33217 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 06:58:54 +00:00
Enrico Forestieri
f3d50cd4a5 Remerge po files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33215 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 23:56:45 +00:00
Pavel Sanda
16d73a907b Add to credit, sorry Edwin your 2c seem to be the only ones
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157258.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33213 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 21:47:07 +00:00
Vincent van Ravesteijn
f470cd71ae First try for a dutch translation (this is a lot of work :().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33212 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 21:16:19 +00:00
Pavel Sanda
55a52edb2c next doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33210 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 20:46:09 +00:00
Pavel Sanda
091bdc1ac2 Spotted by JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33209 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 20:16:43 +00:00
Vincent van Ravesteijn
f792df16b3 GuiCitation.cpp:
CitationUi.ui:
   - fix the casing
   - replace some informal expressions by some proper sentences (I don't like things like "Delete key works, too"

BiblioUi.ui:
   - "man bibtex" has no value in the non-linux world
   - stick to the BibTeX convention compared to bibtex

FindAndReplaceUi.ui:
   - fix the casing
   - remove the "current file" annotations
   - some other fixes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33208 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 19:16:44 +00:00
Enrico Forestieri
c710d4da24 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33207 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:58:04 +00:00
Vincent van Ravesteijn
bbb7e00486 IndicesUi.ui: Fix copy&paste error in the tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33206 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:50:46 +00:00
Jürgen Spitzmüller
ee9a70acbe * BufferView.cpp:
- Fix crash when performing word-replace while the cursor has a selection
	  in mathed (bug 6437)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33204 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:35:10 +00:00
Vincent van Ravesteijn
5adf922939 EmbeddedObjects manual: typos and other minor issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33202 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:26:48 +00:00
Uwe Stöhr
b689723251 de.po: translate a string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33200 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 16:18:35 +00:00
Uwe Stöhr
dff2e9d9ef it.po: fix compilation (entry for "Diamond" appeared twice)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33199 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 16:18:13 +00:00
Vincent van Ravesteijn
5d91b83813 Fix compilation with CMake on linux. (Am I the only one having this problem ?).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33197 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 13:57:45 +00:00