User talk:Arnorehn: Difference between revisions

Page contents not supported in other languages.
From KDE TechBase
No edit summary
No edit summary
Line 1: Line 1:
= ToDo for kdebindings =
= ToDo for kdebindings =
== Port the remaining smoke libs to smokegenerator ==
There are still a few smoke libs in trunk that haven't been ported to be generated by the new generator yet. Porting is fairly easy, just take a smokeconfig.xml and CMakeLists.txt from another module (like phonon) and adjust it accordingly.
These are the affected modules:
* akonadi (done) --[[User:Arnorehn|Arnorehn]] 23:40, 14 November 2009 (UTC)
* nepomuk
* okular
* kdevplatform (done) --[[User:Arnorehn|Arnorehn]] 23:40, 14 November 2009 (UTC)


== Finish qyotoassemblygen / re-generate the C# sources for KDE 4.4 ==
== Finish qyotoassemblygen / re-generate the C# sources for KDE 4.4 ==

Revision as of 14:59, 15 November 2009

ToDo for kdebindings

Finish qyotoassemblygen / re-generate the C# sources for KDE 4.4

qyotoassemblygen is a project that I started to generate the C# assemblies utilizing the smoke libs, so that the assemblies can easily be autogenerated. The code is in /trunk/playground/bindings/qyotoassemblygen. The goal is to keep this as generic as possible so that it can also be used with non-qt-based bindings (thinking of Wt for example). This will probably not be finished in time for KDE 4.4, so re-generating the C# sources from the current headers would be fine as well. This involves another round of kalyptus, though.

Some things that would be cool in qyotoassemblygen:

  • more implicit conversions:
   - QColor <-> System.Drawing.Color
   - QRect, QRectF, QPoint, QPointF, QSize, QSizeF (System.Windows.Point/Size)
  • implement ICloneable for copyable classes
  • proper .NET Event support. If a signal is overloaded, implement some kind of scoring system for parameters, so that the signal with the highest score will be mapped to an Event (.NET Events can't be overloaded).

Finish the windows port

The code itself should work pretty much out-of-the-box now, there are just two things that still need to be done:

  • remove the 'lib' prefix from all the P/Invoke calls
  • replace the current C# cmake macros with something that can also handle csc.exe on windows (I'm working on that) --Arnorehn 19:22, 10 November 2009 (UTC)