Commit graph

55 commits

Author SHA1 Message Date
Christophe Giboudeaux 5ea9c8fddd Port to feature_summary. 2012-12-30 11:59:35 +01:00
David Faure 19b73be057 Port from KParts::Factory to KPluginFactory. Cleanups.
svn path=/trunk/KDE/kdebase/apps/; revision=1214191
2011-01-13 12:20:16 +00:00
Maks Orlovich a5c38428e3 As an intermediate stage, let's implement one direction of scripting using
current LC API first. No idea if it's workable w/o doing the other direction 
the way Koos did, but I figure it's better than trying to get a few thousand 
of untested LoC with completely new APIs working (and may be perhaps backportable), 
especially since I did a lot of the work before and can adapt it.

This commit does:
- Update the SDK headers for some of the new functions/enums
- Handle the LC requests in the part, and forward them via DBus to the viewer
- Similarly, have the viewer properly unpack and pass to the scripting engine
- The scripting code for now merely does some API initialization, no actual work.

svn path=/trunk/KDE/kdebase/apps/; revision=1116993
2010-04-20 20:08:43 +00:00
David Faure 68cee6ce40 Duplicate mimetypewriter in nsplugins and filetypes, so that the two become independent and I can move filetypes to runtime to fix #179355.
To reduce duplication to the minimum, this code now uses KMimeType::sharedMimeInfoVersion() added on March 9 to kdelibs.

svn path=/trunk/KDE/kdebase/apps/; revision=941945
2009-03-20 19:00:26 +00:00
David Faure f1445d9fec Allow users to change mimetype icons if they use shared-mime-info >= 0.40
BUG: 158895

svn path=/trunk/KDE/kdebase/apps/; revision=930394
2009-02-23 10:41:59 +00:00
Allen Winter 697e4e8f25 give a nice logging message for glib2
svn path=/trunk/KDE/kdebase/apps/; revision=879293
2008-11-02 22:31:29 +00:00
Luboš Luňák bee6af9016 Hacking Glib eventloop integration. Not everybody has Qt with glib support,
and new Flash doesn't work without it.


svn path=/trunk/KDE/kdebase/apps/; revision=820257
2008-06-13 17:16:14 +00:00
Laurent Montel 95e90f46ab Use INSTALL_TARGETS_DEFAULT_ARGS
svn path=/trunk/KDE/kdebase/apps/; revision=813304
2008-05-27 11:36:57 +00:00
Urs Wolfer d2618ce4a8 Port nsplugins to clean Qt 4.
Work done by Sergey Saukh.
See discussion on kde-devel ('nsplugins patch (KDE4)').

CCMAIL:thelich@yandex.ru

svn path=/trunk/KDE/kdebase/apps/; revision=803987
2008-05-04 18:50:49 +00:00
Andreas Hartmetz a3118d0db2 SVN_SILENT: trivial removal of excessive whitespace, this is a leftover from something else. instead of reverting here i\'ll commit it...
svn path=/trunk/KDE/kdebase/apps/; revision=803362
2008-05-02 17:29:04 +00:00
David Faure 31a3705bfb Extracted a MimeTypeWriter from the filetypes kcontrol module, to have the code that writes out a xdg-shared-mime compliant mimetype in one place.
Ported nspluginscan to xdg-shared-mime so that it generates mimetypes that work.

svn path=/branches/KDE/4.0/kdebase/apps/; revision=762860
2008-01-18 01:11:22 +00:00
Maks Orlovich 1b5e2d1920 Seems like I need the indirection here to prevent CMake getting confused due to sharing or such.
Sorry about the trouble, folks.

svn path=/trunk/KDE/kdebase/apps/; revision=729019
2007-10-24 21:42:53 +00:00
Maks Orlovich 65d23d1e64 Make the nsplugin support actually do something:
- Actually build a kpart and install as is.
- Actually build a working kcminit module. Which might not be 
  such a hot idea since KConfig seems to like to loop infinitely on this 
  stuff
- Actually let nspluginviewer start

Right now it's lost someplace in d-bus communication...
And we didn't deal with the Xt issue yet. Oh boy.

svn path=/trunk/KDE/kdebase/apps/; revision=728776
2007-10-24 07:38:33 +00:00
Oswald Buddenhagen 8c8e7d92dd add some kde3support following k3proc move
svn path=/trunk/KDE/kdebase/apps/; revision=720171
2007-10-02 16:03:50 +00:00
Luboš Luňák f8be4f7346 Defaulting to no scanning for new plugins is nice from performance point
of view, but it's completely unreasonable to expect the user to run
the check manually. Check timestamps to find out if a full scan is needed.
This also makes the config options for this more or less unnecessary.
BUG: 126744


svn path=/trunk/KDE/kdebase/apps/; revision=705275
2007-08-27 16:23:05 +00:00
Alexander Neundorf 2238df4247 remove old Makefile.am contents
Alex


svn path=/trunk/KDE/kdebase/apps/; revision=700202
2007-08-15 03:32:07 +00:00
Laurent Montel 50cc53b211 change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
svn path=/trunk/KDE/kdebase/apps/; revision=691218
2007-07-23 07:01:14 +00:00
Laurent Montel 57f8456b5c Remove not necessary cmake variable (already defined
into lib dependancy)


svn path=/trunk/KDE/kdebase/apps/; revision=686169
2007-07-10 19:37:23 +00:00
Allen Winter d645b59bb1 remove kde4_automoc()
svn path=/trunk/KDE/kdebase/apps/; revision=685984
2007-07-10 09:14:12 +00:00
Dirk Mueller caee3f06e7 remove redundant project declarations
svn path=/trunk/KDE/kdebase/apps/; revision=683437
2007-07-04 18:20:57 +00:00
David Faure 0f6b9b459e Move nsplugins to apps
svn path=/trunk/KDE/kdebase/apps/; revision=664635
2007-05-14 14:49:22 +00:00
Laurent Montel 15d07ab4bb Fox compile test
svn path=/trunk/KDE/kdebase/nsplugins/; revision=648021
2007-03-30 08:13:25 +00:00
Laurent Montel 9a263f69a8 It's better to autogenerate file it allows
to fix porting problem

svn path=/trunk/KDE/kdebase/nsplugins/; revision=617275
2006-12-28 15:57:58 +00:00
Laurent Montel 42034a0bcc Install dbus interface
svn path=/trunk/KDE/kdebase/libkonq/; revision=616668
2006-12-26 12:30:52 +00:00
Laurent Montel a5dfb6f6fc Prefer to autogenerate adaptor
(It allows me to fix some port problem)
I will try to test it now

svn path=/trunk/KDE/kdebase/nsplugins/; revision=615476
2006-12-21 17:36:25 +00:00
Alexander Neundorf e3bd493b60 nicer indentation
Alex


svn path=/trunk/KDE/kdebase/nsplugins/; revision=612344
2006-12-10 23:28:37 +00:00
Alexander Neundorf c0d78ac239 -remove kde4_install_libtool_file(), not necessary anymore since we switched away from libltdl
Alex


svn path=/trunk/KDE/kdebase/konqueror/; revision=602118
2006-11-05 12:24:44 +00:00
Laurent Montel 204da7a388 Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/KDE/kdebase/konqueror/; revision=598290
2006-10-23 06:53:27 +00:00
Laurent Montel 9bba68d81a Necessary to change KDE4_AUTOMOC macro to support
enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)

Regards

svn path=/trunk/KDE/kdebase/konqueror/; revision=595039
2006-10-13 07:55:37 +00:00
Laurent Montel d25ed10ffa Install it into services directopry
svn path=/trunk/KDE/kdebase/nsplugins/; revision=587099
2006-09-21 14:11:58 +00:00
Laurent Montel 49726781ca Use macro
svn path=/trunk/KDE/kdebase/nsplugins/; revision=585919
2006-09-18 09:59:00 +00:00
Laurent Montel 0dd71dc4dd Fix CMakeLists.txt
svn path=/trunk/KDE/kdebase/konqueror/; revision=567265
2006-07-28 13:04:23 +00:00
Urs Wolfer 832eff68d4 Disable nsplugintest again. It does not link.
svn path=/trunk/KDE/kdebase/nsplugins/; revision=566482
2006-07-26 10:03:01 +00:00
Laurent Montel 861be5aef5 Clean up
svn path=/trunk/KDE/kdebase/nsplugins/; revision=566160
2006-07-25 15:20:44 +00:00
Laurent Montel 68f52831c7 Replace all bin by ${BIN_INSTALL_DIR}
svn path=/trunk/KDE/kdebase/nsplugins/; revision=564549
2006-07-20 13:08:26 +00:00
Stephan Kulow 543a4f026e ported to new snapshot
svn path=/trunk/KDE/kdebase/konqueror/; revision=560630
2006-07-10 20:04:42 +00:00
Dirk Mueller e6040c725e merge bleeding edge. bleeding edge is now again dead
svn path=/trunk/KDE/kdebase/apps/; revision=558082
2006-07-04 17:09:53 +00:00
David Faure a4a535f372 Finish the port to DBus - all of kdebase compiles now!
svn path=/trunk/KDE/kdebase/nsplugins/; revision=556576
2006-06-30 18:20:52 +00:00
David Faure dee4999869 Port PluginPart's dbus interface to DBus, renamed interface to CallBack.
viewer/ has three more interfaces, those are next.

svn path=/trunk/KDE/kdebase/nsplugins/; revision=555901
2006-06-28 17:21:56 +00:00
Laurent Montel fc0c8a41a0 DCOP doesn't exist 
svn path=/trunk/KDE/kdebase/nsplugins/; revision=554800
2006-06-25 12:10:11 +00:00
Thiago Macieira d3b0cceb39 Remove all kde4_add_dcop_stubs and kde4_add_dcop_skels.
Remaining errors consist only of #include not found (dcopclient.h, dcopref.h, kdatastream.h and kdirnotify_stub.h)

svn path=/trunk/KDE/kdebase/nsplugins/; revision=548395
2006-06-05 13:17:43 +00:00
Alexander Neundorf 7a0b30822a kde4_header and kde4_footer() are gone now
svn path=/trunk/KDE/kdebase/konqueror/; revision=540215
2006-05-12 18:12:37 +00:00
Alexander Neundorf a8b01eb0aa -add FONTCONFIG_INCLUDE_DIR where required
-cleanup the toplevel CMakeLists.txt a bit
-remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR)
in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option
-include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it
doesn't have to be done in every subdir

Alex


svn path=/trunk/KDE/kdebase/konqueror/; revision=539914
2006-05-12 00:08:30 +00:00
David Faure 2f4d9a709d Add export for unit test to link
svn path=/trunk/KDE/kdebase/nsplugins/; revision=538970
2006-05-09 12:40:45 +00:00
André Wöbbeking 10f99d0edf install executables with the install command instead of install_files/targets.
when you install scripts with install(PROGRAMS ...) they're installed executable.

svn path=/trunk/KDE/kdebase/nsplugins/; revision=538074
2006-05-06 17:53:08 +00:00
David Faure 699b36b8b0 Better use of optional lib variables.
Better error message when Xt isn't available (in fact this makes it optional, to avoid a cryptic error message)

svn path=/trunk/KDE/kdebase/nsplugins/; revision=536355
2006-05-01 21:49:45 +00:00
Frank Osterfeld edfea13cec replace LIB_INSTALL_DIR/kde4 with PLUGIN_INSTALL_DIR
svn path=/trunk/KDE/kdebase/konqueror/; revision=531059
2006-04-18 14:21:54 +00:00
Alexander Neundorf bdfa6204fc -use KDE4_INCLUDES instead of KDE4_INCLUDE_DIR and QT_INCLUDES
Alex

svn path=/trunk/KDE/kdebase/konqueror/; revision=522728
2006-03-26 14:52:52 +00:00
David Faure 64dacf1e12 Use set(CMAKE_INCLUDE_CURRENT_DIR ON) in the toplevel CMakeLists.txt, and we don't need to include
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that].

Also ran a script which makes sure that ${KDE4_INCLUDE_DIR} and ${QT_INCLUDES} are added -last-,
so that installed headers are not preferred over (possibly more uptodate) local headers.

svn path=/trunk/KDE/kdebase/konqueror/; revision=521887
2006-03-23 19:24:10 +00:00
Laurent Montel bb733dd35f Other fix typo
svn path=/trunk/KDE/kdebase/konqueror/; revision=521452
2006-03-22 16:12:13 +00:00