Commit Graph

454 Commits

Author SHA1 Message Date
Marcel Hollerbach 5fd8f312a5 clouseau: make it run with python
we can now debug python apps!
2018-02-25 10:32:15 +01:00
Marcel Hollerbach 2737e98a5b clouseau: display the complete tree of objects!
#finally

http://www.enlightenment.org/ss/e-5a91c4a00b11c5.18227919.jpgideP
2018-02-24 21:03:29 +01:00
Marcel Hollerbach e4e3838767 object_introspection: this one is dead. 2018-02-24 21:03:29 +01:00
Marcel Hollerbach 8d07e441f2 clouseau: this api changed 2018-02-24 21:03:29 +01:00
Marcel Hollerbach d882c9f0af clouseau: eolian changed api
and that only in a semantical way, not syntactical, without even a
notice in the docs! Lovely to debug :)

 #communication
2018-02-24 21:03:29 +01:00
Marcel Hollerbach 244f33420d clouseau: map legacy name to installed names, so it works 2018-02-24 21:03:29 +01:00
Marcel Hollerbach 067726dea8 clouseau: init the correct field
#classic
2018-02-24 21:03:29 +01:00
Marcel Hollerbach c029379b6d clouseau: replace internal functions be eolians implementation
this just removes code and uses the eolian functions for that,
this also means that we dont need to deal with eolian_units at all
anymore
2018-02-24 21:03:29 +01:00
Marcel Hollerbach 8bb9cce1ca Revert "Eolian api usage fix."
This reverts commit 318ee74c88.

The changed there let to segfaults here, and it barelly worked, so new
changes are done after that, to get clouseau back to work mode now.
2018-02-24 21:02:56 +01:00
Marcel Hollerbach 5b0b1a0f91 fix latest eo api breaks
Thx for taking care of our debugging infrastructure ;)
2018-01-31 15:33:49 +01:00
Marcel Hollerbach 8ed75b7448 focus_inspector: use a namescheme, so autodetect works 2018-01-31 15:33:31 +01:00
Mykyta Biliavskyi cfcf900910 Profiling Viewer: improve UI.
Summary:
Due to latest changes in Profiling Viewer project the UI was  updated.
Added toolbar with next buttons:
 - Start/stop processing data from eina_debug.
 - Update displayed interval by latest received data.
 - Open filters dialog window.
 - Open find dialog window .
 - Open time range dialog window.
 - Open preference window (disable until not merged into Profiling
   Viewer project master branch.)

Reviewers: Deepwarrior, i.furs

Reviewed By: Deepwarrior

Tags: PHID-PROJ-r7aoq2gq7sou6dugjj5o, #clouseau

Maniphest Tasks: T6348

Differential Revision: https://phab.enlightenment.org/D5443
2017-12-22 13:56:06 +02:00
Jean-Philippe Andre f5c971b734 gui: Don't include non-existing files 2017-12-18 19:02:11 +09:00
Mykyta Biliavskyi 318ee74c88 Eolian api usage fix.
Summary:
All eolian API's require to use Eolian object.
The object introspection still doesn't works for me. At least clouseau
is compiling now.

Test Plan: Compile Clouseau with git efl.

Reviewers: ajwillia.ms, JackDanielZ, Deepwarrior, i.furs

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5632
2017-12-10 21:07:38 +00:00
Mykyta Biliavskyi 0130202924 Client: delete extensions on close application.
Summary:
The Profiling viewer extension require to be notifyed that clouseau_client
is closing. Another extensions also could require to make some routine
before extension will be closed. Such as storing session info etc .

Reviewers: i.furs, JackDanielZ, Deepwarrior

Reviewed By: JackDanielZ, Deepwarrior

Differential Revision: https://phab.enlightenment.org/D5608
2017-12-08 10:14:23 +02:00
Daniel Zaoui 5b0a310145 Fix warnings 2017-11-29 11:15:32 +02:00
Daniel Zaoui 432ed396db Extensions: display lib path when mouse is on extension menu item 2017-11-10 11:19:05 +02:00
Daniel Zaoui 6b643a7f57 Extensions: support automatic loading from install directory 2017-11-10 11:18:30 +02:00
Marcel Hollerbach 5dedb7054f clouseau_debug: only copy of rel is not NULL 2017-11-10 09:00:48 +01:00
Marcel Hollerbach 4a94694bc0 clouseau: focus, display arrows correctly
there have been some bad actions in the arrow code, every arrow should
now be displayed in a correct manner
2017-11-07 23:21:34 +01:00
Marcel Hollerbach ccefc5e57b clouseau: stop arrows beeing backwards 2017-11-07 21:52:25 +01:00
Marcel Hollerbach 7dadc722c5 clouseau: fix now private eo symbols 2017-11-07 20:32:09 +01:00
Marcel Hollerbach ef625c3d68 clouseau: EVAS_CANVAS is private now
we should check for EFL_CANVAS_INTERFACE which is simular, but also
applies to efl.ui.win, which is a problem
2017-11-07 20:14:42 +01:00
Marcel Hollerbach 2514cff9e4 clouseau: add arrow into clouseau for indicating relations 2017-11-03 20:12:05 +01:00
Marcel Hollerbach 65d89b92c2 clouseau: introduce focus inspector
This for now shows the nodes that are registered in a manager, in the
hirarchy that is used. Redirects are displayed red, logicals gray and
normals in a e-style blue. If something is part of the focus history its
green.
2017-10-31 16:33:36 +01:00
Marcel Hollerbach 4ae284bd0b clouseau: move those macros to a header, they are usefull 2017-10-31 16:31:35 +01:00
Daniel Zaoui 1013671a37 Adapt code after Eolian changes 2017-09-27 23:55:14 +03:00
Daniel Zaoui b962f53712 Fix bg creation after EFL changes 2017-09-27 23:55:01 +03:00
Mykyta Biliavskyi 4df7f37839 Fix build: Use Eina for Efl.Gfx API. 2017-09-20 17:08:01 +03:00
Mykyta Biliavskyi 170923b164 Add profiling viewer extension.
Summary:
Due to splitting efl_profiling_viewer to the library this
extension was prepared. This is a first version of extension and will be
improved. After @Deepwarrior will publish code for efl_profiling_viewer that
make possible to work with real time data from efl_debug system, it will
be possible compile clouseau with efl_profiling_viewer support.

Test Plan:
Inctall Profiling_Viewer library in the system.
Build clouseau.
Launch clouseau and select Profiling viewer extesion.

Reviewers: Deepwarrior, JackDanielZ

Reviewed By: Deepwarrior

Tags: #clouseau, PHID-PROJ-w56dx3enc43oqdzz2xpa

Differential Revision: https://phab.enlightenment.org/D5061
2017-09-01 14:06:21 +03:00
Daniel Zaoui 26c85dda2d Specify Clouseau library to link the extension
During compilation of the objects introspection extension, the
clouseau_debug library is needed.
In Ubuntu machines, it seems that this MUST be specified in the
CMakeLists.txt. Without it, dlopen the extension fails on trying to find
a function present in the Clouseau library.

Thanks to Woohyun for using Ubuntu :-)

@fix
2017-08-21 10:28:09 +03:00
Daniel Zaoui dc7ee20d22 Reorder includes to get the EAPI definition 2017-08-16 20:42:26 +03:00
Daniel Zaoui c1dd9ae043 Fix API visibility
It seems that, after EFL update, dlsym began to make issues to find
EAPI functions.
Setting the EAPI definition in the extension file solves the issue.
2017-08-15 20:50:02 +03:00
Cedric BAIL 64b36848af ui: use legacy call. 2017-08-07 14:03:42 -07:00
Jérémy Zurcher eca7479b59 ELM_PANES_CLASS -> EFL_UI_PANES_CLASS, follow efl commit 40945d9859 2017-08-07 09:24:35 +02:00
Marcel Hollerbach 79e62083c9 Use Eo to evaluate if a function is implemented
So, there is one problem, there is the case that you just have the
notation in eolian that a special object implements a interface, to
bring the actual logic to it, you are going to composite_attach a other
object to it. The problem then in clouseau was that clouseau doesnt know
a implementation does exist, so it didnt display the implementation.

The new solution uses eo to fetch the function pointer to the actual
implementation to know if the function is really implemented or not.
2017-08-02 20:09:07 +03:00
Marcel Hollerbach a6eedef550 Highlight everything that has a geometry 2017-08-02 20:09:01 +03:00
Daniel Zaoui e2dbf08cb2 Fix strings support 2017-07-02 16:50:10 +03:00
Daniel Zaoui 9d75e1a5db Highlight objects selected in the details view
This is a porting of 24a971509b, as it has
been lost during the rewriting of Clouseau.

It has been adapted to fit the new protocol.
2017-06-26 11:22:41 +03:00
Daniel Zaoui a7432b429c Set default function return type 2017-06-26 11:21:25 +03:00
Daniel Zaoui 0808f42643 Fix classes buffer filling
Some buffers of 2K were allocated in the stack during the classes
buffering.
A crash was happening when the data was too big to fill most of the
stack buffer. This was rewriting the stack frames information.
2017-06-25 18:18:24 +03:00
Daniel Zaoui f588374b06 Fix classes hierarchy display
Interfaces were not handled correctly. The consequence was that they
were not displayed in the object information.
2017-06-25 18:18:24 +03:00
Daniel Zaoui 252f013174 Disable main window blocking when displaying a screenshot 2017-06-25 11:11:40 +03:00
Daniel Zaoui 390739d795 Improve screenshot feature
Ecore X functions are not used anymore. An Evas snapshot is created and
its data is stored when the RENDER POST event is invoked on the canvas.

It fixes the random black screenshot and the constant black region at
the bottom of the window (probably caused by some change made on the
title bar management, as it seems to be the exact size).
2017-06-25 11:11:40 +03:00
Daniel Zaoui 287e8498a7 Check strings nullity before strcmp 2017-06-23 09:58:40 +03:00
Daniel Zaoui bbd9525f4b Extension: remove nickname
name field is enough, even for configurations files.
2017-06-22 21:10:26 +03:00
Daniel Zaoui 524541c49d Improve functions tooltip display 2017-06-21 09:57:09 +03:00
Daniel Zaoui cdd91eb12c Show elements of lists
Elements of lists of Eo functions are now displayed.

Iterators are converted to lists before packing.
2017-06-21 09:35:18 +03:00
Daniel Zaoui 07474f14b7 Fix function line display
When a return value is the only parameter of the function, a blank name
was displayed.
Additionally, the param name is not shown if there is only one parameter
for the function.
2017-06-16 11:52:00 +03:00
Daniel Zaoui 9416c31515 Don't show invalid extensions
In case the library has not been found, we don't display it in the
available extensions list.
2017-06-16 11:37:06 +03:00