Patch by Helder Ribeiro:
Hi people,
I found a couple errors in the function _e_editable_text_insert.
- when copying from the old string (n bytes) to the new one (m > n
bytes) it was writing garbage into the new one (copying m bytes from
old);
- when memsetting the old string with 0's (part of extra security
measure for password entry) it was writing m 0's into old, therefore
writing past old's boundary, into unreserved memory;
- a couple checks for NULL were missing.
SVN revision: 35911
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.
This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.
SVN revision: 35860
2. fixes to patches to re-enable smooth scale again
3. fixes to make txtblock colors work
4. fixes to edje for premul + grad api changes
5. fixes to ecore to work in premul space
6. fixes to e17 for premul space
7. fixes to emotion for premul
8. rebuild of .edj files as premul requires themes to be rebuilt
9. removed unused fils from cvs (eap and old img files)
SVN revision: 26235
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.
I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt
There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.
SVN revision: 25033
It is now splitted in 3 files:
- e_editable.c that implements a generic single-line editable object
that could be used later by other widgets such as the slider or a
spinner.
- e_entry.c that implements an entry smart object using an editable
object.
- e_widget_entry.c that embeds an entry smart object in a widget.
So far, text insertion and deletion have been implemented. It also
supports cursor movement and mouse selection. The text also no longer
gets out of the bounds of the entry.
Things to come:
- Password mode
- Copy/Paste
- Make it actually themable, for now, the colors/font/style are
hardcoded
SVN revision: 24575