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.
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.
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.
It doesn't save the screenshots yet. Should be done soon.
During save, the UI is frozen until the last packet is received.
The snapshot file contains info about the application, opcodes that will
be needed during loading and the buffers received from the application
describing the objects and their information.
It was useless, ugly and not functional.
Now you can choose the connection type by opening the connections menu
in the main window.
In this way, you can easily choose the remote profile or move to another
connection type.
Adapt to eina_debug latest changes
Support multi-threads objects
Improve modules initialization
Add config window
Support all Evas objects or Elm Widgets display
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.
if there is a pointer in the detailview, and the pointer is clicked,
highlight the object which is pointed to by that pointer.
You can test this patch by downloading
https://devs.enlightenment.org/~bu5hm4n/elm_focus_test
and opening the file in clouseau's offline mode. The elements with
can_focus=1 are having a focus section in the property view, if you
click on those, and the screenshot is open, you will see a highlight.
because of the preload, and the fact that _add is also used in
clouseau_app.c it was not possible to connect to a deamon while beeing in
a clouseau_start environment.
This enables the usecase of starting enlightenment with "clouseau_start
enlightenment_start" now you can connect with clouseau_client to your e
and debug the widgets.
if a Clouseau item is added via a function call stringshares are used.
To get the same allocation when reading the Clouseau item from the fs we
can use eina stream instead of eina file. This fixes T4888.
if the screenshot of a offline app is open it will be highlighted again.
The problem was that the highlight in the offline mode still worked with
legacy data which was not generated. Now this informations are just
searched from the Efl_Dbg_Info structs.
To test this you can just take a screenshot of a app, save the app with
the button in the upper right. Then start clouseau again in offline
mode, after that you can select a file. Select the file where you have
saved your app before. If you now display the screenshot and click on a
element, this object is displayed.
Summary:
Although, underlying value of EINA_FALSE is 0 the type former is Bool.
Hence, for the sake of consistency, let's return 0 from main().
Reviewers: jeanguyomarch, jeyzu
Subscribers: hyunseok, minkyu
Differential Revision: https://phab.enlightenment.org/D4392
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Summary: This is required to support scroll in case of application list is long.
Reviewers: tasn
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D2800
Reproducible crash on NULL pointer when clicking, in the right panel,
on an Evas_Image entry.
This happened to me when inspecting E itself, in
the Wallpaper Settings panel in particular.
It's not correct. It breaks cleaning up of apps that have been closed,
even if not currently open. Should be reworked.
This fixes T638.
This reverts commit 81d2d9d021.
Those kinds of classes return Evas_Smart as the Eo object type
which is not really useful.
This change makes the visible value nicer "Smart_Class (Eo_Class)".
First step towards fixing T638.
strtol was used to convert the string into a number. For no reason, it
returns -1 (maybe due to the pointer MSB to 1).
Now, we use strtoul because we really don't care about some sign.
This changes the highlighting code to highlight the map geometry of an object
instead of it's geometry when highlighting a mapped object.
While doing that, I also simplified the highlighting code a bit, more
specifically, removed the unused PADDING option.
The bugs happens when a class layer doesn't contain lists (like edje).
The item will be set as tree but the text_get function will check if it
can be compacted and will return true. So we will have the info inside
edje displayed twice, on the layer line and as items of the layer.
The fix forces the layer item to be a tree, no matter the nature of the
contents. It has been done by assigning an item class different for
layers and for infos inside layers. The text_get of the layer item class
just returns the name of the layer without compaction.
This change only affects the clouseau_client appearance.
The merge is done if there are only basic types into the list (i.e no
other lists).
This has been done to be backward compatible with the previous client
displaying way.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 84373
Although it's not usable at the moment because it actually includes non-shipped
headers. This will be solved soon, this is just infra work.
SVN revision: 83697
This wasn't really a public header. It exposed a lot of stuff it shouldn't have and it was just confusing.
We'll just create a public header when we'll be ready, i.e know
exactly what we need to expose.
SVN revision: 83492
The Clouseau client is compatible with old Clouseau applications
supporting EcoreConnEet.
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
SVN revision: 83412
utilizing the new ecore_con_eet API. Clouseau looks the same as before, changed communication handling.
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
SVN revision: 79825