Commit Graph

54 Commits

Author SHA1 Message Date
Paolo Capriotti
7dbc6b9ef1 Package refactoring as discussed on panel-devel.
* Icon, preview, screenshot and release notes are gone.
* Everything in a package (except metadata) is in the contents/ directory.
* Package::createPackage and Package::installPackage cleanup.
* Added Package::metadata method to retrieve a metadata object.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743935
2007-12-02 12:04:57 +00:00
Script Kiddy
220094f3a8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743871
2007-12-02 08:04:51 +00:00
Script Kiddy
e21f8f77bb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743500
2007-12-01 07:41:49 +00:00
Script Kiddy
8abab3d5ac SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742119
2007-11-27 07:46:00 +00:00
Paolo Capriotti
b88aea051e Cleanup of Package classes as discussed on panel-devel.
* Add convenience constructor to the Package class.
* Make some methods const in PackageStructures.
* Use QByteArray to store keys in PackageStructures, so that they are compared
  by value, and not by address.
* Add a test checking that the path to the metadata file is retrieved correctly.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741935
2007-11-26 19:16:40 +00:00
Aaron J. Seigo
09f337b3fa fix the test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741740
2007-11-26 09:28:48 +00:00
Script Kiddy
a490dc44ee SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741702
2007-11-26 08:05:24 +00:00
Script Kiddy
e9d29e93b5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739529
2007-11-21 07:59:36 +00:00
Script Kiddy
16f5c95fef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738178
2007-11-18 07:51:51 +00:00
Allen Winter
1c4dd4a05a DocPath => X-DocPath
ServiceTypes => X-KDE-ServiceTypes
Keywords => X-KDE-Keywords

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737278
2007-11-15 22:33:12 +00:00
Script Kiddy
eca39f1264 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735977
2007-11-13 07:45:41 +00:00
Script Kiddy
27374262f5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735598
2007-11-12 08:08:14 +00:00
Bertjan Broeksema
0c17b03543 - Added some tests for Package::knownPackages.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734732
2007-11-09 19:03:50 +00:00
Script Kiddy
0febb9ad15 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734544
2007-11-09 07:51:58 +00:00
Bertjan Broeksema
a7d2c9d782 - The metadata.desktop file is obligatory now for each package.
- Adjusted tests to reflect the fact that the metadata.desktop file is
  obligatory now.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734451
2007-11-08 22:13:13 +00:00
Bertjan Broeksema
6bba95aa0b - Added a test for the entryList method of Package.
- Added a TODO list to keep track of tests which need work.
  Feel free to add suggestions for tests or enhancements of tests.
  When time permits i'll work on it.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734422
2007-11-08 20:27:43 +00:00
Script Kiddy
61aefa8ee7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734227
2007-11-08 09:15:10 +00:00
Script Kiddy
63aebf28ea SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733791
2007-11-07 07:58:52 +00:00
Script Kiddy
90afba547f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733410
2007-11-06 08:58:17 +00:00
Script Kiddy
f88bfe32f3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733012
2007-11-05 08:12:32 +00:00
Script Kiddy
b816970827 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732612
2007-11-04 08:39:39 +00:00
Bertjan Broeksema
3b744c6a23 - Added a test for both Package::filePath() methods.
- Changed Package::filePath(type, filename)
  It always prepends the basePath now and only appends the filename if 
  filename != QString(). What i did understand from the api docs this is
  the intended behaviour.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732292
2007-11-03 12:22:21 +00:00
Bertjan Broeksema
c9ff90ec0e - Started woprking on package tests for a PlasmoidPackage.
- Fixed behavior of Package::isValid()

Reviewed by aseigo.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732191
2007-11-03 01:50:57 +00:00
Bertjan Broeksema
666bfa93bd Added more tests for the PacakageMetadata.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732162
2007-11-02 23:48:12 +00:00
Bertjan Broeksema
10802b7bd0 Added tests for PackageMetaData.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732142
2007-11-02 22:17:29 +00:00
Aaron J. Seigo
b1104ebe9d unit test for PackageStructure (and, as a side effect, much of the Plasmoid package definition as well)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727890
2007-10-22 01:30:29 +00:00
Dirk Mueller
e285025ba5 empty
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=680089
2007-06-25 11:59:43 +00:00
Aaron J. Seigo
ac270ef3e0 some house cleaning
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672677
2007-06-07 20:42:01 +00:00
Script Kiddy
df7bfdcfeb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672108
2007-06-06 04:42:35 +00:00
Script Kiddy
623639b8c9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666507
2007-05-20 05:13:09 +00:00
Script Kiddy
104ceff330 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=665169
2007-05-16 04:59:20 +00:00
Script Kiddy
2c52eef76b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=654445
2007-04-16 05:08:30 +00:00
Script Kiddy
a59b219f50 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=651001
2007-04-06 05:03:06 +00:00
Script Kiddy
ad0c50ff6c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=650277
2007-04-04 05:01:42 +00:00
Script Kiddy
717a8c539c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641648
2007-03-12 07:18:43 +00:00
Matthias Kretz
6ee2e5cb5e merge the kinstance-redesign branch back to trunk.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=628276
2007-01-29 17:14:20 +00:00
Laurent Montel
337f506370 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/workspace/plasma/lib/; revision=598290
2006-10-23 06:53:27 +00:00
Laurent Montel
11ce1795b3 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/workspace/plasma/lib/; revision=595039
2006-10-13 07:55:37 +00:00
Laurent Montel
8a9c80c291 Remove not necessary files
Clean up

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=585586
2006-09-17 12:28:33 +00:00
Script Kiddy
647df2da6b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=570217
2006-08-06 08:06:24 +00:00
Alexander Neundorf
8979e71d50 kde4_header and kde4_footer() are gone now
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=540215
2006-05-12 18:12:37 +00:00
Alexander Neundorf
b0c9b960d3 -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/workspace/plasma/lib/; revision=539914
2006-05-12 00:08:30 +00:00
Alexander Neundorf
842830bc29 -use KDE4_INCLUDES instead of KDE4_INCLUDE_DIR and QT_INCLUDES
Alex

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=522728
2006-03-26 14:52:52 +00:00
David Faure
31ffe09826 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/workspace/plasma/lib/; revision=521887
2006-03-23 19:24:10 +00:00
Laurent Montel
7dd56dca16 Fix typo
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=521451
2006-03-22 16:06:38 +00:00
Laurent Montel
8a63a2ff83 Add module to compile kdebase with kdelibs-cmake.
BE CARREFULL: Don't try to compile it for the moment (in progress)
Don't use kdelibs trunk for compile it (there is not again test to disable
compile when we compile with kdelibs trunk)
For the moment there was a lot of missing test etc.
I commit it just to allow to lose my changes if there is a pb on my HD.
I will sync cmake from kdelibs trunk to kdelibs-snapshot.
I hope to fix compile today or tomorrow.
CCMAIL: neundorf@kde.org

For the futur we must sync kdelibs/cmake/* to kdelibs-snapshot 
to compile all the time with kdelibs-snapshot

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=514380
2006-02-28 08:01:15 +00:00
Laurent Montel
9eaaa7d4ce Use QT macro for signal/slots
svn path=/trunk/KDE/kdebase/workspace/kcontrol/crypto/; revision=500480
2006-01-20 11:09:06 +00:00
Aaron J. Seigo
af483fda80 add drag and drop to AppletInfo
add tests for AppletInfo drag and drop support

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=467639
2005-10-05 20:44:14 +00:00
Dirk Mueller
c8758daa20 SVN_SILENT: fix typo
svn path=/trunk/KDE/kdebase/workspace/kcontrol/crypto/; revision=467416
2005-10-05 08:44:32 +00:00
Aaron J. Seigo
217feab285 tests for the copy ctor and assignment operator
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=466918
2005-10-03 17:37:22 +00:00