Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

ListingsJuergen

Please categorize this page.
<< | Page list | >>

Applying listings/Juergen.diff

Below are my notes from applying the .diff I got from Juergen.

<< PortListingsSequence | PersonalChr.PortListings | ListingsHerbert >>

Menu/UI-related stuff

lib/ui/default.ui
Added menu entry to submenu insert-file

General source code

src/LaTeXFeatures.C
Added "listings" to ''simplefeatures'... makes \usepackage{listings} be added when needed?
src/LyXAction.C
Added action LFUN_INSERT_LISTING
src/buffer.C
Added #include "insets/insetlisting.h" and handler for listings-insets to Buffer:readInset()
src/commandtags.h
Added LFUN_INSERT_LISTING
src/factory.C
Added #include "insets/insetlisting.h" and handler code to createInset()
src/text3.C
Added handler to LyXText::dispatch() that existing code that just opens the inset.

Frontends?

src/frontends/Dialogs.h
Added forward declaration of class InsetListing, and declare showListing() and createListing()
src/frontends/guiapi.C
Added definitions of gui_ShowListing() and gui_CreateListing().
src/frontends/guiapi.h
Added forward declaration of class InsetListing, and declarations of gui_ShowListing() and gui_CreateListing().
src/frontends/controllers/ControlListing.C
Created ... ?
src/frontends/controllers/ControlListing.h
Created ... ?
src/frontends/controllers/Makefile.am
Added ControlListing.C and ControlListing.h to the macro libcontrollers_la_SOURCES

frontends/qt2 ?

src/frontends/qt2/Dialogs.C
Added listing(lv, d) to Dialogs::Impl::Impl's init-list.
src/frontends/qt2/Dialogs2.C
Added definitions for Dialogs::showListing() and Dialogs::createListing()
src/frontends/qt2/Dialogs_impl.h
Added #include's for ControlListing.h, QListing.h and QListingDialog.h. Typedef'ed ListingDialog and added a field (ListingDialog listing;) to the structure Dialogs::Impl
src/frontends/qt2/Makefile.dialogs
Added QListingDialogBase.ui to macro UIFILES. Also added QListingDialog.C and QListingDialog.h to macro MOCFILES.

To src/frontends/qt2/Makefile.am:, added QListing.C and QListing.h to macro libqt2_la_SOURCES.

src/frontends/qt2/QDocument.C
No relevant change
src/frontends/qt2/QListing.C
Created... ?
src/frontends/qt2/QListing.h
Created... ?
src/frontends/qt2/QListingDialog.C
Created... ?
src/frontends/qt2/QListingDialog.h
Created... ?
src/frontends/qt2/ui/QListingDialog.ui
Created... ?

insets?

src/insets/Makefile.ma
Added insetlisting.C and insetlisting.h to macro libinsets_la_SOURCES
src/insets/inset.h
Added enum LISTING_CODE to Code in class Inset.
src/insets/insetlisting.C
Created... ?
src/insets/insetlisting.h
Created... ?
Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2006-04-11 08:57 UTC