]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoThis commit moves system font initialization and restoration to new support/fontutils...
Abdelrazak Younes [Mon, 2 Oct 2006 10:48:03 +0000 (10:48 +0000)]
This commit moves system font initialization and restoration to new support/fontutils.[Ch].
These font related functions were identical for qt3 and qt4. They are not Qt dependent at all and could also apply to an eventual Win32 or MacOSX gtk port.

Jen-Marc says: It would be nice to convince fontconfig to do the same for linux.

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

17 years agoUpdate scons_manifest.py for changed names in src/mathed
Enrico Forestieri [Sun, 1 Oct 2006 10:38:43 +0000 (10:38 +0000)]
Update scons_manifest.py for changed names in src/mathed

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

17 years agoFix bug 2789 (as discussed)
Georg Baum [Sat, 30 Sep 2006 17:17:31 +0000 (17:17 +0000)]
Fix bug 2789 (as discussed)
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): move code for ref insert to InsetMathNest
(InsetMathHull::getStatus): move code for ref insert to InsetMathNest

* src/mathed/InsetMathNest.C
(InsetMathNest::doDispatch): move code from InsetMathHull here
(InsetMathNest::getStatus): move code from InsetMathHull here

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

17 years agoremove unneeded include
Georg Baum [Sat, 30 Sep 2006 10:24:05 +0000 (10:24 +0000)]
remove unneeded include

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

17 years agoMake it compile again: Add some includes to fix signals name clash
Georg Baum [Sat, 30 Sep 2006 08:58:17 +0000 (08:58 +0000)]
Make it compile again: Add some includes to fix signals name clash

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

17 years agoremove a FIXME, sorry for the multiple commits...
Abdelrazak Younes [Fri, 29 Sep 2006 23:22:53 +0000 (23:22 +0000)]
remove a FIXME, sorry for the multiple commits...

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

17 years agoSome cleanup
Abdelrazak Younes [Fri, 29 Sep 2006 23:21:03 +0000 (23:21 +0000)]
Some cleanup

* Application.h: pimpl_ is now private

* GuiApplication.C: headers cleanup.

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

17 years agosome qt3 and gtk compilation fixes (hopefully)...
Abdelrazak Younes [Fri, 29 Sep 2006 23:15:36 +0000 (23:15 +0000)]
some qt3 and gtk compilation fixes (hopefully)...

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

17 years ago* Application: new createView() method
Abdelrazak Younes [Fri, 29 Sep 2006 23:10:17 +0000 (23:10 +0000)]
* Application: new createView() method

* gtk/qt3/qt4/GuiApplication: createView() method deleted

* LyXView:
 - init(): is now a pure virtual method. autoSave code transferred to constructor and updates to the frontends.
 - setGeometry(): new pure virtual method

* gtk/GView, qt3/QtView, qt4/GuiView: adapted to above change
 - setGeometry(): code transfered from GuiApplication

* lyx_main.C: call LyX::ref().addLyXView() in there instead of in Application::createView()

*

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

17 years agoThis commit introduces Application_pimpl and cleanup the header includes of the affec...
Abdelrazak Younes [Fri, 29 Sep 2006 22:06:28 +0000 (22:06 +0000)]
This commit introduces Application_pimpl and cleanup the header includes of the affected .C files.

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

17 years agoThis commit splits the add() method in two methods add() and
Abdelrazak Younes [Fri, 29 Sep 2006 21:40:56 +0000 (21:40 +0000)]
This commit splits the add() method in two methods add() and
addWithStatus(). It also replaces LyXView uses with BufferView as none of the LyXView feature were used.

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

17 years agoScons: cygwin packaging fixes
Bo Peng [Thu, 28 Sep 2006 04:45:21 +0000 (04:45 +0000)]
Scons: cygwin packaging fixes

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

17 years agoSmall fixes for STLPort compliance
Enrico Forestieri [Thu, 28 Sep 2006 00:42:47 +0000 (00:42 +0000)]
Small fixes for STLPort compliance

* src/cursor.C: add using std::for_each;

* src/graphics/GraphicsTypes.h: add #include <string>

* src/graph.C: add using std::fill;

* src/frontends/controllers/helper_funcs.h: add #include <algorithm>

* src/bufferview_funcs.C: add using std::find;

* src/lyx_main.C: add using std::for_each;

* configure.ac: don't use boost format on cygwin

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

17 years agoScons: correct installation of cygwin fonts
Bo Peng [Wed, 27 Sep 2006 19:30:08 +0000 (19:30 +0000)]
Scons: correct installation of cygwin fonts

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

17 years agoImplement copying of rows and columns in tables
Georg Baum [Wed, 27 Sep 2006 16:28:09 +0000 (16:28 +0000)]
Implement copying of rows and columns in tables
* src/insets/insettabular.C
(InsetTabular::getStatus): enable COPY_ROW and COPY_COLUMN features
(InsetTabular::tabularFeatures): handle COPY_ROW and COPY_COLUMN

* src/tabular.h
(TabularFeature): add COPY_ROW and COPY_COLUMN

* src/tabular.[Ch]
(LyXTabular::copyRow): new method, copy a row
(LyXTabular::copyColumn): new method, copy a column

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

17 years agoavoid comparing the addresses of dereferenced 0 pointers
Georg Baum [Wed, 27 Sep 2006 16:10:47 +0000 (16:10 +0000)]
avoid comparing the addresses of dereferenced 0 pointers

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

17 years agoadd Marius Ionescu
Jean-Marc Lasgouttes [Wed, 27 Sep 2006 13:54:43 +0000 (13:54 +0000)]
add Marius Ionescu

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

17 years agoAdd latex2rtf converter
Georg Baum [Wed, 27 Sep 2006 13:50:20 +0000 (13:50 +0000)]
Add latex2rtf converter
* lib/configure.py
(checkFormatEntries): Add rtf format
(checkConverterEntries): Add latex2rtf converter

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

17 years agocompilation fix: do not forget lyx_gui.h
Jean-Marc Lasgouttes [Wed, 27 Sep 2006 13:37:50 +0000 (13:37 +0000)]
compilation fix: do not forget lyx_gui.h

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

17 years agoreplace global variable bufferlist with Application class member access.
Abdelrazak Younes [Wed, 27 Sep 2006 10:24:13 +0000 (10:24 +0000)]
replace global variable bufferlist with Application class member access.

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

17 years agodelete unneeded lyx_gui.h declaration.
Abdelrazak Younes [Wed, 27 Sep 2006 08:33:37 +0000 (08:33 +0000)]
delete unneeded lyx_gui.h declaration.

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

17 years agodelete unneeded BufferView.h declaration.
Abdelrazak Younes [Tue, 26 Sep 2006 21:11:22 +0000 (21:11 +0000)]
delete unneeded BufferView.h declaration.

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

17 years agoScons: get version info from configure.ac, add fonts and postinstall script for cygwin
Bo Peng [Tue, 26 Sep 2006 19:37:09 +0000 (19:37 +0000)]
Scons: get version info from configure.ac, add fonts and postinstall script for cygwin

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

17 years ago2 style and 1 compilation fixes.
Abdelrazak Younes [Tue, 26 Sep 2006 12:46:27 +0000 (12:46 +0000)]
2 style and 1 compilation fixes.

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

17 years agoqt3 and gtk support for revision: 15153
Abdelrazak Younes [Tue, 26 Sep 2006 11:55:46 +0000 (11:55 +0000)]
qt3 and gtk support for revision: 15153

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

17 years agoFree BufferView from LyXView!
Abdelrazak Younes [Tue, 26 Sep 2006 10:06:46 +0000 (10:06 +0000)]
Free BufferView from LyXView!

* BufferView
  - layoutChanged: new boost signal.
  - LyXView owner(), owner_: deleted

* text3.C
  - emit BufferView::layoutChanged instead of calling LyXView::setLayout directly
  - LFUN_MOUSE_RELEASE: delete LyXView updateMenubar() and updateToolbars() direct calls.
    The update is of both bars is done in WorkArea::dispatch().

* WorkArea.C
  - dispatch(): add LyXView updateMenubar() call.

* LyXView
  - connects to BufferView::layoutChanged directly to Toolbars::setLayout()
  - setLayout(): deleted.

* qt4/GuiImplementation: modify BufferView construction (without LyXView).

All other files: cleanup header declaration of LyXView.h

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

17 years ago * emit buffer::resetAutosaveTimers instead of calling LyXView::resetAutosaveTimer...
Abdelrazak Younes [Tue, 26 Sep 2006 09:59:03 +0000 (09:59 +0000)]
 * emit buffer::resetAutosaveTimers instead of calling LyXView::resetAutosaveTimer() directly
 * replace bv->owner()->buffer() with bv->buffer()

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

17 years agoreplace colorcache global variable with GuiApplication::colorCache().
Abdelrazak Younes [Tue, 26 Sep 2006 09:57:47 +0000 (09:57 +0000)]
replace colorcache global variable with GuiApplication::colorCache().

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

17 years agoDisable concept checks in the same way as in other gtk files since they
Georg Baum [Mon, 25 Sep 2006 16:58:40 +0000 (16:58 +0000)]
Disable concept checks in the same way as in other gtk files since they
don't work with libsigc++ 2.0.6.

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

17 years agoadd instruction to change search path for gnuwin32 + small corrections
Peter Kümmel [Mon, 25 Sep 2006 15:34:04 +0000 (15:34 +0000)]
add instruction to change search path for gnuwin32 + small corrections

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

17 years agoDocument inset-dissolve without format change (taken from 1.4 branch)
Georg Baum [Mon, 25 Sep 2006 15:06:04 +0000 (15:06 +0000)]
Document inset-dissolve without format change (taken from 1.4 branch)

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

17 years agorevert broken changeset 15036
Georg Baum [Mon, 25 Sep 2006 14:55:44 +0000 (14:55 +0000)]
revert broken changeset 15036

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

17 years agomake it compile again
Georg Baum [Fri, 22 Sep 2006 21:00:42 +0000 (21:00 +0000)]
make it compile again

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

17 years agomake it compile again
Georg Baum [Fri, 22 Sep 2006 20:48:42 +0000 (20:48 +0000)]
make it compile again

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

17 years agoremove unused stuff
Georg Baum [Fri, 22 Sep 2006 19:17:29 +0000 (19:17 +0000)]
remove unused stuff

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

17 years agocompile fix
Georg Baum [Fri, 22 Sep 2006 18:45:22 +0000 (18:45 +0000)]
compile fix

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

17 years agoadd hu_Tutorial
Georg Baum [Fri, 22 Sep 2006 18:34:05 +0000 (18:34 +0000)]
add hu_Tutorial

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

17 years agofix eol-style
Georg Baum [Fri, 22 Sep 2006 17:50:33 +0000 (17:50 +0000)]
fix eol-style

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

17 years agoAdd virtual destructor
Georg Baum [Fri, 22 Sep 2006 17:47:15 +0000 (17:47 +0000)]
Add virtual destructor

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

17 years agoThis commit replaces BufferView->LyXView->Gui->[selection,clipboard] with theApp...
Abdelrazak Younes [Fri, 22 Sep 2006 15:02:41 +0000 (15:02 +0000)]
This commit replaces BufferView->LyXView->Gui->[selection,clipboard] with theApp->[selection,clipboard]

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

17 years agoDistribute README.Cygwin and some source files of boost/regex
Bo Peng [Fri, 22 Sep 2006 14:35:24 +0000 (14:35 +0000)]
Distribute README.Cygwin and some source files of boost/regex

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

17 years agoThis commit replaces BufferView->LyXView->getLyXFunc() with theApp->lyxFunc() and...
Abdelrazak Younes [Fri, 22 Sep 2006 14:26:06 +0000 (14:26 +0000)]
This commit replaces BufferView->LyXView->getLyXFunc() with theApp->lyxFunc() and BufferView->LyXView->dispatch() with theApp->lyxFunc().dispatch().

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

17 years agoreplace lyxserver and lyxsocket with theApp->server() and theApp->socket() equivalent...
Abdelrazak Younes [Fri, 22 Sep 2006 12:34:13 +0000 (12:34 +0000)]
replace lyxserver and lyxsocket with theApp->server() and theApp->socket() equivalent methods.

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

17 years agoFix bug 2845
Georg Baum [Fri, 22 Sep 2006 11:37:22 +0000 (11:37 +0000)]
Fix bug 2845
* lib/configure.py
(checkFormatEntries): Add wmf format
(checkConverterEntries): Add wmf -> eps converter

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

17 years agoFix a crash that occured on exit if the clipboard was not empty
Georg Baum [Fri, 22 Sep 2006 10:03:00 +0000 (10:03 +0000)]
Fix a crash that occured on exit if the clipboard was not empty
(only on windows).
* src/frontends/Dialogs.C
(Dialogs::hide): Don't send the signal if we are quitting

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

17 years agoThis commit introduces frontends/Application.[Ch] and makes qt4/GuiApplication (renam...
Abdelrazak Younes [Fri, 22 Sep 2006 09:47:39 +0000 (09:47 +0000)]
This commit introduces frontends/Application.[Ch] and makes qt4/GuiApplication (renamed from qt4/Application) derive from it. Most of the code in qt4/lyx_gui.C has been transferred either to Application or to qt4/GuiApplication. Application handles unique instances of LyXFunc, LyXServer and LyXServerSocket.

Most of qt3 and gtk should stay compilable except for LyXView.h because the LyXFunc instance has been transferred to Application.

* frontends/Application: new class aimed to be the one unique interface between the frontend and the kernel. Contains one global pointer to the unique instanciation theApp.

* frontends/qt4/GuiApplication: renamed from qt4/Application, the qt4 specialisation of the Application class.  Contains one global pointer to the unique instanciation guiApp (equal to theApp but pointing to a GuiApplication instead).

* frontends/qt4/lyx_gui.C: most of the code has been moved to Application and GuiApplication

All other file: adapted to new API.

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

17 years agomove definition of variables to the main cmake file
Peter Kümmel [Thu, 21 Sep 2006 10:51:50 +0000 (10:51 +0000)]
move definition of variables to the main cmake file

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

17 years agocreate binary in <build_dir>/bin
Peter Kümmel [Thu, 21 Sep 2006 10:50:27 +0000 (10:50 +0000)]
create binary in <build_dir>/bin

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

17 years ago * lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831)
Jean-Marc Lasgouttes [Thu, 21 Sep 2006 10:43:49 +0000 (10:43 +0000)]
* lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831)

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

17 years ago * lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831)
Jean-Marc Lasgouttes [Thu, 21 Sep 2006 09:46:52 +0000 (09:46 +0000)]
* lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831)

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

17 years ago * insettabular.C (cutSelection): reset cursor when it is invalid.
Jean-Marc Lasgouttes [Wed, 20 Sep 2006 12:16:26 +0000 (12:16 +0000)]
* insettabular.C (cutSelection): reset cursor when it is invalid.

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

17 years ago* src/CutAndPaste.C (pasteSelectionHelper):
Jürgen Spitzmüller [Wed, 20 Sep 2006 06:55:07 +0000 (06:55 +0000)]
* src/CutAndPaste.C (pasteSelectionHelper):
remove accidentally committed, obsolete FIXME comment.

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

17 years agoremove unused function _(docstring const &)
Georg Baum [Tue, 19 Sep 2006 16:41:18 +0000 (16:41 +0000)]
remove unused function _(docstring const &)

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

17 years agoThis is the continuation of my BufferView/LyXView cleanup. This commit replaces Buffe...
Abdelrazak Younes [Tue, 19 Sep 2006 13:36:20 +0000 (13:36 +0000)]
This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions.
The associated WorkArea is then responsible to connect these signals to its LyXView parent.

* BufferView:
  - showDialog, showDialogWithData, showInsetDialog: new boost signals

* LyXView:
  - connectBufferView(), disconnectBufferView(): new method in charge of the connection/disconnection of the above signal to associate private methods (showDialog(), etc).

* WorkArea
  - setBufferView(): will connect/disconnect the BufferView to its LyXView parent.

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

17 years agoCleanup fix for bug 2382:
Jürgen Spitzmüller [Tue, 19 Sep 2006 09:39:17 +0000 (09:39 +0000)]
Cleanup fix for bug 2382:
* src/CutAndPaste.C (pasteSelectionHelper): pass Cursor
as argument, remove cursor-dependent arguments,
implement method to reset layout in insets which
forceParagraphsToDefault.

* src/CutAndPaste.C (pasteParagraphList): adapt call of
pasteSelectionHelper.

* insets/insetbox.C (doDispatch):
* insets/insetert.C (doDispatch):
* insets/insetcharstyle.C (doDispatch):
* insettext.[Ch] (forceParagraphsToDefault):
remove ad-hoc-Code to
reset paragraph layout.
This is now done generally in CutAndPaste.

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

17 years agocorrect filenames
Edwin Leuven [Tue, 19 Sep 2006 09:15:47 +0000 (09:15 +0000)]
correct filenames

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

17 years agopropdel svn:executable
Lars Gullik Bjønnes [Tue, 19 Sep 2006 07:09:36 +0000 (07:09 +0000)]
propdel svn:executable

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

17 years agopropdel svn:executable
Peter Kümmel [Mon, 18 Sep 2006 20:46:16 +0000 (20:46 +0000)]
propdel svn:executable

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

17 years agopropdel svn:executable
Peter Kümmel [Mon, 18 Sep 2006 20:43:50 +0000 (20:43 +0000)]
propdel svn:executable

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

17 years agoCMakeLists: - no need for dirent on mingw
Peter Kümmel [Mon, 18 Sep 2006 20:38:39 +0000 (20:38 +0000)]
CMakeLists: - no need for dirent on mingw
            - disable dll message
minwin.h:  remove mingw warning

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

17 years agoSlight update
Lars Gullik Bjønnes [Mon, 18 Sep 2006 19:48:18 +0000 (19:48 +0000)]
Slight update

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

17 years agoremerge
Lars Gullik Bjønnes [Mon, 18 Sep 2006 19:31:35 +0000 (19:31 +0000)]
remerge

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

17 years agoUpdated.
Lars Gullik Bjønnes [Mon, 18 Sep 2006 19:20:51 +0000 (19:20 +0000)]
Updated.

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

17 years agosync with kdewin32
Peter Kümmel [Mon, 18 Sep 2006 18:57:42 +0000 (18:57 +0000)]
sync with kdewin32

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

17 years agoExtract l10n info from qt4 ui files. Disregard caption information from qt3 ui files.
Lars Gullik Bjønnes [Mon, 18 Sep 2006 18:34:27 +0000 (18:34 +0000)]
Extract l10n info from qt4 ui files. Disregard caption information from qt3 ui files.

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

17 years agoadd libaspell as possible name
Peter Kümmel [Mon, 18 Sep 2006 18:28:17 +0000 (18:28 +0000)]
add libaspell as possible name

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

17 years agouse 0.60 branch: main Aspell developer:
Peter Kümmel [Mon, 18 Sep 2006 18:20:57 +0000 (18:20 +0000)]
use 0.60 branch: main Aspell developer:
>I strongly suggest you use the "rel_0_60-branch" branch.
Since I have very little time to spend on Aspell fixing
bugs in HEAD is a very log priority.<

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

17 years agoadd 0.60 branch support because it is more stable
Peter Kümmel [Mon, 18 Sep 2006 18:10:13 +0000 (18:10 +0000)]
add 0.60 branch support because it is more stable

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

17 years agoadd 0.60 branch support because it is more stablewin32-aspell-HEAD.patch
Peter Kümmel [Mon, 18 Sep 2006 18:08:29 +0000 (18:08 +0000)]
add 0.60 branch support because it is more stablewin32-aspell-HEAD.patch

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

17 years agoSet caption programmatically instead of through the ui file. Opens up for disregardin...
Lars Gullik Bjønnes [Mon, 18 Sep 2006 16:55:54 +0000 (16:55 +0000)]
Set caption programmatically instead of through the ui file. Opens up for disregarding caption in l10n handling of ui files.

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

17 years agonew Hungarian translation of the Tuturial
Jean-Marc Lasgouttes [Mon, 18 Sep 2006 12:18:47 +0000 (12:18 +0000)]
new Hungarian translation of the Tuturial

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

17 years ago* lib/doc/UserGuide.lyx:
Jürgen Spitzmüller [Mon, 18 Sep 2006 09:11:48 +0000 (09:11 +0000)]
* lib/doc/UserGuide.lyx:
* lib/doc/Tutorial.lyx:
* lib/doc/de_UderGuide.lyx:
* lib/doc/de_Tutorial.lyx:
document inset-dissolve.

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

17 years agoRemerge after mathed filename changes.
Lars Gullik Bjønnes [Sun, 17 Sep 2006 20:40:15 +0000 (20:40 +0000)]
Remerge after mathed filename changes.

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

17 years agoFix breakage caused by bad commits.
Lars Gullik Bjønnes [Sun, 17 Sep 2006 14:58:42 +0000 (14:58 +0000)]
Fix breakage caused by bad commits.

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

17 years agoMake ensureBufferClean a private member of LyXFunc. This avoids the bv->owner()-...
Abdelrazak Younes [Sun, 17 Sep 2006 10:51:59 +0000 (10:51 +0000)]
Make ensureBufferClean a private member of LyXFunc. This avoids the bv->owner()->dispatch() redirection.

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

17 years agouse owner instead of owner->view()->owner
Abdelrazak Younes [Sun, 17 Sep 2006 10:20:45 +0000 (10:20 +0000)]
use owner instead of owner->view()->owner

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

17 years ago* Transfer Intl member from LyXView to BufferView.
Abdelrazak Younes [Sun, 17 Sep 2006 10:03:00 +0000 (10:03 +0000)]
* Transfer Intl member from LyXView to BufferView.
* delete unused offset_ref() method.

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

17 years agocleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.
André Pönitz [Sun, 17 Sep 2006 10:00:15 +0000 (10:00 +0000)]
cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.

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

17 years agocompilation fixes
Abdelrazak Younes [Sun, 17 Sep 2006 09:55:13 +0000 (09:55 +0000)]
compilation fixes

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

17 years agorename mathed/math_xinset into mathed/InsetMathX
André Pönitz [Sun, 17 Sep 2006 09:14:18 +0000 (09:14 +0000)]
rename mathed/math_xinset into mathed/InsetMathX

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

17 years agodelete unsetXSel() method
Abdelrazak Younes [Sun, 17 Sep 2006 08:48:06 +0000 (08:48 +0000)]
delete unsetXSel() method

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

17 years agoMove X11 specific selection code from BufferView to the frontends.
Abdelrazak Younes [Sun, 17 Sep 2006 08:35:12 +0000 (08:35 +0000)]
Move X11 specific selection code from BufferView to the frontends.

* BufferView:
 - selectionRequested(): renamed to requestSelection() and cleaned up.
 - selectionLost(): renamed to clearSelection()

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

17 years agorename Math*Inset into InsetMath*
André Pönitz [Sat, 16 Sep 2006 18:11:38 +0000 (18:11 +0000)]
rename Math*Inset into InsetMath*

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

17 years agoUpdate in-source boost to latest updates from boost 1.34 branch.
Lars Gullik Bjønnes [Sat, 16 Sep 2006 16:39:04 +0000 (16:39 +0000)]
Update in-source boost to latest updates from boost 1.34 branch.

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

17 years agoKernel::isBufferAvailable(): replace the implicit pointer cast.
Abdelrazak Younes [Sat, 16 Sep 2006 14:27:27 +0000 (14:27 +0000)]
Kernel::isBufferAvailable(): replace the implicit pointer cast.

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

17 years agoFix trying to translate docstring/non-ascii text.
Lars Gullik Bjønnes [Sat, 16 Sep 2006 14:03:30 +0000 (14:03 +0000)]
Fix trying to translate docstring/non-ascii text.

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

17 years agodeledelete BufferView::available() method because buffer serves the same purpose.
Abdelrazak Younes [Sat, 16 Sep 2006 14:00:13 +0000 (14:00 +0000)]
deledelete BufferView::available() method because buffer serves the same purpose.

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

17 years agodelete BufferView::text() method and add two FIXME in text.C
Abdelrazak Younes [Sat, 16 Sep 2006 13:34:09 +0000 (13:34 +0000)]
delete BufferView::text() method and add two FIXME in text.C

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

17 years agoMerge BufferView and BufferView_pimpl
Abdelrazak Younes [Sat, 16 Sep 2006 10:08:51 +0000 (10:08 +0000)]
Merge BufferView and BufferView_pimpl

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

17 years agoadd copyright notice
Peter Kümmel [Fri, 15 Sep 2006 17:05:20 +0000 (17:05 +0000)]
add copyright notice

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

17 years agoAdd phantom icons from Uwe and me (last part of bug 1473)
Georg Baum [Fri, 15 Sep 2006 10:58:58 +0000 (10:58 +0000)]
Add phantom icons from Uwe and me (last part of bug 1473)
* src/frontends/controllers/ControlMath.C
(latex_misc): Add phnatom, vphantom and hphantom

* lib/images/math/hphantom.xpm: new
* lib/images/math/phantom.xpm: new
* lib/images/math/vphantom.xpm: new

* lib/Makefile.am: add new files
* development/scons/scons_manifest.py: ditto

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

17 years ago * text.C (setCursorFromCoordinates):
Jean-Marc Lasgouttes [Fri, 15 Sep 2006 09:51:41 +0000 (09:51 +0000)]
* text.C (setCursorFromCoordinates):
* text2.C (setCursorIntern): add an assertion.

* BufferView_pimpl.C (scrollDocView): reset cursor before setting
it from coordinates (bug 2830).

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

17 years agolink lyxclient against iconv
Jean-Marc Lasgouttes [Fri, 15 Sep 2006 09:39:10 +0000 (09:39 +0000)]
link lyxclient against iconv

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

17 years ago * paragraph_funcs.C (breakParagraph): make sure to respect nesting
Jean-Marc Lasgouttes [Fri, 15 Sep 2006 09:38:40 +0000 (09:38 +0000)]
* paragraph_funcs.C (breakParagraph): make sure to respect nesting
when depth > 0 (bug 2445)/

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

17 years agoScons: add HAVE_WCHAR_T to two config.h files
Bo Peng [Thu, 14 Sep 2006 17:04:11 +0000 (17:04 +0000)]
Scons: add HAVE_WCHAR_T to two config.h files

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

17 years agoScons: add SIZEOF_WCHAR_T
Bo Peng [Thu, 14 Sep 2006 15:40:06 +0000 (15:40 +0000)]
Scons: add SIZEOF_WCHAR_T

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

17 years agoScons: add support for system iconv function (from glibc)
Bo Peng [Thu, 14 Sep 2006 14:09:08 +0000 (14:09 +0000)]
Scons: add support for system iconv function (from glibc)

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

17 years ago* src/text3.C (doInsertInset): reset first paragraph to default after selected conten...
Jürgen Spitzmüller [Thu, 14 Sep 2006 13:44:53 +0000 (13:44 +0000)]
* src/text3.C (doInsertInset): reset first paragraph to default after selected content has been pasted (bug 2802)

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

17 years agotest for the size of wchar_t and define the macro SIZEOF_WCHAR_T with the size
Peter Kümmel [Wed, 13 Sep 2006 21:45:52 +0000 (21:45 +0000)]
test for the size of wchar_t and define the macro SIZEOF_WCHAR_T with the size

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

17 years agoUse wchar_t as lyx::char_type if it is 32 bit wide.
Georg Baum [Wed, 13 Sep 2006 21:13:49 +0000 (21:13 +0000)]
Use wchar_t as lyx::char_type if it is 32 bit wide.

No scons and cmake support! scons and cmake need to find out the size of
wchar_t and define this macro in config.h (example for 32bit wchar_t):

* The size of a `wchar_t', as computed by sizeof. */
#define SIZEOF_WCHAR_T 4

* configure.ac: Test size of wchar_t

* src/support/types.h: don't include docstring.h anymore.
Use wchar_t as lyx::char_type if it is 32 bit wide.

* src/support/docstring.h: Use lyx::char_type for defining docstring

* src/metricsinfo.h: include support/docstring.h instead of
support/types.h
* src/lyxlex.h: ditto
* src/frontends/font_metrics.h: ditto
* src/frontends/qt4/qt_helpers.h: ditto
* src/frontends/Painter.h: ditto
* src/errorlist.h: ditto
* src/support/lstrings.h: ditto
* src/lyxfunc.h: ditto
* src/LaTeX.h: ditto

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