Commit Graph

241 Commits

Author SHA1 Message Date
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 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 43cfe6d441 Objects_Intro/settings: fix crash when filtering objects 2017-06-06 11:29:18 +03:00
Daniel Zaoui 31d522b386 Fix classes lookup 2017-06-06 10:30:17 +03:00
Daniel Zaoui 7ce0b23e7a Remove unused include 2017-06-06 10:30:17 +03:00
Daniel Zaoui 774142353a Remove old library usage 2017-06-06 10:30:17 +03:00
Daniel Zaoui 74f279bcaf Free buffers after sending them 2017-06-06 10:30:17 +03:00
Daniel Zaoui bd725339bc Adapt opcodes registration for Windows 2017-06-06 10:30:17 +03:00
Daniel Zaoui c982cb8685 Support endianness 2017-06-06 10:30:17 +03:00
Daniel Zaoui 73a790e331 Rename opcodes strings for a better readability 2017-06-06 10:30:17 +03:00
Daniel Zaoui 952c243721 Adapt code to EFL changes 2017-06-06 10:30:17 +03:00
Daniel Zaoui 6e21f6d620 Use Eo iterators 2017-06-06 10:30:17 +03:00
Daniel Zaoui 50ea3a2740 Fix coverity issues 2017-06-06 10:30:17 +03:00
Daniel Zaoui 0baf933727 Adapt to EFL changes 2017-06-06 10:30:17 +03:00
Daniel Zaoui 9948eea27a Merge the Eo/Evas/Eolian into Clouseau 2017-06-06 10:30:17 +03:00
Daniel Zaoui b395635dd3 EvLog: support direct recording from the application 2017-06-06 10:30:17 +03:00
Daniel Zaoui ab69add6d3 Add evlog.edc and install data images 2017-06-06 10:30:17 +03:00
Daniel Zaoui b309fa2bc2 Support storing snapshot of all the running extensions into one file
When the user wants to save the data (snapshot), Clouseau requests from
every running extension the data that is "exported".
All the data are then encapsulated into one single file.
The first idea was to use EET to store the extensions blobs as basic var
arrays. But it was taking so much time that is has been chosen that the
data itself is appended in the file after the EET blob. This one only
contains the app name/pid and the number of bytes of the blob, per
extension.
Additionnally, the objects introspection extension has been modified to
behave as the first Clouseau, i.e taking all the objects information in
one shot and using it during the interaction with the user.
The Save/Load button is now a part of the main toolbar.
2017-06-06 10:30:17 +03:00
Daniel Zaoui 6daf22321a evlog: support data import 2017-06-06 10:30:17 +03:00
Daniel Zaoui 80c18f3bd5 Resurrect the -f option
It has been removed when the extentions feature has been introduced.

Now, when -f is used in the command line, a list of extensions is
displayed to request the user to choose the extension that needs to
handle this file.
2017-06-06 10:30:17 +03:00
Daniel Zaoui 3c80e7bb46 Support of evlog as an extension 2017-06-06 10:30:17 +03:00
Daniel Zaoui 9fc5c432bf Introduce the extensions feature
The objects introspection, that has always been as a core part, is now
an extension, and can be not used.
The directories structure allows other extensions to be developed inside
the Clouseau tree, even if they can be developed outside.

Other extensions will be added and the extensions feature will be
adapted to fit all their requirements.
2017-06-06 10:30:17 +03:00
Daniel Zaoui 4f5e0fde15 Move Clouseau module inside this repository 2017-06-06 10:30:17 +03:00
Daniel Zaoui 03423ff979 First patch for the Clouseau rewriting
- Removal of all old code
- Create the new directories tree
- Move to cmake
- Connection to daemon
2017-06-06 10:26:45 +03:00
Daniel Zaoui ee36702153 Invoke server del/free only if needed 2017-03-06 10:00:55 +02:00
Shuhrat Dehkanov a2af39e8cd Remove redundant addition operator
Reviewers: marcelhollerbach, cedric, minkyu, bu5hm4n

Reviewed By: minkyu, bu5hm4n

Subscribers: bu5hm4n, minkyu

Differential Revision: https://phab.enlightenment.org/D4481
2016-12-16 09:38:24 +01:00
Marcel Hollerbach d4aaaad679 clouseau_pre: add backtraces to every eo object
they are added now to the debug informations. In the new code it is created
in the style of eina_backtrace, so the backtraces can be made visible with
eina_btlog.
2016-11-21 20:24:47 +01:00
Marcel Hollerbach e53de2b36c clouseau_data: use EET_COMPRESSION instead of EINA_TRUE
even if its not a functional change, passing there a boolean value is
wrong, it requires a compression from the enumaration
2016-11-14 13:46:25 +01:00