Felipe Magno de Almeida
3c1425c23e
windows: Replace EAPI with EVIL_API in evil library
2020-05-04 22:11:44 -03:00
Felipe Magno de Almeida
a5caa53f8f
windows: Add evil_windows.h before socket includes in eina
2020-05-04 22:11:43 -03:00
Felipe Magno de Almeida
b92dfa461c
windows: Add some tooling information to native windows file
2020-05-04 22:11:43 -03:00
Felipe Magno de Almeida
afe812acdb
windows: Add direct.h for functions similar to unistd.h
2020-05-04 22:11:43 -03:00
Felipe Magno de Almeida
0bb295fadc
windows: Add more debug information to build.bat
2020-05-04 22:11:43 -03:00
Joao Antonio Cardoso
cf62ea7bab
alternative: using definitions to map ucrt
2020-04-30 14:40:34 -03:00
Lucas
ea6d1c40ee
Windows:eina: Add Thread synchronization ( #34 )
...
This should add all needed functions/structures for thread synchronization besides:
- eina_condition initialization;
- cond_timedwait.
2020-04-30 14:11:51 -03:00
Felipe Magno de Almeida
728e1afde9
efl-windows: Create windows.yml for github CI
2020-04-30 11:56:50 -03:00
carlos
513b166b97
code style
2020-04-29 12:13:38 -03:00
carlos
6436feb57c
code style
2020-04-29 12:13:38 -03:00
carlos
1b45bef154
default thread priority, and default stack size posix like
2020-04-29 12:13:38 -03:00
carlos
c8960c2006
code style
2020-04-29 12:13:38 -03:00
carlos
59f07e1f86
_eina_thread_join return int
2020-04-29 12:13:38 -03:00
carlos
8b4b7d0e64
meson.build verify if exists symbols thread_setname and thread_setaffinity for win32
2020-04-29 12:13:38 -03:00
carlos
0c7d90a12c
EINA_THREAD_JOIN_CANCELED in eina_thread.h
2020-04-29 12:13:38 -03:00
carlos
5c89d47bdc
EINA_HAVE_PTHREAD_SETNAME to EINA_HAVE_THREAD_SETNAME
2020-04-29 12:13:38 -03:00
carlos
3c09795607
just on if sys_windows
2020-04-29 12:13:38 -03:00
carlos
00dd023f12
EINA_THREAD_JOIN_CANCELED just in eina_thread.h and removed some unecessary cast
2020-04-29 12:13:38 -03:00
carlos
39adc0b580
eina_sched_win32 code convention
2020-04-29 12:13:38 -03:00
carlos
4e346e2c06
eina_sched_posix code convention
2020-04-29 12:13:38 -03:00
carlos
9577601d06
eina_inline_thread_win32 code convention
2020-04-29 12:13:38 -03:00
carlos
2a29c410aa
eina_inline_thread_posix code convention
2020-04-29 12:13:38 -03:00
carlos
4cee97de7e
eina_debug_timer code convention
2020-04-29 12:13:38 -03:00
carlos
1b3f60780e
headers comuns agora estao em eina_thread.h
2020-04-29 12:13:38 -03:00
carlos
845c323190
adicionado static inline functions no.x
2020-04-29 12:13:38 -03:00
carlos
2894e8459d
#undef _WIN32_LEAN_AND_MEAN
2020-04-29 12:13:38 -03:00
carlos
807ba9b1ce
eapi const moved from eina_inline_thread_win32.x to eina_thread_win32.h
2020-04-29 12:13:38 -03:00
carlos
2ed5fe3ccc
Renamed eina_thread_{win32,posix}.c to eina_inline_thread_{win32,posix}.x
...
All includes and types from these files were moved to eina_thread_{win32,posix}.h
No more private functions of eina_sched_prio_drop and this functions are defined acording to SO, in eina_sched_{win32,posix}.c
2020-04-29 12:13:38 -03:00
carlos
b852570013
Removed unnecessary comments and lines.
...
Created eina_sched_{win32,posix}.c Now _eina_sched_prio_drop is in this file, not in eina_thread{win32,posix}.c
No more function about pthreads in eina_thread.c
Functions wrappers declared into eina_thread.h
Removed somes #ifdef linux
2020-04-29 12:13:38 -03:00
carlos
3bd220796f
aplying review from coquinho
2020-04-29 12:13:38 -03:00
carlos
8666e10639
tiz answer
2020-04-29 12:13:38 -03:00
carlos
ac9e9cbce8
removed a false #ifndef _WIN32
2020-04-29 12:13:38 -03:00
carlos
da4b9ec858
divided eina_sched_prio_drop into eina_thread_win32.c and eina_thread_posix.c; Code convention
2020-04-29 12:13:38 -03:00
carlos
74dd7e2a4f
Apply suggestions of jptiz and lucas
2020-04-29 12:13:38 -03:00
carlos
268178b9d5
removed unnecessary comments
2020-04-29 12:13:38 -03:00
carlos
b7c43d51c1
fix the use of WIN32_LEAN_AND_MEAN
2020-04-29 12:13:38 -03:00
carlos
912ffe04a8
add WIN32_LEAN_AND_MEAN to prevent window.h from including unnecessarily headers
2020-04-29 12:13:38 -03:00
carlos
a3bfef027d
eina_sched.c with win32 api
2020-04-29 12:13:38 -03:00
caiosignor
d51f5295e5
eina_sched.c win32 implementation
2020-04-29 12:13:38 -03:00
caiosignor
cb61d63cb8
pthread to win32
2020-04-29 12:13:38 -03:00
caiosignor
f9b57e5569
merged from devs/coquinho/lock
2020-04-29 12:13:38 -03:00
caiosignor
425a9a5fbd
Separate eina_thred.c into eina_thread_posix.c and eina_thread_win32.c; Changed the meson.build to call theses files according to SO.
2020-04-29 12:13:38 -03:00
João Paulo Taylor Ienczak Zanette
ed0287d23b
windows: Add wrap for getopt
2020-04-29 11:07:36 -03:00
Lucas Cavalcante de Sousa
65278b6438
Windows: Fix JPTIZ comments
...
Remove debugging `asserts` and unnecessary parenthesis ta `if`.
2020-04-23 16:01:14 -03:00
Lucas Cavalcante de Sousa
f7d1061a35
Bug: Compile `devs/expertise/native-windows` on Linux
...
Summary:
========
This PR makes `devs/expertise/native-windows` compile on linux.
lua was a little problematic:
luajit is a default option to bindings in `master` but at
`devs/expertise/native-windows` it was changed to lua, This PR brings
luajit back as a default option, but make a Windows build always use
lua - semantically equal to what happened at
`devs/expertise/native-windows`
Ref Issue #38
Linux Test plan:
================
- `meson` configured with `-Dbindigns=cxx,mono`;
- `ninja` should return every warning that `master` does, nothing else;
- `meson test -C <build dir>` should pass in everything that `master`
does;
Windows Test plan:
==================
- Run `configure.bat` normally;
- Run `build.bat` it should yield the same erros/warnigs that
`devs/expertise/native-windows` does;
2020-04-23 16:01:14 -03:00
João Paulo Taylor Ienczak Zanette
8437d20dc8
windows: Use correct pcre header, fix missing evil_unposix declaration
2020-04-23 15:14:47 -03:00
João Paulo Taylor Ienczak Zanette
23459a4eb5
windows: Add evil_unposix as declare_dependency when not in windows
2020-04-23 15:14:47 -03:00
João Paulo Taylor Ienczak Zanette
9af77e4929
windows: Stop wrong inclusion of unposix in subprojects
2020-04-23 15:14:47 -03:00
João Paulo Taylor Ienczak Zanette
ae4f052980
windows: Transform zlib and pcre into wrap dependencies
2020-04-23 15:14:47 -03:00
Lucas Cavalcante de Sousa
160587f260
windows: Enable implicit-function-declaration error.
...
As implicit-function-declaration is a really important error for who is
reviewing/creating PR's I suggest to disable
`Wno-implicit-function-declaration` at meson build. The ones who need
the warning disabled can do it themselves.
2020-04-23 13:04:39 -03:00