Commit Graph

9645 Commits

Author SHA1 Message Date
woochan lee 8458f6da2c elm_notify: added the notify's edje of popup smart member
Summary: after popup layout refactoring, the popup object cant get evas event.

Test Plan:
1. added popup object.
2. key down event callback add for popup object.
3. run the elementary_test.
4. input some key on popup and check whether the registered function is executed or not.

Reviewers: seoz, eunue, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1688
2014-11-24 16:50:31 +09:00
Daniel Juyung Seo 805590526e test_notify,popup: Add key event reacting examples.
There is a bug in notify. This test reveals the bugs :)
2014-11-24 15:29:41 +09:00
zmike 0c933506a8 widget tooltip creation should also pass the eo item to the callback
ref T1859
2014-11-23 11:30:30 -05:00
Daniel Juyung Seo add8ef22a6 test_slider: Fix wrong slider description. 2014-11-23 20:42:10 +09:00
Daniel Zaoui dfc3f7ac30 Genlist: Fix previous commit.
The items of an item is a list of Elm_Object_Item and not of Elm_Gen_Item.
Sorry @zmike ;-)

Fixes T1859

Another fix has been added in this commit, related to relative items.
2014-11-23 09:18:42 +02:00
Daniel Zaoui 0f28743080 Genlist: Fix API return value.
elm_genlist_item_subitems_get has to return a list of Elm_Object_Item.
Because of the porting of the genlist item to Eo, this function returns
a list of Elm_Gen_Item.

Thanks to zmike and seoz for catching this.

Fixes T1859
2014-11-22 09:40:37 +02:00
Vitalii Vorobiov ae38b2efa9 DBUS Menu: fixing SIGSEV and SIGBUS when trying to use dbus.
Summary:
Using of dbus menu causes a weird exception that looks
like this (for example in function elm_win_main_menu_get(Evas_Object *win)):
> EINA: Data at address 0x0 is invalid. Replacing with zero page.
> mmap: Operation not permitted
> ERR<22270>:eina_mmap lib/eina/eina_mmap.c:110 _eina_mmap_safe_sigbus()
> Failed to mmap() /dev/zero in place of page. SIGBUS!!!
> Aborted (core dumped)

This issue appears because there is a lot of places where Elm_Object_Item is
used, but it should be Elm_Menu_Item_Data.

This issue could be reproduced with elementary_test:
1. run elementary test with dbus enabled.
2. find "Systray Item" button and click on it.
3. get SIGSEV in your console.

@fix

Reviewers: cedric, raster, seoz, Hermet

Reviewed By: Hermet

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1681
2014-11-22 11:08:36 +09:00
Daniel Juyung Seo 78fea1b7f5 win: Fix and clean up doxygen documentation. 2014-11-22 00:38:45 +09:00
Daniel Juyung Seo b1808e5ad7 thumb, toolbar, web: Fix and clean up doxygen documentation. 2014-11-22 00:38:45 +09:00
Daniel Juyung Seo 92cc579a25 scroller, slider, slideshow: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo a4f4fdc936 panel, prefs, progressbar: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo 720855f2ad layout, list, map: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo a19d5c2c21 icon, image, label: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo ff6416e6c3 gesture_layer, glview, hover: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo 2a39c2f53e colorselector, entry, flip: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo 864e1263a8 clock, datetime, dayselector: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo e23421f2e9 box, bubble, calendar: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo 0b820975b6 actionslider, app, bg: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Amitesh Singh 2b40551740 multibuttonentry: use !strcmp() instead for comparison.
Reviewers: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1680
2014-11-21 13:38:12 +09:00
Daniel Juyung Seo 188297c5af test_genlist: Add elm_genlist_item_subitems_get sample. 2014-11-21 12:21:45 +09:00
Hosang Kim 008f37e18e Scroller: Add step size set API
Summary:
Application do not change step size because only interface API is existed.

@feature

Test Plan: elementary_test -> scroller -> change step size

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1677
2014-11-20 20:29:41 +09:00
ChunEon Park d2e026db57 transit: free the map resource.
@fix

Submitted-By-Off: Seung-Wan Woo <s-w.woo@samsung.com>
2014-11-20 09:16:55 +09:00
Daniel Juyung Seo 7fc83c54b5 genlist: Fix build warning for uninitialized variable.
elm_genlist.c:1916:15: warning: 'eo_it' may be used uninitialized in
this function [-Wuninitialized]
2014-11-19 19:53:40 +09:00
Daniel Juyung Seo 4406302421 elm: Modify document for APIs.
Retrieve -> Get as the API says.
This is not a critical change but was done due to the consistency.
2014-11-19 19:51:57 +09:00
Daniel Juyung Seo 202232523b segment_control: Fix shadow declaration build warning.
warning: declaration of 'select' shadows a global declaration [-Wshadow]
2014-11-14 15:30:08 +09:00
Daniel Juyung Seo e9fbc706ac bg: Flourish bg documentations and comments. 2014-11-14 15:27:54 +09:00
Daniel Juyung Seo fc41978cc2 panel, segment_control: Use ev->canvas instead of ev->output.
Even they are same it is recommended to use ev->canvas as it was
actually intended for that purpose.
2014-11-14 15:19:23 +09:00
Daniel Juyung Seo 757eea9588 elm: Remove unnecessary elm_shutdown() while using ELM_MAIN().
elm_shutdown() is automatically called when you use ELM_MAIN() since
elementary 1.12.
2014-11-14 14:17:54 +09:00
Daniel Juyung Seo 07bb653dd4 label: Add more comments for the unclear internal data. 2014-11-13 09:45:45 +09:00
Andrii Kroitor 81bd6ed6e1 elm_box: inappropriate size_hint_align value usage fix
Summary:
size_hint_align was used instead of evas_box's internal value for aligning
of internal items. Because of that layout functions of elm_box and evas_box
were incompatable
Fixed elm_box, els_box layout and widgets that used this behaviour.

@fix

Test Plan:
Run "elementary_test". All buttons should be left-aligned
"elm_box_align_set(tbx2, 0.0, 0.5);" (test.c:332)

Reviewers: cedric, Hermet, stefan_schmidt, seoz

Reviewed By: seoz

Subscribers: shilpasingh, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1512
2014-11-13 00:14:57 +09:00
Daniel Juyung Seo 2f20ed2fcc test: Use ELM_SCALE_SIZE instead of elm_config_scale_get().
Newly introduced macro ELM_SCALE_SIZE at 1.12 makes your app more
scalable.
2014-11-13 00:08:42 +09:00
Daniel Juyung Seo 49fae24f74 test_progressbar: Fix weight/align size hints.
Also put weight set first. It is easier to understand logically.
2014-11-13 00:00:19 +09:00
woochan lee aec1bec0b9 test_progressbar: stop btn callback fixed, unnecessary code deleted
Reviewers: Hermet, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1664
2014-11-12 23:42:20 +09:00
Daniel Zaoui 7e396432ef Object Items: replace most of del_pre functions with destructor.
This change is not simple because Elementary has not been built from the
first day to work with Eo. Code had to be adapted to fit the new design.

The del_pre that have not been replaced yet can return FALSE and
prevent deletion. For these classes, code modification has to be deeper
and will be done later.
2014-11-12 12:03:58 +02:00
Daniel Zaoui 05225b162e Object Items: remove data variable from widget item.
Now, data is stored in Eo layer via eo_key_data_set/get.

Two macros have been added to facilitate access.
2014-11-12 12:03:58 +02:00
Daniel Zaoui 9d50d391a0 Object Items: Adapt del callback to Eo.
Because of widget item design, it is hard to make it fit to Eo as it
should be:
- _eo_del_cb should have the callback pointer as data but pre_notify
function forces its storage into the item data because we need to be
able to call the cb before del is really triggered.
- only one cb is supported for an item, meaning replacing it would mean
we have to save the function pointer inside the item, delete the
callback with the previous function as data and then add the new
callback. Instead of it, we just add our own wrapper as Eo callback that
will invoke the function pointer stored in the item data.
2014-11-12 12:03:58 +02:00
Daniel Zaoui ef03bc098e Object Items: remove legacy APIs.
They are now generated by Eolian.
2014-11-12 12:03:58 +02:00
Daniel Zaoui b01d01528a Object Items: remove casts that are no more needed.
It includes casts to Eo, Elm_Object_Item and to specific items data.
This belongs to the cleaning phase of the object items porting to Eo.
2014-11-12 12:03:57 +02:00
Daniel Zaoui 81becebfa6 Object Items: remove temporary files used for the porting to Eo. 2014-11-12 12:03:57 +02:00
Daniel Zaoui 4618dab968 Object Items: remove old inheritance mechanism. 2014-11-12 12:03:57 +02:00
Daniel Zaoui 5f62b784a3 Object Items: Elm_Object_Item becomes Eo 2014-11-12 12:03:57 +02:00
Daniel Zaoui 56bb6d71c2 Object Items: remove last invocations to elm_widget_item_ APIs 2014-11-12 12:03:56 +02:00
Daniel Zaoui f0ede508f8 Elm Popup Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui 99971686d3 Elm DiskSelector Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui d1db1d81dc Elm Toolbar Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui fffa035895 Elm List Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui ae4c43d2ee Elm Gengrid Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui ca286ea1cb Elm Genlist Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui 15b23e94f9 Elm Naviframe Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui aaf2ecf9e9 Elm Multibuttonentry Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 3db20f53ea Elm Index item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 1db002db3a Elm Ctxpopup item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 0308cb0993 Elm Menu Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui c12cdc1af5 Elm Flipselector Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 574a41dc22 Elm Slideshow Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui a6d6a7beeb Elm Segment Control Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 4f67061872 Elm Hoversel Item: Migrate to Eo 2014-11-12 12:03:54 +02:00
Daniel Zaoui 1a56647934 Elm Dayselector Item: Migrate to Eo 2014-11-12 12:03:54 +02:00
Daniel Zaoui e1d7009ff3 Elm Colorselector Item: Migrate to Eo 2014-11-12 11:56:02 +02:00
Daniel Zaoui a9b13f7633 Elm Widget Item: Migrate to Eo
Since we want to support legacy inheritance mechanism, code is not
finished and will have to be cleaned when all the items are ported.
2014-11-12 11:52:10 +02:00
Mike Blumenkrantz bae7104b14 config font hinting api added
needed for e's internal use, not sure if worth exposing since there's an env variable

@feature
2014-11-10 16:02:28 -05:00
ChunEon Park 6ba886cb1c example/evasmap3d: change to simpler call. 2014-11-10 20:15:16 +09:00
Youngbok Shin 40bc9198aa label: Reset sd->lastw as '-1' in some elm_label APIs for ensure the sizing_eval.
Summary:
In some cases, elm_label doesn't calculate its min size if it is not resized from outside.
It is happened when only elm_label used with elm_label_line_wrap_set API.
The following APIs can change min size of the widget, so we can't skip the sizing_eval func.

elm_label_line_wrap_set
elm_label_line_width_set
elm_object_text_set -> _elm_label_elm_layout_text_set will be called.

@fix

Test Plan:
I put a change to test_notify.c for test.
elementary_test notify
-> click "top" button. -> You can't see elm_label without the patch.

Reviewers: woohyun, tasn, seoz

Reviewed By: seoz

Subscribers: herdsman

Differential Revision: https://phab.enlightenment.org/D1652
2014-11-10 14:06:32 +09:00
Daniel Juyung Seo 34375b9113 macro: Fix wrong macro braces.
This causes unwanted result. Fit it.
2014-11-10 14:05:58 +09:00
Daniel Juyung Seo 0645ba436d test_box: Add box align test sample.
This shows how elm_box_align_set() works.
2014-11-09 18:36:29 +09:00
shilpa.singh 9cb07eb5fa elm_box_align_set API fix
Summary:
Issue: elm_box_align_set APIs not working well
Solution: hint_set should not be called instead evas box align APIs
have to be used

@fix

Test Plan:
elementary test demo first page, though align is set as 0.0
0.5 it always shows as 0.5

Reviewers: Hermet, raster, seoz

Subscribers: rajeshps, govi

Differential Revision: https://phab.enlightenment.org/D1622
2014-11-09 18:02:37 +09:00
Daniel Juyung Seo d883aa2499 test_box: Remove unnecessary object resize.
- Do not resize window's resize object manually.
- Do not resize box's children objects manually.
2014-11-09 16:05:01 +09:00
Amitesh Singh 08237a1000 widget: fix the typo. Use win object instead.
Summary: @fix

Reviewers: seoz, raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1645
2014-11-07 02:23:30 +09:00
Daniel Juyung Seo 90f62df551 widget: Remove duplicated declarations and clean up them more. 2014-11-07 02:21:02 +09:00
Daniel Juyung Seo f9ec18f586 genlist: Remove unnecessary callbacks when item loop is disabled.
@fix
2014-11-07 02:20:21 +09:00
Tae-Hwan Kim 2afae8dff2 elm_general: Add '*' explicitly for function pointer parameter
Reviewers: raster, cedric, huchi, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1637
2014-11-05 15:01:15 +09:00
Cedric BAIL 3a9dee52fa elementary: report time correctly when benchmarking time to first frame. 2014-11-03 06:38:48 +01:00
artem.popov 341160133b elm_widget: fix segfaults for _elm_widget_item_style_set/get
Summary:
Changing of styles for widget items isn't realized yet. This fix should
be presented to avoid segfaults when elm_object_item_style_set/get is calling
@fix

Reviewers: seoz, raster, cedric, Hermet

Reviewed By: Hermet

Subscribers: bluezery

Differential Revision: https://phab.enlightenment.org/D1595
2014-10-31 15:24:43 +09:00
ChunEon Park e253be4521 panel: add error messages for user information. 2014-10-31 15:19:35 +09:00
Kateryna Fesyna 69c9b0ecde Elm_Panel: forbid changing of content of "elm.swallow.event" part
Summary:
Because the "elm.swallow.event" part is used for internal needs of Panel widget
setting up or unsetting content of this part can break the behavior of this widget.
Due to the fact that this part is invisible and does not have any use cases for user
it seems acceptable to forbid changing of its content.

@fix

Reviewers: cedric, seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1587
2014-10-31 15:16:14 +09:00
woochanlee dd354b8dc5 check: deleted typo.
Summary: deleted typo.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1613
2014-10-30 19:39:19 +09:00
ChunEon Park bdaf008d02 elementary_test/3d: improve sample.
since the previous cube hide the progressbar control,
user couldn't control it.

So make it cube transparency and pass events to progressbar.
2014-10-30 17:26:49 +09:00
ChunEon Park c38da29ec3 elementary_test/3d: remove dead code. 2014-10-30 17:22:43 +09:00
ChunEon Park 28bd64170e elementary_test: support --help command line. 2014-10-30 17:02:29 +09:00
Cedric BAIL 3eadbd522f quicklaunch: initialize edje earlier.
We do trigger an edje theme open during the first stage of quicklaunch as part of
config init apparently. So we better init or we will endup with some really bad
memory corruption.
2014-10-30 07:24:08 +01:00
Carsten Haitzler e73b596fc7 elm win - start wins in withdrawn state
this matches 5954289c6c commit on efl -
fixes initial window state so you can detetc when it is shown and
normal.

@fix
2014-10-29 19:35:47 +09:00
Thiep Ha ada2b6abec entry/test: make scrollable entries visible
Summary:
Two scrollable entries' size is too small to view.
This patch expands window size to have suitable size for entries.

@fix

Reviewers: Hermet, seoz, woohyun, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D1597
2014-10-29 08:37:38 +00:00
Ryuan Choi 4855fa3f71 fileselector: Do not call _populate directly in APIs
Summary:
User application may call some fileselector APIs to configure fileselector instance.
And some of them may call _populate but only last request is needed.
However, T1663 raises that last request might be rejected with expansion option and
multiple requests of _populate.
It's because expansion mode do not allow next _populate until previous one is finished.

So, this patch fixes it via scheduling _populate instead of calling _populate() directly in APIs.

@fix

Maniphest Tasks: T1663
2014-10-29 12:57:31 +09:00
Adrien Nader d5952c875a doc: add API docs in elm_interface_scrollable.
This adds
- gravity_set
- gravity_get
- bounce_allow_set
- bounce_allow_get
- movement_block_set
- movement_block_get
- policy_get
- policy_set
- content_region_get
- content_region_set
- page_size_set
- page_size_get
- page_snap_allow_set
- page_snap_allow_get
- single_direction_get
- single_direction_set
- last_page_get
- current_page_get
- content_size_get

- scroll_up_cb
- hbar_drag_cb
- drag_start_cb
- scroll_left_cb
- vbar_press_cb
- hbar_press_cb
- hbar_unpress_cb
- drag_stop_cb
- page_change_cb
- animate_start_cb
- scroll_down_cb
- scroll_cb
- animate_stop_cb
- scroll_right_cb
- edge_left_cb
- vbar_drag_cb
- vbar_unpress_cb
- edge_bottom_cb
- edge_top_cb

- page_show
- region_bring_in
- page_bring_in
- content_region_show
- content_min_limit
2014-10-20 18:42:21 +02:00
Adrien Nader b5d0f91a9b doc: add API docs in button, container, image, store, general.
This adds API docs for:

- elm_button_admits_autorepeat_get

- elm_container_content_swallow_list_get
-               content_get
-               content_set
-               content_unset

- elm_image_resize_down_set
-           resize_down_get
-           resize_up_set
-           resize_up_get
-           scale_set
-           scale_get
-           fill_inside_set
-           fill_inside_get
-           sizing_eval

Light documentation for enum Elm_Object_Select_Mode, enum
Elm_Object_Multi_Select_Mode and Elm_Store_Item_Mapping_Type.
2014-10-20 18:42:21 +02:00
Adrien Nader bfd57b3d84 doc: fix mismatched variable names between prototypes and doxygen comments.
Several APIs are marked as not documented simply because the doxygen
documentation mentions a parameter named "foo" while the spelling in the
prototype is something like "fooh". An example correction is
  - * @param fsize Finger size
  + * @param sz Finger size

Nothing very complicated and there are also a couple typo fixes I noticed
while going over the files.
2014-10-20 18:42:21 +02:00
Tom Hacohen b12c544d21 Elm cnp: Fix infinite loop on drop target deletions in some cases.
In some cases, like having a drop target inside an inwin (looks like it
can be other containers too) can cause an infinite loop (as described in
the report). The reason for that is that while the drop target was added
when there was an X window available, the X window ws now gone, so the
non X path was being called which didn't have the code to remove the
item from the list being iterated. Yes, definition of spaghetti and
false assumptions.
Elm dnd/cnp need a massive overhaul, they are disgusting.

See the ticket for more information on the issue.

Fixes T1702
2014-10-20 17:24:07 +01:00
Jean-Philippe Andre 78f6a0048c GLView: Add legacy bindings for the new functions
rotation_get and evas_gl_get should have legacy bindings as well
2014-10-20 12:16:43 +09:00
Jean-Philippe Andre cdb6490b70 GLView: Add constructor for GLES 1.1 context glview
This also adds the legacy bindings

@feature
2014-10-20 12:16:43 +09:00
Jean-Philippe Andre 5b60f2f7ac GLView: cosmetic changes 2014-10-20 12:16:43 +09:00
Jean-Philippe Andre 37cb18740c GLView: Add support for client-side rotation
See recent changes in Evas GL for reference.

This also introduces the EO function rotation_get()

@feature
2014-10-20 12:16:43 +09:00
Jean-Philippe Andre d0241ad4c9 GLView: Add more configuration flags for the surface
This adds precise DEPTH, STENCIL and MSAA configurations.

@feature
2014-10-20 12:16:43 +09:00
Jean-Philippe Andre 5bcc39398f GLView: Clean up the native surface during deletion 2014-10-20 12:16:42 +09:00
Jean-Philippe Andre 706d2a28aa GLView: Add API to get the Evas_GL
Before screaming "don't expose this", here's the reasoning:
There will be a few new APIs in evas-gl (support pbuffer, ...)
that require a pointer to the Evas_GL to be called. So, instead
of exposing each and every one of these evas gl functions in
a dummy wrapper in elm_glview, we just give access to the real
pointer.
GLView will always be a wrapper around evas_gl, because that's
what it is by definition.
2014-10-20 12:16:41 +09:00
Amitesh Singh 797e75bb4f widget: fix seg fault when ts is NULL.
Summary:
if translatable is FALSE and _translate_string_data_get returns NULL, ts
would be NULL which results into crash.

@fix

Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1543
2014-10-19 14:56:15 +09:00
Lukasz Stanislawski 2ca1f8a75a atspi: properly include at-spi headers.
Summary:
Change requested by TAsn. Previuosly AT-SPI headers were kept private
and included directly into elementary source code. From now on,
AT-SPI headers can be included from Elementary.h public header, however
will be marked as beta APIs.

Commit includes following changes:
* include all atspi headers into new elm_interfaces.h header.
* marking all at-spi interfaces methods/properties as @protected.
* wrap all common headers with EFL_BETA_API_SUPPORT.
* make some common APIs visible in lib, by adding EAPI attribute
  (if someone decides to use beta APIs).

Test Plan: out-off tree build with gcc, g++

Reviewers: tasn

Reviewed By: tasn

Subscribers: seoz, q66, kuuko

Maniphest Tasks: T1721

Differential Revision: https://phab.enlightenment.org/D1528
2014-10-17 16:57:26 +01:00
Jihoon Kim ada335eedf entry: Describe input panel numberonly variations 2014-10-17 21:45:02 +09:00
Jihoon Kim fc06420d21 entry: Add input panel normal and password variations 2014-10-17 21:44:11 +09:00
ChunEon Park 37c850bba7 mapbuf: updated doc.
it's been under stablization for a long time and only "movement" is proved in performance improvement.
2014-10-17 19:42:43 +09:00
o.shcherbina 92f5ba1bfb win: fix segfaults (wrong checking)
Summary:
There were wrong checkings in elm_win_size_base_get and
elm_win_size_step_get
@fix

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1533
2014-10-14 01:07:36 +09:00
woochanlee 2f7460acfb bg: fix the _elm_bg_elm_layout_sizing_eval bug.
Summary:
Since the sd->image is swallowed to the edje object, it's position and size will be managed by edje smart object.
in the bg side, it doesn't need to care the position and size of the image.

@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1525
2014-10-11 00:19:27 +09:00
Hosang Kim f5508d8624 elm_interface_scrollable: fix last page get api
Summary: First page's number is 0. So I changed '+' to '-'.

Reviewers: seoz, jaehwan, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1530
2014-10-10 14:36:52 +09:00
Mike Blumenkrantz 8391f8a860 elm_image no longer crashes when deleting the image from a download callback 2014-10-09 16:52:17 -04:00
Tom Hacohen 8a1c279e16 Elm win: Rename duplicate eo property wm_manual_rotation_done.
This has to be renamed otherwise it clashes for bindings.
2014-10-09 12:28:34 +01:00
Tom Hacohen ecc8aaab62 Elm scrollable: Include the scrollable interface in the main header. 2014-10-09 12:14:54 +01:00
zmike 2bcbe743d1 genlist item block recalc checks now more readable 2014-10-07 14:07:13 -04:00
zmike dbc3b87b18 genlist item block recalc checks make more sense 2014-10-07 14:07:13 -04:00
Daniel Zaoui 718b4900fb List: fix annoying Valgrind unitialized value. 2014-10-06 11:30:58 +03:00
ChunEon Park afeafc1774 panel: remove warning. 2014-10-06 14:30:19 +09:00
ChunEon Park 42b17337cb panel: add elm_panel_scrollable_get() 2014-10-06 12:11:05 +09:00
Ryuan Choi 9ddd97c7ff Introduce current_name_{set|get}
Summary:
When fileselector is opened, it would be nice to be able to provide initial filename.
Like "Untitled Document" in Gedit, when save for the first time.

More details in Gedit,
Gedit provies default name, "Untitled Document" and does not change default name
while navigating directories.
Once we selected any file, Gedit changes value of name entry to selected filename and
it is not also changed while navigating directories.

@feature

Reviewers: seoz, yakov-g

Reviewed By: yakov-g

Subscribers: seoz

Maniphest Tasks: T1664

Differential Revision: https://phab.enlightenment.org/D1504
2014-10-06 08:08:24 +09:00
Tom Hacohen 236bab8d53 Change according to recent Eo changes, and fix related wrong unrefs.
eo_add()'s counterpart is eo_del, not eo_unref. Regardless of that, some
objects were being double-deleted which spew out some eo errors. These
things should now be fixed.

bc6b6aa457 is the relevant EFL commit.
2014-09-30 14:54:52 +01:00
Jaehyun Cho 045ad420cd elm_menu: Add item_signal_emit_hook for elm_menu
Summary: Add item_signal_emit_hook for elm_menu

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1500
2014-09-30 10:59:43 +09:00
Jaehwan Kim d62ba7548e scale: change the floating number comparison method. 2014-09-29 19:07:00 +09:00
ChunEon Park 67a90cdc3b elm_object_item: add a convenient macro api.
elm_object_item_translatable_set().
2014-09-29 19:00:09 +09:00
Daniel Juyung Seo ff6d8998ca authors: Updated authors list. 2014-09-28 23:57:01 +09:00
Srivardhan Hebbar c6ddc20220 elementary: Adding example to demonstrate radio "changed" functionality.
Summary:
Added this example which demonstrate the exact behavior or "changed" in radio button.
After changing the documentation of "changed" as in https://phab.enlightenment.org/D1445, thought the example might be useful, so added this.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns, stefan_schmidt, seoz

Differential Revision: https://phab.enlightenment.org/D1490
2014-09-28 23:50:16 +09:00
Tom Hacohen 0ee7f4951b Elm win: fix wrong deletion of elm windows.
This is a fix upon 6e7686c030fab162edb3128de005ec00ea8c0ffc.
This correctly deletes the list even if the windows are still referenced
and even if they are deleted from under out feets.
2014-09-26 10:10:51 +01:00
Jaehwan Kim 75ef6e0929 scale: fix the floating number comparison.
There's no meaning 0.00001 in scale. So in that case, it is ignored.
2014-09-26 12:07:34 +09:00
Amitesh Singh 1f28fea220 slider: Removed unnecessary layer set call for popup.
Summary:
Setting layer of a smart member is not required as it would remain
on same layer of slider.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1447
2014-09-26 02:05:47 +09:00
Tom Hacohen 7629c147eb Eo related: Change according to recent changes in eo_add().
For more info check out a7560dbc61 in
the EFL tree.
2014-09-25 17:39:34 +01:00
Tom Hacohen 0ac52480d0 Elm win: Fixed wrong deletion of win objects.
Some of them may be reference still, you don't want to do this.
2014-09-25 17:14:27 +01:00
Tom Hacohen f72bcf2b64 Eo: Get rid of eo_add_custom.
This has been deprecated for a while and is now completely dropped.
2014-09-25 10:46:04 +01:00
Amitesh Singh b9744e58f5 genlist: Removed unnecessary casting of genlist item.
Reviewers: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1471
2014-09-25 01:36:03 +09:00
Mike Blumenkrantz 34951cf692 revert most recent two elm engine commits
This reverts commits 123ca6a8744729525889bbc09ee1aff4b2b97b75, 0d527b03f4f630e81ab4480d7160bbf6352b0bac

this is still unusable even after being fixed so the fix was unnecessary to begin with
2014-09-24 11:34:03 -04:00
Tom Hacohen 3bc816a88c Elm container: Ship missing headers. 2014-09-24 11:27:21 +01:00
Mike Blumenkrantz 82c7788148 +elm_win_trap_data_get()
needed when using win traps to get the trap ctx at non-hookpoints
2014-09-23 17:38:22 -04:00
Mike Blumenkrantz 70920b3adb remove accel_override from elm_config
if this is saved, it can never be unset, which means that a user who later gains/loses hw accel can never change the existing config value

@fix
2014-09-23 16:57:53 -04:00
Mike Blumenkrantz 0d17c1a2a3 elm_win should not check ELM_ACCEL variable if application has overridden it
also simplify these checks to make it more clear how the ordering should work

@fix
2014-09-23 16:45:15 -04:00
Boris Faure e419746ca2 slider.eo: move since definition to be more conventional 2014-09-23 21:49:56 +02:00
Daniel Juyung Seo e072f17b5a test_genlist: Fixed wrong frame title in the genlist focus test.
Test Plan: elementary_test -> genlist focus

Reviewers: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1479
2014-09-24 02:12:57 +09:00
Wonguk Jeong 96f6457fe6 naviframe: hide item added by elm_naviframe_item_insert_before()
Fixes T1650
2014-09-23 11:46:26 +02:00
Jaehwan Kim 6a10850f6c scale: add a bracket in the ELM_SCALE_SIZE macro. 2014-09-22 13:50:58 +09:00
Daniel Juyung Seo 88499a2660 test_radio: Did internal refactoring and added more group test example. 2014-09-20 17:23:03 +09:00
Daniel Juyung Seo edbe49f445 radio: Added more comments about changed smart callback. 2014-09-20 17:22:33 +09:00
Srivardhan Hebbar a71a512830 elementary: Corrected documentation of "changed" in elm_radio.
Summary:
Changed the text for Radio "changed" event to:
This is called when the radio object is selected.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: stefan_schmidt, seoz

Reviewed By: stefan_schmidt, seoz

Subscribers: stefan_schmidt

Maniphest Tasks: T1657

Differential Revision: https://phab.enlightenment.org/D1445
2014-09-20 16:46:07 +09:00
Jaehwan Kim 46508d8116 scale: set the base scale of the application.
The scale is used for the application to be scaled.
If the application isn't made on the basis of scale 1.0,
the application layout will be scaled inappositely. So if the
application set the base scale, it is applied when the application is scaled.
2014-09-19 13:46:23 +09:00
Daniel Juyung Seo 4bb375af97 test_radio: Added a changed callback to a radio group. 2014-09-19 02:49:30 +09:00
Savio Sena 3f042b8352 autotools: Simplified src/lib/Makefile.am quite a bit.
Introduced new .eo lists avoiding redundancy. Create targets to install
generated C++ bindings.
2014-09-17 20:28:06 -03:00
Savio Sena 4205e4c583 lib/autotools: Added Elementary.hh. 2014-09-17 20:28:06 -03:00
Savio Sena b1679131cf examples: Remove a warning during release compilation. 2014-09-17 20:28:05 -03:00
Savio Sena d796baefba tests: Clean-up elementary-cxx test suite.
Removed unnecessary includes.
Added missing bindings.
Added extern "C" guards.
2014-09-17 20:28:05 -03:00
Daniel Juyung Seo 55050fef9d test_genlist: added a test to clear the genlist no item,focused call. 2014-09-17 16:37:55 -07:00
Savio Sena 08275af33f examples: Add extern "C" guards to C++ example. 2014-09-16 19:10:40 -03:00
Daniel Kolesa 6a76c2e9da update according to latest eolian changes 2014-09-10 15:09:08 +01:00
Daniel Kolesa 05382aed68 update to eolian complex types (without complex part for now) 2014-09-09 14:53:02 +01:00
Daniel Zaoui 3d85a89b2c CnP/Wayland: Fix window check for Wayland invocations.
This was leading to never enter the cnp functions dedicated to Wayland,
as the given object was not a window. The Copy And Paste test was not
working for this reason.
2014-09-08 17:05:20 +03:00
Daniel Kolesa 24b8671f60 update according to latest eolian changes 2014-09-08 14:58:57 +01:00
Daniel Juyung Seo 0d5dad908e test_genlist: Fixed typo in the check button. 2014-09-07 22:06:47 +09:00
Daniel Juyung Seo 9954b7391f test_gengrid: Added pressed and released callbacks for more tests. 2014-09-07 22:00:20 +09:00
Daniel Juyung Seo d5cfb8e0b3 test_genlist: Added more focus tests for popup creation on item mouse down and item select. 2014-09-07 19:43:24 +09:00
Daniel Juyung Seo e644c842e1 test_genlist: Added 'add more items' button to genlist focus test. 2014-09-07 18:46:15 +09:00
Daniel Juyung Seo 3518675d31 test_popup: Renamed focus highlight button name correctly. 2014-09-07 18:10:47 +09:00
Daniel Juyung Seo 79788f8c12 test_genlist: Refactored internal codes.
Created internal function _test_genlist_focus_option_panel_create() as it is
getting too big.
2014-09-07 17:49:33 +09:00
Daniel Juyung Seo 252d5f28de elm_gesture: Moved since at the end of each api's documentation. 2014-09-07 16:23:15 +09:00
Daniel Juyung Seo 9b50d76b4b gesture_layer: Fixed broken gesture layer documentation. 2014-09-07 16:19:14 +09:00
Jae Yong Hwang fbee0944db genlist: Fixed a crash bug in case of calling a genlist_clear in a select callback function.
Summary:
If item select callback is elm_genlist_clear and genlist object have many item, elm_genlist_clear was broken.
This reason is due to incorrect code. In Old code, check the item focus  after an item was deleted. So, I changed the order of the code.
Before item was deleted, Check the item focus.
@fix

Test Plan: I revised the elementary_test code and tested with that.

Reviewers: raster, SanghyeonLee, seoz

Reviewed By: seoz

Subscribers: bluezery, SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D1418
2014-09-06 01:47:55 +09:00
Daniel Juyung Seo 2533b0af79 test_genlist: Added genlist clear scenario on 5th item select. 2014-09-06 01:47:45 +09:00
Daniel Juyung Seo 13180c55d8 test_genlist: Removed unnecessary casting. 2014-09-06 01:33:22 +09:00
Daniel Juyung Seo ab86e8edb6 elm: Fixed documentations for part_text_aliases. 2014-09-05 01:12:22 +09:00
Daniel Juyung Seo 8d30e7774d tooltip: Removed unnecessary casting and followed callback function conventions. 2014-09-05 01:12:22 +09:00
Daniel Juyung Seo 118bc66bab conform, inwin, progressbar, radio: Fixed wrong part_alias_description implementations and documentations.
@fix
2014-09-05 01:12:22 +09:00
Cedric BAIL d1612d88d6 main: do not throw warning on previously working code.
Now that we forcefully shutdown elementary, we will always it the case below 0
for older code and throw some useless warning.
2014-09-04 17:33:06 +02:00
Cedric BAIL c7f130ca87 module: detect extention just based on if its windows or not.
This follow what we do on other part of EFL and should fix issue on Mac OS X.

Should fix D1161 at the same time.

@fix
2014-09-04 17:33:05 +02:00
Vincent Torri ea6246a8ee autotools: simplify .pc.in.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-04 17:33:05 +02:00
Vincent Torri 8c705cac78 autotools: add m4 macro to check for options
This simplify autotools in elementary by recycling the same m4
and also compilation flags. Less code to read and maintain.
2014-09-04 17:33:05 +02:00
Carsten Haitzler dada522426 elm process state - add events and state get function
this adds the ability to query current process state, and get events
idicating a change in process state and what change that was.

@feature
2014-09-04 15:09:10 +09:00
Tae-Hwan Kim e2a14d22ae elm_map: the widget use efreet cache home to save image files to, so efreet should be initialized.
Summary: @fix

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D1371

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-03 17:05:02 +02:00
Carsten Haitzler c9b74dfb0b elm examples - missing -lm link - fix
@fix
2014-09-03 17:13:00 +09:00
Ryuan Choi 2bc6246299 fileselector: Fix that anchors are remained when path_entry was focused via keyboard.
Removed trick that checks whether mouse is pressed in text field or anchors.
2014-09-03 12:47:23 +09:00
Vincent Torri 092f40579a configure.ac: Clean up and add macros for backend-checks.
Add an m4 macro and start using it (also fixes some issues).
2014-09-02 10:29:51 +01:00
Vincent Torri 4efc70c844 Use pkglibdir instead of libdir/elementary
This is cleaner and more correct.
2014-09-02 10:29:50 +01:00
Vincent Torri 8a48ea85e9 Makefiles: ELEMENTARY_BUILD is only defined on windows, no need to check.
Use ELEMENTARY_BUILD in CPP flags as it will be used only on Windows anyway.
2014-09-02 10:29:50 +01:00
Vincent Torri ea99904b1d Reorganise configure.ac layout (and simplify)
This includes:
Bumping versions of autoconf and automake.
Remove or replace deprecated macros.
Use correct paths.
2014-09-02 10:29:50 +01:00
Jaeun Choi bd8b887428 panel: resize scrollable content in content_size_set API
in elm_panel_scrollable_content_size_set,
not only update size ratio variable but also resize scrollable content

@fix
2014-09-02 16:06:08 +09:00
Daniel Kolesa 05f0cdddb9 update as per latest eolian changes 2014-09-01 15:57:56 +01:00
Thiep Ha 8c0dcde37d label: Fix size calculation for wrapped label
Summary:
Label size is incorrectly calculated (text does not wrap) if
elm_label_line_wrap_set() is called before elm_label_wrap_width_set().

@fix

Test Plan:
The label3 test case is added to show the bug case.
In label3 test case, if we switch the calling sequence of
elm_label_line_wrap_set() and elm_label_wrap_width_set(),
the result is different.

Reviewers: raster, seoz, woohyun, Hermet

Differential Revision: https://phab.enlightenment.org/D1369
2014-09-01 23:05:30 +09:00
Jihoon Kim cdec9a9e85 Add elm_entry_input_hint_set/get API
Sets or get the input hint which allows input methods to fine-tune their behavior.
2014-09-01 19:04:05 +09:00
Carsten Haitzler 6c7619b0ea el - ELM_MAIN() cleanup. don't need shutdown in elm_main() anymore
this shouldnt be an abi or api break. it simply makes elm_shutdown
iside elm_main() optional. this is cleaner and more symmetric
2014-09-01 15:29:07 +09:00
Daniel Juyung Seo 9df412f9b8 elm: Added # for enum in the documenation. 2014-09-01 00:44:10 +09:00
Daniel Juyung Seo ca27474779 actionslider: Added descriptions for Elm_Actionslider_Pos and added # for enum. 2014-09-01 00:40:20 +09:00
Daniel Juyung Seo a991adfa8a panel: added more documentations to panel. 2014-09-01 00:28:07 +09:00
Daniel Juyung Seo c169b7d0ca config: added descriptions for focus move policy enum and added # to enum. 2014-09-01 00:13:13 +09:00
Daniel Juyung Seo 76d01cab8e win: added more descriptions for elm_win_render. 2014-08-31 23:01:03 +09:00
Daniel Kolesa 654efad0bf update as per eolian changes 2014-08-29 11:41:44 +01:00
yinsc 55cc03ef05 Fix T1482 Fix the issue:elementary_test will crashed after exist genlist tree
Summary: Removed all global variables for item class

Reviewers: zmike, raster, seoz

Maniphest Tasks: T1482

Differential Revision: https://phab.enlightenment.org/D1318
2014-08-28 03:53:24 +09:00
Daniel Kolesa a30da9253e update according to latest eolian changes 2014-08-27 15:44:11 +01:00
Jae Yong Hwang d84dfe2985 gengrid: Fixed item select logic when item select mode is ALWAYS.
Summary:
If gengrid select mode is not ELM_OBJECT_SELECT_MODE_ALWAYS, ELM_OBJECT_SELECT_MODE_ALWAYS mode for
elm_genlist_item_select_mode was broken. In the item select routine, item mode(it->mode) was not checked.
So, I added the check routine there.
@fix

Test Plan: I revised the elementary_test code and tested with that.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: SanghyeonLee, bluezery

Differential Revision: https://phab.enlightenment.org/D1372
2014-08-27 21:56:38 +09:00
Daniel Juyung Seo 27346f4ecb gengrid: Deprecated elm_gengrid_page_show.
Use elm_scroller_page_show. elm_gengrid_page_bring_in was deprecated
long ago.
2014-08-27 17:24:03 +09:00
Carsten Haitzler b37c6ed68d elm win engines - make code only include engines efl compiled for
this means on windows etc. - it wont vene try x11, wayland etc.
engines before trying the win ones. same for osx.
2014-08-26 20:12:00 +09:00
Tom Hacohen e6df9b02d6 Revert "elementary/config - commented out the translation availabilty check."
This completely breaks automatic UI mirroring. The code there was
correct. Please, before removing code, contact the original author and
make sure you don't break things down. Especially if your reason for
removing is "this doesn't make sense to me" instead of "this breaks X
Y."

This reverts commit 24983fed239a3b37c05cc3c65ed9c56953a7176b.
2014-08-26 12:09:21 +01:00
Carsten Haitzler 7ae870ec95 elm win - ews - oops. fix ews always going on as well as real engine 2014-08-26 18:26:00 +09:00
Carsten Haitzler b5660b8080 elm engine_set etc. - undeprecate, just limit engines supported instead
thre are still all the old engines supported inside, but docs dont say
so so effectively deprecated. also handle a NULL engine. this is part
of our engine/display system cleanup.
2014-08-26 18:02:00 +09:00
Carsten Haitzler 2f66f5a581 elm test - add dialog window test 2014-08-25 17:11:02 +09:00
Carsten Haitzler 1ed3b5845d elm - put curly braces inside same ifdef 2014-08-23 20:11:23 +09:00
Carsten Haitzler d14c0eca37 elm config tool - remove unnneeded elm engine code. 2014-08-23 12:44:21 +09:00
Daniel Juyung Seo b1421fa0bf popup: return correct value. 2014-08-23 02:33:10 +09:00
SangHyeon Lee 22d1ef2574 gengrid/popup: Fix wrong return type of _item_del_pre_hook.
Summary:
elm_widget calls _item_del_pre_hook of each widget and widget can
decide item deletion by return type. But gengrid and popup widget implemented
those _item_del_pre_hook function as a void type.
So this commit fixs the return types to Eina_Bool and changes gengrid widget to return EINA_FALSE when
the item wants to be deleted later.
And when the item wants to be deleted directly, it returns EINA_TRUE.

@fix

Test Plan: test in demo.

Reviewers: seoz, raster, bluezery

Subscribers: Hermet, jaehwan

Differential Revision: https://phab.enlightenment.org/D872
2014-08-23 01:53:08 +09:00
Daniel Juyung Seo 2a341295de config: fixed documentation typos. 2014-08-23 00:31:12 +09:00
Jérémy Zurcher 33338c53aa fix wrong usage of EINA_FALSE as NULL 2014-08-22 10:20:57 +02:00
Jérémy Zurcher 72dc271d32 Elm_App: protect against type redefinition 2014-08-22 10:20:22 +02:00
Carsten Haitzler f934291859 elm engine choice and logic rationalize
now that we have ELM_DISPLAY and ELM_ACCEL we have little need for a
lot of the elm engine stuff and frankly a lot was broken if you used
multiple engines etc. so this fixes a lot of it nd removes a lot of
cruft. i think i got it all right, but i may have oppsied. this also
remo9ves engine support for engines long gone from evas.
2014-08-22 14:48:13 +09:00
Daniel Juyung Seo e68db15448 genlist: added internal function _view_clear() for common codes.
Use this function for normal items, decorate items, and decorate all
items.
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 08fe37c254 genlist: merged _item_content_realize() and _item_mode_content_realize(). 2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 460609ce80 genlist: moved internals functions before refactoring it.
_item_text_realize(), _item_content_realize(), and
_item_state_realize().
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 122dda0b48 genlist: Added internal functions _view_create and _view_style_update
for the commonly used codes.
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 9c81e0e02a genlist: Unbreak double click smart callback.
Fixed a typo in my commit adb976e.
2014-08-22 03:42:11 +09:00
Daniel Juyung Seo 4b4ed72181 gengrid, list: Use newly introduced macros internally.
ELM_GENGRID_DATA_GET_FROM_ITEM and ELM_LIST_DATA_GET_FROM_ITEM.
2014-08-22 03:09:10 +09:00
Daniel Juyung Seo 408e334bf6 list: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 03:02:01 +09:00
Daniel Juyung Seo fc4a3a840e gengrid: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 02:48:29 +09:00
Daniel Juyung Seo 4a398c6ee9 genlist: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 02:47:24 +09:00
Daniel Juyung Seo 844ff540cb gengrid: Fixed _item_unselect to check select value not highlight value.
This caused infinite loop in a DISPLAY_ONLY mode on clicking an item.

@fix
2014-08-22 01:12:38 +09:00
Daniel Juyung Seo 509112325d gengrid, genlist, list, toolbar: Fixed DISPLAY_ONLY select mode for an object.
DISPLAY_ONLY select mode for elm_xxx_item_select_mode_set works fine but
elm_xxx_select_mode_set was broken.

@fix
2014-08-22 01:12:38 +09:00
Daniel Juyung Seo 24b442c355 elm: Added more documentation about the select_mode enum. 2014-08-22 01:12:34 +09:00
Daniel Juyung Seo 4556d4e5ef gengrid, genlist, list: Changed %c to @p for parameters in the documentation. 2014-08-21 23:51:22 +09:00
Jae Yong Hwang 9a13ed55fc genlist: Fixed item select logic when item select mode is ALWAYS.
Summary:
ELM_OBJECT_SELECT_MODE_ALWAYS mode for elm_genlist_item_select_mode
was broken. In the item select routine, item mode(it->mode) was not
checked. So, I added the check routine there.

@fix

Test Plan: I revised the elementary_test code and tested with that.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: SanghyeonLee, bluezery

Differential Revision: https://phab.enlightenment.org/D1347
2014-08-21 22:54:22 +09:00
Daniel Juyung Seo f66453d82e notify: fix notify to keep the consistency even that was wrongly implemented.
According to hermet's review comments, let's keep the consistency even
if it was wrongly implemented.
2014-08-21 22:45:01 +09:00
Daniel Juyung Seo 7804b92b18 Revert "Revert "elm_notify: fixing style applying""
This reverts commit 2e2d003efeded27955cc9301279cd3a0d362f548.

Revert this patch to leave the credit to Andrii Kroitor.
I will fix this correctly in the next commit.
Sorry Andrii for the wrong review comments that can break compatibility.
But actually it was not documented at all so there was no problem.
Just to please hermet, let's not do more.
2014-08-21 22:39:51 +09:00
ChunEon Park 34b07e19ed Revert "elm_notify: fixing style applying"
This reverts commit 0ca13c33cd1e89c85793b1d3f5245d86459e051c.

Sorry this can't be pushed cause of compatibility break.
2014-08-21 20:13:17 +09:00
ChunEon Park edd1f32d83 Revert "notify: changed internal formatting for readability."
This reverts commit a2afbe91e851f3d943736d2a1aae9e2721d1a0d5.

definitely this will break compatibility.
and as i mentioned, we should prevent as possible that
until there are other methods.
2014-08-21 20:09:58 +09:00
Tom Hacohen d24479610b Win: Add an animator,tick event (not currently implemented).
This event will be used to replace ecore_animator.
2014-08-21 11:04:28 +01:00
Tom Hacohen dc8ca9d436 Prefs: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 307e03c1b1 Image: Use image interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen ee6cd98784 Video: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen dd99ee34fd Layout: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen eb5cdaf088 Thumb: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 0b9ec03952 Photo: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 282e21a10a Bg: Use file interface 2014-08-21 11:04:28 +01:00
Tom Hacohen 4cc392ce5e Image: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 157d819572 Adjust functions to use the new efl interfaces. 2014-08-21 11:04:28 +01:00
Daniel Kolesa c159cb2ebc update according to Eolian syntax changes 2014-08-21 09:27:32 +01:00
Daniel Juyung Seo 5df0b2e104 notify: changed internal formatting for readability. 2014-08-21 01:19:17 +09:00
Andrii Kroitor 83c40037fe elm_notify: fixing style applying
Summary:
added support of bottom_left, bottom_right, top_left, top_right styles
of notify that are present in default theme

@fix

Reviewers: cedric, seoz, Hermet

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1329
2014-08-21 01:19:17 +09:00
Daniel Juyung Seo c231ed781a map: added missing since tag for a new api. 2014-08-21 00:08:48 +09:00
Stefan Schmidt d18c89b77c tests: Ship elm_test_helper.h in dist tarball
This is a first step to run elm make check during distcheck.
2014-08-15 12:03:23 +02:00
Boris Faure 354ab4683e slider: update documentation on elm_slider_step_set/get (since 1.8) 2014-08-15 11:01:52 +02:00
ChunEon Park c81683ba5a entry: fix clearing selection region problem while it's already selected.
if entry has selection, it would be cleared if selection region set is requested again.
because entry cancel the selection area after it reset the selection area.
unfortunately, the selection area is new selection so selection area is gone.

this patch prevent clearing selection and keep the new selection.

@fix
2014-08-15 17:44:13 +09:00
Daniel Juyung Seo 6ddbdfdbd0 doc: removed @ from @since if it needs to be inlined the documentation. 2014-08-14 00:42:43 +09:00
Daniel Juyung Seo 84c5cc64f1 panel: changed wrong term - drawer - in panel.
drawer is not an official terminology in panel.
2014-08-14 00:32:34 +09:00
Daniel Juyung Seo 46c96ef433 radio: added quotes for smart callback name in the documentation. 2014-08-14 00:22:52 +09:00
Savio Sena 791d1dbcaf elm++: Update C++ examples to use the new API. 2014-08-13 11:36:40 -03:00
Daniel Juyung Seo ad5d950bf1 doc: added @c for eina bool in the documentation. 2014-08-13 19:50:38 +09:00
Carsten Haitzler c1a7135369 elm - do not do x11 main/config stuff without DISPLAY set
the engine checks are also broken - but that's a much bigger change,
so this fixes elm config and main code to not do their x11 work if no
DISPLAY env var is set. this is right for a wayland world where you
don't want DISPLAY but WAYLAND_DISPLAY set and used. this fixes
several ERRs that should never have hapapned in this setup.
2014-08-11 08:21:03 +09:00
Carsten Haitzler 6922450ec9 elm win - fix invalid use of elm engine config per window
lots of code unsing ENGINE_COMPARE where it should get the engine from
the ecore_evas directly - it happened to work as we happened to have
apps that have windows only for x11, or wayland etc, but not both in
an app. this was wrong, so remove the engine compare macro and do it
properly. no laziness.
2014-08-11 08:01:45 +09:00
zmike fc26cb04da gengrid once again selects items using keyboard when no item was previously selected
this was yet another thing broken by the mostly-unreviewed and untested widget item focus feature. it's still not completely fixed, since the reorder modes are broken, but at least it works for the general case again

@fix
2014-08-10 14:30:34 -04:00
Davide Andreoli 4052f7521e Genlist: do not segv if the user clear the list on item double-click
@fix
moved the user callbacks call at the end of the function, so the user
is able to modify the list without making the code below the call to
fail miserably.

Also improved the Genlist Del test to also include this case.
2014-08-09 17:53:46 +02:00
Davide Andreoli 922055f9c7 blank line --
Remove an unwanted blank line from my previous commit
2014-08-09 15:59:39 +02:00
Davide Andreoli 3235f96eb1 Gengrid: fix position calculation
@fix
To calc the position in a table you need to make the modulo of the col/row size, not the modulo on the x/y value

This unbreak the elm_gengrid_item_pos_get() function that was reporting wrong values
2014-08-09 15:47:59 +02:00
Lukasz Stanislawski 5b0522c8af atspi: remove EAPI from elm_atspi_text_text_attribute_free
Issue reported by Stefan Schmidt. Above atspi function had EAPI attribute
defined in implementation file, however this symbol should not be public in
elementary 1.11.
2014-08-08 11:17:00 +02:00
Carsten Haitzler 2b6ae14af0 elm cnp - remove usless check/code according to CID 1193248 2014-08-08 16:45:28 +09:00