Commit Graph

27523 Commits

Author SHA1 Message Date
Tom Hacohen 2a0937b889 Eo base: Add a property to indicate if the object is finalized;
This enables checking if an object is being created, or has already been
finalized. This is useful in functions that you want to allow
only during the creation phase (i.e inside the eo_add()).
2014-08-29 10:26:23 +01:00
Daniel Kolesa 6c7e5b0a86 eolian: require both set and get to be specified when whole property is in impls 2014-08-29 10:18:26 +01:00
Chris Michael 8eb9ae418b ecore-evas-drm: Fix misplaced #ifdef from gl_drm patch
This #ifdef does not belong here. The interface_new functions Is Still
Used for normal drm ecore_evas.

Bad Gwanglim, no cookie ;)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 16:01:28 -04:00
Chris Michael 4fe1475b7f ecore-drm: Fix copy/paste build error
This line should not have been pasted (and it breaks build)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 15:55:05 -04:00
Chris Michael 41147645d7 ecore-drm: Add local function to free outputs and on any errors during
create, call it

Basically, this will fix a potential leak (and a potential case of a
false output getting added) IF during creation of outputs, something
fails.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 15:41:33 -04:00
Mike Blumenkrantz 3408f1bd6d shutup ecore-x vsync stupid log domain failures
@fix
2014-08-28 14:09:39 -04:00
Gwanglim Lee 00382bb6a6 gl-drm: Fix missing link to gbm for ecore_evas_drm and clean up build script
@fix

Summary:
This fixes following build script problems for ecore_evas_drm engine module.

1. Missing link to gbm for ecore_evas_drm if '--enable-gl-drm' option is given.
ecore_evas_drm engine is using gbm function if it builds with that config option.
To be more exact, ecore_evas_gl_drm_new_internal function needs gbm.
Thus we need to add gbm library linking '-lgbm' to ecore_evas_drm engine module
if '--enable-gl-drm' option is given. I've added this build script to
m4/ecore_check_module.m4 file.

2. Wrong gbm dependency check code in configure.ac
EFL_OPTIONAL_INTERNAL_DEPEND_PKG m4 macro function is designed for checking
dependency of efl internal libraries. Thus we should remove gbm pkg name when
configuring ecore_evas_drm engine module. It would be better to move dependency
check for gbm to m4/ecore_check_module.m4 file. And one more thing want_drm
value has to be changed to want_gl_drm in ECORE_EVAS_MODULE([gl-drm]...).

3. BUILD_ECORE_EVAS_OPENGL_DRM macro is always defined in configure.ac.
This kind of macro, BUILD_EFL_MODULE_NAME, has to be defined only if given module
is enabled. But this macro value was just defined with no test.
And it is even useless, we can use BUILD_ECORE_EVAS_GL_DRM macro which is defined
by ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}],...) function.
So I've removed that from configure.ac.

Test Plan:
1. Configure with --enable-gl-drm:
  $ ./autogen.sh --enable-drm --enable-gl-drm
2. Build:
  $ make && make install
3. Check module.so of ecore_evas_drm engine whether it has a library dependency with gbm:
  $ readelf -a $EFL_GIT/src/modules/ecore_evas/engines/drm/.libs/module.so | grep NEEDED

Reviewers: raster, stefan_schmidt, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1379
2014-08-28 13:37:28 -04:00
Chris Michael 80c0a33267 ecore-drm: Print out failed device name during setup
If we fail to setup an input device, let's print an error With the
device name also

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 12:13:18 -04:00
Daniel Kolesa dfb5501d71 ecore: do not use Eina_Bool in ecore_mainloop.eo 2014-08-28 17:02:20 +01:00
Stefan Schmidt d8fb36e791 ecore/drm: Remove unused enums now that spartacus is gone 2014-08-28 17:56:04 +02:00
Tom Hacohen bba7ac87f1 Ecore con: Add Connector class (the connecting variant of server).
This change also consists of cleaning up the server class and adding a
constructor and a finalizer to it.
2014-08-28 14:31:17 +01:00
Tom Hacohen bdb60f017f Ecore con: Update migration TODO. 2014-08-28 12:00:31 +01:00
Tom Hacohen f6156c9a62 Ecore con url: Migrate to eo. 2014-08-28 11:52:38 +01:00
Tom Hacohen 2a144e5717 Ecore con: Fix to the correct parameter type.
Can finally be done because the eolian cycle bug was fixed.
2014-08-28 10:26:17 +01:00
Daniel Kolesa 14d67f31d0 eolian: use EINA_C_ARRAY_LENGTH 2014-08-28 09:55:41 +01:00
Daniel Kolesa 1eb870e3d3 eolian/generator: use size of the array instead of fixed int 2014-08-28 09:49:57 +01:00
Carsten Haitzler 94f9d106c8 eolian generator - fix num of types handled
there are only 2 types in the ftype array... not 3!

fix CID 1232782
2014-08-28 08:45:09 +09:00
Cedric BAIL 49af128d5c autotools: actually put the macro at the right place. 2014-08-27 23:22:57 +02:00
Jean Guyomarc'h b50813f6e5 autotools: provide BSD-echo compatibility (fix c++ bindings)
Summary: The '-e' option does not exist in BSD-echo, nevertheless it behaves by default like the "echo -e" of the GNU-echo.

Reviewers: raster, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-27 22:31:20 +02:00
Tom Hacohen 18895e2489 Ecore con: Fix some ecore con runtime issues on windows. 2014-08-27 16:25:27 +01:00
Tom Hacohen 98281cc523 Ecore con: Fix compilation on windows. 2014-08-27 16:19:25 +01:00
Daniel Kolesa b69b90832f eolian: remove constructors section cruft 2014-08-27 15:43:47 +01:00
Daniel Kolesa 1a76690abf eolian/generator: remove support for custom constructors 2014-08-27 15:43:47 +01:00
Daniel Kolesa 7e95079f0f eolian: fix tests 2014-08-27 15:43:47 +01:00
Daniel Kolesa 0e873a260d eolian_cxx: very quick workaround to make tests compile again (needs fix) 2014-08-27 15:43:47 +01:00
Daniel Kolesa 77d148cec9 eo: migrate constructors sections to constructing methods 2014-08-27 15:43:47 +01:00
Stefan Schmidt a65c531429 eet_dictionary: Remove now unused variable
Since 123bdc4342 found is now longer used here.
Remove it.
2014-08-27 16:40:16 +02:00
Tom Hacohen 686acd88f7 Ecore exe: refactor and fix compilation on windows.
This is the first step towards splitting it nicely. This fixes
compilation on windows (or so it seems from my testing) and takes out
all the platform specific code (posix included) out of the main source
file.
2014-08-27 15:14:17 +01:00
Stefan Schmidt 5551567847 evas/drm: Remove rest of the tty handling which is now unused
With the move to ecore_drm for tty handling these all became unused.
Ecore_drm already takes care of setting up the SIGUSR1/2 handler and
the rest of the tty setup.

Now that this is gone evas_drm_init/shutdown have no functionality
anymore either.
2014-08-27 16:01:06 +02:00
Stefan Schmidt 9df3bb10bb evas/drm: Make sure the engine has the correct tty when called from expedite
When getting called from expedite we don't have ecore_evas in between which
normally sets things up for tty. Handle this special case here so the evas
drm engine keeps working for expedite.
2014-08-27 16:01:06 +02:00
Stefan Schmidt 9236a6d972 evas/drm: No need to check info.fd < 0 again as we just did that.
We are in a block here which already checked fro that. Remove this
and adjust indent.
2014-08-27 16:01:06 +02:00
Stefan Schmidt 92ba0c600f evas/drm: Remove obsolete tty open function
Ecore_drm handles this now for use. No need for duplicated functionality here.
2014-08-27 16:01:06 +02:00
Daniel Kolesa 9a3cf2ff49 ecore_getopt: correct fix for CID 98382 and 98383 2014-08-27 11:57:19 +01:00
Tom Hacohen 27f738115e Revert "ecore_getopt - fix possible null arg"
This breaks terminology, look at the previous commit for more info.

This reverts commit d8130825d5.
2014-08-27 11:50:14 +01:00
Tom Hacohen 2f249a6436 Revert "ecore_getopt - fix possible null arg"
Breaks getopt completely, try terminology --help.

You committing it again doesn't fix the fact it doesn't work. :)

This reverts commit e876ec527f.
2014-08-27 11:50:14 +01:00
Andrii Kroitor 38147da036 eina_file: fixing wrong return value on access problems in file copy process
Summary:
when dest directory is protected from writing success value was returned
@fix

Reviewers: seoz, cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1366
2014-08-27 19:47:16 +09:00
Daniel Kolesa 901d1343fd eolian: no need to concat name in this case 2014-08-27 11:38:26 +01:00
Gwanglim Lee a9a7ed6c52 ecore_evas: Ecore_Evas_X - Fix broken rendering during rotation with resize
Summary:
When ee is trying to do rotation, ee should check whether given rotation value
is portrait or not. Then it sets output size of evas canvas according to rotation value.
But, ECORE_EVAS_PORTRAIT macro used in ee x engine only checks ee's rotation value, even
if ee's rotation value is not updated yet. Thus we should change the logic to compare with
given rotation value, not ee's rotation, before setting output size of evas.

This fixes T1371 problem.
@fix

Test Plan:
1. run elementary_test -to "window states"
2. check resize
3. rotation 0 ~ 270

Reviewers: jpeg, raster, cedric, zmike, devilhorns, Hermet

Reviewed By: Hermet

Subscribers: cedric

Maniphest Tasks: T1371

Differential Revision: https://phab.enlightenment.org/D1351
2014-08-27 19:35:27 +09:00
Carsten Haitzler e4ed80dc1e ecore vsync - work around old kernels by blacklisting them
this is a bug workaround apparently old kernels that seems to get
vsync and timestamps wrong. 3.14 kernels and up only for now

@bug
2014-08-27 18:26:58 +09:00
Carsten Haitzler e876ec527f ecore_getopt - fix possible null arg
fixes CID 98382
2014-08-27 17:55:06 +09:00
Carsten Haitzler d8130825d5 ecore_getopt - fix possible null arg
fixes CID 98383
2014-08-27 17:53:42 +09:00
Carsten Haitzler 7e3367d82c fix error handling in edje_decc
fix CID 1039341
2014-08-27 17:49:29 +09:00
Carsten Haitzler a427fc46f7 edje_decc - fix strrchr null return case
fix CID 1039342
2014-08-27 17:47:34 +09:00
Carsten Haitzler 27ae94596f evas textblock - fix inconsistent ascent/descent return ptr checks
ascent/descent are always non-null in usage of
_layout_item_ascent_descent_adjust() so don't check for them.

fix CID 1099704
2014-08-27 17:37:01 +09:00
Carsten Haitzler 4124ed6946 edje - fix null return check in src description get
fix CID 1210812 1210811
2014-08-27 17:30:42 +09:00
Carsten Haitzler 1383f025d3 ecore-con - fix typo in error handling for ssl client init
fixes CID 1232730
2014-08-27 17:18:22 +09:00
Carsten Haitzler f53683f76a ecore-con - fix explicit null dereference
fix CID 1232731
2014-08-27 17:16:17 +09:00
Carsten Haitzler 9de5c8131d ecore-con - fix explicit null ptr deref
fix CID 1232729
2014-08-27 17:14:30 +09:00
Carsten Haitzler 61b5a4e40b ethumb emotion module - fix possible division by 0 2014-08-27 17:10:02 +09:00
Carsten Haitzler ca5e0c6a9d emotion - fix engine string leak
fixes CID 1232727
2014-08-27 17:08:16 +09:00