Create libotp as complete library
ClosedPublic

Authored by knauss on Jan 27 2016, 5:18 PM.

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
knauss updated this revision to Diff 2123.Jan 27 2016, 5:18 PM
knauss retitled this revision from to Create libotp as complete library.
knauss updated this object.
knauss edited the test plan for this revision. (Show Details)
knauss added a reviewer: mlaurent.
knauss added a project: KDE PIM.
mlaurent added inline comments.Jan 28 2016, 5:58 AM
messageviewer/src/CMakeLists.txt
87–118

Why not move file in subdirectory ? to avoid to create "2" project in same directory ?

88

Duplicate file list ?
Why not create messageviewer which depend against otp ?

521

Why not camelcase as other file ?

547

same debug log ?

knauss added inline comments.Jan 28 2016, 11:49 AM
messageviewer/src/CMakeLists.txt
87–118

In the first step i simply want to create libotp alongside with messageviewer. So libotp can be used right away and I can do hacks like for the urlmanager.

My plan is like this:

  • cleanup libotp till it is usable for kube (I have additionaly ~10 patches, that I need to upsteam)
  • make messageviewer depend on libotp (than things like the urlmaanager thing needs to be reworked, tests need to move etc.), change logging category,...

I think this way i need less patches to get libopt compileable and it is easier to review. Because filemoves are hard to follow, if also changes are done in the files.

521

good point :D

547

becuase we create libotp alongside with messageviewer we can't use different logging categories at the moment.

knauss updated this revision to Diff 2140.Jan 29 2016, 4:03 PM
knauss marked 7 inline comments as done.

Added MimeType in the CamelCase header

knauss updated this revision to Diff 2141.Jan 29 2016, 4:15 PM

Forgotten to remove unneeded line.

mlaurent accepted this revision.Jan 30 2016, 12:25 PM
mlaurent edited edge metadata.

seems good

This revision is now accepted and ready to land.Jan 30 2016, 12:25 PM
knauss updated this revision to Diff 2169.Feb 2 2016, 6:35 PM
knauss edited edge metadata.

now with Enum been installed

This revision was automatically updated to reflect the committed changes.