2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2007-10-07 21:38:06 +00:00
|
|
|
SUBDIRS = $(FRONTENDS_SUBDIRS) .
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2007-10-07 21:38:06 +00:00
|
|
|
DIST_SUBDIRS = qt4 .
|
2002-04-08 09:42:58 +00:00
|
|
|
|
2007-10-02 20:34:55 +00:00
|
|
|
noinst_LTLIBRARIES = liblyxfrontends.la
|
2001-05-31 13:07:02 +00:00
|
|
|
|
2007-11-13 23:00:36 +00:00
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
|
2004-08-15 21:45:30 +00:00
|
|
|
|
2007-08-10 22:33:54 +00:00
|
|
|
liblyxfrontends_la_SOURCES = \
|
2007-04-28 20:44:46 +00:00
|
|
|
alert.h \
|
2006-09-22 18:45:22 +00:00
|
|
|
Application.h \
|
2006-10-03 16:17:32 +00:00
|
|
|
FontLoader.h \
|
2006-10-07 16:15:06 +00:00
|
|
|
FontMetrics.h \
|
2008-03-21 14:05:41 +00:00
|
|
|
Delegates.h \
|
2007-10-02 21:51:54 +00:00
|
|
|
KeyModifier.h \
|
2007-04-27 08:43:38 +00:00
|
|
|
KeySymbol.h \
|
2002-06-18 15:44:30 +00:00
|
|
|
LyXView.h \
|
2002-05-23 09:21:32 +00:00
|
|
|
Painter.h \
|
2006-06-20 08:39:16 +00:00
|
|
|
Clipboard.h \
|
Split clipboard and X selection
* src/LyXAction.C
(LyXAction::init): handle new LFUN_CLIPBOARD_PASTE
* src/insets/insettabular.C
(InsetTabular::doDispatch): ditto
* src/insets/insetbox.C
(InsetBox::doDispatch): ditto
* src/insets/insetert.C
(InsetERT::doDispatch): ditto
(InsetERT::getStatus): ditto
* src/insets/insetcharstyle.C
(InsetCharStyle::doDispatch): ditto
* src/BufferView_pimpl.C
(BufferView::Pimpl::selectionRequest): stuff selection, not clipboard
* src/mathed/math_nestinset.C
(MathNestInset::lfunMousePress): get stuff selection, not clipboard
(MathNestInset::lfunMouseRelease): clipboard -> selection in
commented code
* src/CutAndPaste.C
(cutSelection): ditto
* src/frontends/{qt3,gtk}/GuiImplementation.C
(GuiImplementation::newWorkArea): create new selection, not clipboard,
since the clipboard is now an object
(GuiImplementation::destroyWorkArea): destroy selection, not clipboard
* src/frontends/{qt4,qt3,gtk}/GuiSelection.h: new, copied from
GuiClipboard.h
* src/frontends/{qt4,qt3,gtk}/GuiSelection.C: new, copied from
GuiClipboard.C
* src/frontends/{qt3,gtk}/GuiImplementation.h
(selection): new accessor for selection_
(selection_): new, the global selection object
* src/frontends/{qt4,qt3,gtk}/Makefile.am: add GuiSelection.C and
GuiSelection.h
* src/frontends/{qt4,qt3,gtk}/GuiClipboard.C
(GuiClipboard::get): return clipboard, not selection
(GuiClipboard::put): stuff clipboard, not selection
* src/frontends/{qt4,qt3,gtk}/GuiClipboard.h
(haveSelection): remove (this is now in GuiSelection)
* src/frontends/{qt3,gtk}/GuiClipboard.h
(old_work_area_): remove, since it is not needed anymore
* src/frontends/gtk/ghelpers.C
(getGTKStockIcon): handle LFUN_CLIPBOARD_PASTE
* src/frontends/Clipboard.h
(haveSelection): remove (this is now in Selection)
* src/frontends/qt4/GuiImplementation.[Ch]
(GuiImplementation::selection): new accessor for selection_
* src/frontends/Gui.h
(selection): New accessor for the global selection object
* src/frontends/Selection.h; new, copied from Clipboard.h
* src/frontends/Makefile.am: add Selection.h
* src/text3.C
(various): s/clipboard().haveSelection/selection().haveSelection/
(LyXText::dispatch): handle LFUN_CLIPBOARD_PASTE
(LyXText::getStatus): ditto
* src/lfuns.h: new lfun LFUN_CLIPBOARD_PASTE
* lib/ui/stdmenus.ui: add new lfun LFUN_CLIPBOARD_PASTE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14408 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-10 11:32:25 +00:00
|
|
|
Selection.h \
|
2002-05-23 15:43:25 +00:00
|
|
|
WorkArea.h \
|
2007-10-02 09:00:08 +00:00
|
|
|
WorkAreaManager.cpp \
|
|
|
|
WorkAreaManager.h \
|
2006-10-30 10:09:59 +00:00
|
|
|
mouse_state.h
|
2007-10-07 09:59:28 +00:00
|
|
|
|
|
|
|
################################# Tests ################################
|
|
|
|
|
2008-05-16 18:06:01 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
tests/test_biblio \
|
|
|
|
tests/regfiles/biblio
|
2007-10-07 09:59:28 +00:00
|
|
|
|
|
|
|
TESTS = \
|
2008-03-20 10:04:55 +00:00
|
|
|
tests/test_biblio
|
2007-10-07 09:59:28 +00:00
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
biblio
|
|
|
|
|
2008-03-20 10:04:55 +00:00
|
|
|
biblio_LDADD = $(BOOST_LIBS) $(BOOST_REGEX)
|
2007-10-07 09:59:28 +00:00
|
|
|
biblio_SOURCES = \
|
|
|
|
tests/biblio.cpp \
|
|
|
|
tests/boost.cpp
|
|
|
|
|
|
|
|
makeregfiles: ${check_PROGRAMS}
|
|
|
|
for all in ${check_PROGRAMS} ; do \
|
2008-03-20 10:04:55 +00:00
|
|
|
./$$all > ${srcdir}/tests/regfiles/$$all ; \
|
2007-10-07 09:59:28 +00:00
|
|
|
done
|