Commit Graph

212 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 45a804aad1 Rename opcodes strings for a better readability 2017-06-06 10:28:31 +03:00
Daniel Zaoui 1012d73b8c Adapt code to EFL changes 2017-06-06 10:28:31 +03:00
Daniel Zaoui daaba2c6c1 Use Eo iterators 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 a35cbb82ea Merge the Eo/Evas/Eolian into Clouseau 2017-06-06 10:28:31 +03:00
Daniel Zaoui ddf3c0b1d7 EvLog: support direct recording from the application 2017-06-06 10:28:31 +03:00
Daniel Zaoui 01b061c9b2 Add evlog.edc and install data images 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 2388fde7ed evlog: support data import 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 0f4a910465 Move Clouseau module inside this repository 2017-06-06 10:28:31 +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
Marcel Hollerbach e462833622 clouseau_data: use stream not file
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.
2016-11-14 13:46:25 +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
Jean Guyomarc'h 92abcec41b lib: fix compile-time warning
The expected type of the parameter to eet_data_image_read()
is Eet_Image_Encoding*, but int* was passed.
2016-08-21 22:00:42 +02:00
Jérémy Zurcher 0f9a7e2d03 follow namespace switch from Eo to Efl 2016-08-18 09:41:36 +02:00
Tom Hacohen c18c74eb29 Adjust according to changes in efl. 2016-06-22 17:29:40 +01:00
Tom Hacohen 0773475ab0 Adjust according to recent Eo4 changes. 2016-03-03 14:02:26 +00:00
Tom Hacohen a99981bada Update code to use the new class names generated by eolian 2014-06-03 11:52:39 +01:00
Tom Hacohen e2f255684d Show edje part name in the client.
This shows the part name of an edje part in the client. It uses the mock
class "Edje_Part" Which is appended at the end of the class list.
2014-03-31 16:36:57 +01:00
Tom Hacohen 450b8bf916 Only call smart members get on smart objects. 2014-03-14 12:02:03 +00:00
Tom Hacohen 038457f44c Client: Added basic extensions support.
Quite hackish. API is subject to changes. Doesn't really let you do much
at the moment. Only list and run modules from the menu.
2013-12-30 15:52:07 +00:00
Tom Hacohen 758e8e8249 App: Changed unknown app name from clouseau to unknown.
Should make what happenning more obvious.
2013-12-13 12:24:25 +00:00
Tom Hacohen 896a0b2f5e App: Show legacy object types for old smart classes.
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.
2013-12-13 12:00:01 +00:00
Tom Hacohen 763175865e client: get eo class name, not evas object name as name.
The Eo class name works for more types of objects and is also more
correct.
2013-11-07 10:37:56 +00:00
Tom Hacohen 91edbfe243 client: Also delete the backtrace label.
I forgot to remove that when removing the backtrace panel.
2013-11-06 17:10:08 +00:00
Tom Hacohen bded5a9950 Highlight map area of object if exists.
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.
2013-09-12 16:10:01 +01:00
Tom Hacohen dd93bda89d Always put the hilight object at the highest layer. 2013-09-06 17:02:11 +01:00
Cedric Bail a9bad4f65d clouseau: fix header order. 2013-07-23 11:39:35 +09:00
Tom Hacohen e1a515321a Free the con_server after the eet_server.
Thanks to JackDanielZ for finally being useful. ;P
2013-05-21 14:19:03 +01:00
Tom Hacohen 9a06a9b433 Actually disconnect clouseau clients when requested. 2013-05-21 14:11:19 +01:00
Tom Hacohen 337a44976a Added clouseau_app_disconnect and added a call for it. 2013-05-20 15:04:17 +01:00
Tom Hacohen 9df23ed8d7 Call clouseau_disconnect on shutdown. 2013-05-20 14:59:19 +01:00
Tom Hacohen 3ae0b13de7 Override ELM_CLOUSEAU env var so we don't inspect ourselves. 2013-04-29 15:17:06 +01:00
Tom Hacohen d9e6561d08 Clouseau: Fixed a leak.
SVN revision: 83953
2013-02-15 13:15:56 +00:00
Tom Hacohen 7a39938657 Clouseau: Ship the header file.
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
2013-02-06 17:52:06 +00:00
Tom Hacohen d32bbe9895 Clouseau: Start Daemon from app instead of script.
SVN revision: 83694
2013-02-06 15:55:53 +00:00
Tom Hacohen 5effaef84b Clouseau: Moved private enum to the private header.
SVN revision: 83693
2013-02-06 15:55:51 +00:00
Tom Hacohen 4d951106c6 Clouseau: Cleaned up preload a bit and moved more to lib.
SVN revision: 83692
2013-02-06 15:55:48 +00:00
Tom Hacohen 71bd89eb2b Clouseau: Started spliting clouseau.c
SVN revision: 83691
2013-02-06 15:55:46 +00:00
Tom Hacohen af32e57679 Clouseau: Some scope and naming clean-ups.
SVN revision: 83690
2013-02-06 15:55:44 +00:00