Cedric BAIL
dd1d3f0d2d
autotools: since it has been broken for some times and nobody noticed, let's remove per directory support.
2016-08-01 13:36:47 -07:00
Vincent Torri
94f784fe96
Evil: fix EAPI when dirent.h and mman.h are included (Windows only)
...
Test Plan: compilatioN
Reviewers: cedric, jpeg, stefan_schmidt
Differential Revision: https://phab.enlightenment.org/D4055
2016-06-16 14:42:59 +02:00
Cedric BAIL
4c92120457
evil: make it possible to build the library alone.
...
So I have been battling with autotools on this for a full week now,
and what we want is basically impossible. A.k.a. one file definition
and possibility to do a full build or just a partial build of efl.
Even moving to just partial build require to land a massive patch that
change everything in our build system and this is just not a road I
want to take.
For reference, if one day automake allow the use of any kind of variable
(autoconf AC_SUBST expansion or $()) in the _SOURCES parameter, it will
be possible to fix. Alternatively if they allow to build subdirectory
before they do BUILT_SOURCE, it would make it possible to incrementaly
move to only partial build. In the mean time, a less problematic solution
is to duplicate source code.
2016-04-14 15:52:50 -07:00
Vincent Torri
142cb17fad
Evil: the addr argument of dladdr is acually used
2016-03-14 13:43:57 +09:00
Vincent Torri
479ec8dd3e
Evil: cosmetic change
2016-03-14 13:43:48 +09:00
Vincent Torri
2636fd6559
Evil: remove useless defines
...
Summary: Those defines are already defined in mingw-w64 header files
Test Plan: makE
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3713
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-18 13:37:31 -08:00
Vincent Torri
3117b8ca5a
win32: Fix compilation due to recent changes in Evil
...
Summary:
dlfcn.h is not available anymore on Windows, Evil provides all the
necessary declarations.
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3577
@fix
2016-01-18 13:54:52 +09:00
Vincent Torri
9e085209f4
Evil: fix compilation warning
...
getenv() requires stdlib.h
2015-12-29 22:13:58 +09:00
Vincent Torri
47ed848a87
Evil: integrate the dlfcn code into Evil
...
This will remove some incompatibilities with other packages,
especially for win-builds
2015-12-29 22:13:58 +09:00
Vincent Torri
a4a82ca003
Evil: remove useless internal function
...
Reviewers: cedric, jpeg
Reviewed By: jpeg
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3410
2015-12-08 13:56:49 +09:00
Vincent Torri
7782e2388c
Evil: fix infinite recursive loop in previous addition of setlocale() in Evil
...
Summary:
setlocale() called itself because it was defined as a #define
so remove this #define from evil_locale.h and move it in another header file
To avoid future problem, move similar defines to this header file
Also clean all the header file mess in Evil
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3409
2015-12-08 13:56:49 +09:00
Vincent Torri
c66608dce0
Evil: remove useless code
...
This code was used for GNU printf and al. but it is useless now
2015-12-04 13:17:55 +00:00
Vincent Torri
02ef02bfb5
evil: better check of Windows 64 bits
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01 12:15:52 -08:00
Vincent Torri
cbb6e9b20f
Evil: add support for LC_MESSAGES for setlocale()
...
LC_MESSAGES is an extension to C ANSI and does not exist on Windows.
So add LC_MESSAGES API and overload setlocale() to support it
@feature
2015-11-30 16:28:02 +00:00
Vincent Torri
0a44c3f78b
Evil: fix warning
...
Use the USERPROFILE environment variable instead of deprecated evil_homedir_get
function. Also set the shell to cmd.exe if the SHELL var is not found
2015-11-30 11:27:33 +00:00
Vincent Torri
9070e067bc
evil: remove useless vc++ code
...
vc++ is not supported anymore
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-11 14:36:17 -08:00
Vincent Torri
26ed6638ae
evil: fix warnings when mingw-w64 4.* is installed
...
mingw-w64 4.* adds several macros and functions compared to the 3.* version,
so make sure that Evil does not redeclare them
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-11 14:36:09 -08:00
Yeshwanth Reddivari
a605bd8498
evil: avoid SIGSEV while using strlen function
...
Summary: Assertion of (fp!=NULL) should be done before passing fp to strlen funcion
Reviewers: singh.amitesh, Hermet, alok25, mvsovani, vtorri
Subscribers: sachin.dev, cedric
Differential Revision: https://phab.enlightenment.org/D3274
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:11:01 -08:00
Vivek Ellur
00e96a730b
evil: fix memory leak issue in evil module
...
Summary:
@Fix
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3217
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-22 12:15:34 -07:00
Vincent Torri
5e035d7a73
Evil: set EAPI correctly in pwd.h
2015-10-14 09:43:34 +01:00
ChunEon Park
12b4e371ac
evil: add missing since
2015-08-22 16:02:35 +09:00
Vincent Torri
c73ccef4a7
Evil: fix compilation when MSVC is not available.
...
localtime_s is not defined in msvcrt.dll but rather is defined in
Microsoft libc when Visual Studio or other stuff is installed.
Issue introduced in:024812c1a76286991f292c3191936778ec219ff8
Fixes T2681
@fix
2015-08-21 13:12:32 +01:00
ChunEon Park
6a7e595bf6
evil: fix warnings.
...
correct data size for 32/64 compatibility.
2015-08-20 15:33:06 +09:00
ChunEon Park
024812c1a7
evil: fix incorrect function call.
...
_localtime64_s() requires _time64_t as one argument but here we passes time_s.
Proper api is localtime_s().
2015-08-20 14:28:20 +09:00
Vincent Torri
3a2dca7eac
Evil: add a wrapper around _mkdir
...
@feature
2015-07-03 16:23:06 +01:00
Vincent Torri
ae3b5a8f9b
evil: deprecate evil_tmpdir_get() and evil_homedir_get().
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-01 11:46:33 +02:00
Vincent Torri
92ff90ecca
evil: fix dladdr() implementation, add 2 unit tests for evil.
...
@fix
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:12 +02:00
Vincent Torri
00a3de5c1f
evil: fix mem leak in dlsym() when using UNICODE
...
@fix
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:12 +02:00
Vincent Torri
f2aec7ae4b
evil: minor formatting in dlfcn.c
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:12 +02:00
Cedric BAIL
d63593fc64
evil: remove the need to order the header correctly for Windows.
2015-05-07 09:53:11 +02:00
Vincent Torri
d1722eb394
evil: remove unused files (evil_p*) and uneeded evil_uuid.c file (managed by mingw-w64)
...
Just keeping up with latest mingw-w64.
2015-04-19 09:51:41 +02:00
Vincent Torri
50f06dbdb1
evil: fix access to a file mapping object
...
Patch from Jorge Luis Zapatta (turran), a bit modified
by me
@fix
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-22 17:09:36 +01:00
Bryce Harrington
27920d31c1
Spelling fixes
...
Summary:
emmited ==> emitted
resistence ==> resistance
occured ==> occurred
Reviewers: cedric, zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2192
2015-03-18 21:38:33 -04:00
Michelle Legrand
a0b6f87c44
evil: add strndup().
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-12 07:43:58 +01:00
Vincent Torri
c029a8db52
evil: fix gecos field of struct pw
...
@fix
2015-02-24 17:21:44 +01:00
michelle legrand
399dbb8c6a
evil: fix initialisation.
...
Eina_Log is not available at this point of the initialisation.
2015-02-07 14:00:28 +01:00
Srivardhan Hebbar
a9a027509c
evil: prevent _evil_init_count from going below zero.
...
Summary: _evil_init_count should never go below zero. This can occur, if a developer mistakenly calls evil_shutdown before calling evil_init. So fixing the code so that it never goes below zero.
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1922
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05 11:24:40 +01:00
michelle legrand
9350965125
evil: get right Windows environment variables for home path.
...
@fix
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-30 10:49:48 +01:00
michelle legrand
256fc80dbc
evil: add windows compatible langinfo.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-30 10:49:45 +01:00
Andrii Kroitor
b457dff840
evil: fix SEGFAULT in strcasestr
...
Summary:
there was an unsigned int underflow.
@fix
Test Plan: strcasestr("a", "bbb");
Reviewers: cedric, raster, Hermet, seoz
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1909
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-29 21:17:05 +01:00
Vincent Torri
fc81ae40e3
evil: fix initialisation of the socket library.
...
@fix
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-28 21:02:21 +01:00
vivek
cd99392df7
evil: fix memory leak issue in evil_dirent module.
...
Summary:
Memory allocated to dir was not freed. so added code to free dir struct
@fix
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1814
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-25 21:50:24 +01:00
Vincent Torri
f52be78699
evil: add getpwnam() function
...
@feature
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-10 02:38:53 +01:00
Vincent Torri
f69649ae33
evil: simplify implementation of localtime_r
...
@fix
2014-10-20 18:40:12 +02:00
Vincent Torri
7f9a82db03
evil: formatting.
2014-10-20 18:40:07 +02:00
Vincent Torri
6c2ec01d39
Evil: add strptime()
...
@feature
2014-09-28 12:29:54 -04:00
Vincent Torri
0af6fcbc2a
Evil: fix fcntl() when used with F_SETFL
...
@fix
2014-09-28 12:29:54 -04:00
Vincent Torri
9631585f24
efl: remove Windows CE support
2014-07-13 15:17:17 +02:00
Cedric BAIL
5080dc4dff
evil: fix mistaken check of returned value by mkdir.
...
mkdir succeed with return == 0 !
@fix
2014-07-12 12:23:02 +02:00
Cedric BAIL
f4fc10f5ec
evil: actually commit the right fix.
2014-06-20 10:52:34 +02:00