Commit Graph

1271 Commits

Author SHA1 Message Date
Carsten Haitzler 0b0d51c5cf add text effect shadow direction support.
SVN revision: 58548
2011-04-11 12:08:03 +00:00
Christopher Michael 7c682a3ee2 Edje: Edje_Text: Don't segfault on _edje_text_part_on_del if there is
not 'part'

Don't ask me how I found this one, but it happened :/ so trap for
valid part before trying to use it.



SVN revision: 58516
2011-04-09 05:48:47 +00:00
Carsten Haitzler dfd9ceb122 cleanup h a bit.
SVN revision: 58480
2011-04-08 08:00:28 +00:00
Carsten Haitzler 5cb52a006b missed some doxy
SVN revision: 58479
2011-04-08 07:52:46 +00:00
Carsten Haitzler 5829d373c9 doxy -> .h
SVN revision: 58478
2011-04-08 07:45:46 +00:00
Daniel Juyung Seo fc986c7683 Edje edje_smart.c: Fixed formatting. Removed trailing white spaces.
SVN revision: 58466
2011-04-08 00:30:40 +00:00
Daniel Juyung Seo 0c29d7d307 Edje Edje.h: Fixed formatting. Removed trailing whitespaces.
SVN revision: 58465
2011-04-07 23:57:06 +00:00
Cedric BAIL e25e933b32 edje: prevent file format break with trunk.
SVN revision: 58433
2011-04-07 12:34:18 +00:00
Daniel Juyung Seo 87271e150e Edje edje_entry.c: Fixed formatting. Patch by Jihoon Kim
<jihoon48.kim@samsung.com>


SVN revision: 58370
2011-04-06 01:20:59 +00:00
Daniel Juyung Seo e085bfac30 Edje Edje.h: Removed trailing whitespaces.
SVN revision: 58292
2011-04-03 09:29:40 +00:00
Carsten Haitzler ae08dc6fc3 selection now works too.
SVN revision: 58209
2011-03-30 12:20:51 +00:00
Carsten Haitzler bcacff3111 now cursor setting works with newly valigned textbllocks. selection
next.



SVN revision: 58207
2011-03-30 12:18:21 +00:00
Carsten Haitzler 51a9855952 valign applied to tetxblock parts. yay!
SVN revision: 58203
2011-03-30 11:43:22 +00:00
Brett Nash 6894af9d5e Edje: (trivial) Put the clipper/evas pointer in the base structure.
I say trivial in the sense it has no functional changes, however it's a large
patch.  Recommendation from Gustavo.

SVN revision: 58080
2011-03-25 03:21:07 +00:00
Christopher Michael fd3d76b220 Edje: Remove unused variable & fix formatting.
SVN revision: 58073
2011-03-24 20:22:16 +00:00
Carsten Haitzler 9e4cc63a93 minor change -> dont return void. no chlog
SVN revision: 58064
2011-03-24 07:58:00 +00:00
Brett Nash ca8d8cbf3f Edje: Start using smart clipper in some places.
This makes proxy work for edje.  This shoudl be a good thing.

SVN revision: 58055
2011-03-24 03:12:42 +00:00
Brett Nash 8c2df9fc33 Edje: Minor: Reorder args to make it compatible with smart_clipper
SVN revision: 58054
2011-03-24 03:12:39 +00:00
Brett Nash 4c7200cc6a Edje: remove pointless call to _edje_fetch
Also tag edje_fetch as pure... since it's pretty clean.

SVN revision: 57960
2011-03-22 05:32:21 +00:00
Tom Hacohen 6317f922e5 Edje part-text: Updated docs.
SVN revision: 57733
2011-03-14 09:19:05 +00:00
Cedric BAIL c4bc2c6435 edje: limited support of proxy for edje inspector and edje edit.
SVN revision: 57727
2011-03-13 15:41:12 +00:00
Cedric BAIL d0810de637 edje: add PROXY part.
example:

collections {
   group {
      name: "main";
      parts {
         part {
            name: "sub1";
            type: GROUP;
            source: "sub1";

            description {
               rel1.relative: 0.5 0.5;
               rel2.relative: 1.0 1.0;
            }
         }

         part {
            name: "pro2";
            type: PROXY;

            description {
               rel1.relative: 0.0 0.5;
               rel2.relative: 0.5 1.0;
               source: "sub1";
               color: 255 0 0 128;

               map {
                  on: 1;
                  smooth: 1;
                  rotation {
                     z: 30;
                  }
               }
            }
         }
      }
   }

   group {
      name: "sub1";
      parts {
         part {
            name: "rect";
            type: RECT;

            description {
               rel1.relative: 0.0 0.0;
               rel2.relative: 0.5 0.5;
               color: 255 0 0 255;

               map {
                  on: 1;
                  smooth: 1;
                  rotation {
                     z: -30;
                  }
               }
            }
         }

         part {
            name: "pro1";
            type: PROXY;

            description {
               rel1.relative: 0.5 0.0;
               rel2.relative: 1.0 0.7;
               color: 128 128 0 128;
               source: rect;
            }
         }
      }
   }
}




SVN revision: 57694
2011-03-11 17:46:29 +00:00
Cedric BAIL 4b4e194be2 edje: correctly propagate event recursivly with existing and non existing part.
NOTE: I don't backport it yet as I would like some test before doing so.


SVN revision: 57678
2011-03-10 17:27:55 +00:00
WooHyun Jung 0786e6c1bf From: WooHyun Jung <wh0705.jung@samsung.com>
Fix missing clicked signal from entry.



SVN revision: 57663
2011-03-10 10:12:32 +00:00
Tom Hacohen 086d199799 Edje: Bumped EDJE_FILE_MINOR for the previous size_range changes.
SVN revision: 57412
2011-02-28 13:27:15 +00:00
Tom Hacohen 7bf5ba8a7b Edje text: Added size_range to limit the font size range.
This lets you limit the allowed sizes of the TEXT part (font sizes) to
a specific range. This is especially useful in combination with the
"fit" property.

SVN revision: 57395
2011-02-27 18:09:03 +00:00
Tom Hacohen 54f4d4bf2f Edje text: Fixed a bug with fit_x and cleaned everything up.
There was a bug that cause bad sizing (by 1pt) when fit was set, this is
now fixed.
Furthermore, for some reason we had a loop although we already jumped
to the last value right at the start. That didn't make any sense,
so I removed that as well.

SVN revision: 57394
2011-02-27 18:09:00 +00:00
Tom Hacohen 7a66e72df5 Edje entry: Added edje_object_part_text_cursor_pos_get/set.
This adds the ability to control the text position of an edje_entry.
Patch by Jihoon Kim.

SVN revision: 57365
2011-02-27 10:25:22 +00:00
Cedric BAIL c54cc95085 edje: fix signal comming from box/table part.
Thanks to the report by Jonathan "Watchwolf" Atton.


SVN revision: 57299
2011-02-24 14:41:08 +00:00
Cedric BAIL 1a2574ee77 edje: fix propagation of recursive events.
SVN revision: 57248
2011-02-22 18:09:19 +00:00
WooHyun Jung 4274d39f03 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: RE: [E-devel] One bug in _edje_key_down_cb func (in
edje_entry.c)

I found one bug in _edje_key_down_cb func (in edje_entry.c)
 
When I input "Backspace" in an entry object,  _signal_cursor_chagned_func(in
elm_entry.c) is not called. 

This is because the following code in _edje_key_down_cb func (in edje_entry.c)
is not called. 
 
 if ((evas_textblock_cursor_compare(tc, en->cursor)) && (!cursor_changed))
    _edje_emit(ed, "cursor,changed", rp->part->name);
           
Why not called ? Because ~ evas_textblock_cursor_compare(tc, en->cursor)
returns 0.

(i.e. old cursor and current cursor have the same position information)
 
I think old cursor should keep its position without any updating. 
 
But in evas_textblock_cursor_char_delete() func, called by _backsapce func
(in edje_entry.c) - 

old cursor's postion is updated as the current position. 



SVN revision: 57199
2011-02-21 05:53:23 +00:00
Daniel Juyung Seo d125dcecb1 Edje edje_entry.c: Removed trailing whitespaces. Patch by Jihoon Kim <jihoon48.kim@samsung.com>
SVN revision: 57198
2011-02-21 01:48:41 +00:00
Cedric BAIL 546dba4856 * edje: fix case with recursive alias.
With that patch Enki should be working well and all
	application using alias for part in edje should be fine
	too.


SVN revision: 56899
2011-02-10 12:27:15 +00:00
Cedric BAIL 80aae072ef * edje: fix invalid memory access by edje alias code.
Reported by Jonathan Atton "Watchwolf".


SVN revision: 56810
2011-02-08 14:11:47 +00:00
Tom Hacohen 0232df9168 Edje mirrored-mode: Fixed compilation warning.
SVN revision: 56672
2011-02-03 10:16:48 +00:00
Tom Hacohen 68943e9890 Edje text: Use the ellipsis char instead of 3 dots.
SVN revision: 56670
2011-02-03 08:55:40 +00:00
Cedric BAIL c69291f586 * edje: prevent unitialized text to go outside of this function.
SVN revision: 56650
2011-02-02 16:03:22 +00:00
Tom Hacohen 7404a67e5d Edje: Fixed the docs of mirrored mode to include starting version.
SVN revision: 56647
2011-02-02 09:03:43 +00:00
Tom Hacohen 5e33a75553 Edje: Added mirrored mode. Mirrored mode is used for UI-mirroring. It lets you mirror edje objects automatically (it also sends signals to the .edc code so you can do tweaks if you want), no need to create a special theme just for rtl layouts.
This is controlled by the two added API functions.
The changes in Elementary that utilize these functions will be committed soon.

SVN revision: 56635
2011-02-01 13:26:49 +00:00
Carsten Haitzler e13a158ef4 (minor) don't need 2 struct members anymore. mem use--
SVN revision: 56622
2011-02-01 09:13:23 +00:00
Tom Hacohen b6d5d47482 Edje text: Added support for auto-alignment. Text alignment with x=-1.0 means auto.
SVN revision: 56548
2011-01-30 10:46:39 +00:00
Tom Hacohen b34172c91e Edje entry: Added cursor_mode to edje to toggle between UNDER (efl/terminal) and BEFORE (gtk/rest of the world) cursor modes.
SVN revision: 56547
2011-01-30 10:46:33 +00:00
Cedric BAIL 45652e5da5 * edje: finally fix everything !
SVN revision: 56286
2011-01-24 13:29:17 +00:00
Carsten Haitzler 998ffa4094 fix test min AND max bool flags to work right again. :)
SVN revision: 56280
2011-01-24 10:35:34 +00:00
Carsten Haitzler e70188c5a2 "...PLEASE TEST ASAP AND REPORT TO ME: cedric.bail@free.fr !..."
you broke everything in e17 with this - evry apps window bottom half
is back now! i'll rever for now and let you re-apply the patch locally
and do some testing to find out what you broke with evry in trying to
fix this other bug. :)
  


SVN revision: 56259
2011-01-22 02:36:57 +00:00
Cedric BAIL 93d5b87e0a * edje: fix bug when targetting external, table and box items
reported by yoz and watchwolf.

	WARNING: IT SHOULD BE JUST A FIX, TRIED AND TESTED, BUT COULD
	BREAK YOUR APPS, PLEASE TEST ASAP AND REPORT TO ME:
	cedric.bail@free.fr !


SVN revision: 56241
2011-01-20 13:03:09 +00:00
Carsten Haitzler 7ea15062de warning--
SVN revision: 56184
2011-01-16 08:09:47 +00:00
Carsten Haitzler 567d9037fe type part gradient shouldnt cause an abort! just ignore it!
SVN revision: 56172
2011-01-16 04:11:47 +00:00
Carsten Haitzler 05f1fe2820 more dead statement -> unused conversion.
SVN revision: 56171
2011-01-16 04:10:45 +00:00
Carsten Haitzler 953380ed93 disable dead code
SVN revision: 56168
2011-01-16 04:05:30 +00:00