]>
git.lyx.org Git - lyx.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Georg Baum [Wed, 13 Sep 2006 17:11:39 +0000 (17:11 +0000)]
s/boost::uint32_t/lyx::char_type/g except in the definition of lyx::docstring
and lyx::char_type
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14990
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 13 Sep 2006 17:04:42 +0000 (17:04 +0000)]
* src/frontends/qt4/QLToolbar.C
(QLToolbar::QLToolbar): Fix initialization order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14989
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 13 Sep 2006 16:36:56 +0000 (16:36 +0000)]
* src/frontends/qt3/QLPopupMenu.C
(QLPopupMenu::populate): Don't append a lyx::char_type to a qstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14988
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 13 Sep 2006 16:13:41 +0000 (16:13 +0000)]
add missing menu short-cuts for capitalize/uppercase/lowercase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14987
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 13 Sep 2006 15:33:26 +0000 (15:33 +0000)]
move character styles from "insert" to "edit";
move word-capitalize/upcase/locase to "Text Styles" submenu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14986
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 13 Sep 2006 11:18:13 +0000 (11:18 +0000)]
Compile fix for the case when USE_BOOST_FORMAT is 0
* src/support/lstrings.C
(bformat): Add missing lyx::from_ascii()
* src/support/convert.C
(docstring convert<docstring>(unsigned int)): Add specialization
(docstring convert<docstring>(long)): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14983
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 12 Sep 2006 17:41:50 +0000 (17:41 +0000)]
Avoid a name clash with boost 1.34
* src/lyx_cb.C (reconfigure):
* src/buffer.C (runChktex):
* src/lyxfunc.C (dispatch):
* src/vc-backend.C (doVCCommand):
* src/lyx_main.C (reconfigureUserLyXDir):
Explicitly specify lyx::support::Path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14982
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 12 Sep 2006 01:17:03 +0000 (01:17 +0000)]
Fix combo box items in the delimiter GUI
* src/frontends/qt4/QDelimiterDialog.C
(QDelimiterDialog::QDelimiterDialog): add missing "Variable size" item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14981
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 12 Sep 2006 00:54:07 +0000 (00:54 +0000)]
Add defines needed on cygwin
* configure.ac: define BOOST_POSIX_API and BOOST_POSIX_PATH
on cygwin (needed by boost 1.34).
* development/scons/SConstruct: ditto.
* development/cmake/config.h.cmake: ditto.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14980
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 11 Sep 2006 16:07:49 +0000 (16:07 +0000)]
Fix converters in our scripts directory
* src/graphics/GraphicsConverter.C
(build_script): quote filenames in the python script properly
(build_script):
(build_script):
* src/support/filetools.[Ch]
(quoteName): Add quote_style argument and quoting of python filenames
(libScriptSearch): Add quote_style argument
* src/support/filetools.C
(quote_style): New enum to specify the quoting style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14978
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 11 Sep 2006 13:18:41 +0000 (13:18 +0000)]
another compile fix I forgot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14977
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Mon, 11 Sep 2006 11:58:47 +0000 (11:58 +0000)]
Fix from George to deal with the --disable-nls case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14976
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 11 Sep 2006 11:02:36 +0000 (11:02 +0000)]
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14975
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 11 Sep 2006 10:27:48 +0000 (10:27 +0000)]
* src/client/debug.C (showLevel):
* src/ispell.C (ISpell,check): compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14974
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 11 Sep 2006 10:07:39 +0000 (10:07 +0000)]
make it compile again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14973
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 11 Sep 2006 08:54:10 +0000 (08:54 +0000)]
A bunch of conversion to docstring.
- bformat(): contributed by Georg Beaum
- Alert::XXX
- error(): in SpellBase, ispell, psell, aspell, buffer, etc.
- message(), message signal
- displayMessage(), setMessage,
- ErrorItems
- prettyName()
- makeDisplayPath()
and maybe some more...
- etc...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14970
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 11 Sep 2006 07:13:56 +0000 (07:13 +0000)]
Add operator+ for ASCII characters and ASCII C strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14969
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sun, 10 Sep 2006 18:34:24 +0000 (18:34 +0000)]
More unicode work. Fixup some usages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14968
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sun, 10 Sep 2006 16:59:36 +0000 (16:59 +0000)]
Some further work and simplification. Now the conversion engine is only restarted on error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14967
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sun, 10 Sep 2006 11:39:57 +0000 (11:39 +0000)]
Cleanup and speedup some of the conversion functions a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14966
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 10 Sep 2006 11:09:25 +0000 (11:09 +0000)]
Revision 14964: forgot this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14965
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 10 Sep 2006 11:03:21 +0000 (11:03 +0000)]
* LyXView.h:
- makeToolbar(): new pure virtual method
* qt4/GuiView.h:
- makeToolbar(): new method transferred from QLToolbar
* qt4/QLToolbar: derive from QToolBar instead of owning a QToolBar member.
* Toolbars.h: remove make_toolbar() prototype (use LyXView::makeToolbar instead).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14964
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 10 Sep 2006 10:53:23 +0000 (10:53 +0000)]
winwin32 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14963
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 10 Sep 2006 10:32:41 +0000 (10:32 +0000)]
win32 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14962
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 10 Sep 2006 10:28:41 +0000 (10:28 +0000)]
upgrade to latest package.C.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14961
a592a061 -630c-0410-9148-
cb99ea01b6c8