Commit Graph

33 Commits

Author SHA1 Message Date
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Christopher Michael 0d71d18f12 Remove redundancy
SVN revision: 40294
2009-04-22 16:47:20 +00:00
Christopher Michael e6be301fed Formatting & whitespace removal.
SVN revision: 40291
2009-04-22 16:08:32 +00:00
Gustavo Sverzut Barbieri 496d229e89 don't segfault, by lmunch
SVN revision: 40254
2009-04-20 20:57:02 +00:00
Gustavo Sverzut Barbieri e5c4d62fd4 Set member_{add,del} to NULL.
SVN revision: 37091
2008-10-25 03:13:33 +00:00
Chidambar Zinnoury 26b566f721 Fix height with scaling enabled.
SVN revision: 36585
2008-10-11 13:56:36 +00:00
Chidambar Zinnoury 6de2497c81 Fix compiler warnings.
SVN revision: 36584
2008-10-11 13:55:01 +00:00
Gustavo Sverzut Barbieri 0e2b1e4dab New version of _e_editable_text_insert, fixed.
Old version was bogus because unicode and char length were not updated
if the buffer was large enough, the usual case.



SVN revision: 35921
2008-09-10 05:47:13 +00:00
Carsten Haitzler c68b53e9ca removed editable change - breaks entering text!
SVN revision: 35914
2008-09-10 04:33:57 +00:00
Gustavo Sverzut Barbieri 23d69e088b Fix various invalid memory access problems with _e_editable_text_insert
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
2008-09-10 02:44:49 +00:00
Gustavo Sverzut Barbieri 18966c828b Add calculate callback to Evas_Smart_Class.
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
2008-09-07 01:25:49 +00:00
Sebastian Dransfeld ef3657ccbe formatting
SVN revision: 33530
2008-01-19 08:44:02 +00:00
Carsten Haitzler 5e8fe37119 entry disabled changes in.
SVN revision: 33529
2008-01-19 01:00:37 +00:00
Carsten Haitzler a960cd070b move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
rephorm 0bc9bd4bcd nuke memory that stored passwords in a few more cases
double click to select a word in an entry. triple click to select the whole thing


SVN revision: 29639
2007-04-22 05:30:37 +00:00
rephorm b1841d3265 nuke password contents on del
SVN revision: 29633
2007-04-22 03:50:44 +00:00
Sebastian Dransfeld 4880565d3a Less memory allocation.
SVN revision: 29386
2007-04-05 18:11:42 +00:00
Carsten Haitzler 899a2c009f 1. jose's premul patches for evas
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
2006-09-30 10:16:24 +00:00
sebastid 4e81527304 Cleanup.
- Remove unused variables.
- Add const where needed.
- Add return values.


SVN revision: 26002
2006-09-21 19:53:38 +00:00
moom ec4a948ba0 * [Entry] Actually, this should fix it..
SVN revision: 25224
2006-08-30 20:53:29 +00:00
moom e75f6f1b56 * [Entry] It should fix e_widget_entry_clear()
SVN revision: 25223
2006-08-30 20:44:10 +00:00
moom dcfb49efa5 * [Entry] X selection support
SVN revision: 25065
2006-08-23 10:14:17 +00:00
moom b885d36cdf * [Entry] The entry now works with UTF-8 char
SVN revision: 25064
2006-08-23 09:41:19 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
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
2006-08-22 07:39:11 +00:00
moom cc6b1d0f99 * [E_Editable] Fix valgrind warnings and mem leak
SVN revision: 24958
2006-08-20 22:24:16 +00:00
moom 98fad6cec2 * [Entry] Fix the blinking of the cursor
* [Entry] Support Copy/Cut. Paste will come later


SVN revision: 24933
2006-08-20 09:48:13 +00:00
moom b2e1c43afd * [Editable] Improve e_editable_char_size_get()
* [Entry] Prepares the entry for copy/paste support but it's just not
possible for now


SVN revision: 24918
2006-08-19 20:29:02 +00:00
moom dfadc0db60 [Entry] Make the cursor blink in the theme, not in the code
SVN revision: 24915
2006-08-19 19:08:09 +00:00
moom b29fb56b1c * Make the text of the entry themable
SVN revision: 24914
2006-08-19 18:26:07 +00:00
moom d639384111 * [Editable] remove e_entry_selectable_get/set() because it's useless
* [Editable] small fixes


SVN revision: 24908
2006-08-19 13:53:32 +00:00
moom bcaccdb0b0 * [Entry] The selection and the cursor are now themable. The text
is still hardcoded though
* [Entry] Fix some behaviour bugs


SVN revision: 24615
2006-08-12 20:51:29 +00:00
moom 1b34e1f692 * Add password mode to the entry
SVN revision: 24586
2006-08-12 12:21:32 +00:00
moom 4eddbf00ca * Rewrite the entry widget
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
2006-08-11 21:48:18 +00:00