Re: 10000 lines change in kdeplasma-addons 4.14 branch

2014-10-02 Thread Weng Xuetian
Hi,
Sorry for all the trouble.

Sho on irc asked me that he want to test the ibus 1.5 support easier so I
get it merged for kde4. Unfortunately there's no further kdeplamsa-addons
for kde4 and I didn't finish this before 4.14, so it's also either leave it
broken in kde4 or add a usable version.

This change doesn't break old things but fix a never supported version for
ibus, and the old support is also kept in a different directory. So there
is no actual code deletion, and doesn't change the behavior for old version
of ibus 1.4.

The line number looks huge for following reason:
1. The ibus upstream changed quite a lot and made that ibus support must
parse a gtk key string. It's not possible to use gtk for just a keystring
parse so I was forced to copy some gdk key string parsing code here. In
this part of code there is a hardcoded key symbol to string table which is
unfortunately huge.
2. The old supporting code is also kept but moved, and new code is also
based on those code.

For i18n, there is no new string should be introduced.

In summary, this change doesn't break on old version, and introduce a fix
of supoort for new version which is never supported before.


On Thu, Oct 2, 2014 at 3:52 PM, Albert Astals Cid aa...@kde.org wrote:

 Hi Weng, I have been just told you just merged your
   origin/xuetianweng/kimpanel-ibus-1.5
 into
   KDE/4.14
 in the kdeplasma-addons repo

 That brings
   27 files changed, 10677 insertions(+), 1424 deletions(-)

 Has this been discussed anywhere? Because honestly this seems quite a big
 change for a stable branch.

 Cheers,
   Albert



Re: 10000 lines change in kdeplasma-addons 4.14 branch

2014-10-02 Thread Albert Astals Cid
El Dijous, 2 d'octubre de 2014, a les 16:41:38, Weng Xuetian va escriure:
 Hi,
 Sorry for all the trouble.
 
 Sho on irc asked me that he want to test the ibus 1.5 support easier so I
 get it merged for kde4. Unfortunately there's no further kdeplamsa-addons
 for kde4 and I didn't finish this before 4.14, so it's also either leave it
 broken in kde4 or add a usable version.

With my release team hat on, i would have really welcome a you asking *before* 
you do such a big commit in a stable branch.

It is not my fault Plasma people decided to not have any more kdeplasma 
feature releases, a new feature in a stable branch is a new feature in a 
stable branch and it needs an exception.

With your explanation i don't think we should reject the exception, but 
seriously, some communication never hurts.

Please everyone understand that we have stable branches for a reason, and 
adding 10K lines in them is usually not the reason.

For me we can leave this as it is, but please  next time you need to commit 
such a big chunk of code to a stable branch talk to people on a mailing list 
and ideally the release team.

Now let's all go back to do amazing work :)

Cheers,
  Albert