From: fred Date: Sun, 24 Mar 2002 19:50:06 +0000 (+0000) Subject: lilypond-0.1.1 X-Git-Tag: release/1.5.59~4334 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=03179857a9eab27a44a58466f7a27ef92bde50cf;p=lilypond.git lilypond-0.1.1 --- diff --git a/flower/ONEWS b/flower/ONEWS new file mode 100644 index 0000000000..9f4df5bb07 --- /dev/null +++ b/flower/ONEWS @@ -0,0 +1,34 @@ +history of flower lib 0.0 + +version 1.1 release + +pl 27-3 + - debug memmove code + - StringData bugfix + - old String::String( char, int ) bugfix + +pl 27-1,2 (not released) + patches by JCN + - stringutils.cc included again + - bin2hex_str bugfix + - String class handles null bytes + - StringUtils inlined/outlined by #define + - StringConversion (only hex for now) + +pl 27 + - (temporarily?) removed findcursor* t*mat* + +pl 26 + - docxx 3.0 + +pl 25 + - merge sstack and Array + +pl 24 + - small fix in vector print + +pl 23 + - win32 patches (JN) + +pl 22 + - Array::add -> Array::push diff --git a/flower/include/parray.hh b/flower/include/parray.hh index 1e7404ee55..61c69495c2 100644 --- a/flower/include/parray.hh +++ b/flower/include/parray.hh @@ -39,6 +39,17 @@ public: else del(i); } + void unordered_substitute(T* old, T * new_l) + { + int i; + while ((i = find_i(old)) >=0) + if (new_l) + elem(i) =new_l; + else { + unordered_del( i ); + } + + } void default_sort() { sort(default_compare); }