lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] Issue 4357 in lilypond: Patch: Redesign listeners using


From: lilypond
Subject: [Lilypond-auto] Issue 4357 in lilypond: Patch: Redesign listeners using templates
Date: Tue, 28 Apr 2015 16:47:51 +0000

Status: Started
Owner: address@hidden
Labels: Type-Enhancement Patch-new

New issue 4357 by address@hidden: Patch: Redesign listeners using templates
https://code.google.com/p/lilypond/issues/detail?id=4357

Redesign listeners using templates

This is actually just a start since it does not touch most of the
infrastructure for translators.


Contains the following commits in reverse order:



Remove Scheme listeners as they are just callbacks now.


Reimplement Listener around generic SCM callback and instance


Run preparatory script replacing listener macros

This script is

for i in $(git grep -l 'IMPLEMENT_LISTENER (')
do
    sed -i '/IMPLEMENT_LISTENER ([^)]*$/{N;s/\n\s*/ /}' $i
    sedscript=$(git grep -h 'IMPLEMENT_LISTENER (' $i|
sed 's|^.*IMPLEMENT_LISTENER (\([^,]*\), \([^)]*\)).*$| s/GET_LISTENER (\\([_a-z]\\+->\\)\\?\2)/\\1GET_LISTENER (\1, \2)/|')
    sed -i "$sedscript" $i
done
sed -i '/IMPLEMENT_LISTENER (/d' $(git grep -l 'IMPLEMENT_LISTENER (')
sed -i 's/DECLARE_LISTENER (\([^)]*\));\?/void \1 (SCM);/' $(git grep -l 'DECLARE_LISTENER (')

Make dispatchers callable for dispatching


Move self_scm_ into non-templated Smob_core base class.

http://codereview.appspot.com/235790043

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]