Commit Graph

4224 Commits

Author SHA1 Message Date
Daniel Kolesa 230758a858 eolian: do not free insides of field_list
After field_list was migrated from stringshare to struct,
I forgot to change this.
2014-08-24 14:22:42 +01:00
Carsten Haitzler c6193f7497 ecore x vsync - if schedule fails, use fallback timeout to adapt faster 2014-08-24 19:51:42 +09:00
Marcel Hollerbach 8749504b5c ecore_con: pass the correct pointer as data in the callback.
Summary:
The pass of the wrong pointer caused a wrong scope get call cause the the
passed pointer was not a valid eo pointer.

Test Plan: Run enlightenment entrance, it wont crash anymore

Reviewers: tasn

Subscribers: cedric, Sachiel

Differential Revision: https://phab.enlightenment.org/D1352
2014-08-23 16:39:14 +09:00
Chris Michael d5822fa6ee ecore-evas: Default wayland ecore_evas 'frames' off
NB: There is something fishy going on with evas overdrawing the canvas
onto the ecore_evas 'border frames'. Disable ecore_evas border frames
until this can be looked into.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-22 13:32:38 -04:00
Tom Hacohen 974e3afabc Ecore con: Rename to Ecore.Con.Base for the C++ bindings. 2014-08-22 17:37:56 +01:00
Tom Hacohen 9a8a416325 Ecore con server: Add support for some eo events. 2014-08-22 17:37:56 +01:00
Tom Hacohen d72f809fb8 Ecore con server: Migrate to eo. 2014-08-22 17:37:56 +01:00
Tom Hacohen 718a942bde Ecore con client: Add support for some eo events. 2014-08-22 17:11:54 +01:00
Tom Hacohen d9b5f192d4 Ecore con client: Migrate to eo. 2014-08-22 17:11:54 +01:00
Tom Hacohen 218e76fd30 Ecore con: Start migration to eo. 2014-08-22 17:00:49 +01:00
Daniel Kolesa b75014a024 eolian: refactor the struct/enum field APIs 2014-08-22 16:56:41 +01:00
Daniel Kolesa 894c9a42db eolian: field_names is now field_list (prepare for API changes) 2014-08-22 16:17:50 +01:00
Stefan Schmidt 3fe554e0b6 build: Allow to use external liblz4 instead of embedded copy
While we are likely will keep the embedded copy for a while to avoid a really
new dependency we allow now to use the external liblz4. You need at least
revision r120 and a package that ships the pc file for it.

Personally I would like to get rid of it rather sooner than later due to the
security implications and a bunch of code we ship but have no idea about.
Reality is that it will need some time until this new lib is actually
packaged and shipped with releases for a a majority of people.

This patch was co-worked with Doug Newgard <scimmia22@outlook.com>
2014-08-22 16:27:28 +02:00
Daniel Kolesa 8c8a2b1098 ecore_getopt: correct fix for CID 98382 and 98383 2014-08-22 15:13:44 +01:00
Daniel Kolesa 50632600e6 Revert "ecore_getopt - fix arg_val being null"
It's as wrong as the other commit which TAsn already reverted.
This needs a fix elsewhere, particularly in the functions that
use arg_val.

This reverts commit ab53900364.
2014-08-22 15:07:21 +01:00
Tom Hacohen 41ec0da2aa Revert "ecore_getopt - handle if arg_val is null"
This completely breaks getopt. Try running terminology --help.

This reverts commit 1bb6a8a4e4.
2014-08-22 14:51:35 +01:00
Daniel Kolesa 19d8209266 eolian: clean up type generation + fix function pointers 2014-08-22 14:04:22 +01:00
Daniel Kolesa 4fa161fffa eolian: yet another validator fix (expression validation) 2014-08-22 13:54:24 +01:00
Daniel Kolesa 189bc4512d eolian: fix type generation for function pointers 2014-08-22 13:45:20 +01:00
Daniel Kolesa 8b6eadcb3c eolian: fix segfault in validator + fill in line info properly 2014-08-22 13:28:29 +01:00
Daniel Kolesa 8f7d325b30 eolian: mark function types as function types 2014-08-22 13:18:17 +01:00
Daniel Kolesa 26e1ec3e32 eolian: fully working database validation 2014-08-22 13:10:29 +01:00
Carsten Haitzler c654b3ef2c evas loaders - fix logically dead code
fix CID 1039447
2014-08-22 20:14:59 +09:00
Carsten Haitzler da45b6ad57 evas sw core - scaler - remove logically dead code
fix CID 1039445 1039446
2014-08-22 20:14:59 +09:00
Carsten Haitzler 56dc04b019 ehysics - fix potential divide by zero
fix CID 1039435
2014-08-22 20:14:59 +09:00
Carsten Haitzler f764b8e644 eeze - fix possible null dereference of mount pount on mount
fix fixes CID 1039425
2014-08-22 20:14:59 +09:00
Carsten Haitzler 683834cfc4 ephysics - fix null dereference
this fixes a real bug in ephysics where we explicitly deref a null
ponter. fix CID 1039418
2014-08-22 20:14:59 +09:00
Carsten Haitzler 91c0198273 ephysics - fix explicit possible null deref
fix CID 1039417
2014-08-22 20:14:59 +09:00
Carsten Haitzler 58fed21414 evas - fix possible layer null access in object free
fixes CID 1039409
2014-08-22 20:14:59 +09:00
Carsten Haitzler 1c82a88d6e evas text - deal with possible null text in layout
fix CID 1039408
2014-08-22 20:14:59 +09:00
Carsten Haitzler acb24adcaf edje - document intented fallthrough 2014-08-22 20:14:59 +09:00
Carsten Haitzler 87aee5ab61 edje -document intentional fallthrough 2014-08-22 20:14:59 +09:00
Carsten Haitzler ab53900364 ecore_getopt - fix arg_val being null
fix CID 98382
2014-08-22 20:14:58 +09:00
Carsten Haitzler 1bb6a8a4e4 ecore_getopt - handle if arg_val is null
fix CID 98383
2014-08-22 20:14:58 +09:00
Carsten Haitzler c8a8ee3f5e edje fix real part get
fixes CID 1039331
2014-08-22 20:14:57 +09:00
Carsten Haitzler 855cc98ee4 fix possible null real part lookup in edje
reap part get is always checked.. except here. check and be safe.

fixes CID 1039331
2014-08-22 20:14:57 +09:00
Carsten Haitzler 48f45da5fb fix possible integer overflows with bitshift
these are very unlinkely, but in theory possible so check return value
and don't use an invalid bitshift.

fixes CID 1039318 and CID 1039319
2014-08-22 20:14:57 +09:00
Daniel Kolesa d043c84492 eolian: more validation code (alias/struct/enum/constant/global) 2014-08-22 11:17:31 +01:00
Carsten Haitzler c20cf0964f emotion - make emotion object init now optional.
if you don't init (or set engine) on an emotion object, itstill works
- it chooses the default engine.. whihc i now have set as gst1. :) one
less thing that HAS to be done on init. better.
2014-08-22 17:38:50 +09:00
Jérémy Zurcher ef91422e90 Eo: add missing field initializer 2014-08-22 10:09:58 +02:00
Jérémy Zurcher 68020daf19 Eolian: fix typo 2014-08-22 09:20:53 +02:00
Jérémy Zurcher 4cbdd93b13 Ecore_Common: protect against Ecore_Exe redefinition 2014-08-22 09:20:32 +02:00
Wonguk Jeong a0999f9600 emotion: add more audio formats in supporting extension list 2014-08-21 17:59:05 +02:00
Daniel Kolesa e99f7876a6 eolian: some initial validation traversal 2014-08-21 16:53:41 +01:00
Daniel Kolesa cdd4860520 eolian: turn db validation into separate API 2014-08-21 16:35:59 +01:00
Daniel Kolesa c1afa1b6b5 eolian: add entry point for database validation stage 2014-08-21 16:23:37 +01:00
Cedric BAIL be39c49554 gitignore: ignore some more generated files. 2014-08-21 17:08:36 +02:00
Wonguk Jeong ddbc67a01a emotion: support gstreamer1 for EFL_RUN_IN_TREE/static library 2014-08-21 17:02:21 +02:00
Daniel Kolesa ba35fe91d1 lib/efl: add gitignore 2014-08-21 15:19:38 +01:00
Cedric BAIL 41fab84f83 edje: make edje map have the same behavior has visibility.
It is in fact more coherent to follow the logic of visibility for map to.
So you don't require a specific state to finish your animation before turning
map off.
2014-08-21 16:10:54 +02:00
Cedric BAIL 1a571fc689 eina: add documentation for the tricky eina_hash_pointer_new 2014-08-21 13:47:59 +02:00
Daniel Kolesa 78acf69e20 eo, autotools: check for mmap feature rather than OS (mmap is POSIX) 2014-08-21 11:54:17 +01:00
Tom Hacohen a9a049b8ab Eo files: Adjust according to latest eolian changes. 2014-08-21 11:02:11 +01:00
Tom Hacohen 6e5a35e43e Ecore exe: Start using the control interface. 2014-08-21 11:02:11 +01:00
Tom Hacohen cc6b02bc22 Ecore Exe: Start using eo events. 2014-08-21 11:02:11 +01:00
Tom Hacohen eed11ac529 Ecore Exe: Migrate to eo. 2014-08-21 11:02:11 +01:00
Tom Hacohen 3f29b35662 Efl interfaces: Add control interface. 2014-08-21 11:02:11 +01:00
Tom Hacohen 5ec2aecd83 Emotion object: Convert from a smart object to an eo object. 2014-08-21 11:02:11 +01:00
Tom Hacohen 0f3ccbfd17 Emotion object: Create .eo file. 2014-08-21 11:02:11 +01:00
Tom Hacohen ee5be295d0 Efl image: Add ratio property. 2014-08-21 11:02:11 +01:00
Tom Hacohen aff1c8832c Efl player: Add player interface.
This is the first version.
2014-08-21 11:02:11 +01:00
Tom Hacohen cff97a665d Efl file: Add eject method. 2014-08-21 11:02:11 +01:00
Tom Hacohen 345f1fc7ca Ecore mainloop: add some more events. 2014-08-21 11:02:11 +01:00
Tom Hacohen fe374084ed Efl interfaces: Add text interface and start using it. 2014-08-21 11:02:11 +01:00
Tom Hacohen 69219fe1e2 Efl interface: Add image interface and start using it. 2014-08-21 11:02:11 +01:00
Tom Hacohen b2eda60802 Interfaces: remove interfaces that we don't use. 2014-08-21 11:02:11 +01:00
Tom Hacohen 500c4019dd Interface file: Update file interface and use it for image. 2014-08-21 11:02:11 +01:00
Tom Hacohen ceada9523f Efl interfaces: Drop interface namespace from the used interfaces.
We don't need this namespace, it just makes the names long and complicated.
2014-08-21 11:02:11 +01:00
Tom Hacohen bf55348a92 Efl interfaces: Start using the text_properties interface. 2014-08-21 11:02:11 +01:00
Tom Hacohen 17cf3242bb Efl interface file: Remove unneeded method. 2014-08-21 11:02:11 +01:00
Tom Hacohen 3a468f7ad3 Efl interface file: Start using the new interface. 2014-08-21 11:02:11 +01:00
Tom Hacohen b0b533fcb1 Efl: Create libefl.
Create libefl.so and the interal package for dependencies.
2014-08-21 11:02:10 +01:00
Tom Hacohen 0658591a4d Efl eolian: Adjust according to eolian syntax changes. 2014-08-21 11:02:10 +01:00
Tom Hacohen 60c35f329f Efl interface part: First draft.
This interface will be used for fetching parts from objects.
The parts can either be real objects or more likely mock objects
that proxy into actual calls on the object.
2014-08-21 11:02:10 +01:00
Tom Hacohen 17e99e6750 Ecore mainloop: Add .eo implementation. 2014-08-21 11:02:10 +01:00
Tom Hacohen 9969737640 Efl: remove "part" interfaces. Useless. 2014-08-21 11:02:10 +01:00
Daniel Zaoui 388d5a4bba Interfaces: Integration into Makefile + fix of .eo 2014-08-21 11:02:10 +01:00
Daniel Zaoui 86b7ab8caa First draft of interfaces 2014-08-21 11:02:10 +01:00
Cedric BAIL 2a51029340 ecore_x: fix debug message and try to shutdown in time. 2014-08-21 12:04:53 +02:00
Jean Guyomarc'h dc8e006e4f eo: mmap()/unmap() are also supported on OSX
Reviewers: raster, raoulh
@feature

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-21 12:04:53 +02:00
Jean Guyomarc'h f449f0ddb6 eina: port Eina_Spinlock for OSX
Summary: Support of Spinlocks in Eina (Eina_Spinlock) for OSX, which does not implement them in pthread.
@feature

Reviewers: raster, raoulh, naguirre, cedric, stefan_schmidt

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-21 12:04:53 +02:00
Mun, Gwan-gyeong f5b8109397 evas: add evas gl-drm engine
Summary: This is the first step to introduce a gl-drm backend.

Test Plan: "ecore evas" create with ecore_evas_gl_drm_new(). It creates "ecore evas" with gl_drm evas backend.
@feature

Reviewers: raster, Hermet, cedric, devilhorns

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-21 12:04:53 +02:00
Andrii Kroitor 9a1fb1b88d edje: Edje_Edit - fix support for program's targets
Summary:
added support of all action types that use targets to
edje_edit_program_target_add and edje_edit_program_target_del

added targets cleaning to edje_edit_program_action_set to avoid usage of program id
as part id and vise versa.

@fix

Reviewers: cedric, seoz, Hermet

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-21 12:04:53 +02:00
Julien Isorce d3c56d5c74 xlib: fix undefined behaviour when freeing colormap too early
Summary:
On Ubuntu 14.04 it makes a 32 bit depth window un-responsive
to any XEvent.

Reviewers: cedric, raster

Reviewed By: raster

Subscribers: raster, capOM, cedric

Differential Revision: https://phab.enlightenment.org/D1236
2014-08-21 18:40:02 +09:00
Daniel Kolesa fce1e61ff5 eolian: fix shadow warnings 2014-08-21 09:26:06 +01:00
Daniel Kolesa 4103f3daaf eolian: NULL the hashes after shutdown 2014-08-21 09:26:05 +01:00
Daniel Kolesa 58a2025c25 eolian: new API: eolian_function_is_constructing 2014-08-21 09:26:05 +01:00
Daniel Kolesa 7372ac3ffb eolian: prevent potential on-error memory leaks 2014-08-21 09:26:05 +01:00
Daniel Kolesa ef380c56b6 eolian: support for setting a free function to values in eo files 2014-08-21 09:26:05 +01:00
Daniel Kolesa d788986fd8 eolian: reduce code duplication 2014-08-21 09:26:05 +01:00
Daniel Kolesa 452497eac5 eolian: remove a bunch of pointless stringshare refs + fix in lua 2014-08-21 09:26:05 +01:00
Daniel Kolesa 33c39282b1 eolian: support "eo: null;" for legacy only functions/properties 2014-08-21 09:26:05 +01:00
Daniel Kolesa e6954d143d eolian: drop Eina_Value
Because of Eina_Value being less than optimal in our usage, we're dropping it in Eolian.
This simplifies the code and makes it easier to bind to other languages, which
will aid new generators. Also, we're dropping long double support from eo files
and expressions as it causes an ABI breakage in gcc 4.4.
2014-08-21 09:26:05 +01:00
Daniel Kolesa dbf48c0ecc eolian: remove the remaining superfluous database_ functions 2014-08-21 09:26:05 +01:00
Daniel Kolesa 97d9bf37fa eolian: first batch of database_ functions removal (simplifies code) 2014-08-21 09:26:05 +01:00
Daniel Kolesa 913e0f09fa eolian: get rid of the data hash in Eolian_Function 2014-08-21 09:26:05 +01:00
Daniel Kolesa 60f0450bac eolian: prevent potential memory leakage on error 2014-08-21 09:26:05 +01:00
Daniel Kolesa 24f618947e eolian: don't need this one 2014-08-21 09:26:05 +01:00
Daniel Kolesa 1688749ce9 eolian: add support for opaque struct types (+ tests) 2014-08-21 09:26:05 +01:00
Daniel Kolesa 93726c86a3 eolian: get rid of eolian_parameter_information_get 2014-08-21 09:26:04 +01:00