Commit Graph

459 Commits

Author SHA1 Message Date
Pavel Sanda
6d40196285 * Doxy. This function was probably meant as something more powerful in the begining.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-27 00:15:55 +00:00
Pavel Sanda
d121ec8037 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36469 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:26:05 +00:00
Pavel Sanda
d2e13311cd Synchroniza names in lfuns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36453 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:35:55 +00:00
Georg Baum
7edd656f21 Fix inserting subscript/superscript with nonempty selection by creating a dedicated lfun:
inset-insert simply swallows the selection, while box-insert, note-insert etc.
put the selection inside the new inset.
As a side effect the toolbar icons get better names, as requested by Uwe.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36451 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:09:08 +00:00
Georg Baum
dea050cb93 fix bug 3008: Add subscript/superscript inset for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 17:00:12 +00:00
Pavel Sanda
07fc85d3e2 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35986 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 23:24:24 +00:00
Richard Heck
b3d854fc96 Update doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35648 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 14:27:05 +00:00
Richard Heck
01013c0785 Refstyle support. The user can now choose between prettyref and restyle
for formatted references. Fixes #2295, in so far as it makes it possible
to translate formatted references.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Stephan Witt
0dc22fb82f cell movement inside tables should not mark the document as modified
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35570 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:21:19 +00:00
Uwe Stöhr
3d8b6d89b3 LyXAction.cpp: fix sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35347 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 12:25:00 +00:00
Abdelrazak Younes
d8981b13ae * Get rid of LFUN_TOC_INSERT: we use LFUN_INSET_INSERT "toc".
* Fix usage of "inset-insert type" without CommandInset arguments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35345 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 07:56:08 +00:00
Abdelrazak Younes
a648c39b70 Get rid of LFUN_LINE_INSERT: we use LFUN_INSET_INSERT "line".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35344 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 07:01:24 +00:00
Pavel Sanda
e2c0424c17 Add decent UI for VC_COMPARE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35306 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 11:28:57 +00:00
Uwe Stöhr
0e7ab29f49 InsetLine: support for the LaTeX command \rule; kick out the hardcoded \lyxline; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35299 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 00:41:00 +00:00
Jean-Marc Lasgouttes
f8eda52820 Fix bug #3733: 'undo' does not revert 'changed' status for file
* src/LyXAction.cpp: add ReadOnly flag to LFUN_UNDO and LFUN_REDO, since
  we do not want the dispatch mechanism to mark buffer dirty after them.
* src/BufferView.cpp: handle "by hand" the activation of undo/redo
* src/Undo.cpp: add lyx_clean member to UndoElement and make sure to 
  maintain it with undo operations; add a new markDirty() member for UndoStack
* src/Buffer.cpp: when saving a document, mark the undo and redo stacks 
  elements as dirty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35068 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-06 23:54:04 +00:00
Jean-Marc Lasgouttes
e4f2484cb5 Implement LFUN_SPELLING_REMOVE (patch from switt)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:10:40 +00:00
Peter Kümmel
c09d33120d UNDO: enc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 16:09:26 +00:00
Peter Kümmel
56a7a67783 add first version of .lyx file encryption. It's disabled by default and could out-of-the-box only by compiled on Linux with cmake and with openssl-devel packeges.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:26:11 +00:00
Richard Heck
e6ab2b0442 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34644 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-12 14:00:43 +00:00
Edwin Leuven
c64fb28046 add new lyx funcs introduced in r34598 to doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34643 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-12 10:29:12 +00:00
Richard Heck
319ca06167 Rename LFUN_OPTIONAL_INSERT as LFUN_ARGUMENT_INSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:53:44 +00:00
Pavel Sanda
053b905e08 Add output_sync icon to view/update toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:02 +00:00
Pavel Sanda
555df7e2a1 *doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34487 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 13:38:15 +00:00
Pavel Sanda
d7b88d3f5b Fix doxy generation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34463 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 11:25:18 +00:00
Pavel Sanda
6996d40dc3 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34401 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-11 12:00:59 +00:00
Vincent van Ravesteijn
1df3f70ed1 Fix more of bug #5446: Enable to copy the contents of an InsetInfo through the context menu.
This introduces a new LFUN LFUN_INSET_COPY_AS, which copies a certain Inset to the clipboard. For InsetInfo this is the text that is visible, but this could also replace LFUN_LABEL_COPY_AS_REF, by copying the INSET to the clipboard as a reference, and also a Math inset to copy to the clipboard as latex (including $'s or \[..\]).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34223 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 21:36:32 +00:00
Vincent van Ravesteijn
0b92e538d9 Use the AtPoint mechanism for the LFUN_INSET_EDIT and LFUN_LABEL_COPY_AS_REF.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34220 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 17:11:43 +00:00
Enrico Forestieri
ba57ee8a24 Modify the forward-search lfun such that no argument is needed.
If a dvi file exists in the temp dir, the command specified by the
\forward_search_dvi rc setting is used to initiate the search.
Otherwise, if a pdf file exists, the forward search is performed by
using the command specified by the \forward_search_pdf rc setting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34148 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 23:32:52 +00:00
Pavel Sanda
5862c1e414 Fix #94 - LYX forward DVI search
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 13:19:48 +00:00
Jean-Marc Lasgouttes
e8529a2ecf Get rid of all-insets-toggle and explain how to replace it with inset-forall.
Change inset-forall so that screen is not repainted at each iteration, since this lead to very slow opeartion on large files. This is not a problem for current uses, but can potentially lead to crashes.

See ticket #6641 for more thoughts and possible solutions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34092 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 12:39:41 +00:00
Vincent van Ravesteijn
bb69584112 Introduce InsetPreview.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 13:47:50 +00:00
Pavel Sanda
c0f4aa8c4b * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 11:35:43 +00:00
Pavel Sanda
7f8f613a11 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33497 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 09:01:33 +00:00
Abdelrazak Younes
b5049e769b * InsetTabular cleanup:
- proper message passing for all tabular features
- properly define which feature needs an argument

* replace LFUN_TABULAR_FEATURE with LFUN_INSET_MODIFY
- The math tables are also affected. In the future a common base class
between math and text table will solve this inconsistency.
- There is a hack in GuiApplication in order to not rename the toolbar
icons. This will have to be cleaned up with a general icon naming for
LFUN_INSET_MODIFY... to be discussed.

* Tabular Dialog:
- big cleanup, lots and lots of bug fixing here
- migrated to InsetParamsWidget


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 08:28:46 +00:00
Pavel Sanda
bde1274042 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33478 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 09:15:38 +00:00
Pavel Sanda
74c70e39cb Support revision fetching also for RCS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33477 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 09:05:24 +00:00
Pavel Sanda
3788adf6ce Prepare VCS part for comparison.
We probably need to enhance comparison API for external calls.

Closing the party for today.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33449 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 14:09:44 +00:00
Pavel Sanda
d1f2c9570b Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33444 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 11:20:37 +00:00
Pavel Sanda
e67493168f * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33440 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 08:45:19 +00:00
Pavel Sanda
c0f9fb76a8 SVN info - add author, date, time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33435 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 05:52:34 +00:00
Pavel Sanda
7875d1a9ad Tree revision info into InsetInfo. Muhehe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33431 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 02:31:58 +00:00
Pavel Sanda
4c5ba07a7a Spots from Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33428 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:44:13 +00:00
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00
Jürgen Spitzmüller
707935ab23 * store the full Language in WordLangTuple.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33378 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 11:26:49 +00:00
Pavel Sanda
30ab229986 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33323 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 05:26:08 +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
Jürgen Spitzmüller
3a714c6057 * ADD LFUN_SPELLING_ADD and LFUN_SPELLING_IGNORE (bug 6102).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 08:21:56 +00:00
Pavel Sanda
17e2928374 Kill LFUN_OUTLINE_DRAGMOVE.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157155.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33050 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 19:13:24 +00:00
Jean-Marc Lasgouttes
6244d78627 fix example for notes-mutate replacement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32988 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 17:17:40 +00:00