Commit Graph

62 Commits

Author SHA1 Message Date
Jiyoun Park 2322a95342 remove deprecated function related with
elm_label_fontsize_
elm_label_text_color_set
elm_label_text_align_set
elm_label_background_color_set
elm_label_wrap_height_
function


SVN revision: 69221
2012-03-12 06:54:16 +00:00
Jiyoun Park 883e2eafaf remove deprecated function related with elm_label_label
SVN revision: 69079
2012-03-09 08:58:12 +00:00
Tom Hacohen 7f6cd1b08a Elm label: Adjusted according to latest evas/edje changes.
SVN revision: 68953
2012-03-07 14:02:42 +00:00
WooHyun Jung 78ae3dc90b [elementary/elm_label] Deprecated some APIs, and refactored
elm_label.c and label.edc files.


SVN revision: 68563
2012-03-01 04:49:23 +00:00
WooHyun Jung a3714b5f7a Add EINA_DEPRECATED ~ thx to Seoz
SVN revision: 68026
2012-02-16 12:20:02 +00:00
WooHyun Jung 98694d15ec Reviewed elm_label's API and documentation
SVN revision: 68024
2012-02-16 11:39:07 +00:00
Tom Hacohen 0680aaa4fb Elm label: Use the new edje/textblock functions and redo style handling.
SVN revision: 67475
2012-01-23 16:10:53 +00:00
Iván Briano 057a00829c Get us some nice auto translation scheme
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.



SVN revision: 64179
2011-10-19 14:17:14 +00:00
Carsten Haitzler 0db04357d5 commit missing freeze/thaw patch!
SVN revision: 63718
2011-09-30 08:03:56 +00:00
Daniel Juyung Seo fed8b7a9d8 elm entry/label: Changed internal function name to the right one.
SVN revision: 62718
2011-08-23 12:22:47 +00:00
ChunEon Park 98cbaed591 elementary/label - patched by kimcinoo@gmail.com
-----Original Message-----
From: "cnook"<kimcinoo@gmail.com>
To: "EFL"<enlightenment-devel@lists.sourceforge.net>
Cc:
Sent: 11-07-26(화) 13:58:55
Subject: [E-devel] [Patch] Elm_Label, Incompatible Widget Data TypeHi All,

The Elm_Wrap_Type have been added, and APIs have been changed also.
But there are some remains have to be changed as the attached patch.

Sincerely,
Shinwoo Kim.



SVN revision: 61726
2011-07-26 05:57:32 +00:00
Jonas M. Gastal 6700e01362 Elementary: elm_label documentation.
SVN revision: 61305
2011-07-12 17:52:27 +00:00
Tom Hacohen fc6c3c3fc8 Elm: Make all the widgets accept "default" as the default.
SVN revision: 61002
2011-07-04 10:52:23 +00:00
Tom Hacohen 4b0af66c91 Elementary: Rename elm_object_label_* -> elm_object_text_part_*.
This name is better as it also applies for entries, and not just
for labels.

SVN revision: 60975
2011-07-04 09:18:16 +00:00
Mike McCormack 53b7a3de44 elementary: Hook label into generic text setter
deprecate: elm_label_label_set and elm_label_label_get
Use elm_object_text_set/elm_object_text_get instead

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60797
2011-06-29 06:41:20 +00:00
Tom Hacohen 54f34e6b10 Elm label: Cleaned up min size calculation a bit.
SVN revision: 60238
2011-06-12 12:02:57 +00:00
Daniel Juyung Seo 13b064a3c2 Elementary label: Fixed warnings.
SVN revision: 60137
2011-06-09 15:39:58 +00:00
Tom Hacohen 00b8e22769 Elm label: Various fixes and cleanups.
1. Fixed ellipsis to work correctly.
2. Changed it to sync the background size to the text part size.
3. Font resizing also works nicely now.
4. Split internal text to format and actual text.

SVN revision: 60132
2011-06-09 13:56:09 +00:00
Tom Hacohen 9466cbcea3 Elementary: Use an enum for selecting line-wrap method.
BREAKS API - discussed in ML before.

SVN revision: 59115
2011-05-02 10:56:16 +00:00
ChunEon Park b880342a74 elementary - entry, genlist, gengrid, image, icon, hover, frame, diskselector, index, layout, label, conform, flip, flipselector - removed white spaces
SVN revision: 58252
2011-04-01 11:32:33 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
Hyoyoung Chang 0a58a1d86b From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] [patch] elm_label - bugfix at string manipulation

ear Elementary developers.

It's a elm_label bugfix.
It has two small improvements.
1. Current code can be reference null ptr.

-                  replocater = curlocater + key_len + 1;
-                  while ((*replocater != '=') && (replocater)) 
                                                             ^^^
                                                             -
         replocater++;
         
         It should be *replocater, not replocater
         
         
         2. there are two while loop to find a separate character in
string. 
I changed it from loop to strchr.



SVN revision: 57161
2011-02-19 15:39:19 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Hyoyoung Chang 5edd6acce3 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] elm_label patch(bugfix)

It's a bugfix patch of elm_label.
In strbuf_key_value_replace, null pointer reference can be occured



SVN revision: 55870
2011-01-05 06:21:24 +00:00
Hyoyoung Chang 95032260a7 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: Re: [E-devel] elm_label patch(ellipsis, sliding)

It's a elm_label patch.
My previous patch is too big to submit.
So I did split into patch files.
(Thanks for Gastavo and Rasterman)

 2. adding label text sliding feature
 


SVN revision: 55654
2010-12-20 08:55:06 +00:00
Hyoyoung Chang 0c61ced335 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: Re: [E-devel] elm_label patch(ellipsis, sliding)

Dear Elementary developers.

It's a elm_label patch.
My previous patch is too big to submit.
So I did split into patch files.
(Thanks for Gastavo and Rasterman)

main changes are
 1. refine ellipsis algorithm
    - improve to cut string to fit 



SVN revision: 55653
2010-12-20 07:18:23 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Tiago Rezende Campos Falcao fff738fbe8 Removing more warnings
Using: -Werror -W -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat
-Wformat-security -Wmissing-format-attribute -Wpointer-arith
-Wreturn-type -Wundef -Wwrite-strings

SVN revision: 53683
2010-10-20 17:15:14 +00:00
Lucas De Marchi 4b7e285cf8 warnings--
* Remove warnings caused by comparison between signed and unsigned values
 * Remove a comparison of unsigned expression < 0 that is always false



SVN revision: 53588
2010-10-19 02:17:37 +00:00
김지훈 d99918389f From: 김지훈 <imfine98@gmail.com>
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.



SVN revision: 52839
2010-09-28 04:28:14 +00:00
Bruno Dilly 89f23acadc Remove some dead assignments from elementary
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Lucas De Marchi c6a4ea9d2f Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael bc583d718c Lots of fixes:
Add UNUSED where needed.
  Remove unused variables.
  Fix lots of compiler warnings.
  Formatting.



SVN revision: 51320
2010-08-18 19:18:42 +00:00
Carsten Haitzler 64b374c77f finger waggles! this is to make sure developers actually read docs!
SVN revision: 50277
2010-07-16 06:38:59 +00:00
Carsten Haitzler 99f9670d3f fix formatting, docs and warnings. and bug.
SVN revision: 50276
2010-07-16 06:21:25 +00:00
장효영 b32cbb2a3a From: 장효영 <hyoyoung.chang@samsung.com>
I've added elm_label features. That are fontsize, color, background color and
ellipsis (cutting text to fit widget size) features. Most of the property
setting API is wrapping to label tag set.

The rllipsis feature checks part size and cuts character to fit its size.



SVN revision: 50275
2010-07-16 05:50:45 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Gustavo Sverzut Barbieri e01d72fe26 Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47187
2010-03-13 21:01:26 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler 6792e2db2c warning fix 1. :)
SVN revision: 47074
2010-03-09 07:30:48 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Carsten Haitzler 2f71270e54 note- genlist has issues with the deferred calc of size.
SVN revision: 45626
2010-01-27 10:19:54 +00:00
Carsten Haitzler fbb103cfca label preferred line wrap width set thing.
SVN revision: 45576
2010-01-26 08:42:37 +00:00
Carsten Haitzler 61c86da960 handle label resizes and wraps properly - add test for it!
SVN revision: 44964
2010-01-08 02:33:03 +00:00
Carsten Haitzler fbb15eb4ee thanks to marco - wrapped (line wrapped) label mode too.
SVN revision: 43012
2009-10-11 05:57:05 +00:00