Commit Graph

10402 Commits

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