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
Cedric BAIL
301b672b3a
evas: fix build of jpeg saver on Windows.
2014-06-20 09:47:06 +02:00
Jean-Philippe Andre
5926aadd9e
Evil: Add support for mkstemps
...
This adds filename suffix support for temporary files on Windows.
2014-04-02 12:14:50 +09:00
Jeff Grimshaw
d76fbe9067
evil: fix Doxygen markup to prevent warnings.
...
Summary:
The Doxygen header has an opening @\{ with no matching @\}, which
Doxygen will complain about. There is no explicit grouping associated
with the @\{, so I just removed it.
Test Plan: make doc 2> doxyerr.log
CC: cedric
Differential Revision: https://phab.enlightenment.org/D611
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-03-15 20:05:24 +09:00
Cedric BAIL
5507a84028
evil: don't depend on the toolchain defined macro.
2014-02-21 16:48:45 +09:00
Cedric BAIL
8dc6adbf9c
evil: fix include to correctly define type used in the header.
2014-01-06 13:06:15 +09:00
Cedric Bail
069a2b027f
evil: use the right ifdef.
2013-12-01 20:56:52 +09:00
Cedric Bail
721ef9bc26
evil: let's try a more modern declaration.
2013-11-06 11:11:55 +09:00
Cedric Bail
27cce49ab1
evil: let's try to get the right header.
2013-11-04 17:42:58 +09:00
Vincent Torri
bc07d80e0c
evil: add regex code (needed for elm).
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-11-04 16:40:29 +09:00