Commit Graph

48708 Commits

Author SHA1 Message Date
Vincent Torri 2e052d5694 Evas: Support of fnmatch flag FNM_IGNORECASE
Some systems (solaris in that case) define FNM_IGNORECASE instead of FNM_CASEFOLD. Add this case in evas_path.c
2016-06-14 19:05:04 +09:00
Vincent Torri 8cccde76fe Ecore: detect ieeefp.h existence instead of including it with compiler's macro
On Solaris, this header is necessary for finite(). Instead of including it
if the sun compiler is used, include it if it exists. This fixes a warning
if gcc is used on Solaris
2016-06-14 18:50:00 +09:00
Benjamin Jacobs a7b012ae05 Eeze build ordering.
Summary: Fixes a libtool relinking issue due to the wrong build ordering.

Reviewers: cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4042
2016-06-14 18:15:49 +09:00
Carsten Haitzler f156737e8f elm - loop auto throttle - only do this once a window has been shown etc
only start throttling ocne we have a window and it has rendered or
been focused or mouse has gone in - then we are surely really visible
and sane and only start throttling if no windows are visible then. if
auto throttle is on this can improve startup time by the trottle amount
2016-06-14 18:15:00 +09:00
Marcel Hollerbach 6b74aad023 evas_generic_loaders: port poppler to the cpp api
Summary: This ports the loader to the stable cpp api.

Test Plan: Please test this patch and tell me if there are differences

Reviewers: DaveMDS

Subscribers: jayji

Differential Revision: https://phab.enlightenment.org/D4039
2016-06-14 10:53:34 +02:00
Jean-Philippe Andre c6dfdeb0c8 cxx: Add support for protected and beta events
The code is horrible, pardon my C++.

Note: I guess @protected should also change the scope from
public: to protected: but that's another problem. Here I'm only
trying to fix the build while still introducing @beta and
@protected flags.
2016-06-14 16:27:42 +09:00
Jean-Philippe Andre 8a0e74afa8 evas: Move canvas events to a common interface
This merges window and evas events into a single name.
Some events are marked as @beta as they shouldn't really be
part of our EO API.
2016-06-14 16:27:42 +09:00
Jean-Philippe Andre 254f5ef772 evas object: Move some events to efl_gfx and efl_image
This affects basic evas object events such as:
- show, hide, resize, move,
- changed size hints,
- restack,
- image preloaded, resize, unloaded

Also, switched names to shorter "present form" like "preload"
instead of "preloaded".
2016-06-14 16:27:42 +09:00
Jean-Philippe Andre ff0124bdae evas object: Mark event free as @beta
Use EO_EVENT_DEL instead.
2016-06-14 16:27:42 +09:00
Jean-Philippe Andre 64896646ce evas object: Mark legacy input events as @beta
This effectively marks them as unstable API. They should not
be used, and still only exist because of the current code
infrastructure.
2016-06-14 16:27:42 +09:00
Jean-Philippe Andre 70a358357a widget: Switch to pointer & key events
Unfortunately, since all widgets rely on the legacy evas
event structs, I had to add a translation mechanism.
2016-06-14 16:27:42 +09:00
Jean-Philippe Andre edc7675db6 tests: Remove eo evas object events
This is the last usage, apart from evas_callbacks.c itself.
2016-06-14 16:27:42 +09:00
Jean-Philippe Andre 77bd2819b9 fileselector: Remove usage of eo evas object events 2016-06-14 16:27:42 +09:00
Jean-Philippe Andre 1e82603013 spinner: Remove usage of eo evas object event 2016-06-14 16:27:42 +09:00
Jean-Philippe Andre c9d94a44cf wl_shm: Fix compilation warning (cast) 2016-06-14 16:27:42 +09:00
Jean-Philippe Andre a60f2afd60 elm: Fix compilation warnings 2016-06-14 16:27:42 +09:00
Jean-Philippe Andre 22c7b2bae2 edje: Remove usage of evas object eo events
Switch to pointer events.
2016-06-14 16:27:42 +09:00
Carsten Haitzler 81cc984c04 readme - typo-- 2016-06-14 15:39:05 +09:00
Carsten Haitzler d8eae1a1aa efl readme - add platfomr support info there and openbsd not supported
add some info on platform support in readme and note than openbsd is
not supported.
2016-06-14 10:46:44 +09:00
Chris Michael 28f79d4585 elput: Fix issue of VT-Switching not working
This patch fixes an issue where you could not VT-switch away from a
running Enlightenment session by simplifying the vt switch code and
passing the proper arguments to the dbus message.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-13 16:19:46 -04:00
Chris Michael c163e51dd3 ecore-evas-wayland: Minor formatting fixes
NB: no functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-13 16:19:46 -04:00
Chris Michael fb569d7eb0 ecore-evas-drm: Re-enable direct input callback
As it seems the jpeg breakage is over wrt direct input callbacks, we
can re-enable these for the drm engines

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-13 16:19:46 -04:00
Cedric BAIL ba0aac6909 edje: make svg support a beta feature of edje_cc.
Should we do the same with Canvas3D part ?
2016-06-13 10:58:34 -07:00
Daniel Kolesa 54590d677e eolian: fix impl func fill
If there is a dot in the remaining part of the implement, it means it
actually implements another class - do not fail in those cases.
2016-06-13 16:24:35 +01:00
Stefan Schmidt 17026d963d evas: loaders fix typo which blocked the installation of the LO loader script
Its SCRIPTS not SCRIPT to make automake aware of it.

Fixes T3848
2016-06-13 17:22:14 +02:00
Stefan Schmidt 7d347e85fc evas: loaders: fix install exec hook by adding the needed semicolon
Thanks to Scimmia22 for pointing this out.
2016-06-13 17:07:28 +02:00
Stefan Schmidt 21315509e2 evas: loaders: make sure we create the directory first before we create symlinks
We assume that the directory already exists here when creating the symlinks.
Better make sure this is really the case.

Thanks to Vtorri for pointing towards the fix.

Fixes T3880 and T3875
2016-06-13 16:09:53 +02:00
Daniel Kolesa 922e4e9181 eolian: fix error cursor positioning
Previously, multi-char tokens (such as strings, docs etc) always put the error
cursor to the end of the token. That was confusing, so now the cursor always
appears at the beginning of the token instead (for multiline tokens, currently
only docs, the line number is also adjusted to point to the first line of the
doc token).

@fix
2016-06-13 14:55:15 +01:00
Vitalii Vorobiov 4fd1c4f25b edje_calc: fix interpolate calculation of map colors
There were a problem when while swithcing between states
(because of program running in transition),
there is SIGSEV appearing when first state has
only one point color, and next state more than one.

Basically it looks like this:
....
part {
   name: "rectangle";
   type: RECT;
   description { state: "default" 0.0;
      map {
         on: 1;
         color: 3 255 90 0 255;
      }
   }
   description { state: "moved" 0.0;
      map {
         on: 1;
         color: 0 0 0 255 255;
         color: 1 255 0 0 255;
         color: 2 255 90 0 255;
         color: 3 41 68 59 255;
      }
   }
}
<and program that change 'rectangle' state with transition>
....

@fix
2016-06-13 15:31:48 +03:00
Shinwoo Kim f70be6eb28 Ecore_Input: define data type for joysticks
Summary: This adds support for joysticks for ecore_input

Reviewers: cedric, devilhorns, Sergeant_Whitespace, raster, thiepha, zmike, jpeg

Reviewed By: thiepha, zmike, jpeg

Subscribers: thiepha, stefan_schmidt, zmike, singh.amitesh, Sergeant_Whitespace, jgerecke, cedric, seoz

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D1538
2016-06-13 20:33:29 +09:00
Jean-Philippe Andre 59f3841803 win: Optimize event forward using callback add/del events
This is a common pattern, listen to EO_EVENT_CALLBACK_ADD/DEL in
order to treat those events only when needed.
2016-06-13 20:33:29 +09:00
Jean-Philippe Andre dd24c588fa win: Add event device,changed 2016-06-13 20:33:29 +09:00
Jean-Philippe Andre 4bb8a6bd21 win: Add focus events (in, out, object in/out) 2016-06-13 20:33:29 +09:00
Jean-Philippe Andre be82f4f0fd win: Add event render,pre 2016-06-13 20:33:29 +09:00
Carsten Haitzler e9802506a0 edje_cc - new vector svg loader - fix bunch of incorrect code that segvs
passing in wrond data type as a void * (no typechecking) like
node->style instead of node as the function EXPECTED node not
node->style

also why malloc strlen of string then strcpy when strdup will do? why?

fix!

still doesn't work. i can't display an svg vector at all.
2016-06-13 20:19:13 +09:00
Ji-Youn Park a75fb5763a evas_canvas: move evas_output_XXX API from eo to legach.
evas canvas will be removed from eo.
evas_output_XXX APIs are usually used by widget or e17.
I decided not open these kind of APIs to eo.
app can use the size of elm win instead of evas output apis.
2016-06-13 18:53:06 +08:30
Stefan Schmidt 4a59fc4eb5 benchmark: eo: add missing phthread flag to linker
/usr/bin/ld: class_simple.o: undefined reference to symbol 'pthread_spin_trylock@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
2016-06-13 12:01:13 +02:00
Stefan Schmidt 0dabbdeabc examples: elementary: ad missing math lib to linker flags
We are using cos() and sin() in the efl_thread examples here but never linked
to the math lib. Ubuntu 14.04 on Travis CI errored out with this:

/usr/bin/ld: efl_thread_1.o: undefined reference to symbol 'cos@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
2016-06-13 12:01:13 +02:00
Carsten Haitzler dffaed3486 elm - add another mkpath before monitoring a dir to enusre things work 2016-06-13 18:12:33 +09:00
Carsten Haitzler 865b10d739 ecore-con - dont complain about socket setup issues when api handles it
ecore-con api returns failure cases and ecore-con shouldt go spamming
stderr with this as it's inteded to be handled at the api level, so
slience!
2016-06-13 18:12:33 +09:00
Minkyoung Kim 93b4df1f5a evas-native-tbm: fix stride mismatch and allocate image data for converting from yuv to rgb.
Summary:
1. For converting tbm buffer from yuv to rgb, image.data should be allocated.
2. Stride should be set by info of tbm surface.
3. The number of row is height*2. but if height is odd, last row is invalid in process of _evas_video_i420.

Test Plan: Local Test, Tizen2.4 Mobile

Reviewers: spacegrapher, wonsik, jpeg

Subscribers: cedric, dkdk

Differential Revision: https://phab.enlightenment.org/D3870
2016-06-13 15:27:56 +09:00
Carsten Haitzler 3f426ca519 edje cc - remove debug printf i missed. :(
oops. i removed the others but not this one. yes i did git diff etc.
2016-06-13 15:22:11 +09:00
Carsten Haitzler a02c32f99a edje - set up eet data descriptor right with right struct and size
this should fix T3869
2016-06-13 15:21:22 +09:00
Carsten Haitzler 2845f5eff0 edje_cc - limit embryo_cc instances in bg to something sensible
so compiling current efl theme seems to spawn 178 instances of
embryo_cc in the background (then collect results). this is a bit
excessive and may be a source of issues. this may be causing T3874
perhaps due to embryo_cc's not launching (fork failing or something
else) and we don't check if fork fails. so try limit to 8 embryo_cc's
in the bg which is more reasonable than the currently "unlimited"
which leads to 178 currently...

i hope this fixes T3874

@fix
2016-06-13 14:18:03 +09:00
Vincent Torri c5fc0dae0c Elm: fix elementary quicklaunch build on Solaris 2016-06-13 13:24:08 +09:00
Felipe Magno de Almeida e5884c95fa eolian-cxx: Fix C++ compilation for lacking .eo files being generated 2016-06-13 01:17:18 -03:00
Davide Andreoli 39a565e538 FDO icons: improve looks of some Actions icons
following a 16x16 grid to make them render better at small sizes
2016-06-13 00:16:28 +02:00
Davide Andreoli 839c4d1bd9 FDO icons: added International flags 2016-06-12 21:35:47 +02:00
Davide Andreoli 7fc6192cf4 FDO icons: complete the Status category
...4 icons still missing
2016-06-12 17:33:24 +02:00
Davide Andreoli b1ff6beefc FDO icons: complete the Devices category 2016-06-12 14:15:54 +02:00