]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agodrop linuxdoc support (part 5)
Michael Schmitt [Wed, 23 Aug 2006 12:43:46 +0000 (12:43 +0000)]
drop linuxdoc support (part 5)

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

17 years agodrop linuxdoc support (part 4)
Michael Schmitt [Wed, 23 Aug 2006 11:16:08 +0000 (11:16 +0000)]
drop linuxdoc support (part 4)

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

17 years agodo not define QT3_SUPPORT
Michael Schmitt [Wed, 23 Aug 2006 10:58:54 +0000 (10:58 +0000)]
do not define QT3_SUPPORT

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

17 years agoHandle properly script insets which nucleus has more than one
Jean-Marc Lasgouttes [Wed, 23 Aug 2006 10:57:49 +0000 (10:57 +0000)]
Handle properly script insets which nucleus has more than one
element (like {a'}^{2}). (froward port from 14802)

* src/mathed/math_nestinset.C (script): when creating a script
inset, handle specially previous atom if it is a MathBraceInset
(this is used in interactive input).

* src/mathed/math_parser.C (parse1): when creating a script inset,
handle specially previous atom if it is a MathBraceInset (this is
used in parsing phase).

* src/mathed/math_scriptinset.C (write): put nucleus into braces
if it contains more than one element or is itself a script inset.

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

17 years agodrop linuxdoc support (part 3)
Michael Schmitt [Wed, 23 Aug 2006 10:57:45 +0000 (10:57 +0000)]
drop linuxdoc support (part 3)

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

17 years agodrop linuxdoc support (part 2)
Michael Schmitt [Wed, 23 Aug 2006 10:47:11 +0000 (10:47 +0000)]
drop linuxdoc support (part 2)

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

17 years agodrop linuxdoc support (part 1)
Michael Schmitt [Wed, 23 Aug 2006 10:41:43 +0000 (10:41 +0000)]
drop linuxdoc support (part 1)

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

17 years agoFix crash on exit after a Buffer switch.
Abdelrazak Younes [Wed, 23 Aug 2006 08:27:51 +0000 (08:27 +0000)]
Fix crash on exit after a Buffer switch.

Log:
* lyxfunc.C:
  - LyXFunc::dispatch(): put some save guards before using
    BufferView::cursor() and sendDispatchMessage().

* BufferView_pimpl.C
  - BufferView::Pimpl::setBuffer(): return before if exiting.

* WorkArea.C:
  - WorkArea::redraw(): update the toolbar when greying out.

* LyXView.C:
  - LyXView::setBuffer(): sanitization

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

17 years agoMake sure to link lyx and tex2lyx against libiconv.
Jean-Marc Lasgouttes [Tue, 22 Aug 2006 15:43:48 +0000 (15:43 +0000)]
Make sure to link lyx and tex2lyx against libiconv.

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

17 years ago * math_nestinset.C (lfunMousePress): on button 2 press, paste
Jean-Marc Lasgouttes [Tue, 22 Aug 2006 13:58:09 +0000 (13:58 +0000)]
* math_nestinset.C (lfunMousePress): on button 2 press, paste
inner LyX selection if it exists (bug 2779).

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

17 years agoDo not make all menu entries checkable
Jean-Marc Lasgouttes [Tue, 22 Aug 2006 09:38:03 +0000 (09:38 +0000)]
Do not make all menu entries checkable

* src/frontends/qt4/Action.C (Action): do not set entry to
checkable by default; invoke update() to set it up.
(update): only set checkable property if needed.

* src/frontends/qt4/QLPopupMenu.C (populate): in the case of
          a Command menu item, let Action set itself up.

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

17 years ago* src/frontends/qt4/GuiWorkArea.[Ch] (focusInEvent, focusOutEvent):
Abdelrazak Younes [Mon, 21 Aug 2006 09:14:18 +0000 (09:14 +0000)]
* src/frontends/qt4/GuiWorkArea.[Ch] (focusInEvent, focusOutEvent):
new methods; invoke LyXView::updateToolbars() (bug 2423).

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

17 years ago* insetcite.C (getNatbibLabel): prevent filesystem exception
Jürgen Spitzmüller [Sat, 19 Aug 2006 10:39:03 +0000 (10:39 +0000)]
* insetcite.C (getNatbibLabel): prevent filesystem exception
if the bib file is in a non-readable directory (bug 2782).

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

17 years ago* insetcite.C (getNatbibLabel): prevent filesystem exception
Jürgen Spitzmüller [Fri, 18 Aug 2006 16:03:48 +0000 (16:03 +0000)]
* insetcite.C (getNatbibLabel): prevent filesystem exception
if the bib file does not exist.

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

17 years agoGuiWorkArea::inputMethodEvent(): remove unneeded Qt::KeyboardModifiers construction...
Abdelrazak Younes [Fri, 18 Aug 2006 09:25:45 +0000 (09:25 +0000)]
GuiWorkArea::inputMethodEvent(): remove unneeded Qt::KeyboardModifiers construction and add a FIXME.

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

17 years agoFix resize bug (WorkArea not redrawn).
Abdelrazak Younes [Thu, 17 Aug 2006 22:01:59 +0000 (22:01 +0000)]
Fix resize bug (WorkArea not redrawn).

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

17 years agoThis commit moves the busy cursor and formatting message handling from BufferView...
Abdelrazak Younes [Thu, 17 Aug 2006 22:00:07 +0000 (22:00 +0000)]
This commit moves the busy cursor and formatting message handling from BufferView to WorkArea.

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

17 years agoThis patch moves the dialogs hidding/update from BufferView::setBuffer() to LyXView...
Abdelrazak Younes [Thu, 17 Aug 2006 21:46:52 +0000 (21:46 +0000)]
This patch moves the dialogs hidding/update from BufferView::setBuffer() to LyXView::setBuffer()

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

17 years agoFix crash when cursor is in an empty script and the user clicks
Jean-Marc Lasgouttes [Thu, 17 Aug 2006 21:32:04 +0000 (21:32 +0000)]
Fix crash when cursor is in an empty script and the user clicks
in the text.

* src/insets/insetbase.h (notifyCursorLeaves): return a bool
indicating whether cursor is invalidated.

* src/mathed/math_nestinset.C (notifyCursorLeaves):
* src/mathed/math_hullinset.C (notifyCursorLeaves): adapt to
prototype change.

* src/mathed/math_scriptinset.[Ch] (notifyCursorLeaves): return
true when an inset has been deleted.

* src/BufferView.C (mouseSetCursor): do not call dEPM when cursor
is invalidated by notifyCursorLeaves.

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

17 years ago Fix bug 2727.
Jean-Marc Lasgouttes [Thu, 17 Aug 2006 21:07:24 +0000 (21:07 +0000)]
Fix bug 2727.

* math_scriptinset.C (notifyCursorLeaves): call recordUndoInset
before deleting a cell; if the nucleus does not have scripts
anymore, delete it and replace it by its contents at enclosing
level.
(write): output scripts even when they are empry.

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

17 years ago * text3.C (dispatch/LFUN_INSET_DISSOLVE): use recordUndoInset;
Jean-Marc Lasgouttes [Thu, 17 Aug 2006 20:32:32 +0000 (20:32 +0000)]
* text3.C (dispatch/LFUN_INSET_DISSOLVE): use recordUndoInset;
rewrite and simplify.

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

17 years ago * undo.C (recordUndoInset): remember the cursor position inside
Jean-Marc Lasgouttes [Thu, 17 Aug 2006 20:13:30 +0000 (20:13 +0000)]
* undo.C (recordUndoInset): remember the cursor position inside
the inset.

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

17 years agoCosmetic changes:
Abdelrazak Younes [Thu, 17 Aug 2006 17:15:17 +0000 (17:15 +0000)]
Cosmetic changes:
- put some spaces
- delete some comments
- reorder #include
- delete unneeded workWidth_ and workHeight_ members.

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

17 years agofix bad debug messages
Jean-Marc Lasgouttes [Thu, 17 Aug 2006 13:23:08 +0000 (13:23 +0000)]
fix bad debug messages

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

17 years agoGuiWorkArea::inputMethodEvent(QInputMethodEvent * e):
Abdelrazak Younes [Thu, 17 Aug 2006 12:39:11 +0000 (12:39 +0000)]
GuiWorkArea::inputMethodEvent(QInputMethodEvent * e):
compile fix and use of the proper QKeyEvent prototype.

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

17 years agodelete unneeded #ifdef
Abdelrazak Younes [Thu, 17 Aug 2006 10:58:15 +0000 (10:58 +0000)]
delete unneeded #ifdef

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

17 years agoget rid of QT3_SUPPORT
Abdelrazak Younes [Thu, 17 Aug 2006 10:49:25 +0000 (10:49 +0000)]
get rid of QT3_SUPPORT

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

17 years agoupdate german documentation
Jean-Marc Lasgouttes [Thu, 17 Aug 2006 10:13:27 +0000 (10:13 +0000)]
update german documentation

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

17 years agoset eol-style to native
Abdelrazak Younes [Thu, 17 Aug 2006 10:01:27 +0000 (10:01 +0000)]
set eol-style to native

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

17 years agoquote LYX_DATE properly
Jean-Marc Lasgouttes [Thu, 17 Aug 2006 09:34:46 +0000 (09:34 +0000)]
quote LYX_DATE properly

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

17 years agoget rid of QT3_SUPPORT
Abdelrazak Younes [Thu, 17 Aug 2006 09:11:14 +0000 (09:11 +0000)]
get rid of QT3_SUPPORT

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

17 years agoget rid of QT3_SUPPORT
Abdelrazak Younes [Thu, 17 Aug 2006 09:08:20 +0000 (09:08 +0000)]
get rid of QT3_SUPPORT

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

17 years agothis was a remnant of qt3...
Abdelrazak Younes [Thu, 17 Aug 2006 09:04:54 +0000 (09:04 +0000)]
this was a remnant of qt3...

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:03:26 +0000 (09:03 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:03:01 +0000 (09:03 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:02:46 +0000 (09:02 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:01:46 +0000 (09:01 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:01:25 +0000 (09:01 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:01:06 +0000 (09:01 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:00:54 +0000 (09:00 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:00:36 +0000 (09:00 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 09:00:11 +0000 (09:00 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:59:28 +0000 (08:59 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:59:00 +0000 (08:59 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:58:46 +0000 (08:58 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:58:35 +0000 (08:58 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:58:28 +0000 (08:58 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:58:16 +0000 (08:58 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:58:01 +0000 (08:58 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:57:44 +0000 (08:57 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:57:29 +0000 (08:57 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:57:15 +0000 (08:57 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:57:05 +0000 (08:57 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:56:53 +0000 (08:56 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT (not complete) and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:56:30 +0000 (08:56 +0000)]
get rid of QT3_SUPPORT (not complete) and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:55:41 +0000 (08:55 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:55:23 +0000 (08:55 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:54:44 +0000 (08:54 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:54:22 +0000 (08:54 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:54:12 +0000 (08:54 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:53:44 +0000 (08:53 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:53:10 +0000 (08:53 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:52:59 +0000 (08:52 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:52:45 +0000 (08:52 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:52:32 +0000 (08:52 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:52:14 +0000 (08:52 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:51:54 +0000 (08:51 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:51:41 +0000 (08:51 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:51:30 +0000 (08:51 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:51:02 +0000 (08:51 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:50:34 +0000 (08:50 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:50:14 +0000 (08:50 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:49:57 +0000 (08:49 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:49:40 +0000 (08:49 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:49:05 +0000 (08:49 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:48:24 +0000 (08:48 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:47:52 +0000 (08:47 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:47:20 +0000 (08:47 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:46:59 +0000 (08:46 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:46:38 +0000 (08:46 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:46:00 +0000 (08:46 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:45:48 +0000 (08:45 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agosome cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:45:13 +0000 (08:45 +0000)]
some cleanup

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

17 years agosome cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:44:15 +0000 (08:44 +0000)]
some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:43:48 +0000 (08:43 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:37:46 +0000 (08:37 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:37:26 +0000 (08:37 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoget rid of QT3_SUPPORT and some cleanup
Abdelrazak Younes [Thu, 17 Aug 2006 08:36:59 +0000 (08:36 +0000)]
get rid of QT3_SUPPORT and some cleanup

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

17 years agoautotools support for including moc files
Georg Baum [Wed, 16 Aug 2006 23:10:31 +0000 (23:10 +0000)]
autotools support for including moc files

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

17 years agoAdd #include "xxx_moc.cpp" to xxx.C files, and stop compiling _moc.cpp individually.
Bo Peng [Wed, 16 Aug 2006 22:10:20 +0000 (22:10 +0000)]
Add #include "xxx_moc.cpp" to xxx.C files, and stop compiling _moc.cpp individually.
* src/frontends/qt3/[all mocable files].C: add #include _moc.cpp at the end.
* development/scons/SConstruct: do not compile _moc files individually.

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

17 years ago * configure.ac: add LYX_DATE variable for release date.
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 21:54:55 +0000 (21:54 +0000)]
* configure.ac: add LYX_DATE variable for release date.

* config/lyxinclude.m4: reset release date for development versions.

* src/version.C.in: make lyx_release_date a placeholder.

* src/lyx_main.C (parse_version):
* src/frontends/controllers/ControlAboutlyx.C (getVersion): change a
bit the display of LyX release date.

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

17 years agoScons: minor Sconstruct fix
Bo Peng [Wed, 16 Aug 2006 21:50:26 +0000 (21:50 +0000)]
Scons: minor Sconstruct fix

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

17 years agoScons: add support for msvc qt3
Bo Peng [Wed, 16 Aug 2006 21:34:24 +0000 (21:34 +0000)]
Scons: add support for msvc qt3
* src/support/package.C.in: use PATH_MAX instead of MAX_PATH
* INSTALL.scons: add instruction for building qt3 2ith msvc
* development/scons/SConstruct: use the right lib (qt-mt3) and manifest file

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

17 years agoFix bug 2068 and do some cleanup
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 21:12:20 +0000 (21:12 +0000)]
Fix bug 2068 and do some cleanup

* src/CutAndPaste.C (setSelectionRange, replaceWord): remove.
(replaceSelectionWithString): select the new string after
replacement; add a bool parameter indicating in which sense the
selection is made.

* src/lyxfind.C (replace): adapt to above changes.
(find): comment out debug message.

* src/frontends/controllers/ControlSpellchecker.C (isLetter):
rename parameter.
(nextWord): take a LCursor as parameter; set the selection over
the word that has been found.
(check): adapt to changes above (the length of the word is not
necessarily the length of the selection -- fixes bug 2068).
(replace): use cap::replaceSelectionWithString

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

17 years ago * src/BufferView_pimpl.C (getStatus, dispatch): do not handle
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 21:06:40 +0000 (21:06 +0000)]
* src/BufferView_pimpl.C (getStatus, dispatch): do not handle
LFUN_GOTOERROR.

* src/bufferview_funcs.C (findInset): exit early when at end of
document (and avoid a crash).

* src/insets/insetbase.[Ch]: remove ERROR_CODE

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

17 years agoThis commit should hopefully fix all scrolling issues. As an added bonus, mouse scrol...
Abdelrazak Younes [Wed, 16 Aug 2006 15:24:38 +0000 (15:24 +0000)]
This commit should hopefully fix all scrolling issues. As an added bonus, mouse scrolling should be faster due to a deleted call to BufferView::update() that was not usefull (the important call to updateMetrics() is done in WorkArea()).

Log:
* BufferView/pimpl:
  - scrollDocView(): call to BufferView::update() deleted.
  - scrollDocView(): second part is now in setCursorFromScrollbar()
  - setCursorFromScrollbar(): new method.

* WorkArea:
  - setBufferView(): show the cursor immediately
  - redraw(): call to updateScrollbar()
  - updateScrollbar(): new method
  - scrollBufferView(): fix it and show the cursor immediately.

* qt4/GuiWorkArea
  - setScrollbarParams(): now disable the Qt scrollbar tracking.
  - paintEvent(): scrollbar related code deleted

* qt3/QWorkArea
  - setScrollbarParams(): now disable the Qt scrollbar tracking.

* qt3/QContentPane
  - paintEvent(): scrollbar related code deleted

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

17 years agorework mathdelimiter dialog and add size combo...
Edwin Leuven [Wed, 16 Aug 2006 14:22:47 +0000 (14:22 +0000)]
rework mathdelimiter dialog and add size combo...

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

17 years agoFix crash in tialian locale when setting Theorem environment (bug2774)
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 14:07:33 +0000 (14:07 +0000)]
Fix crash in tialian locale when setting Theorem environment (bug2774)

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

17 years agoStart to export palin text in utf8 (no insets besides InsetText for now)
Georg Baum [Wed, 16 Aug 2006 11:56:06 +0000 (11:56 +0000)]
Start to export palin text in utf8 (no insets besides InsetText for now)
* src/output_plaintext.C
(asciiParagraph): output utf8 instead of ucs4 garbage

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

17 years ago * text2.C (init): do not reset curent font (bug 2664)
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 10:09:23 +0000 (10:09 +0000)]
* text2.C (init): do not reset curent font (bug 2664)

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