Commit Graph

8967 Commits

Author SHA1 Message Date
Cedric BAIL 4471e2f7ec pkgbuild: follow AUR elemetary-git version naming. 2013-12-12 12:22:12 +09:00
Jean-Philippe Andre 4cf069ede9 Flip: Fix confusion with hitsize and direction
Elm Flip has some confusing API (and documentation as well) regarding
flip directions and hitsize. Basically, it works just as expected
when everything is set to 1 (all hitsizes are 100% and all directions
are enabled), like in the elm example file :)

BUT, it's not actually possible to restrict the hitsize for one
direction.

Example: You want to flip to left only.
Set direction enabled LEFT.
Then, you must set the hitsize for... RIGHT because that's where the
finger interaction will start from (right to left!). BUT since
RIGHT interaction is not enabled, the histize parameter on RIGHT
will have NO effect on the flip.

Here's what this commit fixes:
- Clear up a bit of the confusion between direction and hit area,
through documentation
- Separate hit area position and direction (bugfix)
- Allow for negative hitsize values to DISABLE a specific area
(define previously undefined behaviour)

So, it will be possible for example:
- Enable left/right interactions
- Only on the top 10% of the widget

NOTE: This breaks behaviour! API/ABI are not quite broken but
undefined behaviour just got defined and fixed.
2013-12-11 15:02:20 +09:00
Mike Blumenkrantz 4c9dcb75e5 further ensmallen event area 2013-12-10 11:41:38 -05:00
Mike Blumenkrantz 10267d5afc bugfix: ensmallen efm event area and make it overlap with icon event area 2013-12-10 10:16:07 -05:00
Carsten Haitzler 3c0fde2f66 example - prefs 03 - disallow animation time of 0 (just not valid/sensible)
this fixes T602
2013-12-10 18:05:09 +09:00
Daniel Juyung Seo 9207105580 test_dnd: clean up dnd sample code.
- fixed formatting.
- set timer pointer to null when canceling the timer.
2013-12-10 01:03:27 +09:00
Daniel Zaoui e67db2c832 DnD: cancel feature during drag
This can be tested by running "Features DnD" test. Enable the 5s cancel
timeout, drag an item and wait for the cancellation.
2013-12-09 09:32:43 +02:00
Daniel Zaoui 75914e85d6 DnD: Valgrind fixes 2013-12-09 09:31:55 +02:00
Daniel Juyung Seo c9f4bff253 po: updated po 2013-12-08 18:54:42 +09:00
Cedric Bail 160c470d97 build: fix crosscompilation to be actually working. 2013-12-08 13:32:14 +09:00
Cedric Bail 6be10eb078 popup: make sure headers order is always fine. 2013-12-08 13:31:53 +09:00
Cedric Bail 3fb275bba5 atspi: handle build without gettext support. 2013-12-08 13:31:24 +09:00
Cedric Bail 2b900d8b55 elementary: remove now unecessary work around for windows build. 2013-12-08 12:30:14 +09:00
Daniel Juyung Seo c8d95e0dbf datetime: fixed elm_wdg_disable parameter ret to &int_ret for
consistency.
2013-12-08 04:59:35 +09:00
Daniel Juyung Seo b85558c512 layout: reset disabled status after refreshing the widget theme.
This fixes many potential bugs which will loose disabled status after
theme hook.
Thanks a lot kuuko for the report.
This fixes T608.
2013-12-08 04:55:42 +09:00
Daniel Juyung Seo b4cf7588b1 layout: check the return value of elm_widget_theme_object_set() and
return if it fails.

Do not proceed next steps if elm_widget_theme_object_set() returns
false. Proceeding next steps has no meaning at all.
2013-12-08 04:53:49 +09:00
Boris Faure 3c618ca79c update .mailmap 2013-12-07 17:26:14 +01:00
Boris Faure 68977d78d8 update .mailmap 2013-12-07 17:14:57 +01:00
Daniel Juyung Seo 735d433c20 test_glview_simple: internal refactoring and clean up of glview simple test.
- Removed unused variable.
- Followed the structure naming convention.
- Fixed formatting.
- Removed unnecessary empty lines and spaces.
- Removed unnecessary casting.
- Removed typos.
- Use ECORE_CALLBACK_RENEW macro for animator callback.
- Just call elm_exit() to exit the main loop.
- Removed unnecessary evas_object_data usage.
- Made a button text more descriptive and correct.
2013-12-07 23:30:37 +09:00
Daniel Juyung Seo c9ddaa1c8d label: removed unimplemented API documentation.
Thanks kuuko for the report.
2013-12-07 19:25:27 +09:00
Daniel Juyung Seo e15b726c6c image/layout/toolbar: fixed documentations which use non-existing APIs.
Thanks to kuuko for reporting.
This fixes T607.
2013-12-07 03:12:49 +09:00
Stefan Schmidt aafdefa085 configure: Enable v_rev again master for this development cycle.
Thanks to Doug for pointing it out to me.
2013-12-06 15:21:32 +01:00
Viacheslav Lvov 332cdd1e7c genlist - don't do heavy queue work for 0 width genlists and defer fill
Scenario:
1. Create elm_genlist.
2. Add some items to it.
3. Do not resize the genlist and leave it with width == 0.

PROPOSAL:
1. When the element is queued for recalculation check current width of
widget. If it is equal to 0 do not add idle enterer.
2. In smart callback on resize check if queue of items that need
recalculation is not empty and new width is not 0. In this situation
add idle enterer.
2013-12-06 16:08:09 +09:00
Cedric Bail 7ace0215f6 naviframe: clip the shadow also.
stable release - cherry-pick me!

During animation, if the naviframe wasn't inside another object that would clip
it, you could notice the shadow going over some object around.
2013-12-06 11:45:17 +09:00
Yakov Goldberg 497d66272a fileselector: more doxygen typo and parameter name typo 2013-12-05 13:52:39 +02:00
Yakov Goldberg 70ade2450b fileselector: parameter name typo, spank on me 2013-12-05 13:47:24 +02:00
Yakov Goldberg 629e8ae0ec fileselector: doxygen typo (forgot smth in prev commit) 2013-12-05 13:28:35 +02:00
Ryuan Choi ea72160db5 fileselector: Fix the indentation in elm_widget_fileselector.h 2013-12-05 20:23:47 +09:00
Yakov Goldberg f50264054d fileselector: doxygen typo 2013-12-05 13:21:06 +02:00
Cedric Bail 2de54966c1 elementary: shuttup autotools. 2013-12-05 19:38:55 +09:00
Stefan Schmidt 46c540a575 configure: Bump version to 1.8.99 to indicate development cycle.
1.8.0 is out and we are in the dev cycle for 1.9 so indicate this with
the version 1.8.99 for builds from git master.
2013-12-05 11:15:47 +01:00
Yakov Goldberg 93994865bc scrollable_interface: doxygen typo; eo_typecheck typo 2013-12-05 12:03:34 +02:00
Yakov Goldberg ade0857b48 widget: doxygen typo 2013-12-05 12:03:34 +02:00
Daniel Juyung Seo dd4c8afac0 elm_spinner.c: fix mouse spin never stop issue with mouse wheel with spinner widget.
Do not use a timer when the wheel is used to spin the spinner.
This fixes T604.
Special thanks JP for reporting.
2013-12-05 15:53:32 +09:00
WooHyun Jung 0a60e7b575 elementary/elm_button.c : Change the timing of signal_emitting.
Application can delete button itsefl(or its parent) inside the smart callback function.
So the signal_emitting with button object should be done in advance.
2013-12-05 10:01:43 +09:00
Ryuan Choi 9816a8cae1 gengrid: Remove unnecessary if statement
Summary: func.content_get is already checked in enclosed block.

Reviewers: seoz, cedric, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D366
2013-12-04 13:16:02 +09:00
Chinmaya Panigrahi 0bd965abc8 [Radio] Correcting example program of radio in elementary
Summary: Minor defect in example program fixed.

Test Plan: gcc -g radio_example_01.c -o radio_example_01 `pkg-config --cflags --libs elementary`

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D363
2013-12-04 08:21:56 +09:00
Daniel Juyung Seo 9013230dac elm_interface_scrollable.c: fix scroller page flick calculation roundup routine.
When the offset is not bigger than 0 && abs(offset) is not smaller than dx(or dy), round up routine could have mis-calculation bug.
It should substract one value more to get a proper round up result.
For example, when x = 1440, offset = -2160, dx = 360, x should become 720 but round up routine made it 1440.
Because it was rounded up from 1080 to 1440. It should be rounded down from 1079 to 720.

Special thanks to Hosang Kim for the help.

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
2013-12-04 00:42:15 +09:00
Daniel Juyung Seo bc9d9ecd6b elm_interface_scrollable.c: reset momentum_animator to null when return cancel from the animator. 2013-12-03 21:40:09 +09:00
Ryuan Choi c5196bfcda fileselector: Add support to change the size of thumbnails in grid view.
Reviewers: seoz, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D276
2013-12-03 18:28:52 +09:00
Carsten Haitzler fbfa310cb8 pass distcheck - add imported headers to makefiles to pass 2013-12-03 17:14:30 +09:00
Lukasz Stanislawski 4b81deaa8c accessibility: ATSPI2 support.
Summary:
Hello guys,

Below You can find a proof o concept for ATSPI2 support for elementary applications. Currently application can only be listed on bus by clients such as 'accersiser'. I am strongly looking for comments to this design.

Here are my comment regarding following code:
* This pach requires https://phab.enlightenment.org/D327 patch to compile
* I have decided to include whole atspi-constants header, because in fact i will need one-to-one copy of all its enums and defines. Qt has something like 3rdparty folder from which they include this header and don't require atspi dev packages at compilation time. Maybe efl needs the same solution or should just require next package in compilation? I agree that putting atspi-constant.h in main source tree is bad idea, but where? src/utils ??

Reviewers: cedric, raster, kimcinoo

Reviewed By: raster

CC: pkaczmarek-samsung, seoz, jaehwan, kimcinoo

Differential Revision: https://phab.enlightenment.org/D328
2013-12-03 17:07:05 +09:00
Carsten Haitzler 0c2d2bcb21 theme - fix evrything theme elements for enlightenment
this will fix T596 where the open mode is laid out badly. it also
fixes the text elements in the file borwser list mode to align text
properly.
2013-12-03 16:39:58 +09:00
Daniel Juyung Seo a754a91961 elm_interface_scrollable.c: use correct structure for mouse up.
Actually Evas_Event_Mouse_Up and Evas_Event_Mouse_Down are same though :)
Being pedantic.
2013-12-02 23:55:27 +09:00
Daniel Juyung Seo 235fb48f08 AUTHORS/elm_authors.h: updated authors. 2013-12-02 21:32:21 +09:00
Daniel Juyung Seo 18c18ba85a popup: fixed formatting, typos, and subtle things of commit f4f2e5d24271cc6504443479381fdb26a605ac70 2013-12-02 21:20:03 +09:00
Daniel Juyung Seo 0e66ca763e ChangeLog/NEWS: removed unwanted ChangeLog and NEWS entries anymore.
We do not need to update them anymore for release cycle 1.9.
Stefan will do this for us. Thanks Stefan!

Read the following wiki page for more detail.
https://phab.enlightenment.org/w/efl_and_elementary_1_9/#release-news-and-changes
2013-12-02 21:11:09 +09:00
Daniel Juyung Seo 38c19d2739 gengrid: refactoring of commit 7187a3124fc6c169fcfec2c249a1fd483481fbba.
- follow the convention for structure name
- removed unnecessary callback
- removed wrong api usage
- removed unnecessary variables
- removed unnecessary parameter passing
- fixed ugly ui
- added 'static' to local function
- changed frame description more descriptive
- fixed formatting
2013-12-02 20:32:14 +09:00
Daniel Juyung Seo 8a0159df4f elm: long waited seasonal trailing whitespaces removal!
This is a ceremony of elementary 1.8 release!
2013-12-02 19:43:46 +09:00
Daniel Juyung Seo 56ca1c1dd7 elc_popup.c: removed unused warning. 2013-12-02 19:38:35 +09:00