Commit Graph

19513 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
4adb471713 cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26183 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 21:29:33 +00:00
Christian Ridderström
53ea0cdd2d Added Liviu Andronic, and modified generate_contributions.py to match what was in CREDITS for Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26181 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 21:17:37 +00:00
Uwe Stöhr
d418c61c05 new Ukrainian Intro manual by Yuri
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26179 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 19:57:30 +00:00
Jean-Marc Lasgouttes
17dd645862 Bug 5173: Undo Grouping
http://bugzilla.lyx.org/show_bug.cgi?id=5173

	* Undo.cpp (beginUndoGroup, endUndoGroup): new methods.
	(UndoElement): add group_id member
	(UndoElementStack): when removing old undo entries, make sure to
	remove whole groups.
	(Undo::Private): add group_id and group_level (for nesting) members.
	(doTextUndoOrRedo): new method. Apply _one_ UndoElement.
	(textUndoOrRedo): call doTextUndoOrRedo on each element of the current
	group.
	(recordUndoFullDocument): put inside an undo group

	* Cursor.cpp (beginUndoGroup, endUndoGroup): new methods.

	* LyXFunc.cpp (dispatch): add calls to (begin|end)UndoGroup.

	* lyxfind.cpp (replaceAll): use several recordUndo instead
	of one recordUndoFullDocument.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26178 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 19:24:56 +00:00
Jean-Marc Lasgouttes
608c46b080 Add a new debug channel UNDO (in place of the unused ROFF)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26177 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 19:09:42 +00:00
Jean-Marc Lasgouttes
d0827e017e Fix crash when the Gui Name of a toolbar is not plain ascii. This
happens for example with fr.po. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26176 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 18:43:46 +00:00
Jean-Marc Lasgouttes
7706b59c00 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26175 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 17:32:13 +00:00
Jean-Marc Lasgouttes
e22b5d0718 Fix bug 2449: Insertion of math delimiter cannot completely be undone
http://bugzilla.lyx.org/show_bug.cgi?id=2449

	* Text3.cpp (dispatch): handle undo for LFUN_MATH_INSERT, 
	LFUN_MATH_MATRIX, LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 16:15:20 +00:00
Jean-Marc Lasgouttes
97e6476feb Fix bug 3407: Undo with text-in-mathmode
http://bugzilla.lyx.org/show_bug.cgi?id=3407

	* InsetMathNest.cpp (doDispatch/LFUN_MATH_MODE): handle undo


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26173 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 15:50:42 +00:00
Jean-Marc Lasgouttes
416df64b5b fix installation of toc files with automake 10.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26172 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 12:32:47 +00:00
Enrico Forestieri
2566c9496d Fix bug 5172: Toolbar names are not translated
http://bugzilla.lyx.org/show_bug.cgi?id=5172


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26171 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 10:56:53 +00:00
Richard Heck
10585e780c One more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26170 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 01:03:51 +00:00
Richard Heck
a40183c0a9 Add a comment about how to clean this up. This looks like post-1.6 stuff,
since it doesn't actually affect current function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 01:03:32 +00:00
Enrico Forestieri
30efb132b3 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 20:27:04 +00:00
Richard Heck
b899cf8f3d A FIXME for later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26164 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 15:53:32 +00:00
Richard Heck
42c5781bce Do the last commit the right way. The previous one led to a crash because I wasn't
returning a fully realized font.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26163 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 15:44:36 +00:00
Richard Heck
004b672399 Fix bug discussed in this thread: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg142814.html. The problem was that the font information in InsetLayout was not being properly integrated into the routines that set the active font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26162 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 15:24:12 +00:00
Jean-Marc Lasgouttes
771673ccbb Fix bug 5149: Pasting outside math when cursor is inside
http://bugzilla.lyx.org/show_bug.cgi?id=5149

Make sure that the cursor is set to the right place before doing a middle-
button paste.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 11:03:51 +00:00
Jean-Marc Lasgouttes
2860cdaee2 missing autoconf stubs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26160 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 10:38:31 +00:00
Jean-Marc Lasgouttes
5ca204ea10 Fix bug 5156 http://bugzilla.lyx.org/show_bug.cgi?id=5156
Be more strict when evaluating whether the cursor is inside the selection


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26159 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 10:28:20 +00:00
Jean-Marc Lasgouttes
aa67d5eb64 Fix bug 5065: DEPM fails with "cursor follows scrollbar"
http://bugzilla.lyx.org/show_bug.cgi?id=5065

	* BufferView.cpp (setCursorFromScrollbar): makes sure that the mouse is 	set using mouseSetCursor (so that dEPM can trigger). 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26158 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 09:59:04 +00:00
Jean-Marc Lasgouttes
1b2c73c555 * BufferView.cpp (contextMenu): If there is a selection, return the
containing inset menu


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26157 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 09:45:42 +00:00
Richard Heck
98c7c96ca4 Remove some unused code, and replace with a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26156 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 07:03:46 +00:00
Bo Peng
ef9a89d061 Shortcuts.lyx: make single-sided delimiters appear to the left
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26155 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 01:31:18 +00:00
Uwe Stöhr
036e7e2373 - Spanish documentation updates by Ignacio
- Math.lyx: fixed an index entry spotted by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26154 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 22:08:39 +00:00
Peter Kümmel
9f13a87da5 we should update boost
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26153 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 21:41:32 +00:00
Peter Kümmel
1da756723a fix merged build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26152 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 21:39:59 +00:00
Uwe Stöhr
e8407f7078 German Tutorial.lyx: delete an obsolete footnote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26151 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 21:22:39 +00:00
Uwe Stöhr
6d38c7a041 French documentation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26149 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 21:13:15 +00:00
Richard Heck
6f7136fc7b whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 19:58:00 +00:00
Richard Heck
cf33f88943 We should at least also check the index. But probably more is needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 17:05:34 +00:00
Jean-Marc Lasgouttes
1bad3e5232 avoid empty selections (patch from Vincent van Ravesteijn)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 15:22:41 +00:00
Jean-Marc Lasgouttes
3589a75a11 clearSelection invokes resetAnchor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26145 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 15:13:37 +00:00
Jean-Marc Lasgouttes
3d9f151e00 set cursor correctly when right clicking on inset button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 15:01:12 +00:00
Richard Heck
419642ad9e Fix citation bug: In certain circumstances, attempts to insert a new citation
would instead change an old one. The problem was that we were hiding the dialog
with hide(), which does not trigger closeEvent(). So we have to implement
hideEvent().

http://marc.info/?l=lyx-devel&m=121278861019829&w=2



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26143 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 14:32:30 +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
Jean-Marc Lasgouttes
4d63bd347b constification without any code change. This is part of and effort to see whether BufferView::cursor() could be made const
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26141 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 13:46:19 +00:00
Jean-Marc Lasgouttes
c52b80d6e0 fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26140 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 13:25:36 +00:00
Jean-Marc Lasgouttes
ce454c9a75 remove some uses of $(doc_files)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26138 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 10:54:22 +00:00
Stefan Schimanski
520b760891 * make sure that the reference cache, buffer_ pointers and macros are updated
in child documents.

  Fixes:
    http://bugzilla.lyx.org/show_bug.cgi?id=5153
    http://bugzilla.lyx.org/show_bug.cgi?id=5032
    http://bugzilla.lyx.org/show_bug.cgi?id=5159

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26137 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 10:36:43 +00:00
Uwe Stöhr
c1e56e7a22 SCons: revert r26134 and fix SCons correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26136 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 23:48:38 +00:00
Uwe Stöhr
9796fa9cbc po-file update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26135 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 23:30:15 +00:00
Uwe Stöhr
e0f2957d4c fix SCons after the removal of lyx.man
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26134 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 23:24:25 +00:00
Uwe Stöhr
b56c1b9abc French EmbeddedObjects.lyx: updates for LyX 1.6 by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26133 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 23:14:08 +00:00
Uwe Stöhr
8f180737f6 German UserGuide.lyx: updates for LyX 1.6 by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26131 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 23:02:09 +00:00
Uwe Stöhr
8be71ab8e2 German docs: updates and fixes by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26130 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 22:48:29 +00:00
Uwe Stöhr
51c28dafce UserGuide.lyx: typos and style fixes by Hartmut and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26129 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 22:47:33 +00:00
Uwe Stöhr
e91fda3ffb ro.po: updates by Marius Ionescu, Liviu Andronic, and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26127 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 22:27:45 +00:00
Richard Heck
481c24c8eb Remove unintelligible comment. (This seems to have been copied over from Dialog.h.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26126 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 22:18:21 +00:00
Richard Heck
ea6aed5b8b Remove invalid comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26125 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 21:56:07 +00:00