Commit Graph

1477 Commits

Author SHA1 Message Date
Tom Hacohen 110898bd67 Revert "Edje entry: Start using the new tb_range_formats_get."
This reverts commit 62260

Unfortunately the textblock function doesn't work as well as expected.

SVN revision: 63192
2011-09-05 12:07:31 +00:00
Cedric BAIL 5b83e0a288 edje: less useless call to eina_stringshare_add/del.
NOTE: edje is getting slow this day, please be carefull
when you add code to make it clean and fast. We soon
will require to go after some of this issue. Need to see
why application doing nothing are using 7% of my CPU
(mostly in edje).


SVN revision: 62993
2011-08-30 15:21:44 +00:00
Carsten Haitzler 4dbff7d352 typo--
SVN revision: 62790
2011-08-25 08:54:12 +00:00
Jihoon Kim 94561e19eb From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] add elm_entry_input_panel_layout_set API

elm_entry_input_panel_layout_set API is high level API to call
ecore_imf_context_input_panel_layout_set (through edje).
This API will be used to set layout of input panel (such as URL, Email,
Number layout...) by application programmer.

Would you please review this patch?
Please let me know if I have to do more.



SVN revision: 62782
2011-08-25 07:25:37 +00:00
Gustavo Lima Chaves 73aa354e05 [edje] Putting edc examples in src/examples dir, so that
docs find them as well.



SVN revision: 62754
2011-08-24 16:31:11 +00:00
Daniel Juyung Seo f915dca8ae edje edje_calc.c: Removed warnings.
SVN revision: 62729
2011-08-23 16:44:36 +00:00
Cedric BAIL 686d473591 edje: add collection.group.limits.vertical and collection.group.limits.horizontal.
The goal is to provide an easy way to do the kind of effect you see in that video
around 00:36 : http://www.youtube.com/watch?v=KVoVLHh8CHc.
  At that time it was really difficult to do such thing and required a lot of
embryo code, we designed limit with Billiob to be able to do such kind of things
much more easily.

NOTE: so Billiob, now nothing stop you from releasing amsn2 ! ;-)


SVN revision: 62701
2011-08-22 21:44:49 +00:00
Gustavo Sverzut Barbieri cc1d1f95c6 change text's single recalc to use apply version.
Original _edje_part_recalc_single_text() was not working as
expected since it was not doing size fit, range, ellipsis and so
on.

The purpose of this function compared with
_edje_text_recalc_apply() is to be faster, not calling Evas update
functions. However for text this is quite difficult given that to
fit we need to set the font, size, style, etc. If it was done
correctly, we'd save some calls to move and some color sets,
however those shouldn't matter much in the overall picture.

I've changed this to force applying the value, it should be more
correct and not so slow. The previous code is kept below for
reference but should be removed before next release!




SVN revision: 62640
2011-08-21 01:38:17 +00:00
Gustavo Sverzut Barbieri ddc7fb9527 Just cut/ellipsis if text.min.x is not set.
This should fix the bug with the following code:

collections {
   group { name: "main";
      parts {
         part { name: "text";
            type: TEXT;
            description { state: "default" 0.0;
               text {
                  font: "Sans";
                  size: 72;
                  text: "contents";
                  fit: 0 1;
                  min: 1 0;
               }
            }
         }
      }
   }
}




SVN revision: 62639
2011-08-20 23:47:46 +00:00
Gustavo Sverzut Barbieri b5cffc366e minor corner case fix for extents without some of the return parameters.
SVN revision: 62633
2011-08-20 14:49:21 +00:00
Carsten Haitzler 87985a16fa and when doing proxy.. lets calc the right proxy id part shall we?
SVN revision: 62630
2011-08-20 13:03:01 +00:00
Carsten Haitzler 64aa704c69 fix: if proxy id < 0 (invalid) disable proxy...!!! (yes i know -
backport. leaving for 1.1)



SVN revision: 62623
2011-08-20 07:27:52 +00:00
Sebastian Dransfeld 08559f2c8b edje: Fix shadow warnings
SVN revision: 62563
2011-08-18 10:59:34 +00:00
Tom Hacohen 8424a58c6d Edje entry: Fixed a markup_prepend that should have been a text_prepend.
SVN revision: 62484
2011-08-15 14:05:18 +00:00
Cedric BAIL 5c95f8d422 edje: fix cache and proxy.
SVN revision: 62464
2011-08-14 21:55:31 +00:00
Iván Briano 026f8798dc Forward messages to Edje defined children of box and table
SVN revision: 62418
2011-08-13 00:30:12 +00:00
Tom Hacohen 2fa1f8c3d5 Edje entry: Start using the new tb_range_formats_get.
This should make everything faster cause we now only get/work on the
visible anchors/items.

SVN revision: 62260
2011-08-09 13:58:00 +00:00
Carsten Haitzler b72850a06d remvoe todo's from doc
SVN revision: 62204
2011-08-08 11:43:13 +00:00
Carsten Haitzler c7d59a850d and more doc clean for edje.
SVN revision: 62203
2011-08-08 11:40:27 +00:00
Carsten Haitzler 60b9b97c87 remove some legacy bits of docs, fix spelling
SVN revision: 62198
2011-08-08 10:50:27 +00:00
Rafael Antognolli a5fc3af448 edje/perspective - Add docs to the relative functions.
SVN revision: 62147
2011-08-05 19:03:38 +00:00
Rafael Antognolli e53adf4789 edje/perspective - Actually use the global perspective.
The Edje object should use the global perspective if it didn't have its
own perspective set.



SVN revision: 62146
2011-08-05 18:08:07 +00:00
Jonas M. Gastal d382663d74 Edje: Documenting the Edje animations functions.
SVN revision: 62136
2011-08-05 13:52:14 +00:00
Rafael Antognolli 9d039d3641 edje/dragable - Docs and example for dragable parts API.
SVN revision: 62076
2011-08-03 21:11:30 +00:00
Jonas M. Gastal 3d8d6b4b67 Edje: removing author list from main page.
SVN revision: 62071
2011-08-03 21:01:03 +00:00
Iván Briano 941adf033b Edje: Color class documentation
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 62065
2011-08-03 18:57:38 +00:00
Iván Briano fd7f67a183 Some more docs for the edje_external c api
SVN revision: 62064
2011-08-03 18:46:40 +00:00
Tom Hacohen bb20b8067e Edje entry: Fixed changed/changed,user with backspace.
It used to send the signals even when we didn't change anything (i.e tried
to delete at the start of the entry). Now it's ok.

SVN revision: 62044
2011-08-03 08:56:59 +00:00
Tom Hacohen fad2f9571a Edje entry: Added entry,changed,user signal.
This signal means that the user changed entry, i.e by key insert, paste
or anything alike.

SVN revision: 62043
2011-08-03 08:56:54 +00:00
Jihoon Kim 1f6499a058 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: RE: [E-devel] [PATCH] notify immodule to know the cursor
location

In the current edje_entry, there are some bugs related to sequence and miss
to call '_edje_entry_imf_cursor_info_set()'.
Cursor geometry information should be transferred after
ecore_imf_context_focus_in API is called.



SVN revision: 62039
2011-08-03 05:36:01 +00:00
Flavio Ceolin 1b067094de Fixing a problem with edje_object_color_class_del.
The color class was removed from the list but the edje object
was not updated neither the signal was emmited.

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 62019
2011-08-02 19:41:43 +00:00
Rafael Antognolli 2e19771abf edje/box - Document edje box API (just fixes) and add example.
SVN revision: 62017
2011-08-02 17:14:29 +00:00
Carsten Haitzler 8af403fcff fix edje_shutdown being calle3d before all edje object are deleted -
keep edje internal data around until all refs to edje are gone from
objects, then shtudown the core.



SVN revision: 61984
2011-08-02 07:23:05 +00:00
Gustavo Lima Chaves d55a77bae9 [edje] Documentation for the following:
- edje_object_message_handler_set
 - edje_object_message_send
 - edje_object_signal_callback_add
 - edje_object_signal_callback_del_full
 - edje_object_signal_emit



SVN revision: 61966
2011-08-01 20:15:23 +00:00
Gustavo Lima Chaves 67111bacac Edje: edje table documentation.
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 61965
2011-08-01 20:04:17 +00:00
Jonas M. Gastal c509e668d4 Edje: fix edje swallow doc.
SVN revision: 61964
2011-08-01 19:49:28 +00:00
Jonas M. Gastal b646554b61 Edje: edje text parts documentation.
SVN revision: 61963
2011-08-01 19:49:18 +00:00
Jonas M. Gastal 2ac91736c2 Edje: edje swallow documentation.
SVN revision: 61905
2011-07-29 16:47:06 +00:00
Gustavo Lima Chaves dec8c8dcdb [edje] First commented example, along with infra to build it.
SVN revision: 61903
2011-07-29 16:31:05 +00:00
Gustavo Lima Chaves 6bfd3ddd87 [edje] Documentation bumps on the following:
- edje_init
     - edje_shutdown
     - edje_object_add
     - edje_object_file_get
     - edje_object_file_set
     - edje_object_load_error_get
     - edje_load_error_str
     - edje_object_data_get
     - edje_object_part_exists
     - edje_object_part_geometry_get
     - edje_object_part_object_get
     - edje_object_size_max_get
     - edje_object_size_min_calc
     - edje_object_size_min_get
     - edje_object_size_min_restricted_calc
     - edje_object_parts_extends_calc
     - edje_object_scale_get
     - edje_object_scale_set
     - edje_scale_get
     - edje_scale_set



SVN revision: 61902
2011-07-29 16:30:12 +00:00
Jihoon Kim c49d6b9916 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] check NULL parameter in edje entry

This simple patch is for checking NULL parameter in the callback
functions
related to input method framework.
I think it is necessary for safety.



SVN revision: 61890
2011-07-29 11:48:56 +00:00
Jihoon Kim c99293d0e4 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] notify immodule to know the cursor location

In immodule, the cursor location is needed to move the word candidate window.
In this patch, calling ecore_imf_context_cursor_location_set lets immodule
know the cursor location.

Also fixed patch conflicts and 1 warning related to IMF.



SVN revision: 61877
2011-07-29 05:56:09 +00:00
Jihoon Kim 94cf5e7829 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: Re: [E-devel] [Patch] Add XIM module for ecore_imf

Patch to set the right window ID for IMF access from Edje



SVN revision: 61756
2011-07-26 12:04:27 +00:00
Daniel Juyung Seo fb6ca14911 edje Edje.h: Fixed documentation.
Fixed wrong placed documentations. Removed some blank lines and added
@brief tag. Many @brief tags are still missing.


SVN revision: 61737
2011-07-26 10:09:16 +00:00
Mike Blumenkrantz f862f71e4c middle mouse click now changes cursor location, fixes primary selection paste location bugs
SVN revision: 61656
2011-07-24 21:25:27 +00:00
Mike Blumenkrantz e6bdceb300 added entry,selection,none,request to spite tasn
SVN revision: 61636
2011-07-24 08:36:27 +00:00
Mike Blumenkrantz ee01981c9d renamed to entry,selection,all,request because tasn won't shut up
SVN revision: 61633
2011-07-24 08:05:45 +00:00
Mike Blumenkrantz fbfdfc5117 +entry,selection,request signal
SVN revision: 61632
2011-07-24 07:59:47 +00:00
Mike Blumenkrantz 4c0446c7d2 add entry,paste,request,1 and entry,paste,request,3 for different types of pasting
SVN revision: 61631
2011-07-24 07:47:17 +00:00
Christopher Michael 6d6fe5aca0 Edje: Add UNUSED where needed on the edje_entry obj.
SVN revision: 61621
2011-07-23 23:00:14 +00:00
Tom Hacohen 63946da1a3 Edje text: Fixed a bug with text ellipsis being off by 1.
SVN revision: 61500
2011-07-19 11:21:35 +00:00
Tom Hacohen d9adfc83ca Edje entry: Emit signals for undo/redo.
SVN revision: 61493
2011-07-19 08:08:16 +00:00
Tom Hacohen 6a67030bf1 Edje entry: Removed redundant func call and 2 comments.
SVN revision: 61481
2011-07-18 15:25:03 +00:00
Tom Hacohen e49f3baa84 Edje entry: Removed a hack that's not needed anymore.
This is thanks to a bug fix in textblock.

SVN revision: 61346
2011-07-13 15:45:50 +00:00
Daniel Juyung Seo 72bcec17b9 edje/ecore/eina: Updated documentaton for version number.
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.


SVN revision: 61104
2011-07-07 04:58:34 +00:00
WooHyun Jung 7a205c0ef6 edje : Password's last char show feature supported. This patch is made
by Shilpa.


SVN revision: 60858
2011-06-30 05:31:08 +00:00
Tom Hacohen e2b7d34bfa Edje entry: Differentiate between entry,changed and preedit,changed.
Patch by Jihoon Kim.

SVN revision: 60658
2011-06-24 08:43:38 +00:00
Cedric BAIL c83256416a edje: refactor text_class and color_class code.
SVN revision: 60627
2011-06-23 09:55:57 +00:00
Cedric BAIL 2ca0489fc5 edje: give more info when needed.
Typicall case being with elementary not taking theme
into account due to misspelling.


SVN revision: 60599
2011-06-22 15:59:15 +00:00
Cedric BAIL 6d4c47e879 edje: fix huge memory leak.
SVN revision: 60593
2011-06-22 14:51:53 +00:00
Vincent Torri 01221a32b0 From: Vincent Torri <vtorri@univ-evry.fr>
To: enlightenment-devel@lists.sourceforge.net
Subject: Re: [E-devel] E SVN: raster trunk/edje/src/lib
Date: Wed, 22 Jun 2011 15:32:41 +0200 (CEST)

On Wed, 22 Jun 2011, Enlightenment SVN wrote:

 [...]  

i would have prefered a beautiful colored spank message with ERR

Vincent


SVN revision: 60591
2011-06-22 13:50:59 +00:00
Carsten Haitzler 28dd497f4b for the french.
SVN revision: 60590
2011-06-22 13:28:43 +00:00
Cedric BAIL 2861b7b473 edje: remove debug printf.
SVN revision: 60587
2011-06-22 11:05:02 +00:00
Cedric BAIL 66098e4c82 edje: don't forget to del text_class when destroying object.
SVN revision: 60585
2011-06-22 09:47:16 +00:00
Cedric BAIL 8b674974f6 edje: remove warning.
SVN revision: 60553
2011-06-21 14:31:37 +00:00
Bruno Dilly 56afa242b4 Edje: fix invalid read on edje embryo get_part_id
It was expecting for a null terminator. But that wasn't the
case. Using parts_count instead.


SVN revision: 60537
2011-06-20 21:59:31 +00:00
Tom Hacohen 92bf12c773 Revert "Edje min_restricted_calc: Fixed min height calculation for textblock."
This reverts commit 60239

I guess the world is not ready for correct min height calculation, too
many things depend on the current behavior. Will re-apply sometime in
the future.

SVN revision: 60264
2011-06-13 09:31:58 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Tom Hacohen 4489f92cf3 Edje text: Fix a rare issue causing ellipsis not to work.
SVN revision: 60240
2011-06-12 14:12:52 +00:00
Tom Hacohen 343a17c08c Edje min_restricted_calc: Fixed min height calculation for textblock.
SVN revision: 60239
2011-06-12 12:17:52 +00:00
Christopher Michael d914f3d711 Edje: Fix 'variable may be used uninitialized' warning. Fix some
formatting.



SVN revision: 60196
2011-06-10 16:41:45 +00:00
Tom Hacohen 94cfe6e3ad Edje text: Fix part_text_append to work with not editable textblocks.
SVN revision: 60119
2011-06-09 08:08:43 +00:00
Cedric BAIL e8ec9f6c50 edje: update hints after loading GROUP.
SVN revision: 60026
2011-06-07 07:43:32 +00:00
Cedric BAIL 3a69fed6f5 edje: trying to add back my small improvements.
SVN revision: 59999
2011-06-06 17:47:32 +00:00
Cedric BAIL 993b27c50f edje: set parent earlier.
SVN revision: 59996
2011-06-06 17:29:07 +00:00
Cedric BAIL 9c22d6a9e9 edje: parent link should be properly set before instantiating sub object.
SVN revision: 59989
2011-06-06 13:10:54 +00:00
Carsten Haitzler d02f25e1ff whover did table and box support forgot:
1. table to have min.h/v ability like box
2. to ACTUALLY implement box h/v (and well of course implement
tableh/v too)

this basically fixes this working at all and completes the feature to
table too.



SVN revision: 59960
2011-06-04 15:58:02 +00:00
Carsten Haitzler 1b7ff0248e CEDIRC: SEGV CAUSING BUG. go to e17 font settings -> advanced
and sewt a font for menu item.. or menu title. segv. (try it under
falgrind) the members list in the hash is garbage when its trying to
remove a member. double heck your changes and test :)



SVN revision: 59902
2011-06-02 15:21:21 +00:00
Leandro Pereira 8be447ef4e [Edje] Make sure ed->members isn't NULL when freeing an Edje object.
SVN revision: 59853
2011-05-31 18:27:28 +00:00
Cedric BAIL f64e71a19c edje: refactoring.
SVN revision: 59851
2011-05-31 17:02:58 +00:00
Cedric BAIL 995527500a edje: improve speed when deleting text member class.
SVN revision: 59850
2011-05-31 16:51:48 +00:00
Tom Hacohen 380351b5d3 Edje entry: Make sure we append at the end.
SVN revision: 59810
2011-05-30 12:02:54 +00:00
Tom Hacohen f79afe5e85 Edje min_size: Updated edje_object_size_min_restricted_calc's docs.
SVN revision: 59806
2011-05-30 08:59:56 +00:00
Carsten Haitzler abbf3767c5 back out freeze/thaw on edje entry.. seems to have some side effects
with entry in gnelist ... i wonder why... for how, back out.



SVN revision: 59798
2011-05-30 05:37:59 +00:00
Tom Hacohen 8b2ccb3dee Edje min_size_calc: Fix detection of textblock.
SVN revision: 59785
2011-05-29 14:28:01 +00:00
Tom Hacohen 69e89c2666 Revert commit 59732
Read my comment in the email, and we even talked about it on irc. The
current call to "mainloop iterate" is hacky, Jihoon is already working
on an alternative solution.

SVN revision: 59734
2011-05-27 11:16:05 +00:00
Jihoon Kim 4ad4fadb35 From: Jihoon Kim <jihoon48.kim@samsung.com>
When elm_entry_entry_set() is called, the preedit text in the entry should
be cleared. ATM, it doesn’t works so.

This patch will resolve this problem.
 
When ecore_imf_context_reset() is called, the preedit text in the immodule
will be committed by calling ‘ecore_imf_context_commit_event_add()’.

ecore_imf_context_commit_event_add puts the event in ecore event queue, so
it will be processed in the idle state of ecore loop.

According to this mechanism, commit text is inserted later, so I use
‘ecore_main_loop_iterate();’ for inserting the commit string instantly.



SVN revision: 59732
2011-05-27 10:46:51 +00:00
Carsten Haitzler 66aef5074f add use of freeze+thaw for improvement in out-there scenarios.
SVN revision: 59730
2011-05-27 10:32:53 +00:00
Boris Faure d661cee5e2 edje: remove trailing spaces
SVN revision: 59555
2011-05-20 16:41:16 +00:00
Tom Hacohen f13ec69e34 Edje entry: Don't emit cursor,changed when not needed.
This includes setting the text and setting cursor position to the already
set position.

SVN revision: 59531
2011-05-19 12:08:29 +00:00
Tom Hacohen 70665bc1c5 Edje entry: Fix warnings.
SVN revision: 59521
2011-05-19 09:00:22 +00:00
Tom Hacohen 85ac9b3059 Edje entry: Remove the useless calls to "update_from_curs".
We don't really need or use the coordinates anywhere, we just saved them
and worked hard on maintaining them, but didn't really use them.
Now we only calculate them in the one specific case where we actually
need them. This speeds things up and also means the layouting may not be
called in some cases when there's no need to layout.

SVN revision: 59520
2011-05-19 08:38:42 +00:00
Vincent Torri 105a261d5b Edje: fix Windows printf format
SVN revision: 59511
2011-05-18 16:11:31 +00:00
Cedric BAIL 4903fe8e2d edje: prevent buffer overrun when using multiple *.
SVN revision: 59510
2011-05-18 15:13:18 +00:00
Tom Hacohen 134a6af626 Edje entry: Don't emit 'curosr,changed' when appended using a different curosr.
SVN revision: 59494
2011-05-18 10:08:03 +00:00
Tom Hacohen d66ec4a1e8 Edje min_restricted_calc: Fix the fallback calc to calc more correctly.
Ok was shared between width and height and in the error, and in the error
case we don't reset maxw and maxh; This caused maxw and maxh to be added
a couple of times even when not needed. This would cause weird sizing.

SVN revision: 59450
2011-05-16 14:09:08 +00:00
Carsten Haitzler 87ec659bc6 use the ecore pos map call for edje as opposed to do it yourself. this
also opens up new position mappings like factored accel/decel/sin,
divis, bounce and spring! :) documentation provided.



SVN revision: 59449
2011-05-16 13:16:34 +00:00
Tom Hacohen 30847d0bdc Edje text: Added edje_object_part_text_append.
SVN revision: 59407
2011-05-15 15:57:38 +00:00
Tom Hacohen e20db04ef0 Edje entry: Use the new textblock _format_list_get in anchors_get.
SVN revision: 59326
2011-05-11 10:19:01 +00:00
Tom Hacohen 0ea73e70f7 Edje text: fix issue with ellipsis causing text to disappear.
Thanks to Brian Wang for the report.

SVN revision: 59305
2011-05-09 17:23:03 +00:00
Tom Hacohen 811fde2504 Edje entry: Speed up anchor calculation.
SVN revision: 59285
2011-05-09 08:40:15 +00:00
Tom Hacohen 397acdd837 Edje min_calc: Don't print the 4000x4000 err when there's a textblock.
SVN revision: 59112
2011-05-02 10:20:20 +00:00
Tom Hacohen 31d4f2699b Edje size_min_restricted_calc: Hopefully fixed textblock handling.
SVN revision: 59010
2011-04-28 15:29:50 +00:00
Jihoon Kim 3d2d5eb51d From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] bug fix : preedit text was commited when
shift key was pressed

ATM, preedit text is commited when shift key is pressed.
This patch file is for solving this bug.



SVN revision: 58887
2011-04-25 05:57:49 +00:00
Jihoon Kim ac33622354 From: Jihoon Kim <imfine98@gmail.com>
Subject: [E-devel] [PATCH] bug fix in : "cursor, changed" signal is
not emitted when the content of entry is removed

I found the bug that "cursor,changed" signal is not emitted when the content
of entry is removed.

Let's assume the cursor position is equal to 10.
In this situation, elm_entry_entry_set(en, "") is called.
The content of entry is removed and the cursor position is equal to 0, but
"cursor,changed" signal is not emitted.

This patch is for solving this problem.

In addition, it lets the input method module know the cursor position using
ecore_imf_context_cursor_position_set API
in case that _edje_entry_set_cursor_{start, end} is called.

(Raster: actually it should always emit changed. not check pos at all.
technically pos could be the same BUT cursor moved on screen due to a
reformat). :)



SVN revision: 58886
2011-04-25 05:36:58 +00:00
Daniel Juyung Seo 1cdcceff91 Edje Edje.h: Removed trailing whitespaces.
SVN revision: 58615
2011-04-13 08:10:35 +00:00
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