Vincent Torri
56a4d3037e
Evil: really drop Windows XP support
...
Summary: set WINVER macro to at least Vista macro value
Test Plan: compilation
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D5369
2017-10-24 16:13:01 -07:00
Prince Kumar Dubey
1235459ed3
efl: unused variable removed, removing local variable assignment which has no use at all.
...
Reviewers: raster, cedric
Reviewed By: cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5304
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-10-13 12:11:45 -07:00
Vincent Torri
c47fdb8c80
evil: remove strrstr and ffs - not used in the EFL on Windows
...
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-10-13 11:40:10 -07:00
Vincent Torri
10ba064b65
Windows: remove XP support and forbid compilation and run on this platform
...
Test Plan: run on XP
Reviewers: jpeg, cedric, ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5245
2017-10-01 18:09:46 +01:00
Ivan Furs
f3e9496cd1
evil: Fix edc scripts compilation on windows
...
Fixes T5410
Summary: should fix the error T5410
Reviewers: vtorri, t.naumenko, cedric, raster, an.kroitor, rimmed, NikaWhite, FurryMyad
Subscribers: artem.popov, cedric, jpeg
Maniphest Tasks: T5410
Differential Revision: https://phab.enlightenment.org/D4830
2017-06-12 11:52:30 +09:00
Vincent Torri
58d52a2309
Evil: fix fcntl() with sockets
...
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.
2017-04-03 11:24:34 +02:00
Gustavo Sverzut Barbieri
13cd93f729
evil_string: fix strndup() for non-NULL terminated strings.
...
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.
2017-03-29 12:44:19 -03:00
Vyacheslav Reutskiy
ba4370f8df
evil: include "sys/types.h" where is define off_t
2017-01-17 14:54:09 +02:00
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
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
Vincent Torri
6e043dfb44
evil: remove libgen and the GNU *printf code (both in mingw-w64).
...
This should reduce the code size of evil and reduce maintainance as
mingw does now take care of it.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-10-31 14:33:00 +09:00
Cedric Bail
766d1d1788
evil: fix compilation for Windows >= Vista and gcc 4.8.1.
2013-09-11 15:13:41 +09:00
Cedric Bail
0ec54484f7
evil: fix access value to shared memory.
2013-07-29 18:58:41 +09:00
Christophe Sadoine
2070ca4205
evil: add strsep function.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:37 +09:00
Christophe Sadoine
d9e1b7d67c
evil: added evil_rename() a wrapper around rename().
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:27 +09:00
Cedric Bail
4605b91804
evil: returned the good value for mkstemp
...
Added back some needed defines for elementary (was in evil 1.7.7).
2013-06-25 12:16:36 +09:00
Sebastian Dransfeld
068f1ddc62
efl: formatting
2013-06-20 13:08:36 +02:00
Cedric Bail
1c50ffe83f
Evil: add mkdtemp
2013-03-31 00:13:06 +09:00
Cedric Bail
9e745d4a2c
efl: add macro to swap Windows and Unix path separators.
2013-03-19 15:15:46 +09:00
Cedric Bail
c97d05aca2
Add F_GETFL support (which does actually nothing
2013-03-11 10:34:47 +09:00
Cedric Bail
5fc7829c96
eina, evil: fix warning on 64 bits
2013-03-10 20:32:53 +09:00
Lucas De Marchi
3e4eb4437e
efl: remove check for errno.h
...
SVN revision: 82581
2013-01-10 20:25:44 +00:00
Gustavo Sverzut Barbieri
2608f68571
efl/docs: clean-up and make it more uniform.
...
now unified docs are bit more uniform in their start pages, overall
improved but much to do :-(
SVN revision: 81851
2012-12-28 23:26:05 +00:00
Gustavo Sverzut Barbieri
6104a51efe
efl/docs: fix evil x escape conflicts
...
SVN revision: 81827
2012-12-28 18:42:35 +00:00
Jonas M. Gastal
d487f9d744
efl: Created Evil group and added existing Evil groups to it.
...
SVN revision: 81292
2012-12-18 18:38:35 +00:00
Jonas M. Gastal
6ecaa33f22
efl: Adding a unified main page that links to the "mainpage" of libs.
...
SVN revision: 81273
2012-12-18 16:12:56 +00:00
Vincent Torri
58a9a0ad57
merge: don't use recursive subdirs. Compilation should be faster.
...
Please check.
note1: Only lib and bin for now, but should be extended to other stuff
note2: distcheck does not work because eo_suite is failing.
SVN revision: 78758
2012-11-01 12:56:52 +00:00
Vincent Torri
7fe3d35994
merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
...
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Vincent Torri
d2d31d5d56
merge: evil compile
...
SVN revision: 76471
2012-09-11 17:44:59 +00:00
Vincent Torri
a96ba56971
merge: fix++
...
SVN revision: 76466
2012-09-11 17:11:37 +00:00
Vincent Torri
cd69ef4c8a
merge: add evil files
...
SVN revision: 76464
2012-09-11 16:13:11 +00:00