Commit Graph

419 Commits

Author SHA1 Message Date
Marcel Hollerbach 5f55b25b69 clouseau: highlight everything that has a geometry 2017-07-18 17:10:29 +02:00
Marcel Hollerbach 9640ad7c6a clouseau: lets use eo to evalulate 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-07-18 17:08:17 +02: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
Daniel Zaoui c394331763 Permit extension import
A file selector is displayed so the user can select the library to load
as a Clouseau extension.
2017-06-12 11:02:10 +03:00
Daniel Zaoui b745bd6d7e Hide settings button as we don't need it 2017-06-12 10:22:59 +03:00
Daniel Zaoui d89f624d7e New version of Clouseau
This version uses Eina Debug as basis for all its communication with the
application.
All the UI and the core have been rewritten.
It supports the features of the old version of Clouseau (screenshot,
snapshot, highlight) although snapshot format is not the same, and
therefore, old snapshots won't work.
The extensions part has been redesigned.

Clouseau can connect to a local or remote application, as long as a
tunnel forwarding the port 6666 is established for the remote
connection.
2017-06-07 14:09:43 +03:00
Daniel Zaoui 43cfe6d441 Objects_Intro/settings: fix crash when filtering objects 2017-06-06 11:29:18 +03:00
Daniel Zaoui 446e39c0e3 Open the last extension used at the previous run 2017-06-06 10:51:15 +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 8f52887d57 Use better names for daemon operations 2017-06-06 10:30:17 +03:00
Daniel Zaoui 7f709213b4 Replace remote profile support with remote port 2017-06-06 10:30:17 +03:00
Daniel Zaoui 7bf7b0a431 Set title 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 57773aea05 Adapt remote connection to latest EFL changes 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 44aa6dd03e Fix main UI 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 88420d78d4 Remove unused code 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 236a4f1c15 Support remote connection 2017-06-06 10:30:17 +03:00
Daniel Zaoui 17d00e68a9 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:30:17 +03:00
Daniel Zaoui 4d119765aa 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:30:17 +03:00
Daniel Zaoui 5d65effa28 Support screenshots save in snapshot file 2017-06-06 10:30:17 +03:00