]> git.lyx.org Git - features.git/log
features.git
15 years agoBug 5173: Undo Grouping
Jean-Marc Lasgouttes [Fri, 15 Aug 2008 19:24:56 +0000 (19:24 +0000)]
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

15 years agoAdd a new debug channel UNDO (in place of the unused ROFF)
Jean-Marc Lasgouttes [Fri, 15 Aug 2008 19:09:42 +0000 (19:09 +0000)]
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

15 years agoFix crash when the Gui Name of a toolbar is not plain ascii. This
Jean-Marc Lasgouttes [Fri, 15 Aug 2008 18:43:46 +0000 (18:43 +0000)]
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

15 years agotypo
Jean-Marc Lasgouttes [Fri, 15 Aug 2008 17:32:13 +0000 (17:32 +0000)]
typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26175 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix bug 2449: Insertion of math delimiter cannot completely be undone
Jean-Marc Lasgouttes [Fri, 15 Aug 2008 16:15:20 +0000 (16:15 +0000)]
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

15 years agoFix bug 3407: Undo with text-in-mathmode
Jean-Marc Lasgouttes [Fri, 15 Aug 2008 15:50:42 +0000 (15:50 +0000)]
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

15 years agofix installation of toc files with automake 10.1
Jean-Marc Lasgouttes [Fri, 15 Aug 2008 12:32:47 +0000 (12:32 +0000)]
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

15 years agoFix bug 5172: Toolbar names are not translated
Enrico Forestieri [Fri, 15 Aug 2008 10:56:53 +0000 (10:56 +0000)]
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

15 years agoOne more.
Richard Heck [Fri, 15 Aug 2008 01:03:51 +0000 (01:03 +0000)]
One more.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26170 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoAdd a comment about how to clean this up. This looks like post-1.6 stuff,
Richard Heck [Fri, 15 Aug 2008 01:03:32 +0000 (01:03 +0000)]
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

15 years agoUpdate it.po
Enrico Forestieri [Thu, 14 Aug 2008 20:27:04 +0000 (20:27 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26167 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoA FIXME for later.
Richard Heck [Thu, 14 Aug 2008 15:53:32 +0000 (15:53 +0000)]
A FIXME for later.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26164 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoDo the last commit the right way. The previous one led to a crash because I wasn't
Richard Heck [Thu, 14 Aug 2008 15:44:36 +0000 (15:44 +0000)]
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

15 years agoFix bug discussed in this thread: http://www.mail-archive.com/lyx-devel@lists.lyx...
Richard Heck [Thu, 14 Aug 2008 15:24:12 +0000 (15:24 +0000)]
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

15 years agoFix bug 5149: Pasting outside math when cursor is inside
Jean-Marc Lasgouttes [Thu, 14 Aug 2008 11:03:51 +0000 (11:03 +0000)]
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

15 years agomissing autoconf stubs
Jean-Marc Lasgouttes [Thu, 14 Aug 2008 10:38:31 +0000 (10:38 +0000)]
missing autoconf stubs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26160 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix bug 5156 http://bugzilla.lyx.org/show_bug.cgi?id=5156
Jean-Marc Lasgouttes [Thu, 14 Aug 2008 10:28:20 +0000 (10:28 +0000)]
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

15 years agoFix bug 5065: DEPM fails with "cursor follows scrollbar"
Jean-Marc Lasgouttes [Thu, 14 Aug 2008 09:59:04 +0000 (09:59 +0000)]
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

15 years ago * BufferView.cpp (contextMenu): If there is a selection, return the
Jean-Marc Lasgouttes [Thu, 14 Aug 2008 09:45:42 +0000 (09:45 +0000)]
* 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

15 years agoRemove some unused code, and replace with a comment.
Richard Heck [Thu, 14 Aug 2008 07:03:46 +0000 (07:03 +0000)]
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

15 years agoShortcuts.lyx: make single-sided delimiters appear to the left
Bo Peng [Thu, 14 Aug 2008 01:31:18 +0000 (01:31 +0000)]
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

15 years ago- Spanish documentation updates by Ignacio
Uwe Stöhr [Wed, 13 Aug 2008 22:08:39 +0000 (22:08 +0000)]
- 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

15 years agowe should update boost
Peter Kümmel [Wed, 13 Aug 2008 21:41:32 +0000 (21:41 +0000)]
we should update boost

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26153 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agofix merged build
Peter Kümmel [Wed, 13 Aug 2008 21:39:59 +0000 (21:39 +0000)]
fix merged build

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26152 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoGerman Tutorial.lyx: delete an obsolete footnote
Uwe Stöhr [Wed, 13 Aug 2008 21:22:39 +0000 (21:22 +0000)]
German Tutorial.lyx: delete an obsolete footnote

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26151 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFrench documentation updates by Siegfried
Uwe Stöhr [Wed, 13 Aug 2008 21:13:15 +0000 (21:13 +0000)]
French documentation updates by Siegfried

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26149 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agowhitespace.
Richard Heck [Wed, 13 Aug 2008 19:58:00 +0000 (19:58 +0000)]
whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26148 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoWe should at least also check the index. But probably more is needed.
Richard Heck [Wed, 13 Aug 2008 17:05:34 +0000 (17:05 +0000)]
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

15 years agoavoid empty selections (patch from Vincent van Ravesteijn)
Jean-Marc Lasgouttes [Wed, 13 Aug 2008 15:22:41 +0000 (15:22 +0000)]
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

15 years agoclearSelection invokes resetAnchor
Jean-Marc Lasgouttes [Wed, 13 Aug 2008 15:13:37 +0000 (15:13 +0000)]
clearSelection invokes resetAnchor

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26145 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoset cursor correctly when right clicking on inset button
Jean-Marc Lasgouttes [Wed, 13 Aug 2008 15:01:12 +0000 (15:01 +0000)]
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

15 years agoFix citation bug: In certain circumstances, attempts to insert a new citation
Richard Heck [Wed, 13 Aug 2008 14:32:30 +0000 (14:32 +0000)]
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

15 years agoMake sure that in_show_ is reset to false, even if an exception is thrown
Richard Heck [Wed, 13 Aug 2008 14:25:56 +0000 (14:25 +0000)]
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

15 years agoconstification without any code change. This is part of and effort to see whether...
Jean-Marc Lasgouttes [Wed, 13 Aug 2008 13:46:19 +0000 (13:46 +0000)]
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

15 years agofix warning
Jean-Marc Lasgouttes [Wed, 13 Aug 2008 13:25:36 +0000 (13:25 +0000)]
fix warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26140 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoremove some uses of $(doc_files)
Jean-Marc Lasgouttes [Wed, 13 Aug 2008 10:54:22 +0000 (10:54 +0000)]
remove some uses of $(doc_files)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26138 a592a061-630c-0410-9148-cb99ea01b6c8

15 years ago* make sure that the reference cache, buffer_ pointers and macros are updated
Stefan Schimanski [Wed, 13 Aug 2008 10:36:43 +0000 (10:36 +0000)]
* 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

15 years agoSCons: revert r26134 and fix SCons correctly
Uwe Stöhr [Tue, 12 Aug 2008 23:48:38 +0000 (23:48 +0000)]
SCons: revert r26134 and fix SCons correctly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26136 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agopo-file update
Uwe Stöhr [Tue, 12 Aug 2008 23:30:15 +0000 (23:30 +0000)]
po-file update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26135 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agofix SCons after the removal of lyx.man
Uwe Stöhr [Tue, 12 Aug 2008 23:24:25 +0000 (23:24 +0000)]
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

15 years agoFrench EmbeddedObjects.lyx: updates for LyX 1.6 by Siegfried
Uwe Stöhr [Tue, 12 Aug 2008 23:14:08 +0000 (23:14 +0000)]
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

15 years agoGerman UserGuide.lyx: updates for LyX 1.6 by Hartmut
Uwe Stöhr [Tue, 12 Aug 2008 23:02:09 +0000 (23:02 +0000)]
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

15 years agoGerman docs: updates and fixes by Hartmut
Uwe Stöhr [Tue, 12 Aug 2008 22:48:29 +0000 (22:48 +0000)]
German docs: updates and fixes by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26130 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoUserGuide.lyx: typos and style fixes by Hartmut and me
Uwe Stöhr [Tue, 12 Aug 2008 22:47:33 +0000 (22:47 +0000)]
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

15 years agoro.po: updates by Marius Ionescu, Liviu Andronic, and me
Uwe Stöhr [Tue, 12 Aug 2008 22:27:45 +0000 (22:27 +0000)]
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

15 years agoRemove unintelligible comment. (This seems to have been copied over from Dialog.h.)
Richard Heck [Tue, 12 Aug 2008 22:18:21 +0000 (22:18 +0000)]
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

15 years agoRemove invalid comment.
Richard Heck [Tue, 12 Aug 2008 21:56:07 +0000 (21:56 +0000)]
Remove invalid comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26125 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoautogenerated file
Jean-Marc Lasgouttes [Tue, 12 Aug 2008 21:20:44 +0000 (21:20 +0000)]
autogenerated file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26124 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agolet autoconf generate lyx.1; add information on LIBDIR there (not sure it is actully...
Jean-Marc Lasgouttes [Tue, 12 Aug 2008 21:18:49 +0000 (21:18 +0000)]
let autoconf generate lyx.1; add information on LIBDIR there (not sure it is actully useful)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26123 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix bug 4166: Crash when middle button click on inset label
Jean-Marc Lasgouttes [Tue, 12 Aug 2008 14:13:16 +0000 (14:13 +0000)]
Fix bug 4166: Crash when middle button click on inset label
http://bugzilla.lyx.org/show_bug.cgi?id=4662

* InsetCollapsable.cpp (doDispatch): cleanup the handling of mouse-
related lfuns. The new behavior is as follows:
- everything that does not touch the button is sent to the insettext,
if it is visible, and delegated to enclosing inset instead
- mouse1-press is delegated to enclosing inset (which will set the
cursor)
- the rest is either acted upon or results on a mere cur.noUpdate().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26122 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix bug 5161: Context menu does not respect selection
Jean-Marc Lasgouttes [Tue, 12 Aug 2008 10:17:31 +0000 (10:17 +0000)]
Fix bug 5161: Context menu does not respect selection
http://bugzilla.lyx.org/show_bug.cgi?id=5161

* Text3.cpp (dispatch/LFUN_MOUSE_PRESS): compare the mouse position to
the bufferview cursor, since cur is already set to the place we
want; reverse the test for being inside of the selection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26121 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoAdd missing operator>= to DocIterator
Jean-Marc Lasgouttes [Tue, 12 Aug 2008 09:51:00 +0000 (09:51 +0000)]
Add missing operator>= to DocIterator

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26120 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoUpdate LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names
Enrico Forestieri [Tue, 12 Aug 2008 09:05:30 +0000 (09:05 +0000)]
Update LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names
in docs and manpages at install time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26119 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoSpare a few cpu cycles
Enrico Forestieri [Tue, 12 Aug 2008 09:02:46 +0000 (09:02 +0000)]
Spare a few cpu cycles

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26118 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoBetter compatibility with autoconf 2.62.
Jean-Marc Lasgouttes [Mon, 11 Aug 2008 23:27:08 +0000 (23:27 +0000)]
Better compatibility with autoconf 2.62.

* config/*: update files to libtool 1.5.26 (latest 1.x version)
* configure.ac: use AC_USE_SYSTEM_EXTENSIONS instead of AC_AIX and
friends (available since 2.59c, which is now required); work around
a bug with gettext.m4 and autoconf 2.62.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26117 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agowe require at least autoconf 2.59c (objc support for mac os x)
Jean-Marc Lasgouttes [Mon, 11 Aug 2008 21:46:38 +0000 (21:46 +0000)]
we require at least autoconf 2.59c (objc support for mac os x)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26116 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoPatch from Vincent. This resets the window title appropriately, after
Richard Heck [Mon, 11 Aug 2008 12:57:02 +0000 (12:57 +0000)]
Patch from Vincent. This resets the window title appropriately, after
the last BufferView has been closed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26115 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix silly bug that makes it impossible to change bibitem keys.
Richard Heck [Sun, 10 Aug 2008 20:32:51 +0000 (20:32 +0000)]
Fix silly bug that makes it impossible to change bibitem keys.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26114 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoMore sensible shortcuts on the help menu.
Richard Heck [Sat, 9 Aug 2008 17:01:20 +0000 (17:01 +0000)]
More sensible shortcuts on the help menu.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26113 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix crash noticed by Vincent. We don't know that insetText is non-null here!
Richard Heck [Sat, 9 Aug 2008 16:56:30 +0000 (16:56 +0000)]
Fix crash noticed by Vincent. We don't know that insetText is non-null here!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26112 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoDisable nomencl-insert with inappropriate selections.
Richard Heck [Sat, 9 Aug 2008 16:31:22 +0000 (16:31 +0000)]
Disable nomencl-insert with inappropriate selections.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26111 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoThe previous commit inadvertently contained some of this one, which is just a renaming.
Richard Heck [Sat, 9 Aug 2008 16:29:25 +0000 (16:29 +0000)]
The previous commit inadvertently contained some of this one, which is just a renaming.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26110 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoOK, let's actually get this nomencl-insert thing right.
Richard Heck [Sat, 9 Aug 2008 16:15:49 +0000 (16:15 +0000)]
OK, let's actually get this nomencl-insert thing right.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26109 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix my fix for nomencl-insert. The previous one was just a thinko.
Richard Heck [Sat, 9 Aug 2008 15:26:06 +0000 (15:26 +0000)]
Fix my fix for nomencl-insert. The previous one was just a thinko.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26108 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoConvert LFUN_NOMENCL_INSERT to the newer style, fixing bug 5151.
Richard Heck [Sat, 9 Aug 2008 03:11:53 +0000 (03:11 +0000)]
Convert LFUN_NOMENCL_INSERT to the newer style, fixing bug 5151.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26107 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix bug 5150: Hyperlink makes no sense with multi-paragraph selection, let alone...
Richard Heck [Sat, 9 Aug 2008 02:09:38 +0000 (02:09 +0000)]
Fix bug 5150: Hyperlink makes no sense with multi-paragraph selection, let alone a multicell one.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26106 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoDon't allow new pages within tables!
Richard Heck [Sat, 9 Aug 2008 02:02:16 +0000 (02:02 +0000)]
Don't allow new pages within tables!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26105 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoMove isMultiCell() to Cursor, and use it.
Richard Heck [Sat, 9 Aug 2008 01:58:57 +0000 (01:58 +0000)]
Move isMultiCell() to Cursor, and use it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26104 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix cursor movement with multicell selections. There's no point allowing character...
Richard Heck [Sat, 9 Aug 2008 00:43:15 +0000 (00:43 +0000)]
Fix cursor movement with multicell selections. There's no point allowing character by character selection in this case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26103 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix crash reported on the list involving multicell selections. We have to
Richard Heck [Fri, 8 Aug 2008 21:26:18 +0000 (21:26 +0000)]
Fix crash reported on the list involving multicell selections. We have to
be careful to check for that!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26102 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoSet the cursor to the start of the cell when doing multicell selections,
Richard Heck [Fri, 8 Aug 2008 19:34:47 +0000 (19:34 +0000)]
Set the cursor to the start of the cell when doing multicell selections,
since it doesn't make sense to select two and a half cells.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26101 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix bug 5145. InsetTabular was resetting cur.idx() but not cur.pit() or cur.pos(),
Richard Heck [Fri, 8 Aug 2008 19:21:06 +0000 (19:21 +0000)]
Fix bug 5145. InsetTabular was resetting cur.idx() but not cur.pit() or cur.pos(),
leaving them possibly invalid.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26100 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix bug 5146. The problem arose when attempting to paste normal text into
Richard Heck [Fri, 8 Aug 2008 17:28:25 +0000 (17:28 +0000)]
Fix bug 5146. The problem arose when attempting to paste normal text into
a multicell selection. But the more I thought about this, the more it seemed
that pasting into multicell selections shouldn't be allowed. What exactly
ought to happen if the user selects a 2x3 grid of cells and then tries to
paste a 5x5 group of cells? LyX, anyway, just ignores the selection in this
case, which is not what the user will expect. So let's just not go there.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26099 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix layout bug. Pasting text into a cell tried to set Standard layout, because
Richard Heck [Fri, 8 Aug 2008 16:19:28 +0000 (16:19 +0000)]
Fix layout bug. Pasting text into a cell tried to set Standard layout, because
cur.inset() returns InsetTabular as the inset the cursor is in, not InsetTableCell.
It still does that, but now we return the right thing.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26098 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoAnother patch from Vincent. This one fixing the very annoying bug 5138.
Richard Heck [Fri, 8 Aug 2008 15:41:32 +0000 (15:41 +0000)]
Another patch from Vincent. This one fixing the very annoying bug 5138.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26097 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoPatch from Vincent van Ravesteijn.
Richard Heck [Fri, 8 Aug 2008 15:29:26 +0000 (15:29 +0000)]
Patch from Vincent van Ravesteijn.

I noticed that for instance the Hyperlink Dialog loses all information when clicking on the main buffer. The same occurs with the Include Child Document Dialog and probably also others.
Do you agree on this being less intuitive ? If so, I included a small patch that will fix this for the two dialogs mentioned. I just adapted them to the design of the GuiGraphics Dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26096 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoDon't use '\n'.
Richard Heck [Fri, 8 Aug 2008 15:22:43 +0000 (15:22 +0000)]
Don't use '\n'.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26095 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agolyx2lyx/lyx_1_6.py: fix bug 5137 and another bug
Uwe Stöhr [Thu, 7 Aug 2008 22:37:27 +0000 (22:37 +0000)]
lyx2lyx/lyx_1_6.py: fix bug 5137 and another bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26094 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoMake sure temporary files are created, by default, in LyX's temporary directory,...
Richard Heck [Thu, 7 Aug 2008 13:57:25 +0000 (13:57 +0000)]
Make sure temporary files are created, by default, in LyX's temporary directory, rather than in the system tempdir.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26093 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix http://bugzilla.lyx.org/show_bug.cgi?id=5132
Abdelrazak Younes [Thu, 7 Aug 2008 08:50:41 +0000 (08:50 +0000)]
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5132
Brown paper bag: I forgot to copy the insetlist contents when I create the paragraph partial ctor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26092 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoPrepare ANNOUNCE and NEWS for rc2
José Matox [Thu, 7 Aug 2008 08:12:13 +0000 (08:12 +0000)]
Prepare ANNOUNCE and NEWS for rc2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26091 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoTentatively fix http://bugzilla.lyx.org/show_bug.cgi?id=4873
Abdelrazak Younes [Thu, 7 Aug 2008 07:45:52 +0000 (07:45 +0000)]
Tentatively fix http://bugzilla.lyx.org/show_bug.cgi?id=4873

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26090 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoExtended.lyx: fix bug 5126
Uwe Stöhr [Wed, 6 Aug 2008 23:59:42 +0000 (23:59 +0000)]
Extended.lyx: fix bug 5126

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26089 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoinstaller: - new Catalan translation
Uwe Stöhr [Wed, 6 Aug 2008 23:26:39 +0000 (23:26 +0000)]
installer: - new Catalan translation
           - add Arabic translation that I forgot to add some days ago

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26088 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoar.po: updates by Hatim
Uwe Stöhr [Wed, 6 Aug 2008 22:51:11 +0000 (22:51 +0000)]
ar.po: updates by Hatim

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26086 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoadd Ukrainian translation
Joost Verburg [Wed, 6 Aug 2008 21:19:19 +0000 (21:19 +0000)]
add Ukrainian translation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26085 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoupdated download locations
Joost Verburg [Wed, 6 Aug 2008 21:11:00 +0000 (21:11 +0000)]
updated download locations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26084 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agouse Inetc plug-in for downloading, which is more stable
Joost Verburg [Wed, 6 Aug 2008 21:08:49 +0000 (21:08 +0000)]
use Inetc plug-in for downloading, which is more stable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26083 a592a061-630c-0410-9148-cb99ea01b6c8

15 years ago* \xymatrix added to completion (fixing bug 5123)
Stefan Schimanski [Wed, 6 Aug 2008 18:44:35 +0000 (18:44 +0000)]
* \xymatrix added to completion (fixing bug 5123)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26082 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix http://bugzilla.lyx.org/show_bug.cgi?id=5127
Abdelrazak Younes [Wed, 6 Aug 2008 16:08:50 +0000 (16:08 +0000)]
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5127
A call to updateLabels() was necessary (and safer) in all cases.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26081 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoFix bug 5129.
Richard Heck [Wed, 6 Aug 2008 12:59:54 +0000 (12:59 +0000)]
Fix bug 5129.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26080 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoinstaller: update for LyX 1.6rc1
Uwe Stöhr [Tue, 5 Aug 2008 23:51:43 +0000 (23:51 +0000)]
installer: update for LyX 1.6rc1

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26079 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agolyx2lyx/lyx_1_6.py: fix reversion of PDF properties
Uwe Stöhr [Tue, 5 Aug 2008 22:37:28 +0000 (22:37 +0000)]
lyx2lyx/lyx_1_6.py: fix reversion of PDF properties

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26077 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoUpdate InsetLayout docs.
Richard Heck [Tue, 5 Aug 2008 21:57:22 +0000 (21:57 +0000)]
Update InsetLayout docs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26076 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoWhitespace.
Richard Heck [Tue, 5 Aug 2008 21:35:40 +0000 (21:35 +0000)]
Whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26075 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agosinglecol.layout: new layout file for articles for the numerous journals published...
Uwe Stöhr [Tue, 5 Aug 2008 20:46:18 +0000 (20:46 +0000)]
singlecol.layout: new layout file for articles for the numerous journals published by the company "Inderscience"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26073 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agofix bug 5112:
Uwe Stöhr [Tue, 5 Aug 2008 18:11:42 +0000 (18:11 +0000)]
fix bug 5112:
- new en.po
- update translations accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26071 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoGerman Tutorial.lyx: updates by Hartmut
Uwe Stöhr [Tue, 5 Aug 2008 18:07:23 +0000 (18:07 +0000)]
German Tutorial.lyx: updates by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26070 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoMath.lyx: fix typos reported on the lyx-docs list
Uwe Stöhr [Tue, 5 Aug 2008 18:06:38 +0000 (18:06 +0000)]
Math.lyx: fix typos reported on the lyx-docs list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26069 a592a061-630c-0410-9148-cb99ea01b6c8

15 years agoPolish the index conversion routine a bit, fixing bug 5119.
Richard Heck [Tue, 5 Aug 2008 15:07:37 +0000 (15:07 +0000)]
Polish the index conversion routine a bit, fixing bug 5119.

We had been assuming too much about the format. Reference.lyx violated it, maybe because it is so old. But anyway, this is a bit more reliable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26068 a592a061-630c-0410-9148-cb99ea01b6c8