Commit Graph

10780 Commits

Author SHA1 Message Date
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
Carsten Haitzler 84bec552c9 theme - improve efm icons provided by ApB
this fixes T575 wishlist item and improved the icons in default

@feature
2014-08-27 18:12:44 +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 a2be4ab2a4 elm config - dont need default engine in config anymore 2014-08-26 19:27:07 +09: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
Kai Huuhko 73bb594b38 Fix build after TAsn's interface work
Elm wasn't linking against libefl so the build would error out with
missing symbols.
2014-08-23 16:42:28 +03: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 eb6068e57b po: updated po 2014-08-23 02:33:22 +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 f1440487f7 Configure: Add libefl's .eo file in eolian include path. 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 da452ed18f NEWS: keep the convention with other lines. 2014-08-21 01:19:58 +09: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
Stefan Schmidt f02878d16c configure: Switch to dev mode again and set version to .99
Merge window for 1.12 is open.
2014-08-20 18:00:12 +02:00
Stefan Schmidt 695f4c629b release: Update NEWS and bump version for 1.11.0 release 2014-08-20 17:40:39 +02:00
Daniel Juyung Seo b6585de943 NEWS: cleaned up new file for the 1.11 release. 2014-08-21 00:08:48 +09:00
Daniel Juyung Seo c231ed781a map: added missing since tag for a new api. 2014-08-21 00:08:48 +09:00
ChunEon Park 110c7f3651 README: fix typo. 2014-08-20 23:22:02 +09:00
Carsten Haitzler feeffa881b e theme - screen suspend/locl/resume etc, make black rect on noeffect
this makes the black rect etc. appear instantly even if no effects are
selected for comp - this should cover up lockscreen and other stuff on
suspend/shutdown/resume etc. like fading does. this should fix T1498
2014-08-18 11:47:42 +09:00
Mike Blumenkrantz c27c4bb979 my 1.11 NEWS updates 2014-08-15 08:36:09 -04: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
Stefan Schmidt 5f5218a5af README: Cosmetic change to align underline with two digit version number 2014-08-14 11:31:13 +02:00
Daniel Juyung Seo 2331e121aa po/ko: updated Korean translation. 2014-08-14 00:50:59 +09:00
Daniel Juyung Seo 4297f6a620 po: update po due to string changes. 2014-08-14 00:49: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 ac06838b11 autotools: Renamed --disable-c++11 to --disable-cxx-bindings.
The name was misleading.
2014-08-13 11:36:41 -03:00
Savio Sena 791d1dbcaf elm++: Update C++ examples to use the new API. 2014-08-13 11:36:40 -03:00
maxerba afe8588be1 Updating italian translation 2014-08-13 14:17:07 +02:00
Daniel Juyung Seo ad5d950bf1 doc: added @c for eina bool in the documentation. 2014-08-13 19:50:38 +09:00
Daniel Juyung Seo 7ff1882d3f button: fix hoversel and button fixed: 1 1 warning in the same way.
Now both hoversel and button are usable.
This is easiest way to fix the bug. But why it didn't work well even
hoversel inherit button default style?

Revert "button: revert this patch because this patch just broke hoversel."

This reverts commit 3238c8787511aaf69b755760b24f1aa518477d75.
2014-08-13 03:13:18 +09:00
Daniel Juyung Seo 69281aea8b button: revert this patch because this patch just broke hoversel.
hoversel is now usable. let's fix the button warning message with more
considerations.

Revert "button: add fixed 1 1 in case that text is not used."

This reverts commit efd33ddb5ba51dccaee2734e8a7add18801d9285.
2014-08-13 02:03:46 +09:00
Mike Blumenkrantz a73ef53909 force desklock theme min sizing on text
fix T1468
2014-08-11 20:24:14 -04:00
ChunEon Park e61c0f9141 button: add fixed 1 1 in case that text is not used.
If only icon is used in a button, it prints error message regarding fixed 1 1;

This resolved the problem.
2014-08-11 21:52:46 +09:00
ChunEon Park 9dddb7e61e panes: add fixed error message.
Draggable area could be zero size if user set the panes content size
with elm_panes_xxx_size_set().

In this case, it prints fixed messages.

now, it's gone and i tested with various cases for any side effects.
2014-08-11 21:42:03 +09:00
Stefan Schmidt 219c809b87 release: Update NEWS and bump version for 1.11.0-beta2 release 2014-08-11 12:54:59 +02: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
Davide Andreoli 38de4618ff doc: sync changes made in efl
* show footer with usefull info
* nested lists are more compact
* avoid packed effect on bullet lists
* @since colored and on a single line
2014-08-08 18:10:52 +02:00
Stefan Schmidt 232ca7b67b configure: Use the same default CFLAGS/LDFLAGS as we do for EFL
Especially the -fvisibility=hidden would be needed here for our EAPI handling.
I never realised we miss this here but Lukasz Stanislawski pointed me to it
when we wondered why it linked ofr him with missing EAPI but not for me.

I'v compiling and releasing elm like this for a long time now so I don't
expect any trouble but if something strange comes up we can still revert it
before 1.11 final.
2014-08-08 16:01:45 +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
Carsten Haitzler b0d9d4977d elm gengrid - fix CID 1222464
it's possible to have a NULL item in this code - also missing a valid
return at the end (though code path never gets there).
2014-08-08 16:23:10 +09:00
Carsten Haitzler f712ac567b elm entry - fix CID 1194480 in coverity
if sd->append_text_left was still set, free it - in case it was and
idler was not set.
2014-08-08 16:16:42 +09:00
q66 38645b22b1 autotools: install .pc files to the correct directory on FreeBSD 2014-08-07 22:49:09 +01:00
Daniel Juyung Seo 5a4ca7008f widget: added warnings to internal headers.
These headers are installed in the system but not officially supported
as they are considered as internal headers.
The reason why they still need to be installed is that
   - they were exposed even in the previous releases.
   - they are needed for widget customization (unofficially)
   - or it will break ewe.

Special thanks to Stefan for the reporting.
2014-08-08 01:29:39 +09:00
Stefan Schmidt edd78dc90f gengrid: Fix since version for new elm_gengrid_reorder_type_set()
Looks like it was developed in the 1.10 timeframe but only made it into the
repo after the 1.10 release. Will be part of 1.11 so adjust it.
2014-08-07 16:48:47 +02:00
zmike 6acccd1dff photocam should reset its preload when a new file is loaded
this prevents infinite busy animations

@fix
2014-08-07 10:36:20 -04:00
Gwanglim Lee b79405e8d7 win: Don't call ecore_x_screensaver APIs if elm win doesn't have X11 window
Summary:
Elementary application crashes on startup when it is running with
wayland engine. This crash problem happens while ecore_x_screensaver API
is being called from _win_noblank_eval funcion. Thus we should not call
ecore_x_screensaver APIs if elm win doesn't have X11 window.

Test Plan:
1. build efl and elementary to support x11 and also wayland
1. run weston without xwayland
2. run elementary_test on the weston

Reviewers: raster, seoz, stefan_schmidt, devilhorns

Differential Revision: https://phab.enlightenment.org/D1293
2014-08-07 10:19:24 -04:00
Chris Michael ba10e7261a elementary: Handle case where ELM_ENGINE environment variable is
misspelled.

In case someone exports the ELM_ENGINE to be wayland-shm or
wayland-egl, let's handle That case also. Typically it is set to
wayland_shm or wayland_egl but since we check variants of spelling for
other engines also, then let's check it for the wayland engines too.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-07 10:10:45 -04:00
Stefan Schmidt c27476de4f shot.sh: Set ELM_DISPLAY to bring the elm shot engine back to life
As a small fallout from e7dbe063c9c044f072bacafd31ab872f6210788b we now
need to set ELM_DISPLAY with our system has something like $DISPLAY or
$WAYLAND_DISPLAY set. Elm uses that now to find out which window system
to use.

In the case of daing make doc we want it forced to shot even if we run
under X. With ELM_DISPLAY we do that. Thanks goes to raster for the
explanantion and git bisect for pinning it down.
2014-08-07 09:23:19 +02:00
Carsten Haitzler a32410f0e1 elm win - only auto choose x11/wl based on envvar if ELM_ENGINE unset 2014-08-07 16:21:30 +09:00
Carsten Haitzler 4864bce07b elm config - fix leak on shutdown of config struct memmebers 2014-08-07 15:30:43 +09:00
Carsten Haitzler 8e894e9193 elm - fix data leak if config version bad in property. 2014-08-07 13:56:03 +09:00
Stefan Schmidt 572538e490 build: Make sure we don't redefine SCREENSHOTS but append to it
In 540741dd48d0720876a5e68b2aa4aa7a9d79b8a3 one screenshot was
moved into HAVE_CXX_11 guards to allow building with cxx11 disabled.

But in the case of cxx11 enabled we want all screenshots plus this
one so append here instead of redefine.
2014-08-06 10:59:49 +02:00
Chinmaya 7dbc9f48b6 Genlist: Fixed indentation.
Summary: Fixed indentation.

Test Plan: -NA-

Reviewers: seoz, raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1269
2014-08-06 13:58:52 +09:00
Anand c464abf99b genlist: removed unnecessary EINA_UNUSED macro
Reviewers: singh.amitesh, nirajkr, seoz

Reviewed By: seoz

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1270
2014-08-06 13:56:07 +09:00
Daniel Juyung Seo 95b7382d20 win: initialize the internal variable. fixed uninitialized pointer read.
This fixes coverity CID 1230297.
2014-08-06 09:01:26 +09:00
Carsten Haitzler 3b9ecf8c80 elm config - expose vsync config so people can turn it on
just modifies config tool so vsync can go on as it should given efl
vsync work etc.
2014-08-06 00:08:44 +09:00
Carsten Haitzler f54afe89cc elm - add apis to deal with accel perference
this deals with an issue brought up today on irc - seemingly rage
asking for accel is causing segvs in vbox with its gl accel subsystem
- the only way to disable this is an env var, and this is unfriendly,
so make config gui and stuff to mess with accel preference to fix this.
2014-08-06 00:04:11 +09:00
Stefan Schmidt 8582b2e149 release: Update NEWS and bump version for 1.11.0-beta1 release 2014-08-04 19:55:11 +02:00
Mykyta Biliavskyi 36ac3603d7 ctxpopup: Fix wrong popup size.
Summary:
In case, when ctxpopup content have larger size than parent object, (by height, width or both) was resized popup at the full width or height of parent object size.
@fix

Reviewers: raster, seoz, cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1266
2014-08-04 19:47:18 +09:00
Mykyta Biliavskyi 8b84bede4f ctxpopup: fix arrow geometry set.
Summary: edje_object_part_geometry_get - always returns 0, 0 geometry of arrow. On taking geometry directly from part - get real values. @fix

Reviewers: Hermet, cedric, seoz

Subscribers: Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-04 11:27:31 +02:00
Daniel Juyung Seo d9e6ad9ca1 gitignore: ignore a generated file. 2014-08-04 01:27:19 +09:00
Daniel Juyung Seo b89b4d5866 fileselector: renamed internal variable to reduce confusion.
This fixes coverity CID 1229550.
2014-08-03 23:56:43 +09:00
Davide Andreoli 0aae7d2b4e Gengrid: fix search_by_text_item_get() text_get call
The text_get function was called with the wrong params, now its usage is consistent with the rest of the code.
2014-08-01 17:28:24 +02:00
Davide Andreoli 139a1ddb08 Genlist: fix search_by_text_item_get() text_get call
The text_get function was called with the wrong params, now its usage is consistent with the rest of the code.
2014-08-01 16:29:16 +02:00
Igor Murzov d8f128d7ea Update russian translation 2014-08-01 13:29:02 +04:00
Stefan Schmidt f08705ec52 release: Update NEWS and bump version for 1.11.0-alpha1 release 2014-08-01 10:53:18 +02:00
Stefan Schmidt 894ebfb476 build: Avoid -shared LDFLAG to allow me to have a working distcheck
The -shared option in LDFLAG somehow is poisoning the configure run inside
distcheck. This results in the compiler test getting a segfault and failing.

I would really like to understand why this is needed to be set here manually
anyway. Same for fPIC and dPIC. I would expect that we leave this to the user
compiling the code or the packager. Skimming through the log only brought up
fixing c++11 globally. Not really a commit message that helps me to
understand why this is needed...
2014-08-01 09:56:29 +02:00
Daniel Juyung Seo 58aa3cd2c0 test.edc: set ellipsis as -1 if text min is 1 X. 2014-08-01 13:13:01 +09:00
Daniel Juyung Seo 75b3a73af9 naviframe: set EINA_UNUSED for the unused variable. 2014-08-01 13:10:34 +09:00
Daniel Kolesa 44f45204db move the cleanfiles away from if to make it work without C++11 2014-07-31 15:29:46 +01:00
Daniel Kolesa 54065246d6 fix distcheck by adding generated .eo.hh to cleanfiles 2014-07-31 15:27:49 +01:00
Jaehyun Cho 158134c6d9 elc_naviframe: Fix warning caused by elm_obj_layout_signal_emit override function in naviframe
Summary: Fix the elm_obj_layout_signal_emit override function in naviframe to prevent warning

Reviewers: seoz, Hermet

Reviewed By: Hermet

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

@fix
2014-07-31 22:06:27 +09:00
Jaehyun Cho 9cf340ba0d elc_naviframe: Fix access info set for naviframe prev_btn and next_btn.
Summary: Do not set access info for naviframe prev_btn and next_btn when their access info are already set.

Reviewers: Hermet, kimcinoo

Reviewed By: kimcinoo

Differential Revision: https://phab.enlightenment.org/D1255
2014-07-31 21:57:45 +09:00
Sanjeev BA fad579d6d7 Fix typos in docs.
Summary: Signed-off-by: Sanjeev BA <as2902.b@samsung.com>

Reviewers: tasn

Subscribers: tasn

Differential Revision: https://phab.enlightenment.org/D1251
2014-07-30 02:54:27 +01:00
Felipe Magno de Almeida eb82d1b30c Fixed trying compiling C++ examples with --disable-c++11
The Makefile.am in examples weren't conditioning the compilation of
C++ examples when C++ is disabled in configuration of elementary.
Which made the compilation to fail when --disable-c++11 is
used (in EFL or elementary) on C++ examples.
2014-07-30 08:43:48 +09:00
Felipe Magno de Almeida fae1461336 Fixed C++ box_cxx_example_02.cc example compilation
The example didn't include "elm_interface_atspi_widget_action.h" and
so failed on headers that used the type Elm_Atspi_Action in the
function's prototypes.
2014-07-29 00:28:10 -03:00
Lukasz Stanislawski 09b9ef0bc0 atspi: expose more actions through atspi bus.
Summary:
Main purpose of exposing widget actions and keyboard shortcuts
is to allow accessibility clients to implement alternative methods
of GUI navigation.

Reviewers: z.kosinski

Reviewed By: z.kosinski

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1227
2014-07-25 11:58:16 +02:00
Zbigniew Kosinski d22bf48eb8 atspi: value interface implementation for elm_spinner
Reviewers: stanluk

Differential Revision: https://phab.enlightenment.org/D1122
2014-07-25 10:13:15 +02:00
Cedric BAIL 7ee0b1c86a elementary: remove duplicated include. 2014-07-25 08:40:04 +02:00
Chris Michael bd94e8c0b7 elementary: Fix segfault when running elm apps under wayland
Don't call ecore_x functions unless we are running under an
X11-compatible engine, else we get segfaults in elm_apps.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-24 14:09:06 -04:00
Carsten Haitzler e741a19b21 fix genlist/grid search item patch to be simpler and just better
better - why?

1. no reliance on fnmatrch headers - have special enums for this so
fnmatch is an internal detail (casefole may not exist)
2. don't leak strduped strings - free them when done
3. have the same code for genlist and grid (dup for now until an
interface makes it the same search interface)
4. improve docs
5. get right @since version
6. use label get func in item class - providing a func won't work when
multiple items of multiple classes exist in the list
2014-07-24 12:41:33 +09:00
Felipe Magno de Almeida e455a0f640 Fix C++ box_cxx_example_02.cc and removed text_part_{set/get} from elm_button
As discussed in IRC, the commit that added text_part_set,
text_part_get functions to elm_button are wrong. The correct functions
to be used are from elm_layout: text_set and text_get.

Fixed the example to use these functions that are inherited on
elm_button from elm_layout and fixed the cleanup of childrens
in the parent window by using the del event callback.
2014-07-23 16:51:01 -03:00
Felipe Magno de Almeida 9c8e7e9d33 cxx: Fixed --disable-c++11 option
The use of AM_CONDITIONAL for setting LDFLAGS and CXXFLAGS was wrong
because it ends up setting HAVE_CXX11 unconditionally.
2014-07-23 14:54:03 -03:00
Jyotiprakash Sahoo d9f14f194b gengrid: Add function to search item by string.
Summary: This function allows user to search for item in Gengrid.

Test Plan: elementary_test -to "Gengrid Item Search By Text"

Reviewers: seoz, singh.amitesh, Hermet, raster

Differential Revision: https://phab.enlightenment.org/D1178
2014-07-23 11:35:20 +09:00
Carsten Haitzler 274a2c9928 update po's 2014-07-23 11:14:32 +09:00
Ryuan Choi 39cde4d628 test_sys_notify: Refactoring to solve weird behavior when tested with more then two instances
- _ev_handler can't know whether elm_win still exists, so changed log style from notify to printf.
  In addition, release the callbacks when elm_win is destroyed.
- use elm_sys_notify_send instead of elm_sys_notify_simple_send to show more functionality.
- remove static variables not to print warnings when with more than two test_sys_notify pannel.
2014-07-23 11:01:41 +09:00
Daniel Kolesa 642049022a update according to eolian changes 2014-07-22 17:13:52 +01:00
Daniel Kolesa 421db0d542 update according to EFL 2014-07-22 16:36:29 +01:00
Daniel Zaoui 63168c996f Elm_Map: port API to eo file.
This function has to be described in elm_map.eo so Eolian can
generate the legacy and Eo APIs.
2014-07-22 13:59:41 +03:00
Cedric BAIL de68623981 autotools: we actually do want portability warning.
This tell people that are running our autogen they need to use gnu make and
not report issue if they don't.
2014-07-22 12:19:05 +02:00
Savio Sena dbe42313e1 autotools: Fixed C++ build globally.
Previously I removed -fPIC from example LDFLAGS and CXXFLAGS. Now
I'm adding "-fPIC -DPIC" to configure.ac conditioned to HAVE_CXX11.

This commit fixes 'make check'.
2014-07-22 06:56:04 -03:00
Savio Sena fc4ef12519 autotools: Fixed 'make check' for elm++ example.
Shouldn't pass -fPIC explicitly. Autoconf should be able to determine that.
2014-07-22 04:43:44 -03:00
Anand 8b6ac56dc3 genlist: Focus highlight when loop is enable
Summary:
This patch is dependent on D1193 and D1136.
It will be pushed after D1193 and D1136 patch.

Reviewers: singh.amitesh

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

Conflicts:
	src/lib/elm_genlist.c
2014-07-22 15:57:32 +09:00
Carsten Haitzler 37652828e3 add ignore for generated .hh eo files 2014-07-22 15:54:44 +09:00
Hosang Kim 105ee3660d genlist : Add item looping on flag.
Summary: When item looping feature is on and press up or down key, screen seems to be frozen.

Test Plan: elementary_test -to "genlist focus" -> click item looing enable -> move list up and down

Reviewers: anand.km, seoz, woohyun

Subscribers: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D1193
2014-07-22 15:11:18 +09:00
Tae-Hwan Kim 00f6438bad map: Add missing legacy API into legacy header
Summary: @fix

Reviewers: raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D1164
2014-07-22 14:36:44 +09:00
Jihoon Kim ad04665d21 tests: fix shadow variable build warning
elm_test_clock.c:15:23: warning: declaration of ‘clock’ shadows a global declaration [-Wshadow]
elm_test_index.c:15:23: warning: declaration of ‘index’ shadows a global declaration [-Wshadow]
2014-07-22 11:06:33 +09:00
Savio Sena 3542247e89 autotools: Fixed errors and warnings.
Removed portability warnings from Automake.
Removed *.eo.hh from BUILT_SOURCES.
Fixed some redeclaration of variables.
Added datarootdir and datadir to elementary.pc.in.
2014-07-21 21:00:31 -03:00
Savio Sena 1909a728fd atspi: Fixes order of typedefs
(8ef9f49 continued...)
2014-07-21 20:59:38 -03:00
Savio Sena f83aad7bfa elementary++: Added missing includes.
This fixes 'make check'.
2014-07-21 20:58:28 -03:00
Felipe Magno de Almeida c65ecb4445 c++: Added workaround for correct unref times
The legacy functions do unref after construction of the object. Which
doesn't happen on the eo_add calls directly. So it is needed to do
two unref's before letting the parent own the child.
2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida 123040ea48 cxx: refreshed example 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida b12f6f55be cxx: Changed C++ example to use lambdas 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida b546141396 Removed C-style code from C++ example 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida aea51868e3 Added simple, initial, C++ example 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida 01c822a360 Added part_text_get/part_text_set and text_get/text_set to elm_button
Added part_text_get/part_text_set and text_get/text_set to elm_button
to eolianized API.
2014-07-21 20:53:12 -03:00
Savio Sena 561ae48822 autotools: Add eolian-cxx to elementary.
Conflicts:
	src/lib/Makefile.am
2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida b0e9d30a9e Fixes order of typedefs
C++ compilers refuse to compile typedefs for types not declared yet.

The typedefs in the elm_interface_atspi_accessible.h were out of order
with the definition (and consequently its declaration) of its struct.

This fixes by modifying the order of the typedefs to be after the
struct definition.
2014-07-21 20:53:12 -03:00
Mike Blumenkrantz c26287da4c fix notification theme to not clip text
@fix
2014-07-21 14:02:57 -04:00
Lukasz Stanislawski 14d4863446 atspi: always set atspi role for elm_win 2014-07-21 18:37:41 +02:00
Zbigniew Kosinski 18ca7d8eb5 tests: check required interfaces implementation by widgets
Reviewers: stanluk, raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D944
2014-07-21 18:23:48 +02:00
Lukasz Stanislawski 7205de042a tests: refactor of atspi test suite
Summary:
elm_test_atspi adjusted to recent internal api changes. Tests regarding elm_win
moved from elm_test_atspi to elm_test_win. Entry tests fixed. Test to
Atspi_Selection interface temporary skipped.

Reviewers: z.kosinski

Reviewed By: z.kosinski

Differential Revision: https://phab.enlightenment.org/D1199
2014-07-21 17:33:56 +02:00
Lukasz Stanislawski 6ba1627f8e atspi: fix mem leak in attributes free function 2014-07-21 15:44:16 +02:00
Amitesh Singh 92f928dd4d gengrid: corrected the reorder start and end evas smart callback call.
Summary: @fix

Reviewers: seoz, raster

Reviewed By: raster

Subscribers: raster, seoz

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

Conflicts:
	src/lib/elm_gengrid.c
2014-07-21 19:14:40 +09:00
Amitesh Singh d6f308d1d6 focus: Added internal widget APIs of focus highlight object of elm window.
Summary: This is required to support the animation of focus highlight object in case of item looping (genlist/gengrid/list).

Reviewers: seoz, woohyun, raster

Reviewed By: raster

Subscribers: anand.km, seoz

Differential Revision: https://phab.enlightenment.org/D1136
2014-07-21 19:04:27 +09:00
Anil Kumar Nahak 76e3372531 Focus: first item should be focused when there is no focused/selected item
Summary: First item of widget should be focused when focus comes to the widget for first time.

Test Plan:
elementary_test -to "Genlist Focus"
elementary_test -to "Gengrid Focus"
elementary_test -to "List Focus"
elementary_test -to "toolbar Focus"

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D1135
2014-07-21 18:55:55 +09:00
Carsten Haitzler 52ab06e169 elm theme - add blank cursor type in theme 2014-07-21 13:07:18 +09:00
Carsten Haitzler 057611a7e4 elm win noblank property added - to disable screen blanking/saving
@feature

this adds a per-window property of "noblank". this implies turning
offf the screensaver whenever there is a window visible with this
property set on it. only x11 support atm.
2014-07-21 11:39:32 +09:00
Carsten Haitzler 138ab6509d dbus warn-- 2014-07-20 12:21:54 +09:00
Daniel Juyung Seo 3e8499942b button.edc: partial apply for the newly adopted sexy edc structure. 2014-07-20 06:01:30 +09:00
Daniel Juyung Seo e9bcb8f2a5 gitignore: do not track generated files. 2014-07-20 05:22:36 +09:00
Daniel Juyung Seo e01e7683e6 examples: Call window object show after its content creation.
Window show call triggers all smart objects' smart calculation
and in case of X11, XMapWindow() is called directly.
Also moved resize of window accordingly.
2014-07-20 05:21:08 +09:00
Daniel Juyung Seo 2782c35fbc example/evas3d: set the window name as other example codes.
__WIN__ is too distinguishable.
2014-07-20 05:08:41 +09:00
Daniel Juyung Seo 8d74e140c4 systray: fixed wrong struct initializer.
This fixes the following build warning.

elm_systray.c:294:1: warning: excess elements in struct initializer
[enabled by default]
elm_systray.c:294:1: warning: (near initialization for '_iface_desc')
[enabled by default]
2014-07-20 01:59:31 +09:00
Daniel Juyung Seo fb09956f86 test_toolbar: clean up clicked callback usage.
- Removed unselected handling routine. As this is clicked callback,
 there will be no unselected status for the clicked item in clicked
 callback.
- Removed check for event_info. In the clicked callback, event_info
 should be always valid.
- Changed internal variable name for the more item.
2014-07-20 01:52:48 +09:00
Daniel Juyung Seo 76d8d7d277 elm: use @p for parameters in doxygen. 2014-07-20 01:50:06 +09:00
Daniel Juyung Seo fbf2c58127 toolbar: added selected and unselected smartcallbacks to toolbar.
- Item based widget should emit this signal. This is good for the
consistency and makes application developers easy to guess.
- Added test case to elementary_test -> toolbar

@feature
2014-07-20 01:46:35 +09:00
Daniel Juyung Seo 3b83fc3b93 toolbar: changed internal variable name sanely.
Do not need to use 'obj2' as an object variable name as we can use 'obj'
as usual.
2014-07-20 01:20:10 +09:00
Daniel Juyung Seo 2bfacb3942 list: fixed wrong indentation. 2014-07-20 00:59:23 +09:00
Daniel Juyung Seo bf13cdc72e test_toolbar: removed unnecessary EINA_UNUSED.
event_info is used.
2014-07-20 00:58:59 +09:00
Daniel Kolesa f1aba06a0a update according to latest eolian changes 2014-07-18 17:30:06 +01:00
Jaeun Choi e8d9356cb9 notify: removed unnecessary lines 2014-07-18 19:36:39 +09:00
Jaeun Choi 6ce0f6b4b2 list: call "selected" callback after set focus to the selected item
in current code, when a list item is selected, "selected" callback is called first
and then focus is set to the item. this is a problem if another widget, popup for instance,
is created on top of the list in the callback function. in such a case, the popup should
get focused (not the list item). this patch fixes it by changing the order.

@fix
2014-07-18 19:34:13 +09:00
Stefan Schmidt be06709712 popup: Remove unused variable.
int_ret was never used here. Looks like a copy and paste error.
2014-07-18 12:07:29 +02:00
Zbigniew Kosinski 9c3547f270 atspi: Orca is able to read slider value changes
Reviewers: stanluk

Differential Revision: https://phab.enlightenment.org/D1012
2014-07-18 11:47:48 +02:00
Chris Michael 1db0e58c31 elementary: Don't segfault if we are not using an X11-compatible engine
When running Enlightenment under Wayland only, during init of E we
make a call to elm_config_all_flush. elm_config_all_flush is making
calls to ecore_x_window function(s) (for setting of elm_profile),
However this causes a crash if the ELM_ENGINE is not one that is
running under X11 (ie: ELM_ENGINE=drm or wayland_*). So to fix this
crash, we will compare the current ELM_ENGINE and see if it is
X11-compatible before making unnecessary (and crashing) calls to
ecore_x_window functions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-17 12:54:13 -04:00
Ryuan Choi 057d5456c6 tests: Pass the interval to elm_test_helper_wait_flag for the caller to change
Like JackDanielZ suggested.
2014-07-17 22:36:31 +09:00
Daniel Juyung Seo 568a47c19d mailmap: added Wonguk Jeong's information. 2014-07-17 22:12:07 +09:00
Ryuan Choi 4938a7c246 tests: Add elm_test_helper_wait_flag to avoid infinite loop
Test of elm_fileselector_selected and future tests may have conditional loop
which some flag.
This patch adds elm_test_helper_wait_flag, simple wrapper of the loop with timer
in order to exit the loop when expected callbacks are not called.
2014-07-16 23:31:58 +09:00
Jaeun Choi f7c43bff97 popup: code refactoring
Popup has an abnormal parent-child tree as follows, and this patch fixes it.

 - when popup is created, it creates a notify as a child and the tree is [parent - popup - notify].
 - when popup is visible, it is set as a content of notify and the tree is [parent - notify - popup].
 - when popup is hidden, the tree is reverted.

To fix this, I made an internal layout and set it as the content of notify
so that the tree remains as [parent - popup - notify - layout] all the time.
2014-07-16 22:45:29 +09:00
Daniel Kolesa a2849edf1d sync mailmap 2014-07-16 12:50:11 +01:00
Daniel Juyung Seo 6dd25fe3be mailmap: updated Tae-hwan Kim's mailmap again and keep in sync with efl/enlightenment's mailmaps.
Special thanks to Stefan for the advice.
2014-07-16 20:39:03 +09:00
Daniel Juyung Seo 1c3d895381 mailmap: updated Taehwan Kim's mailmap. 2014-07-16 19:58:00 +09:00
ChunEon Park cf4f298d5a transit - fix to adopt the tween_mode factor.
ACCELERATE, DECELLERATE, SINUSOIDAL modes didn't work with the tween mode factor before.
now it works.

@fix
2014-07-16 11:20:52 +09:00
Jaehyun Cho 72ab60a50b elementary examples: Add an elm_map example using evas3d
Summary: Add an elm_map example using evas3d. elm_map is shown in 3D or 2D.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1120
2014-07-16 11:00:52 +09:00
Daniel Kolesa ef221e45b2 update according to eolian syntax changes 2014-07-15 23:53:18 +01:00
Ryuan Choi 2e431dd299 Fix build break while building with --with-tests=regular
_elm_atspi_init and _elm_atspi_root_get was removed at 99a32ea4b
2014-07-16 07:19:25 +09:00
Tom Hacohen a4c9a3e20e Tests atspi: fix undefined reference.
Thanks to Ryuan Choi for reporting.
This was changed due to eolian changes.
2014-07-15 22:51:08 +01:00
Lukasz Stanislawski 3ce591c142 atspi: expose elc_naviframe "top_item_get" action through d-bus 2014-07-15 16:45:55 +02:00
Lukasz Stanislawski f9ad7f921a atspi: expose elm_image "activate" action through d-bus 2014-07-15 16:45:55 +02:00
Carsten Haitzler b32349d5d6 adjust to dbus interace struct.. back to where it was 2014-07-15 17:19:06 +09:00
ChunEon Park 0f6bb7fac2 genlist - fix a crash.
It allows NULL focused item.
let it null check.
2014-07-15 12:31:07 +09:00
Shobhit f4fea0abca genlist: Removed unnecessary calculation.
Summary: Removed unnecessary calculation from _elm_genlist_elm_widget_focus_highlight_geometry_get()

Test Plan: elementary_test -to "genlist focus"

Reviewers: seoz, Hermet

Reviewed By: Hermet

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1145
2014-07-15 12:15:53 +09:00
Amitesh Singh 6de233cfdb widget item: replaced eo_class_name_get call with eo_isa.
Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1170
2014-07-15 12:11:51 +09:00
wonguk.jeong 2b062fe557 list: remove annoying error msg on select
Summary:
on select below message was shown,

ERR<19329>: elm_main.c:1556 elm_object_widget_check() safety check failed: obj == NULL

Test Plan:
1. terminology -> options -> keys -> select item -> check error message
2. elementary_test -> list2 -> select topmost item -> check error message

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1185
2014-07-15 12:10:04 +09:00
wonguk.jeong de7dc33904 genlist: remove annoying error message
Summary:
content couldn't be always a elm widget.
After checking whether it's elm widget or not, use widget API

Test Plan:
terminology -> options -> font -> select font and check below error message

ERR<25935>:eo lib/eo/eo.c:603 _eo_call_resolve() in elm_widget.eo.c:8: you called func 'elm_obj_widget_focus_get' (213) which is unknown in class 'Edje_Object'.

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1186
2014-07-15 12:07:10 +09:00
Daniel Juyung Seo b0b527ab22 elm_win: added focused and unfocused smart callback descriptions.
This was removed by a commit 8519257.
The removal of redundant smart callback call was good but we need to
have these descriptions still.
2014-07-15 02:06:26 +09:00
Daniel Juyung Seo e36e9cf012 test_win_state: changed internal callback function name and splitted a focus callback for a better focus debug. 2014-07-15 01:05:47 +09:00
Daniel Juyung Seo b8eb31335d elm_config: updated color class api documentation. 2014-07-15 01:05:47 +09:00
Daniel Kolesa dbd2d0f893 update according to eolian changes 2014-07-14 16:54:20 +01:00
Daniel Kolesa a447e5d116 update according to eolian type changes 2014-07-14 16:26:14 +01:00
Kateryna Fesyna 34e2c8ae8a Win: Delete "focused" and "unfocused" signals emission because they duplicate Widgets signals
Summary:
"focused" and "unfocused" signals are emitted from Win and Widget. This causes
signals duplication when window is unfocused. To avoid this duplication, emission of these
signals is deleted from the Win.

Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1183
2014-07-14 19:30:25 +09:00
E_counter 12cf5047f1 Scroller: Added auto-hide and show features for UP, DOWN , LEFT and RIGHT arrows.
Summary:
hide UP ARROW, when there is nothing to scroll up; otherwise show UP ARROW.
hide DOWN ARROW, when there is nothing to scroll down; otherwise show DOWN ARROW.
hide LEFT ARROW, when there is nothing to scroll left; otherwise show LEFT ARROW.
hide RIGHT ARROW, when there is nothing to scroll right; otherwise show RIGHT ARROW.

Test Plan:
elementary_test-> scroller
check visibility of vertical-UP and vertical-DOWN arrows, when vertical-scrollbar is at position top, bottom or else-where.
check visibility of horizontal-LEFT and horizontal-RIGHT arrows, when horizontal-scrollbar is at position extreme-left, extreme-right or else-where.

Reviewers: raster, seoz, nirajkr, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1092
2014-07-14 18:02:11 +09:00
Daniel Kolesa 815acbc305 move all eo files to new builtin bool type 2014-07-11 14:44:47 +01:00
Carsten Haitzler 6930871d6f elm theme - fix wayland borders to be sized and colored correctly
@fix
2014-07-11 22:12:57 +09:00
Daniel Juyung Seo 4bd3170a9f elm_removed: remove undeprecated apis from the removed info. 2014-07-11 18:08:41 +09:00
Amitesh Singh b9efdea6d9 tooltip: corrected the typo in documentation of elm_object_tooltip_show
Summary: @fix

Reviewers: seoz, raster

Subscribers: shobhit, seoz

Differential Revision: https://phab.enlightenment.org/D1174
2014-07-11 15:14:05 +09:00
Lukasz Stanislawski e48cc8dbe7 atspi: expose elm_check "activate" action through d-bus 2014-07-10 14:13:15 +02:00
Lukasz Stanislawski d385caf4da atspi: improve code reusage
atspi d-bus signals have similar signatures, however use dbus variant type
to encode signal specific data. This patch adds utility function to construct
atspi dbus signal with custom variant data.
2014-07-10 10:18:53 +02:00
Daniel Juyung Seo e7e1b39014 gengrid, list: removed unnecessary condition check.
This is a successive commit of aac6e071e.
2014-07-10 00:46:52 +09:00
Daniel Juyung Seo e39781d834 examples: use a proper casting for 64 bit system by uintptr_t. 2014-07-10 00:45:47 +09:00
Shobhit 32c3bf41b5 genlist: Removed unnecessary condition check.
Summary:
Removed condition check from _elm_genlist_elm_widget_item_loop_enabled_set()

Reviewers: seoz

CC: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1144
2014-07-10 00:39:52 +09:00
Daniel Juyung Seo 05854d4156 test_genlist: removed unnecessary spaces. 2014-07-10 00:30:48 +09:00
Amitesh Singh 04bbda8911 gengrid: Added normal reorder type
Summary:
- Added Elm_Gengrid_Reorder_Type enum
- Added API elm_gengrid_reorder_type_set()
- Implemented the normal reorder type animation
- The old reorder type is changed to ELM_GENGRID_REORDER_TYPE_SWAP.
- ELM_GENGRID_REORDER_TYPE_NORMAL is the default reorder type.

Test Plan:
1. elementary_test->"Gengrid Focus"
2. Enable "Reorder Mode Enable"
3. Move the items by keys

@feature

Reviewers: raster, seoz

CC: seoz, chinmaya061, aryarockstar

Differential Revision: https://phab.enlightenment.org/D813
2014-07-09 15:09:43 +09:00
Jean-Philippe Andre 4d8e485fc8 elm_cnp: Break after we found the target we were looking for
Basic optimization of the search.
2014-07-09 09:09:16 +09:00
MinJeong Kim 0d530cd78f elm_cnp: Do not request for selection_set when buffer is empty
Summary:
When a wayland client requests selection_set, Wayland server doesn't care and doesn't know how long source data is.
so, it cannot ignore request for selection_set about empty buffer.
therefore to avoid copying empty buffer, it need to check length of buffer before request selection_set.

Test Plan:
1. Run "elementray_test -to entry5" with wayland server.
2. Drag text and try to paste.
3. Drag empty area in entry (request for selection_set on empty buffer is rejected)
4. Try to paste (you can see text of step 2).

Reviewers: devilhorns, raster, seoz

CC: gwanglim

Differential Revision: https://phab.enlightenment.org/D1146
2014-07-08 09:45:47 -04:00
Yakov Goldberg 4f0bc40b91 image: fix segv in elm_image_file_set() 2014-07-08 16:34:23 +03:00
Daniel Kolesa 42a84b759b update according to eolian changes 2014-07-08 14:16:04 +01:00
Carsten Haitzler 6d26a3b147 fix eldbus based warnings 2014-07-08 12:45:55 +09:00
Philippe Coval e41f35e927 edbus: fix dlopening of the right library.
Summary:
Change-Id: I94e3d39286df830ef07ed2bda0ec87fce34cec4a
Bug: T1354
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>

hotfix: look for versionned edbus lib

Without EFL application linked with edbus (deprecated DBUS API)
will fail to run and report this log :

  CRI<12610>:dialer dialer/rc.c:442 \
  rc_init() Elementary does not support DBus.

  CRI<12610>:dialer dialer/main.c:166 \
  elm_main() Could not setup remote control via DBus.

Bug: T1354
Change-Id: Id05ba2b5282243ccb566fc7b1ffb4b1e114004b1
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>

Test Plan: Bug-Tizen: TIVI-3234

Reviewers: cedric

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 19:22:41 +02:00
Carsten Haitzler 578d366d23 theme fix - fix disabled check, radio, toolbar with no label or icon 2014-07-07 16:58:00 +09:00
Jaeun Choi f5b762d5e8 panel: add scrollable feature
This implements scrollable interface in elm_panel so that users can drag open/close panel.
Tap & hold on the edge and panel handler will appear.

Left scrollable panel is implemented in elementary_test > Panel Scrollable.

@feature
2014-07-07 15:08:45 +09:00
yinsc 004bbb2dfc Fix T1289 issue: Elm entry text selection glitch
Summary: Fixes T123

Reviewers: zmike, seoz

CC: yinkair

Maniphest Tasks: T123, T1289

Differential Revision: https://phab.enlightenment.org/D1124
2014-07-07 12:42:43 +09:00
Chinmaya 84f5de5a74 Gengrid: In reorder & sd->horizontal mode, the condition must be checked for item_loop_enable set or not. Also added a check button to enable reorder mode in gengrid 2.
Summary:
The bug was there when reorder mode and sd->horizontal mode is enabled but item_loop_enable
is not set, then also the loop was occuring with right key event.

Test Plan: elementary_test -to "gengrid 2"

Reviewers: raster, seoz, eagleeye, SanghyeonLee

CC: seoz

Differential Revision: https://phab.enlightenment.org/D1121
2014-07-07 12:30:21 +09:00
Amitesh Singh 24ce4835c1 list/genlist/gengrid/toolbar: removed unused smart data member prev_focused_item.
Reviewers: raster, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D1119
2014-07-07 12:20:54 +09:00
Cedric BAIL 81cff04884 widget: move some callback infrastructure tu use Eo directly.
This save some serious amount of memory quite easily.
2014-07-06 19:08:56 +02:00
Ryuan Choi c4785994c4 elm_web: Remove elm_web.c from the list in POTFILES.in
Since afb1d4a1e, elm_web.c was removed.
2014-07-05 12:29:28 +09:00
Ryuan Choi f0642472c9 elm_web: Drop ewebkit backend (ewebkit2 is only available from now)
ewebkit was dropped from webkit.org
(https://bugs.webkit.org/show_bug.cgi?id=134087)
2014-07-05 01:43:43 +09:00
Ryuan Choi f0a7765980 atspi: Set roles for elm_web2
7f44b9f57 set roles for other widgets except elm_web2
2014-07-05 01:07:06 +09:00
Carsten Haitzler 8d09867755 fileselectior - fix to add explicit req on eio in elementary
this adjusts for edje no longer implicitly initting eio (should never
have been depended on anyway)
2014-07-04 14:30:11 +09:00
WooHyun Jung 81bec79aa5 toolbar: fix focus highlight bug in toolbar
When getting focus_highlight geometry from toolbar, there can be a case
that no item has focus. Then, geometry of toolbar should be refered.
2014-07-04 11:55:21 +09:00
WooHyun Jung 70a33c9d11 focus: when focus_highlight is enabled, it should be shown immediately. 2014-07-04 11:16:59 +09:00
Michal Jagiello bf3fe85b0d ctxpopup: Add get_items, get_last_item, get_first_item, get_next_item and get_prev_item API
Summary: API to get list of ctxpopup items and give the possibility to iterate the ctxpopup items

Reviewers: stanluk, z.kosinski, Hermet, seoz, raster

CC: Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D1055
2014-07-03 13:05:28 +02:00
Anil Kumar Nahak 2b8e6862ac genlist: focus of genlist item should adjust according to genlist's viewport
Summary: The focus of genlist should adjust its position on resizing(shrinking).

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D1072
2014-07-03 16:39:42 +09:00
Carsten Haitzler 9e5f8db4b9 update README to have right version for vest release! 2014-07-03 14:15:44 +09:00
Daniel Juyung Seo 927ed7c013 .gitignore: do not trace build result. 2014-07-03 02:32:16 +09:00
Daniel Juyung Seo db701ac9a0 elm_widget: do not need to set the scale to 0.0 if it is already 0.0. 2014-07-03 02:25:25 +09:00
Lukasz Stanislawski de9d24e09d atspi: unify atspi initialization
commit removes internal elm_atspi_init function and moves atspi_app_object
creation to atspi_bridge.
2014-07-02 14:14:49 +02:00
Carsten Haitzler 2b700cc8df remove edje file changed handling
this matches the 8edc879cc2 commit in
efl where edje file changed singals are now gone. this creates nothing
but trouble. please see the efl commit log for details.
2014-07-02 11:31:54 +09:00
Ryuan Choi 9f61c65296 fileselector: Make selected_set actually select the file
This patch comes from Kai Huuhko.

Added test case for selected_set/get.

@fix
2014-07-02 07:58:45 +09:00
Lukasz Stanislawski f56f430abd atspi: simplify key event handling
Keyboard events are now directly handled by atspi_bridge instead of
elm_widget.
2014-07-01 15:38:53 +02:00
Carsten Haitzler 71f9cc45ea theme - fix "fixed size" edje complaint for desklock login box 2014-07-01 17:48:52 +09:00
Daniel Kolesa 20525deb55 update according to latest efl changes: _CLASS -> _CLASS/INTERFACE/MIXIN 2014-06-30 21:37:04 +01:00
q66 f9fdf1009b update eo files according to latest efl changes: @own -> own 2014-06-30 18:12:17 +01:00
Tom Hacohen 1bcdadb52e Eolian classes: Fix according to namespace changes in efl. 2014-06-30 17:52:16 +01:00
q66 9649d12d9b eolian: update according to new syntax 2014-06-28 23:51:25 +01:00
Daniel Kolesa 26df495e67 change the type syntax in eo files according to latest eolian changes 2014-06-28 23:51:25 +01:00
Amitesh Singh cb4b6cd099 elm object item: fix the comparison of eo class name in case of edje object.
Summary:
eo_class_name_get(edje) returns "Edje".
@fix

Reviewers: raster, seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D1097
2014-06-28 15:47:27 +09:00
Jaeun Choi f9ef6ece32 Revert "panel: add scrollable feature"
This reverts commit a47eef78c4f8e41708d54ddea96fe7e7f5511df4.

This will be added after second merge window opens.
2014-06-26 14:33:41 +09:00
Jaeun Choi 3003957af8 panel: add scrollable feature
This implements scrollable interface in elm_panel so that users can drag open/close panel.
Tap & hold on the edge and panel handler will appear.

Left scrollable panel is implemented in elementary_test > Panel Scrollable.

@feature
2014-06-25 23:43:18 +09:00
Jaeun Choi e2db16a8af Revert "bug fix: _elm_widget_focus_region_show"
This reverts commit 1574f59fd88c53b380ab83317106164ae1c84652.

This breaks focus move in scroller
2014-06-25 13:49:44 +09:00
Hosang Kim 7812ce77fe Toolbar: Fixed wrong toolbar resize logic
Summary: When toolbar use ELM_TOOLBAR_SHRINK_SCROLL and toolbar viewport size is decreased rapidly, toolbar box size is not changed.

Test Plan:
elementary_test -> toolbar 2

increase window size -> decrease window size(presto) -> toolbar size is wrong

Reviewers: seoz, woohyun, jaehwan, Hermet, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1081
2014-06-25 11:27:08 +09:00
Cedric BAIL 600ff08ceb gitignore: let's not track generated files. 2014-06-23 09:36:39 +02:00
WooHyun Jung 1deb003abe naviframe : fix focus logic while popping an item.
elm_widget_tree_unfocusable_set with EINA_TRUE sets focus to the newest
focused object. If prev item is tree_focusable, one of its children can
get focus. This focus movement is unexpected, so should not be happened.
2014-06-23 15:27:14 +09:00
Carsten Haitzler d67d5f0930 fix - fisx radio lable theme for text with new colorclasses 2014-06-23 13:20:23 +09:00
Carsten Haitzler db797eb1c2 fix check colorclasses for disabled text
@fix
2014-06-23 13:15:38 +09:00
Carsten Haitzler 94b1b3827d fix slider disabled color due to colorclass introduction 2014-06-23 13:05:50 +09:00
Carsten Haitzler b4a985a092 update po files 2014-06-23 13:00:10 +09:00
Carsten Haitzler 835c143073 fix theme to not self-feed emit signals in a loop
@fix
2014-06-23 12:59:46 +09:00
Daniel Kolesa eb838d06ae fix atspi after eolian deduplication change; spank tasn on breakage 2014-06-20 17:09:38 +01:00
Daniel Kolesa b8eadb7166 update against latest eolian changes 2014-06-20 12:24:55 +01:00
Daniel Kolesa fb62fde68f move all eo files to new namespace syntax 2014-06-20 10:47:39 +01:00
Daniel Juyung Seo b26413cf32 entry: fixed shadow variable build warnings. 2014-06-19 18:30:21 +09:00
Stefan Schmidt ed27b756cb configure: Report elementary_codegen path in configure summary
Another bianry path we might set being displayed in the summary.
2014-06-19 11:01:28 +02:00
Stefan Schmidt 72160ca86c configure: Report elm_prefs_cc path in configure summary.
Usefull for cross-compiling or other use cases where you try to
set the path.
2014-06-19 10:49:09 +02:00
Daniel Kolesa 49c09c2d4b fix up some eo file documentation whitespace issues 2014-06-18 12:57:52 +01:00
Daniel Juyung Seo ddd3273cf8 test_progressbar: removed unnecessary null check. 2014-06-18 20:53:33 +09:00
Mike Blumenkrantz a7e1cc8fae rename ibar focus signals 2014-06-17 10:28:43 -04:00
Stefan Schmidt 16248748c6 test_progressbar: Verify incoming data object at the beginning
Align with how pd is checked for in other functions here. No need to
check before free() as it is done internally anyway.

CID: 1216621
2014-06-17 11:25:46 +02:00
Stefan Schmidt 9cf70c353a elm_index: Also free last on error path.
If we can't realloc label we need to free last before we can return
or we leak it.

CID: 1193240
2014-06-17 11:12:04 +02:00
Stefan Schmidt d3b0bb58a4 elm_map: Avoid unlikely division by zero.
The division by zeor could happen when zoom_cnt is zeor OR when region_cnt
is zero. No need for both cases. In the curent implementation this is
impossible as both are hard coded defines. But code changes so we should
handle this.

CID: 1216619
2014-06-17 11:01:22 +02:00
Vyacheslav Reutskiy af4120c5c8 Elementary/Panes: update functionality (add new 8 API functions)
Summary: Added possibility to set the minimum size of the left and right sides.

Reviewers: raster, cedric, seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D998
2014-06-17 10:23:30 +09:00
Lukasz Stanislawski 0975fd37e0 atspi: notify registry daemon about keyboard events.
Test Plan: elemeentary_test with Orca Screen reader 3.10.1

Reviewers: raster, z.kosinski

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D1025
2014-06-16 15:16:39 +09:00
Carsten Haitzler 3351cb39ab update gitignore 2014-06-16 15:16:20 +09:00
Daniel Kolesa 763019c9d6 atspi: more conformance issues 2014-06-13 16:27:08 +01:00
Daniel Kolesa 56ce51b5d5 atspi: eo file conformance 2014-06-13 16:23:00 +01:00
Zbigniew Kosinski 3c0067305f atspi: checked state for elm_check added
Reviewers: stanluk

Differential Revision: https://phab.enlightenment.org/D1000
2014-06-12 12:57:55 +09:00
Vincent Torri 44b2c2bbb9 backend: add default engine support for Windows and Mac OS X 2014-06-12 03:12:56 +02:00
Vincent Torri 0d6cacb743 backend: remove Windows CE support Windows CE is dead and buried and its gcc port is even more dead and I don't believe in zombies 2014-06-12 03:12:15 +02:00
Vincent Torri f0c2f96f20 autotools: --enable-auto-import is passed by default, nowadays 2014-06-12 03:11:48 +02:00
Ryuan Choi dd829ffd81 elm_web2: Implement _elm_web_elm_widget_on_focus 2014-06-12 15:50:27 +09:00
Carsten Haitzler 9fde71b0c1 theme - syscon - power gadget - fix so we have an actual theme for it
this fixes a pretty ugly bug where a bodhi power gadget was ported in
without the graphics being fixed up. this does that in the theme.
2014-06-11 19:05:22 +09:00
Carsten Haitzler bf42a63d80 theme - add power svg, rename svg.gz to svgz to be consistent
x
2014-06-11 17:04:18 +09:00
Lukasz Stanislawski 1c350bbfad atspi: typo fix, avoid returning w/o va_end call
Summary:
CID: 1222462
CID: 1222461
CID: 1222465

Reviewers: raster, seoz, z.kosinski

Differential Revision: https://phab.enlightenment.org/D995
2014-06-11 16:05:54 +09:00
Lukasz Stanislawski e24102c696 atspi: add SENSITIVE to default widget state set.
Summary:
without given state Orca screen reader deafult script interpret
widget as 'grayed out'.

Test Plan: orca screen reader tests on ubuntu 13.10 with orca 3.10.1

Reviewers: raster, seoz, z.kosinski

Differential Revision: https://phab.enlightenment.org/D983
2014-06-11 15:29:31 +09:00
Jaeun Choi 636bb88170 bug fix: _elm_widget_focus_region_show
Summary: should do scrollable_content_set according to focus_region_get

Test Plan: None

Reviewers: woohyun

Differential Revision: https://phab.enlightenment.org/D981
2014-06-11 15:29:31 +09:00
Jean-Philippe Andre 2ffb942d5a Win32: Fix some compilation warnings
Reported by vtorri, thanks
2014-06-11 14:25:47 +09:00
Thiep Ha 36e153f956 dnd: rotate dragwin if main window is rotated when draging
Summary:
During drag, dragwin should be rotated when main window is rotated.

@fix

Reviewers: raster, JackDanielZ, woohyun

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D976
2014-06-11 14:19:27 +09:00