Commit Graph

220 Commits

Author SHA1 Message Date
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
Shuhrat Dehkanov eafc27dc05 call _shutdown() before return/exit
Reviewers: jeanguyomarch, cedric

Reviewed By: cedric

Subscribers: minkyu

Differential Revision: https://phab.enlightenment.org/D4394

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-11-17 15:55:26 -08: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
Daniel Juyung Seo 32e1b22404 client: Focus the entry on startup. 2014-11-14 18:55:05 +09: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
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 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
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 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 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 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
Tom Hacohen 81d2d9d021 Clouseau: Don't clear the list if an app has exited. 2013-10-02 17:28:45 +01:00
Carsten Haitzler 5178b28ce6 add some frame padding to the widget layout... looks nicer. 2013-09-10 18:36:30 +09:00
Tom 'TAsn' Hacohen 78d88626c8 Use elm guide in the 'Jump To' field and improve it a bit. 2013-08-30 11:55:33 +01:00
Tom Hacohen 2d737c67c2 Better comply to our coding convention. 2013-08-19 14:12:04 +01:00
Tom Hacohen 9588ca1a5c Added a "Jump To" entry.
This lets us jump to specific objects in the tree. Really useful.
2013-08-19 13:34:38 +01:00
Tom Hacohen 7638eb7c4f Button text: Less shouting in the UI's text. 2013-08-16 14:34:09 +01:00
Tom Hacohen da084b320a Change the text on "Load Tree" button to "Reload" right from the start. 2013-08-16 14:32:23 +01:00
Daniel Zaoui 47ee4cc859 Clouseau: add possibility to give the IP and port as parameters.
Now, you can execute clouseau_client with the optional parameters ip and
port. The format is clouseau_client [ip:[port]].
2013-06-04 11:03:06 +03:00
Tom Hacohen 3ae0b13de7 Override ELM_CLOUSEAU env var so we don't inspect ourselves. 2013-04-29 15:17:06 +01:00
Cedric BAIL 4c41468124 clouseau: wheel need elm_progressbar_pulse_set to spin. 2013-03-18 15:38:31 +09:00
Cedric Bail b9296086cb clouseau: add support for systemd user session. 2013-03-17 11:52:10 +09:00
Daniel Zaoui d2a95a6c42 Clouseau: Fix for class layers displaying.
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.
2013-02-26 16:54:43 +02:00
Daniel Zaoui 8e0ab01156 Clouseau: Merge list elements into one line
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
2013-02-26 06:29:30 +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 20df08e176 Clouseau: libclouseau_preload is now correctly split.
SVN revision: 83681
2013-02-06 13:19:28 +00:00
Aharon Hillel eb977554a7 Clouseau: Rename files to stop confusion.
src/bin: clouseau.c to clouseau_client.c
src/lib: clouseau_client.c to clouseau.c

Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 83650
2013-02-06 06:19:22 +00:00
Tom Hacohen 18e031694d Clouseau: renamed the libs.
libclouseau.so -> libclouseua_preload.so
libclouseau_client.so -> libclouseau.so

SVN revision: 83515
2013-01-31 12:00:10 +00:00
Tom Hacohen 12c379a500 Clouseau: Remove the Clouseau.h header and use clouseau_private2.h instead.
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
2013-01-30 17:18:16 +00:00
Tom Hacohen 8d5ad68be6 Clouseau: Use the new Eo_Dbg_Info a bit more.
The mission: use it all across. Atm we still rely on it because of the
eet conversion.

SVN revision: 83490
2013-01-30 17:18:11 +00:00
Tom Hacohen c02621026f Clouseau: Added legacy<->eina value conversion functions.
SVN revision: 83488
2013-01-30 17:18:05 +00:00
Tom Hacohen 1de87473e9 Clouseau: Minor clean up.
SVN revision: 83487
2013-01-30 17:18:03 +00:00
Tom Hacohen c87ffb64a0 Clouseau: Some more cleanups.
SVN revision: 83482
2013-01-30 13:46:27 +00:00
Tom Hacohen 456bf94cea Clouseau: Improved log messages a bit.!
SVN revision: 83477
2013-01-30 11:23:03 +00:00
Tom Hacohen f8fb1f73f5 Clouseau: Remove some client specific stuff from the lib.
SVN revision: 83475
2013-01-30 11:13:50 +00:00
Tom Hacohen 0483c95e54 Clouseau: Removed useless code.
SVN revision: 83445
2013-01-29 16:36:23 +00:00
Tom Hacohen fb34d37986 Clouseaud: Make it POSIX instead of linux only.
SVN revision: 83435
2013-01-29 14:08:18 +00:00
Tom 'TAsn' Hacohen 1b8a403058 Clouseau: Remove the daemonising code, use proper logging and proper locking.
Signed-off-by: Tom 'TAsn' Hacohen <tom@stosb.com>

SVN revision: 83434
2013-01-29 13:56:49 +00:00
Tom Hacohen 33cbf06c7f Clouseau: Fix warnings.
SVN revision: 82888
2013-01-16 13:47:57 +00:00
Daniel Juyung Seo fadfa0a3a2 clouseau clouseau.c: Use entry activated smart callback for remote address.
SVN revision: 81718
2012-12-26 16:34:13 +00:00
Daniel Zaoui 5ad51a30b8 Fix segmentation fault when the file dialog of snapshot feature is
opened, closed (cancel button), reopened and save is clicked.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 81657
2012-12-23 11:58:58 +00:00
Daniel Zaoui cfd867dff4 Fix for some KlocWork and parasoft issues
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 80238
2012-12-05 12:41:49 +00:00
Daniel Zaoui bd7ddfd507 Revert "elm test_gengrid.c: Use elm_gengrid_item_class_new/free() APIs."
This reverts commit a562f94c5615ffa7f35b4b5851eb4ac43f7adfc4. These
files were not supposed to be rollbacked.

SVN revision: 80128
2012-12-04 06:57:44 +00:00
Daniel Juyung Seo 5e39cbd7f9 elm test_gengrid.c: Use elm_gengrid_item_class_new/free() APIs.
SVN revision: 80081
2012-12-03 16:27:03 +00:00
Aharon Hillel 65e9f49ccd clouseau: Adopted ecore_con_eet interface. This is a whole-new clouseau
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
2012-11-29 11:09:10 +00:00
Daniel Juyung Seo 07edfbc4f3 clouseau clouseau.c: Refactoring. Made main function more readable.
SVN revision: 79012
2012-11-09 06:46:33 +00:00
Daniel Juyung Seo 1c458e4bb5 clouseau clouseau.c: Do not refresh object property list when the object was already selected.
SVN revision: 79011
2012-11-09 06:46:31 +00:00
Daniel Juyung Seo ad856fd8c2 clouseau clouseau.c: Use simple util API for elm_win.
SVN revision: 79010
2012-11-09 06:46:28 +00:00
Daniel Juyung Seo 3e28ee24d0 clouseau clouseau.c: Removed wrong EINA_UNUSED.
SVN revision: 79009
2012-11-09 06:46:24 +00:00
Stefan Schmidt c02ca8ed83 clouseau: Handle error cases when daemonizing.
Finishing what Hermet started here. Checking the return values and return
if we meet an error case. And yes, I did that because the failure in buildbot
annoyed me but checking for this retrun values makes actually sense.

SVN revision: 78759
2012-11-01 13:08:04 +00:00
ChunEon Park 50fa398a5b closeau - --warning
SVN revision: 78596
2012-10-29 01:22:10 +00:00
Daniel Juyung Seo 1addf27381 clouseau: Use new elementary api. elm_entry_scrollbar_policy_set -> elm_scroller_policy_set.
SVN revision: 76364
2012-09-10 01:36:12 +00:00
Daniel Juyung Seo abb3ee0c06 clouseau: No more compress mode. Now we can scroll genlist horizontally.
SVN revision: 76363
2012-09-10 01:36:02 +00:00
Aharon Hillel 03d9eab42c clouseau: Fixed naming and func visiblity
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 75252
2012-08-14 11:26:26 +00:00
Cedric BAIL 55f4e9d5d5 clouseau: no need to handle unknow type at all in clouseau.
SVN revision: 75065
2012-08-10 06:00:47 +00:00
Daniel Juyung Seo 3c4af46a17 clouseau clouseau.c: Now genlist item is always selectable. We can select already selected item. This makes clouseau more convenient.
SVN revision: 74647
2012-07-31 11:15:48 +00:00
Cedric BAIL 5924cf3548 clouseau: small 15min cleanup.
SVN revision: 74430
2012-07-26 09:53:44 +00:00
Aharon Hillel 2d0358d52b clouseau: Fixed crash on close app Crash happen when select app hoversel open and we are closing app
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 74387
2012-07-25 11:23:51 +00:00
Cedric BAIL 2ba4982c31 clouseau: more cleanup (just renaming file for now).
SVN revision: 74305
2012-07-23 03:48:20 +00:00
Aharon Hillel ddd5cb94f7 clouseau: Fixed object info populating on highlight
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 74184
2012-07-19 12:47:56 +00:00