2018-02-27 04:19:17 -08:00
|
|
|
import efl_types;
|
|
|
|
|
Revert "Revert command line array object because it's broken by design"
This reverts commit a57c7f751023fe1d1edeabbf8683574ac7497e5e.
I pretty much hate to just revert your revert, but you failed to read my
replies, and failed to understand what i was talking about.
And YES we talked at fosdem about the platform issue, and do you
remember my answer, that back in time this might be the case, today is
different freebsd suppoerts setenv, and for windows we have a setenv
implementation in evil. And yes, vtorri also created a issue how bad and
evil this commit is, however, i still fail to see the issue since setenv
unsetenv and clearenv usages are taken as needed. (T7693)
The ownership question is answered in
https://phab.enlightenment.org/D7516#137367.
Can we please get into a state of technical discussions, and not *oh
shit, i am going to revert this* this has been in review for a long
time, a lots of people have tested it, we discussed things on it, and
there was 3 weeks of no reply from you.
The issues that exist will be dealed with. Feel free to create tasks if
you want :)
2019-02-12 12:34:30 -08:00
|
|
|
class Efl.App extends Efl.Loop implements Efl.Core.Command_Line
|
2018-02-27 04:19:17 -08:00
|
|
|
{
|
|
|
|
[[ ]]
|
2019-01-25 00:57:54 -08:00
|
|
|
data: null;
|
2018-02-27 04:19:17 -08:00
|
|
|
methods {
|
2018-12-19 11:02:08 -08:00
|
|
|
@property app_main @class {
|
|
|
|
[[ Returns the app object that is representing this process
|
|
|
|
|
|
|
|
Note: This function call only works in the main loop thread of the process.
|
|
|
|
]]
|
2018-02-27 04:19:17 -08:00
|
|
|
get {}
|
|
|
|
values {
|
2018-12-19 11:02:08 -08:00
|
|
|
app : Efl.App; [[Application for this process]]
|
2018-02-27 04:19:17 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@property build_efl_version {
|
|
|
|
[[ Indicates the version of EFL with which this application was
|
|
|
|
compiled against/for.
|
|
|
|
|
|
|
|
This might differ from @.efl_version.
|
|
|
|
]]
|
|
|
|
get {}
|
|
|
|
values {
|
|
|
|
@cref version: Efl.Version; [[Efl version]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property efl_version {
|
|
|
|
[[ Indicates the currently running version of EFL.
|
|
|
|
|
|
|
|
This might differ from @.build_efl_version.
|
|
|
|
]]
|
|
|
|
get {}
|
|
|
|
values {
|
|
|
|
@cref version: Efl.Version; [[Efl version]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
events {
|
efl: Add missing event types
Summary:
All events must have a type now, otherwise bindings don't know how to handle
the event_info field.
Most of the missing event types were actually "void" (no event_info present).
Some struct definitions had to be moved to eo instead of h files, so they
are available to bindings. Some have not, and are marked with FIXME.
Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb).
In general, there are hundreds of changed files, but mostly to add a type which
was not present before, so there's no harm done.
Also, A lot of FIXMEs have been added which should be, like, fixed.
For example, some events can send different types of event_info, which is
very inconvenient (and error prone).
Test Plan: make with c# bindings works, make check and make examples work too.
Reviewers: cedric, q66, lauromoura
Subscribers: zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6169
2018-05-11 08:20:40 -07:00
|
|
|
pause: void; [[Called when the application is not going be displayed or otherwise used by a user for some time]]
|
|
|
|
resume: void; [[Called before a window is rendered after a pause event]]
|
2019-01-10 12:48:10 -08:00
|
|
|
standby: void; [[Called when the application's windows are all destroyed]]
|
efl: Add missing event types
Summary:
All events must have a type now, otherwise bindings don't know how to handle
the event_info field.
Most of the missing event types were actually "void" (no event_info present).
Some struct definitions had to be moved to eo instead of h files, so they
are available to bindings. Some have not, and are marked with FIXME.
Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb).
In general, there are hundreds of changed files, but mostly to add a type which
was not present before, so there's no harm done.
Also, A lot of FIXMEs have been added which should be, like, fixed.
For example, some events can send different types of event_info, which is
very inconvenient (and error prone).
Test Plan: make with c# bindings works, make check and make examples work too.
Reviewers: cedric, q66, lauromoura
Subscribers: zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6169
2018-05-11 08:20:40 -07:00
|
|
|
terminate: void; [[Called before starting the shutdown of the application]]
|
|
|
|
signal,usr1: void; [[System specific, but on unix maps to SIGUSR1 signal to the process - only called on main loop object]]
|
|
|
|
signal,usr2: void; [[System specific, but on unix maps to SIGUSR2 signal to the process - only called on main loop object]]
|
|
|
|
signal,hup: void; [[System specific, but on unix maps to SIGHUP signal to the process - only called on main loop object]]
|
2018-02-27 04:19:17 -08:00
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Efl.Task.priority { get; set; }
|
|
|
|
}
|
|
|
|
}
|