Commit Graph

343 Commits

Author SHA1 Message Date
Marcel Hollerbach 91a9f603ae Introduce focus graph checker
This module checks that all managers which are known to the canvas have
a probebly setted up graph. Which means that all widgets of a graph are
fully connected(no relations to the outside of that graph, and no
seperated widgets which are not accessable via relations). It also
checks for the case of multiple manager objects, that those manager
objects are connected via redirects, and those connections & managers
are representing a tree.

ERR messages are counted as failures found by the checker, CRIT messages
are assertions from the checker which are not met. INF messages are
informations (mostly that a manager is checked etc.).

How the checks are performed is written as comment above the particular
checks.
2016-11-15 09:37:39 +01:00
Marcel Hollerbach bbf9c0bf16 clouseau_client: do not compact items which are bigger than 10 items
otherwise things are getting really unreadable
2016-11-14 14:44:12 +01:00
Marcel Hollerbach ff09fd6dbc 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-14 14:42:30 +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
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
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
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
Tom Hacohen 237f6e1cc1 Add arc config. 2015-07-08 12:12:12 +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
Daniel Juyung Seo 32e1b22404 client: Focus the entry on startup. 2014-11-14 18:55:05 +09:00
Tom Hacohen a99981bada Update code to use the new class names generated by eolian 2014-06-03 11:52:39 +01:00
Daniel Juyung Seo 492fe62a85 client: do not use deprecated APIs.
elm_fileselector_button_is_save_set -> elm_fileselector_is_save_set
elm_fileselector_button_path_set -> elm_fileselector_path_set
2014-04-14 00:41:17 +09: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
Jean-Philippe Andre 79bfcef585 Fix crash in clouseau client
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.
2014-01-13 13:43:38 +09:00
Tom Hacohen 15ac4b90ac Client: An hack to fix jump to entry. 2014-01-07 10:55:10 +00:00
Tom Hacohen e764f9552f Canvas Sanity Checker: Implemented first version.
This is as requested by Mike T660.
I think the logic doesn't make sense, but I implemented it as requested.

This fixes T660.
2013-12-31 15:13:46 +00:00
Tom Hacohen 506d32917a Client: Fixed pointer printing.
A fix to bbdcab85c8.
2013-12-31 14:13:52 +00:00
Tom Hacohen 9935915231 Fixed assignment of NULL to an int (changed to 0). 2013-12-31 13:55:13 +00:00
Tom Hacohen bbdcab85c8 Client: Fixed pointer printing. 2013-12-31 13:22:33 +00:00
Tom Hacohen a3b8caf5c9 Added stub module -- currently disabled. 2013-12-30 15:54:45 +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 e6800e9c9d Return to previously selected item on reload. 2013-12-16 17:16:36 +00:00
Tom Hacohen c3166d6a5d Client: Merged several instances of a string into a macro. 2013-12-13 12:49:16 +00:00
Tom Hacohen 18ce861cff Revert "Clouseau: Don't clear the list if an app has exited."
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.
2013-12-13 12:48:54 +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 b8c6c03b66 Enable the macro needed to use Eo API. 2013-12-13 11:59:58 +00:00
Daniel Juyung Seo 2d044dd76a Client: Use popup instead of inwin for the config dialog. 2013-11-07 23:01:48 +09:00
Tom Hacohen 618a820e3b client: init the config pointer to NULL. 2013-11-07 13:44:08 +00:00
Tom Hacohen 0b37c98fc5 client: updated Elm-only to work with recent elm changes. 2013-11-07 11:45:51 +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 25ad368bfd client: put object name before the pointer.
This looks much better and much more usable.
2013-11-07 10:30:36 +00:00
Tom Hacohen f86d84faa8 Client: Allow users (on by default) to only show elm widgets.
This lets users choose to only see elm widgets, no "low-level" objects.
This is simpler for most people, but some more advanced users would
still prefer seeing the low-level objects.
2013-11-07 10:13:41 +00:00
Tom Hacohen 87c046e9ad Client: Added a GUI settings dialog.
This is a continuation of the previous commit actually letting you
control the settings from a nice settings dialog.
2013-11-07 10:11:46 +00:00
Tom Hacohen 8cabe8fb7c client: only show elm widget (config option, no GUI).
This commit changes clouseau to only show elm widgets (no evas/edje/or
whatever). This is controllable by config (eet), but no GUI for it just
yet.
2013-11-06 17:14: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 bef368ce35 client: made the config persistent. 2013-11-06 17:04:15 +00:00
Tom Hacohen cedce52f13 Fixed stupid gitignore. 2013-11-06 17:03:26 +00:00
Tom Hacohen d95fc3e02b Get rid of the bottom backtrace panel for the meanwhile. 2013-11-06 16:12:29 +00:00
Daniel Zaoui e79702cbb9 Pointer search: navigation to the widget was not working.
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.
2013-10-20 19:51:41 +03:00
discomfitor 4a9c23648a fix crash from connection errors where address is NULL (don't ask) 2013-10-20 16:52:22 +01:00
Rafael Antognolli d95ff67dd6 Make systemd config files installation optional. 2013-10-03 15:52:00 -03:00