Commit Graph

15559 Commits

Author SHA1 Message Date
Felipe Magno de Almeida 5df0b6765b eo-cxx: Replace for ENOMEM to avoid warnings 2016-09-14 00:55:51 -03:00
Felipe Magno de Almeida 5e735fe762 eo-cxx: Fix race promises 2016-09-14 00:33:22 -03:00
Felipe Magno de Almeida 3339f03964 eo-cxx: Add promise type 2016-09-14 00:33:22 -03:00
Felipe Magno de Almeida e0b444f95f eo-cxx: Add race promises through eina::variant 2016-09-14 00:33:22 -03:00
Felipe Magno de Almeida 2bdad3f1d6 eo-cxx: race for promises 2016-09-14 00:33:22 -03:00
Felipe Magno de Almeida dbed78ad3b eina-cxx: Moved variant to eina C++ 2016-09-14 00:33:22 -03:00
Cedric BAIL f9401c16f0 evas: link output with evas canvas at finalize time. 2016-09-13 16:12:41 -07:00
Cedric BAIL 23495add5b evas: remove useless symbol. 2016-09-13 16:12:41 -07:00
Cedric BAIL a9ff1bf986 evas: efl_canvas_output should be able to provide pixels if requested. 2016-09-13 16:12:41 -07:00
Gustavo Sverzut Barbieri f8feeb7d92 efl_net_dialer_* use timeout promise instead of timer object.
i wasn't aware of efl_loop_timeout for one-shot timeout promises, then
use it instead of a full object.
2016-09-13 16:09:29 -03:00
Chris Michael 3ab6629a06 evas: Add missing return values for _efl_canvas_output_lock/unlock
functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-09-13 09:36:15 -04:00
Chris Michael 4a6d5e2a05 evas: Mark unused parameters as being EINA_UNUSED
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-09-13 09:32:48 -04:00
Stefan Schmidt d01fa64edf tests: eio: use eina file infrastructure for temporary file creation
The tmp dir is not always /tmp.
2016-09-13 11:28:52 +02:00
Vivek Ellur fb73aabc61 eio_eet: Added test suite for eio eet module.
Summary:
Added new test suite for eio eet module

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric

Subscribers: stefan_schmidt, jpeg, cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D3316
2016-09-13 11:28:52 +02:00
Jaehyun Cho 0ee0baf94e edje: Fix memory overflow on svg loader.
Initialize temporary index not to cause memory overflow on svg loader.
2016-09-13 17:49:36 +09:00
Daniel Hirt 6766ae57a7 Remove leftover evas_out usage from legacy
Build failed after b5456893ee due to
a missing header.
2016-09-13 10:38:02 +03:00
Oleksandr Shcherbina ce1f1c9ebe evas: Fix possible crash in evas_model_save_eet.c
Summary: @fix

Reviewers: cedric, raster, Hermet

Reviewed By: Hermet

Subscribers: artem.popov, jpeg

Differential Revision: https://phab.enlightenment.org/D4293
2016-09-13 15:17:53 +09:00
Woochan Lee cb15722768 elm_calendar: Fix header text bug.
Summary:
There is a bug. when calendar showing very first time.
the some of the headers(weekday name) is blank.

Because of elm_layout_text_set() called with NULL value.

Need to insert all of the weekday names before set text.

@fix

Test Plan:
Execute elementary_test
Open calendar sample.
See the all of the header names there.

Reviewers: cedric, jpeg, Hermet

Reviewed By: Hermet

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4290
2016-09-13 15:17:27 +09:00
Cedric BAIL b5456893ee evas: start working on efl_canvas_output.
This should when done enable the possibility for multi screen in wayland
along with remote display, wireless display and screencasting.
2016-09-12 16:19:10 -07:00
Cedric BAIL 59a77b3315 eio: properly track destruction of all Eet eio request.
@fix T4550
2016-09-12 16:19:10 -07:00
Gustavo Sverzut Barbieri 122b6830b4 efl_net_dialer_tcp: add connect timeout. 2016-09-12 14:48:03 -03:00
Gustavo Sverzut Barbieri cf87389f1e efl_net_dialer_websocket: close and emit EOS on error.
On errors we should close the websocket and if it's in streaming mode
emit an EOS.
2016-09-12 13:44:35 -03:00
Gustavo Sverzut Barbieri bda935c304 efl_net_dialer_tcp: emit EOS on errors.
I/O copier and others may depend on end-of-stream to stop processing,
then emit the EOS on failures.
2016-09-12 13:21:20 -03:00
Gustavo Sverzut Barbieri 704d0818d7 efl_net_dialer_http: emit eos only at the end.
http copiers were never finishing since eos was being reset to FALSE
before the I/O copier job executed.
2016-09-12 13:18:28 -03:00
Gustavo Sverzut Barbieri f3d4b96cb7 efl_net_socket_fd: fail early on double close. 2016-09-12 13:18:28 -03:00
Gustavo Sverzut Barbieri ea7bc821d5 efl_io_closer: add close_on_exec and close_on_destructor properties.
the purpose of these properties are to make it more uniform the
handling of these auto-close behavior.
2016-09-12 13:18:28 -03:00
Jaehyun Cho 7c2671b1f7 config: Add Escape key binding to naviframe.
Naviframe item is popped when Escape key is pressed.
2016-09-12 20:51:04 +09:00
Mykyta Biliavskyi a098ea0f3d Edje_Edit: check returned value edje_edit_edje_file_save function.
In edje_edit_group_copy() for case when save routine is failed
still returned EINA_TRUE. Now will be returned result of save routine.

@fix
CID: 1362727
2016-09-12 14:31:08 +03:00
Stefan Schmidt b62789479d tests: eo_cxx: make sure new header files is included in dist tarball
This new file is available in the src tree but as we do not reference it in the
Makefile it is never put into the dist tarball making distcheck fail.
2016-09-12 13:01:48 +02:00
Stefan Schmidt 21f182567a examples: elementary: fix build for cxx examples needing ecore_cxx includes
The elementary cxx examples now need Ecore_Manual.hh from the cxx bindings.
Make sure we setup the include paths accordingly.
2016-09-12 10:21:47 +02:00
Hermet Park e8fcc41e40 evas map: fix the rendering problem.
I got an issue report about map rendering.
After investigated, I found that was introduced by data overflow.

For fast computation, evas map uses integer data type rather than float,
that gives up some range of data size.

So, if vertex range is a little large but still reasonable,
polygon won'be properly displayed due to the integer overflow.

We can fix this by changing FPc data type to 64 bits (ie, long long)
But I didn't do yet though I can simply fix this costlessly.

By the way, my test case map points are below.

0: -1715, -5499
1: -83, -1011
2: 1957, 5721
3: 325, 1233

and gl result is perfect but sw is totally broken.

@fix
2016-09-12 16:50:00 +09:00
Hermet Park ffe5336506 elementary test_glview: guide ELM_ACCEL rather than ELM_ENGINE
Specifying explicit engine name is not honored now
because backened engine name depends on the system.
We prefer to guide accelerator rather than engine.
2016-09-12 13:15:15 +09:00
Felipe Magno de Almeida a63cfcafc7 eolian-cxx: Implement future template class for C++ 2016-09-11 23:44:05 -03:00
WooHyun Jung 98229bc5d6 embryo_cc: fix memory overflow in str
After for-loop i can have value 11. So the str should be longer than 11.

@fix
2016-09-12 10:09:32 +09:00
Andy Williams 2598ea8da8 elm: don't show our elm_code popup if ctrl pressed 2016-09-11 19:14:20 +01:00
Andy Williams a4398fffef elm: Add popup edit menu in elm_code 2016-09-11 19:14:20 +01:00
Mykyta Biliavskyi 3ba73e58f5 Ecore_con_ssl: fix return value of ecore_con_ssl_client_upgrade.
In case when _ecore_con_ssl_client_init_(gnutls/openssl) finished
successful a enum ECORE_CON_SSL_ERROR_NONE value (0) returned. Function
ecore_con_ssl_client_upgrade return Eina_Bool and in case of success
EINA_FALSE was returned.

@fix
2016-09-11 20:22:05 +03:00
Cedric BAIL fca20d5579 eio: finish port to new efl_io_manager API. 2016-09-09 16:22:55 -07:00
Cedric BAIL 085adca305 ecore: shutup unused arguments warning. 2016-09-09 16:22:55 -07:00
Cedric BAIL e8fb89c156 ecore: fix reference counting of promise value for efl_future_race and efl_future_all. 2016-09-09 16:22:55 -07:00
Gustavo Sverzut Barbieri cb8695e9d6 efl_net_dialer_tcp: make asynchronous resolve and connect.
both resolve (getaddrinfo()) and connect() are now done in
Ecore_Thread, avoid to block the main loop.

My plan is to always use the threaded connect() using a blocking
socket, only set it to non-blocking after the socket is returned to
the main thread and before it's accessible to the user. It will make
the connect behavior more uniform.

Some errors were moved from HTTP to Dialer as they are more generic.
2016-09-09 20:14:01 -03:00
Chris Michael 45ce4c8008 ecore-drm2: Rename output_fb_release to just fb_release
As this function releases FBOs on a given output, lets just shorten
the API function name so it can stay grouped into the ecore_drm2_fb.c
file ... leaving it as ecore_drm2_output_fb_release reads like it
should have gone into the ecore_drm2_output.c file...

NB: No real function changes here, just an API rename.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-09-09 15:10:47 -04:00
Chris Michael 50aa37790f ecore-drm2: Add missing EINA_SAFETY checks for public facing API
functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-09-09 15:05:00 -04:00
Derek Foreman 95bb942aa7 gl_drm_ee: Remove repulsive hack and do proper gbm buffer accounting
We no longer need this hack as we now have a way to properly handle the
buffer locking in the engine, and don't currently deal with multi-head.
2016-09-09 13:39:05 -05:00
Derek Foreman 21ad56aa32 ecore_drm2: Add ecore_drm2_output_fb_release way to force buffer release
Adds an api to attempt to release an fb from an output.  This will try
to first free any queued but not display buffers, which may harmlessly
give us a render target.

However, if that fails it will try to get buffers that have been sent to
scanout, which can lead to tearing.
2016-09-09 13:39:05 -05:00
Derek Foreman 30d14779a6 ecore_drm2: Add release handlers for buffers
Allow the engine to register a callback for buffer release.  This lets us
do appropriate buffer bookkeeping (for example, gbm locking) in the
engine.
2016-09-09 13:39:05 -05:00
Derek Foreman 0722eae960 ecore_drm2: Store gbm_bo for Fbs and add a getter function for it
This will aid with proper locking in gl_drm later
2016-09-09 13:39:05 -05:00
Gustavo Sverzut Barbieri 6bed17ccdf remove TODO/hacks for eo, it's fixed now.
Tasn fixed https://phab.enlightenment.org/T4418 so these are not needed anymore.
2016-09-09 14:53:11 -03:00
Daniel Kolesa 8b948b779c docs: fix editable section writer erasing wrong fields 2016-09-09 14:48:33 +02:00
Daniel Kolesa f89fc6c968 docs: add editable sections where possible 2016-09-09 14:43:02 +02:00