summaryrefslogtreecommitdiff
path: root/src/bin/efl (follow)
AgeCommit message (Collapse)Author
2020-09-25fix order and simplify a bit order of _init|_shutdown functionsVincent Torri
Summary: in bin/ ecore_evas.c : remove useless ecore_init eetpack.c : remove use eina_init and evas_init eet_main.c : reorder eet_init efl_debug.c : remove useless eina_init efl_debugd : reorder log domain ethumbd.c : remove eina_init ethumbd_client.c : remove ecore_init (which was anyway misplaced) Test Plan: compilation Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12162
2019-05-17bin/efl and ecore: include evil_private.h when appropriateVincent Torri
Test Plan: compilation Reviewers: raster, zmike, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8908
2019-03-18efl: remove EFL_EO_API_SUPPORT macroDaniel Kolesa
Summary: Since we're now going to be shipping some eo classes as stable, there is no point in keeping the eo api behind a macro, and it should be enabled by default. Another case is beta classes, but those are behind the EFL_BETA_API_SUPPORT guard. This also changes includes around the place where things are clearly broken (such as an included header needing something from another header but that other header being guarded, notably efl_ui_widget.h needing focus manager but focus manager being behind beta in Elementary.h) Reviewers: zmike, cedric, bu5hm4n, stefan_schmidt, segfaultxavi Reviewed By: cedric, segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8322
2019-03-08efl-net: namespace events to avoid naming conflictsMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8260
2018-10-02here comes mesonMarcel Hollerbach
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
2018-08-20efl_debugd: move to eina vpathMarcel Hollerbach
Summary: the logic here was against the xdg standard, thus we migrate to eina_vpath which uses the correct xdg standard Depends on D6746 Reviewers: zmike, stefan_schmidt, #committers Reviewed By: zmike, #committers Subscribers: #reviewers, cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6747
2018-06-16efl_debugd: don't force unlinking UNIX socket before bindingDaniel Zaoui
If two daemons are launched one after the other, we would like the second one to exit directly. The problem is that if the UNIX socket is unlinked before the binding, the second daemon will succeed to create this socket, stoling it from the first daemon, and exit because the network socket is not bindable. It results in the first daemon to continue running and accepting connections from the debuggers (network connection) but ignoring the applications connection (local UNIX connection).
2018-03-03Revert "cxx: Fix manual code after efl_app change."Carsten Haitzler (Rasterman)
This reverts commit 135154303bea691c6f7f9472a5dec32d9103c38d. Revert "efl: move signal events from efl.loop to efl.app" This reverts commit 3dbca39f98288580c62a43c179ac11621433ec88. Revert "efl: add test suite for efl_app" This reverts commit 3e94be5d73256a7f5c02d3a9474173226be7beff. Revert "efl: create Efl.App class, the parent of Efl.Loop" This reverts commit 28fe00b94e55575c15684959b89a614d5a579309. Go back to before efl.app because I think this should be done with superclassing here not a parent object. reasons? 1. multiple loops per single thread make no sense. so if multilpe loop objects they wont be contained in a single app object and then deleted like this. 2. the app object is not really sharable in this design so it cant be accessed from other threads 3. it makes it harder to get the main loop or app object (well 2 func calls one calling the other and more typing. it is longer to type and more work where it is not necessary, and again it can't work from other threads unless we go duplicating efl.app per thread and then what is the point of splittyign out the signal events from efl.loop then?) etc.
2018-02-26efl: create Efl.App class, the parent of Efl.LoopMike Blumenkrantz
2018-01-02efl loop - rename ecore_main_loop_get to efl_main_loop_getCarsten Haitzler (Rasterman)
ecore_main_loop_get() is really a new "eo api" but it's using our old ecore_* namespace, so move to the new efl namespace.
2017-09-29efl debugd - check return of write func and report errorsCarsten Haitzler (Rasterman)
makes coverity happy and reports write errors... fix CID 1377525
2017-07-27Ecore_Conn: Enable CLOEXEC by default.Guilherme Iscaro
This flag should be enabled by default in order to avoid socket leaks.
2017-06-11Eina Debug: rewrite efl_debugd for portabilityDaniel Zaoui
The previous version of the daemon was using functions specific to Linux, such as epoll... The daemon communication part has been rewritten to use Ecore functionalities. Sorry for the inconvenience guys
2017-06-05efl_debugd: enforce void parameter when no arguments are requiredJean Guyomarc'h
2017-06-05Eina_Debug: Fix config.h usageDaniel Zaoui
It was used inside eina_debug.h that is a public header. Terminology compilation was failing when including its own config.h.
2017-06-05Fix Windows compilationDaniel Zaoui
Thanks to vtorri for his help on this delicate issue named Windows
2017-06-05Support endiannessDaniel Zaoui
2017-06-05Support opcodes registration for WindowsDaniel Zaoui
A standard static array with symbols whose addresses are only known at runtime is not supported in Windows.
2017-06-05Rename opcodes for a better readabilityDaniel Zaoui
2017-06-05Fix Coverity issuesDaniel Zaoui
2017-06-05Remove thread managementDaniel Zaoui
The handling to forward requests is let to the callbacks.
2017-06-05Use better names for daemon operationsDaniel Zaoui
2017-06-05Remove old evlog code from efl_debugdDaniel Zaoui
2017-06-05Fix connection closingDaniel Zaoui
The client structure was not deleted when the connected application was suddenly terminated (ctrl-c). It was not happening before, so I suspect TCP and UNIX sockets behave differently on this matter.
2017-06-05Fix daemon issuesDaniel Zaoui
2017-06-05Add prints to efl_debugdDaniel Zaoui
2017-06-05Replace shell remote connection with localhost TCP connectionDaniel Zaoui
2017-06-05Add data to opcode registration callbackDaniel Zaoui
2017-06-05Fix Coverity issuesDaniel Zaoui
2017-06-05Add shell remote connectionDaniel Zaoui
This feature is essential to debug remote applications.
2017-06-05First patch of the Eina Debug layer rewritingDaniel Zaoui
Eina Debug is a new layer aimed for EFL debugging. It offers scalability by allowing registration of operations not specific to EFL core. The protocol is simple and the APIs try to provide as much functionalities/freedom as possible.
2017-03-29others: support efl_net_dialer_windows.Gustavo Sverzut Barbieri
these are not working on windows yet due other factors, anyway add the proper ifdefs
2016-12-19Efl.Io.{Queue,Buffer,Buffered_Stream}: slice_get is now a property.Gustavo Sverzut Barbieri
Previously we couldn't return a slice, instead required the user to pass a slice and we'd fill it since Eolian couldn't generate fallbacks for structures. Since @q66 fixed eolian, we can now return the structure itself as initially wanted, ditching some TODO from the code.
2016-12-19efl_debug_common: remove stale code/macros.Gustavo Sverzut Barbieri
These are not needed anymore.
2016-12-15efl_debug: silent unused use of static variable.Cedric BAIL
2016-12-01efl_debugd: check for fwrite() return.Gustavo Sverzut Barbieri
if it fail, close the file and turn off logging for that client. Fixes CID 1366465
2016-11-28efl_debug: fix typo, EXIT_FAILURE not EINA_TRUE.Gustavo Sverzut Barbieri
although the same value, be clear on it.
2016-11-25efl_debug (client and server): now on top of efl_net_{server,dialer}_simple.Gustavo Sverzut Barbieri
Much simpler! :-D
2016-11-25efl_debug: use new efl_net_dialer_simple, remove lots of code.Gustavo Sverzut Barbieri
this is what led me to create the efl_net_dialer_simple, this kind of code was being repeated in too many places.
2016-11-25efl_io_copier_flush: add may_block and ignore_line_delimiter parameters.Gustavo Sverzut Barbieri
The may_block parameter is useful to force a flush without blocking on read/write, sometimes particularly useful if ignore_line_delimiter is true, then you get the data events without blocking -- as if a server sending some content misses a trailing line delimiter, you do not want to block on recv() but still want to flush data to user. The ignore_line_delimiter parameter is useful if we're going to close the copier and want to flush pending data which may exist due missing trailing terminator. The close method will also force that if destination can take more data.
2016-11-24efl_debug (client): quit if not waiting and we're done sending.Gustavo Sverzut Barbieri
2016-11-24efl_debug (client): rewrite using efl_net.Gustavo Sverzut Barbieri
Rewrite and greatly improve error checking, allow multiple commands to be given in series, etc. This also leverages on Efl.Io.Queue to buffer data for us, then all we need to do is peek at its contents, when there is a full message we use and then ask the queue to discard it. The CLST processing was also rewritten to not allocate memory. Since memory may be unaligned we still iterate over the buffer and memcpy() to an integer to avoid alignment errors.
2016-11-24efl_debug: filter own pid.Gustavo Sverzut Barbieri
it's confusing and not helpful to report your own PID in 'list' command.
2015-12-05efl: add binary mode to f(re)open() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-03Efl debug daemon: Fix Warning on Windows.Vincent Torri
According to the Open Group, pid_t is signed integer and can not be larger than a long
2015-05-14eina, efl: add copyright notice.Vincent Torri
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-11efl debug - make event log header .. nicer with a block header and sizeCarsten Haitzler (Rasterman)
2015-05-10efl debugd - fix evlog writing - dont duplicate empty blocksCarsten Haitzler (Rasterman)
2015-05-10eina evlog - make log dumps simple binary from debugd with headerCarsten Haitzler (Rasterman)
2015-05-10eina evlog - remove stolen count - unecessaryCarsten Haitzler (Rasterman)