Projects/KNS2: Difference between revisions

    From KDE TechBase
    No edit summary
    Line 12: Line 12:
    * [[/CompleteEntry|A class used to retrive *all* the information from a single entry]] (KNS::CompleteEntry)
    * [[/CompleteEntry|A class used to retrive *all* the information from a single entry]] (KNS::CompleteEntry)
    * [[/Model|A model class to allow knewstuff integration into apps]] (It will contain all the informations availeable with the download dialog)
    * [[/Model|A model class to allow knewstuff integration into apps]] (It will contain all the informations availeable with the download dialog)
    ==PolishingWeek-end==
    ===Bugs and regressions from 3.5===
    * Unsorted is not needed as there's no other option
    * No feedback when something is downloaded, the user does not know when it is finished. => KMessageBox?
    * No feedback in the dialog that some items are already present (was done in 3.5 in the app by writing in config stuff entries then KNS picked that and displayed a green tick in the list)
    * The display of the list is slow, way slower than in KDE 3.5


    == Generic TODO ==
    == Generic TODO ==
    Line 28: Line 35:


    KNewStuff2 will store all the files in a specific dir. The layout of this dir, and all the related information can be found [[/Layout|here]].
    KNewStuff2 will store all the files in a specific dir. The layout of this dir, and all the related information can be found [[/Layout|here]].
    ==PolishingWeek-end==
    ===Bugs and regressions from 3.5===
    * Unsorted is not needed as there's no other option
    * No feedback when something is downloaded, the user does not know when it is finished. => KMessageBox?
    * No feedback in the dialog that some items are already present (was done in 3.5 in the app by writing in config stuff entries then KNS picked that and displayed a green tick in the list)
    * The display of the list is slow, way slower than in KDE 3.5


    ===To implement===
    ===To implement===

    Revision as of 07:36, 20 October 2007

    KNewStuff 2

    Warning
    Things you see here are incomplete and totally a work in progress


    Who uses KNewStuff2

    API Discussion

    Classes will (mostly) be:

    PolishingWeek-end

    Bugs and regressions from 3.5

    • Unsorted is not needed as there's no other option
    • No feedback when something is downloaded, the user does not know when it is finished. => KMessageBox?
    • No feedback in the dialog that some items are already present (was done in 3.5 in the app by writing in config stuff entries then KNS picked that and displayed a green tick in the list)
    • The display of the list is slow, way slower than in KDE 3.5

    Generic TODO

    • Rename KNS::Entry, and, consequentially, KNS::CompleteEntry

    What still needs to be done (getting rid of the above section)

    • Merge DXS and GHNS download dialogs. Also check with usability guys.
    • Add networking capabilities to Plasmagik.
    • Finish the code for the metadata generation.
    • The Handler, to locally manage packages.
    • Write a cache removal strategy, that should be the last bit of the networking stuff.
    • The CompleteEntry class, used also by the Handler, used to retrive all the availeable informations from an already downloaded package (needs to be written in a more detailed fashion)
    • Anything else?

    Other

    KNewStuff2 will store all the files in a specific dir. The layout of this dir, and all the related information can be found here.

    To implement

    • Upload
    • Engine Interface
    • fix blocking / simple API

    Programs using KNS for KDE 4.0

    • Edu progs: KAnagram, KHangMan, KLettres, KStars
    • Kate
    • System Settings: used it for background in KDE 3, there's no background module now because plasma came.