summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* elm_code: Fix coverity issue divide by zeroBryce Harrington2017-04-061-4/+8
| | | | | | | | | | | | Summary: @fix 1371128: DIVIDE_BY_ZERO Reviewers: ajwillia.ms Reviewed By: ajwillia.ms Subscribers: ajwillia.ms, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4771
* elm_code: Fix bug when deleting slection beyond start of document.Andy Williams2017-04-061-11/+14
| | | | @fix
* evas: update webp output test.Cedric BAIL2017-04-061-0/+0
| | | | | | | webp has slightly change since we registered this test and even if the output is visually still close, as we do a perfect pixels comparison, we are impacted by the slightest change. It would be nice to introduce a function that does a more fuzzy comparison.
* evas: always send a proper event to simplify callee logic.Cedric BAIL2017-04-061-1/+1
| | | | @fix
* ecore_evas: fix 'be delete' to 'be deleted'Bryce Harrington2017-04-061-4/+4
| | | | | | Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4766
* access: Fix warning hiding a potential crashJean-Philippe Andre2017-04-061-1/+1
| | | | See 5da4c96087260ff50e0e76fe69e5de5121a9accc
* Colorclass: Add fixed attribute to remove error messageJeeyong Um2017-04-061-0/+1
| | | | | | | | Test Plan: elementary_test -to "color classes" Reviewers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4741
* emile_image: add error handling code for ifd_offset valueJaeun Choi2017-04-061-0/+8
| | | | Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
* fix evas canvas callbacks to use correct legacy callback functionCarsten Haitzler (Rasterman)2017-04-061-35/+28
|
* elm - cache dump - disable this to fix jp's issues of proxies etc.Carsten Haitzler (Rasterman)2017-04-061-1/+2
| | | | | | | | this will stop proxies, maps, and other filter object content from being dropped whenever elm calls elm_cache_all_flush() to flush all caches. @fix
* elm_code: Fix crashes with backspace on OpenBSDAndy Williams2017-04-052-4/+6
| | | | @fix
* elm_code: better safety around widget edge casesAndy Williams2017-04-052-7/+12
| | | | | Fixes crashes when dragging selection out of widget. @fix
* elementary: access calls "access,activated" smart callbackShinwoo Kim2017-04-051-1/+12
| | | | | | | | The "access,activated" smart callback is called when "Activate the selected item" gesture occurs. Application could do the activation action using elm_access_action_cb_set. But we recommend not to use elm_access_action_cb_set for this purpose on atspi environment. And this would be usual widget behavior as elm_button does.
* ecore_evas: Fix some pluralization grammatical errorsBryce Harrington2017-04-041-19/+19
| | | | | | Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4729
* Evas_Common: Fix assorted typosBryce Harrington2017-04-041-14/+14
| | | | | | | | | | Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4730
* Evas GL: Correct a couple typos in doxygen commentsBryce Harrington2017-04-041-2/+2
| | | | | | | | | | Reviewers: devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4737
* Evas_Loader: Fix pluralization in grammarBryce Harrington2017-04-041-5/+5
| | | | | | | | | | Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4736
* evas: Correct typos in Evas_Eo.h docsBryce Harrington2017-04-041-6/+6
| | | | | | | | | | Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4735
* evas textblock: fix top/bottom valign tag reversed issueYoungbok Shin2017-04-041-2/+6
| | | | | | | | | | | | | | | | | | | | | | | Summary: valign tag is for handling vertical align according to line's height and text's height. But, it worked in a line which has only one font and one font size, too. And the result was abnormal depending its font. The line's height is [ascent + descent]. But, Textblock uses max ascent and items's height(could be used max ascent + max descent according to its position) when Textblock calculates item's yoff. So, If Textblock calculate yoff based on line's height, it should use only ascent and descent instead of max ascent and max descent. @fix Test Plan: Will attached in comment section. Reviewers: raster, herdsman, jpeg, woohyun Reviewed By: raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4760
* Evil: fix fcntl() with socketsVincent Torri2017-04-031-7/+24
| | | | | | | | | On Windows, fd and sockets are different. Sockets are actually HANDLES, hence _get_osfhandle() should not be used with sockets, and GetHandleInformation() and SetHandleInformation() can be used directly with sockets. This is fixed by adding a function to test if the 'fd passed to fcntl() is a socket or not.
* combobox: fix 0px height on first clickMarcel Hollerbach2017-04-011-4/+24
| | | | | | | | | | the height of a item is 0 because the item is not realized, so if no item is realized we are waiting until one is realized, until then we just take 1px as a height, so at minimum one item needs to be realized. If there is a realized item (or we are getting the event that there is one) we are just calling _table_resize again, and are getting the size for real.
* combobox: fix layer setting for the hoverMarcel Hollerbach2017-04-011-0/+1
| | | | | | in cases where a ui is using layers other objects could overlap the hover object. Which is wrong, the genlist should stay above the rest of the content, in any case.
* combobox: Fix combobox for the case the parent is not the windowMarcel Hollerbach2017-04-011-1/+1
| | | | | | | | if the parent is not a window the elm hover is created for the parent of the combobox, which is a problem because the hover will not expand to its full size of the window, and will stay in the size of the parent. Adding the top widget instead of the parent widget fixes that.
* elm_code: fix backspace newline in BSDAndy Williams2017-03-311-2/+5
|
* ecore-evas: add flag for buffer canvas to prevent deadlock in pixels_getMike Blumenkrantz2017-03-312-0/+4
| | | | | | | when calling pixels_get during a render callback, another render would trigger which would cause a deadlock from evas spinlock usage @fix
* doc: add explicit note for timeline animator about first frame positionMike Blumenkrantz2017-03-311-0/+1
|
* eolian: fix incorrect function prototypes in legacy headersDaniel Kolesa2017-03-311-0/+4
| | | | | C functions that take no arguments need to have void in the arg list. Otherwise, it would mean taking any number of arguments.
* release: Update NEWS and bump version for 1.19.0-beta4 releasev1.19.0-beta4Stefan Schmidt2017-03-312-1/+18
|
* efl: terrible kludge so avoid termination crash on osxJean Guyomarc'h2017-03-312-0/+28
| | | | | | | | | | | | | | | Currently, elementary programs crash on termination on macOS (seems Sierra-specific). This is very nasty, looks like deep memory corruption... Without valgrind (or like) support on Sierra, it is difficult to pinpoint the origin of the problem. Due to the imminient release, and after discussion with @stefan, this kludge will allow the release to happen. This commit MUST be reverted just after the release, so we don't blindfold ourselves! Ref T5245
* elm_flipselector: delete ecore job in group del functionJaeun Choi2017-03-311-0/+1
| | | | ecore_job_del was missing in a4d2c51d1404c1d8563dd7ac37e64ee105aa6226
* elm_flipselector: fixed flipselector item deletion processJaeun Choi2017-03-312-28/+47
| | | | | | | | | | | | | flipselector item destructor had a severe drawback and this patch fixes it. when deleting multiple items at once, the view needs to be updated only once. however, the destructor updated the view on deletion of every single item and it caused a severe performance issue. the worst case happened when deleting a flipselector object - with 10000 items, it took 10 seconds to finish deletion. this patch has two points: 1. if a flipselector object is on deletion, item destructor doesn't update the view 2. otherwise, view update is handled in one job for multiple item deletion
* Fixes latest crash w/rageAl Poole2017-03-311-3/+1
| | | | | | | | | | | | | | | Summary: eina_file_virtualize is causing issues. memfile_set is better but see attached bt. What to do??? Reviewers: raster, cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4743
* elm_code: Fix newline crash on BSDAndy Williams2017-03-301-2/+4
| | | | @fix
* evil_string: fix strndup() for non-NULL terminated strings.Gustavo Sverzut Barbieri2017-03-291-2/+1
| | | | | | | If the given string is not null-terminated, then strlen() will go out of boundaries, we must limit the lookup to given 'n' parameter. To do so use strnlen(), that is a strlen() bounded by a maximum size.
* ecore_con: remove warnings if FD_CLOEXEC is undefined.Gustavo Sverzut Barbieri2017-03-292-0/+11
| | | | | | | currently it's being defined in evil_fcntl.h, but the actual implementation of fcntl() in evil_fcntl.c is causing problems with sockets. So one possibility is to remove the ifdef, another is to change the implementation.
* eina: fix compilation warning on _WIN32 due missing strndup()Gustavo Sverzut Barbieri2017-03-293-0/+12
| | | | | Eina.h will include Evil.h, but those using direct include of internal headers must include it as well.
* others: support efl_net_dialer_windows.Gustavo Sverzut Barbieri2017-03-292-2/+8
| | | | | these are not working on windows yet due other factors, anyway add the proper ifdefs
* ecore_ipc: use new efl_net_*_windows classes.Gustavo Sverzut Barbieri2017-03-292-360/+42
|
* ecore_con_local_path_new(): implemented for WindowsGustavo Sverzut Barbieri2017-03-291-0/+34
|
* implement efl_net_{socket,dialer,server}_windowsGustavo Sverzut Barbieri2017-03-2916-14/+2038
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the local socket for windows, analogous to AF_UNIX. `Efl_Net_Socket_Windows` is the base class doing `ReadFile()` and `WriteFile()` using overlapped I/O, as well as the close procedure (`FlushFileBuffers()`, `DisconnectNamedPipe()` and `CloseHandle()`). These are done on top of an existing HANDLE that is set by `Efl_Net_Dialer_Windows` (from `CreateFile()`) or `Efl_Net_Server_Windows` (from `CreateNamedPipe()`). The overlapped I/O will return immediately, either with operation completed or `ERROR_IO_PENDING`, which means the kernel will execute that asynchronously and will later `SetEvent(overlapped.hEvent)` which is an event we wait on our main loop. That `overlapped` handle must exist during the call lifetime, thus cannot be bound to `pd`, as we may call `CancelIo()` but there is no guarantee the memory won't be touched, in that case we keep the overlapped around, but without an associated object. Windows provides no notification "can read without blocking" or non-blocking calls that returns partial data. The way to go is to use these overlapped I/O, with an initial `ReadFile()` to an internal buffer, once that operation finishes, we callback the user to says there is something to read (`efl_io_reader_can_read_set()`) and wait until `efl_io_reader_read()` is called to consume the available data, then `ReadFile()` is called again to read more data to the same internal buffer. Likewise, there is no "can write without blocking" or non-blocking calls that sends only partial data. The way to go is to get user bytes in `efl_io_writer_write()` and copy them in an internal buffer, then call `WriteFile()` on that and inform the user nothing else can be written until that operation completes (`efl_io_writer_can_write_set()`). This is cumbersome since we say we "sent" stuff when we actually didn't, it's still in our internal buffer (`pd->send.bytes`), but nonetheless the kernel and the other peer may be adding even more buffers, in this case we need to do a best effort to get it delivery. A particular case is troublesome: `write() -> close()`, this may result in `WriteFile()` pending, in this case we wait using `GetOverlappedResult()`, *this is nasty and may block*, but it's the only way I see to cope with such common use case. Other operations, like ongoing `ReadFile()` or `ConnectNamedPipe()` will be canceled using `CancelIo()`. Q: Why no I/O Completion Port (IOCP) was used? Why no CreateThreadpoolIo()? These perform much better! A: These will call back from secondary threads, but in EFL we must report back to the user in order to process incoming data or get more data to send. That is, we serialize everything to the main thread, making it impossible to use the benefits of IOCP and similar such as CreateThreadpoolIo(). Since we'd need to wakeup the main thread anyways, using `OVERLAPPED.hEvent` with `ecore_main_win32_handler_add()` does the job as we expect. Thanks to Vincent Torri (vtorri) for his help getting this code done with an example on how to do the NamedPipe handling on Windows.
* ecore_con_*_example: compile on win32.Gustavo Sverzut Barbieri2017-03-292-5/+17
| | | | | - win32 doesn't provide getline(). - _write() exists, use _write_() instead
* ecore_ipc_client_example: win32 doesn't provide getline().Gustavo Sverzut Barbieri2017-03-291-0/+12
|
* efl_net_dialer_unix_example: read in loop while "can_read".Gustavo Sverzut Barbieri2017-03-291-9/+15
| | | | | | | While in UNIX we use 'select()/poll()' to query for read fds and this will eventually callback with "can_read" event, use the loop to match other implementations where can_read keeps true if not all data was read.
* fix ecore con client exmaple to match cmdline help output for optionsCarsten Haitzler (Rasterman)2017-03-291-1/+1
|
* fix ecore con server exmaple to match cmdline help output for optionsCarsten Haitzler (Rasterman)2017-03-291-1/+1
|
* win: Mark unstable APIs as @beta (stack API)Jean-Philippe Andre2017-03-293-19/+15
| | | | | | | | We have a tag for unstable API, use it. It'll be visible in the doc and force users to add the macro before being able to compile code. This amends d8dd685966858dcc393302.
* window stacks - make these unstable bta api for nowCarsten Haitzler (Rasterman)2017-03-282-9/+14
| | | | until settled, make these as beta for now.
* ecore timeline animators - actually state the starting timeCarsten Haitzler (Rasterman)2017-03-281-2/+4
| | | | | the starting time has always been "now" like in timers (loop time). it would appear some people don't know this.
* ecore pub headers - use __sun not __sun__ for ifdef for solarisCarsten Haitzler (Rasterman)2017-03-271-1/+1
|
* Eina_Value: strdup() is used, so include string.hVincent Torri2017-03-271-0/+1
|