Skip to content

Conversation

@joaoantoniocardoso
Copy link
Contributor

No description provided.

@joaoantoniocardoso joaoantoniocardoso self-assigned this Sep 24, 2020
@joaoantoniocardoso joaoantoniocardoso changed the title win32: build dotnet on windows win32: Enable dotnet on windows Sep 24, 2020
@joaoantoniocardoso joaoantoniocardoso force-pushed the devs/joaoantoniocardoso/dotnet branch from 98234f5 to f24b9df Compare September 24, 2020 17:19
@joaoantoniocardoso joaoantoniocardoso force-pushed the devs/joaoantoniocardoso/dotnet branch 2 times, most recently from 4496b08 to f03c05e Compare September 24, 2020 17:30
A variable in .eo with the type (u)long was resulting in an (u)int type in the
generated build/src/tests/efl_mono/dummy_test_object.eo.cs

Sincerly I don't know how it is working even with the lines commented.

Still, there is some issue with (u)llong typed variables that are being
converted to (u)long and being truncated with 32bits.
@joaoantoniocardoso joaoantoniocardoso force-pushed the devs/joaoantoniocardoso/dotnet branch from f03c05e to 0bf6e03 Compare September 24, 2020 17:32
joaoantoniocardoso and others added 15 commits September 25, 2020 15:25
Summary:
OSX libs end with `.dylib`, so it made failed to load libs, for instance
dl name is `dl.dylib` making it unable to load as it was before
(`libdl.so`).

Test Plan:
Compare with master and note that this diff is able to fail on tests, and
not about importing libs.
- Configure as especified by Enlightenment man page + `-Dbindigns=mono -Ddotnet=true`:
```
meson -Dsystemd=false -Dv4l2=false -Davahi=false -Deeze=false -Dx11=false -Dopengl=full -Dcocoa=true -Dnls=false -Demotion-loaders-disabler=gstreamer1,libvlc,xine -Decore-imf-loaders-disabler=scim,ibus -Dbindigns=cxx,mono -Ddotnet=true --prefix=$PWD/prefix build
```
- Build normally
- Test `efl-mono-suite`

Reviewers: felipealmeida

Subscribers: cedric, #reviewers, #committers, woohyun

Tags: #efl, #expertise_solutions

Differential Revision: https://phab.enlightenment.org/D12156
@joaoantoniocardoso joaoantoniocardoso force-pushed the devs/joaoantoniocardoso/dotnet branch from b431cdd to c7f288d Compare September 29, 2020 21:50
[Test Only] Don't return zero if RPC_E_CHANGED_MODE

RPC_E_CHANGED_MODE is indicating that COM was initialized in
multi-thread mode, to change this behavior we should use the
STAThreadAttribute attribute ('[STAThread]') on the Main().
ref: https://lauro.wordpress.com/2017/11/21/c-com-ole-e-threads/
@joaoantoniocardoso joaoantoniocardoso force-pushed the devs/joaoantoniocardoso/dotnet branch from 99f4740 to b31b00c Compare October 2, 2020 15:31
ERR:elementary ../src/lib/elementary/elm_module.c:114 _elm_module_find_as()
Failed to load elementary module: 'prefs_iface': m
@joaoantoniocardoso joaoantoniocardoso force-pushed the devs/joaoantoniocardoso/dotnet branch from b31b00c to ea760d7 Compare October 2, 2020 15:32
Comment on lines +128 to +132
#ifdef _MSC_VER
//, {"long", nullptr, [&] { return replace_base_type(regular, "long?"); }}
#else
, {"long", nullptr, [&] { return replace_base_opt_integer<long>(regular); }}
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not an ifndef?

{
public static void TestAdd()
{
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe #ifnot sys_windows to disable them only when building for windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants