Commit Graph

85 Commits

Author SHA1 Message Date
Daniel Zaoui 1fc93e92ae Adapt opcodes registration for Windows 2017-06-06 10:28:31 +03:00
Daniel Zaoui fbf83cc256 Support endianness 2017-06-06 10:28:31 +03:00
Daniel Zaoui 7e894d1e69 Fix coverity issues 2017-06-06 10:28:31 +03:00
Daniel Zaoui dc659a2566 Adapt to EFL changes 2017-06-06 10:28:31 +03:00
Daniel Zaoui 3efc1b954e Use better names for daemon operations 2017-06-06 10:28:31 +03:00
Daniel Zaoui dec2755b2e Replace remote profile support with remote port 2017-06-06 10:28:31 +03:00
Daniel Zaoui a35cbb82ea Merge the Eo/Evas/Eolian into Clouseau 2017-06-06 10:28:31 +03:00
Daniel Zaoui 5d4e377378 Adapt remote connection to latest EFL changes 2017-06-06 10:28:31 +03:00
Daniel Zaoui 92eb15ef8e Fix main UI 2017-06-06 10:28:31 +03:00
Daniel Zaoui 290a43b377 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:28:31 +03:00
Daniel Zaoui ec13d9020f 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:28:31 +03:00
Daniel Zaoui ee6fbd81ea Support of evlog as an extension 2017-06-06 10:28:31 +03:00
Daniel Zaoui 4b2c77e47b 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:28:31 +03:00
Daniel Zaoui 8a53045b0d Remove unused code 2017-06-06 10:28:31 +03:00
Daniel Zaoui 6160da735f Support remote connection 2017-06-06 10:28:31 +03:00
Daniel Zaoui 7d65920fbd Remove fake session use
All can be done without the intervention of Eina_Debug. We just need to
dispatch the packets by their own opcode.
2017-06-06 10:28:31 +03:00
Daniel Zaoui 7db88770c7 Redesign the tools bar
Now a toolbar widget is used instead of a box.
The settings window has been replaced by a menu, as well as the apps and
connection hoversels.
2017-06-06 10:28:31 +03:00
Daniel Zaoui 6865c7f810 Support screenshots save in snapshot file 2017-06-06 10:28:31 +03:00
Daniel Zaoui 67a9ff31ee Adapt to Evas Debug changes 2017-06-06 10:28:31 +03:00
Daniel Zaoui a2dab74f46 Implement snapshot load 2017-06-06 10:28:31 +03:00
Daniel Zaoui 20dd69752c Improve object info access code 2017-06-06 10:28:31 +03:00
Daniel Zaoui 0d4673d08f Add snapshot save feature
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.
2017-06-06 10:28:31 +03:00
Daniel Zaoui fcffa64078 Store apps info into a decicated structure 2017-06-06 10:28:31 +03:00
Daniel Zaoui 4a2c702778 Fix apps hoversel during selection 2017-06-06 10:28:31 +03:00
Daniel Zaoui a42bc82db8 Fix functions names typo 2017-06-06 10:28:31 +03:00
Daniel Zaoui ca58cb9f9b Support screenshots download and display
Many shots can be taken and displayed. Timestamp is set to each.

To do:
- Fix black bottom region
2017-06-06 10:28:31 +03:00
Daniel Zaoui 07710c01fc Implement jump to pointer feature 2017-06-06 10:28:31 +03:00
Daniel Zaoui e2869aa298 Implement highlight option 2017-06-06 10:28:30 +03:00
Daniel Zaoui 449d833d80 Implement reloading 2017-06-06 10:28:30 +03:00
Daniel Zaoui 0a99a22086 Remove prints 2017-06-06 10:28:30 +03:00
Daniel Zaoui febe013c2e Add missing elements to the toolbar 2017-06-06 10:28:30 +03:00
Daniel Zaoui 601eb80e07 Support parameters
Connection type can be chosen.
2017-06-06 10:28:30 +03:00
Daniel Zaoui a792302ca9 Remove the profiles window
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.
2017-06-06 10:28:30 +03:00
Daniel Zaoui 73dff60926 Enable Eolian params retrieval 2017-06-06 10:28:30 +03:00
Daniel Zaoui e9eb0d29bc Shorten opcodes variables names 2017-06-06 10:28:30 +03:00
Daniel Zaoui 9b9ab9f07f New features
Adapt to eina_debug latest changes
Support multi-threads objects
Improve modules initialization
Add config window
Support all Evas objects or Elm Widgets display
2017-06-06 10:28:30 +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
Vyacheslav Reutskiy b79b2f9033 clouseau_client: expand/collapse item by double click
Open/Close the tree item in Genlist by double click make work with
clouseau more comfortable.
2017-04-26 09:44:04 +03:00
Marcel Hollerbach ce049917b2 clouseau_client: use cnp when string is clicked
Copy the string content of a value into the selection buffer once its
clicked.
2016-11-21 20:24:47 +01:00
Marcel Hollerbach 01d83bd6bd clouseau_client: do not compact items which are bigger than 10 items
otherwise things are getting really unreadable
2016-11-21 20:24:47 +01:00
Marcel Hollerbach 24a971509b closeau: highlight objects in the detail view
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.
2016-11-21 20:24:47 +01:00
Marcel Hollerbach eac39b5359 clouseau_client: add command line options
with -f you can specify a file which will get loaded. With -a you can
specify a address of a daemon.
2016-11-15 18:00:22 +01:00
Marcel Hollerbach b4bc63f028 clouseau_client: change the name of those symbols,
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.
2016-11-15 17:59:57 +01:00
Marcel Hollerbach 9083738d10 clouseau: lets bring back highlight in offline mode
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.
2016-11-14 13:46:12 +01:00
Cedric Bail 11c42ebdf9 actually returning a value != from 0 would be more useful. 2016-11-11 10:55:16 -08:00
Shuhrat Dehkanov 9f62d59140 return 0 from main()
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>
2016-11-11 09:47:05 -08:00
Jérémy Zurcher 0f9a7e2d03 follow namespace switch from Eo to Efl 2016-08-18 09:41:36 +02:00
Amitesh Singh a56abd48ab increase the genlist scroll height a bit
Genlist scrolls when no. items are higher than eight.
2015-08-26 09:42:30 +05:30
Amitesh Singh 7cf2984305 use hover + genlist instead of hoversel.
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
2015-07-15 10:08:39 +01:00
Daniel Zaoui 6ea12a9746 Fix display of UINT64 in compactable lists
UINT64 should be displayed in hexadecimal.
2015-06-15 13:12:26 +03:00