Commit Graph

1279 Commits

Author SHA1 Message Date
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