Commit Graph

241 Commits

Author SHA1 Message Date
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
Tom Hacohen cc28cbfbbc Clouseau: Pass appname to client_connect, not init.
SVN revision: 83689
2013-02-06 15:55:41 +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 8c2a96b8aa Clouseau: Fixed bad change to use pointer for type in the eet.
SVN revision: 83631
2013-02-05 13:53:44 +00:00
Tom Hacohen e9fe6cb2c0 Clouseau: Minor cosmetic changes.
SVN revision: 83534
2013-01-31 18:05:32 +00:00
Tom Hacohen 5f9e775820 Clouseau: Fix seg on 32 bit.
SVN revision: 83528
2013-01-31 16:30:48 +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 74407dec92 Clouseau: Changed file naming a bit.
Preload is now in it's own file. Will sort the lib names next.

SVN revision: 83514
2013-01-31 12:00:07 +00:00
Tom Hacohen ca8f724773 Clouseau: Fixed a (potential?) memory leak.
SVN revision: 83512
2013-01-31 11:10:01 +00:00
Tom Hacohen 54ffd3ebc9 Clouseau: Moved the legacy eet descriptors to a separate file.
This cleans up the code a bit and will let us get rid of it
easily when the time comes.

SVN revision: 83510
2013-01-31 11:01:16 +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 baae415aee Clouseau: We don't need access to internal elm stuff.
SVN revision: 83491
2013-01-30 17:18:14 +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 a709682d07 Clouseau: Fixed memory leak.
SVN revision: 83489
2013-01-30 17:18:08 +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 f9c664c014 Clouseau: type should be LONG LONG.
SVN revision: 83486
2013-01-30 16:47:51 +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 3d4fd428a0 Clouseau: Use the new Eo_Dbg_Info structure.
SVN revision: 83446
2013-01-29 16:36:25 +00:00
Daniel Zaoui 119cfd5235 Clouseau: Added static to private functions
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83425
2013-01-29 10:11:49 +00:00
Aharon Hillel 9eff55d073 Clouseau: Added EO info support
The Clouseau client is compatible with old Clouseau applications
supporting EcoreConnEet.

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

SVN revision: 83412
2013-01-29 06:39:51 +00:00
Daniel Zaoui 98a23a6112 Fix segmentation fault if no bitmap was present in the snapshot file
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 81653
2012-12-23 09:07:12 +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
Aharon Hillel 6cdcdb1b2e clouseau: Fixed _host_to_net_blob_get memory allocation size has to be divided by sizeof(uint32_t)
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 79824
2012-11-29 11:08:58 +00:00
Daniel Juyung Seo 507f22ea16 clouseau clouseau_object_information.c: Expand all the properties in property list.
SVN revision: 79013
2012-11-09 06:46:36 +00:00
Tom Hacohen 500c76369c Clouseau: Added propagate events and clipper.
SVN revision: 78658
2012-10-30 13:36:29 +00:00
Tom Hacohen 6313588df9 Clouseau: Added repeat events.
SVN revision: 78630
2012-10-29 23:33:43 +00:00
Tom Hacohen cfe42f3388 Clouseau: use __func__ when doing dlsym.
Cleaner and less error-prone.

SVN revision: 78468
2012-10-25 16:04:18 +00:00
Tom Hacohen c7e71f3c99 clouseau: Fixed fixme. We don't need to init elm anymore.
SVN revision: 78467
2012-10-25 16:02:44 +00:00
Tom Hacohen 5f083a50d4 Clouseau: Check we actually got data before we try to access it.
SVN revision: 78459
2012-10-25 15:15:13 +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
Aharon Hillel a2d81eac14 clouseau: Did more func visibilty fixes
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 75162
2012-08-12 10:32:13 +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
Tom Hacohen c96acc433a Clouseau: Fixed visibility of some of the functions.
This is not complete, and also won't work on windows (but clouseau doesn't
work on windows atm anyway, so...).

SVN revision: 74798
2012-08-02 10:26:54 +00:00
Aharon Hillel b47e9293c5 clouseau: Moved Evas Map items into Evas props-list
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 74638
2012-07-31 10:26:41 +00:00
Aharon Hillel 3c06e4da01 clouseau: Added Evas Map x,y,z, values to props
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 74561
2012-07-30 08:25:15 +00:00
Cedric BAIL 5924cf3548 clouseau: small 15min cleanup.
SVN revision: 74430
2012-07-26 09:53:44 +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 abbd2a7f19 clouseau: Fixed image source printing
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 74072
2012-07-18 13:55:15 +00:00
Cedric BAIL a0282cf1cf clouseau: a little step to cleanup this mess.
NOTE: copy and past is not the same as factoring code with function and macro.
NOTE2: please follow the convention of other EFL project.


SVN revision: 73390
2012-07-06 02:39:11 +00:00
Daniel Juyung Seo 7aac83c770 clouseau: Use genlist compress mode for text ellipsis.
SVN revision: 72986
2012-06-28 08:54:27 +00:00
Aharon Hillel 6b46f92587 clouseau: added move-lines feature on on mouse move + right btn
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72547
2012-06-20 14:28:56 +00:00
Aharon Hillel 22cc9e004f clouseau: cut textblock content to 38 chars
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72546
2012-06-20 14:28:53 +00:00
Aharon Hillel 520b276710 clouseau: Fixed zoom-point Window stays on mouse point when zooming.
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72538
2012-06-20 11:32:00 +00:00
Aharon Hillel 069a137b21 clouseau: refined screenshot get func
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72360
2012-06-18 07:23:28 +00:00
Aharon Hillel d020f94871 clouseau: Using host-notwork byte-order for BMP
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72359
2012-06-18 07:23:25 +00:00
Aharon Hillel a97a8afe5b clouseau: Fixed zoom and line features Used can ZOOM on app screenshot User can right-click to draw lines at mouse point User can reset zoom and line on double click TODO: Fix rgba values are wrong in status bar
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72357
2012-06-18 07:23:20 +00:00
Aharon Hillel 71854d3809 clouseau: Avoid checking children for non-smart object
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72355
2012-06-18 07:23:15 +00:00
Aharon Hillel dddca2b897 clouseau: Fixed highlight handling Added delete fade-timer on close window Added lines asociated with each bmp
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72354
2012-06-18 07:23:12 +00:00
Aharon Hillel 16edf65bca clouseau: Line now is created only on center or right mouse button
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72353
2012-06-18 07:23:09 +00:00
Aharon Hillel c5d39d4592 clouseau: Added status-bar and line status bar includes BMP size, current mouse x,y, RGBA color at mouse TODO: Fix RGBA value, currently wrong. TODO: Make lines fade on mouse release only. TODO: Add GLayer to support zoom.
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72350
2012-06-18 07:23:01 +00:00
Aharon Hillel 9bb004690c clouseau: Fixed a bug in offline-highlight Was created as a result of previous commit
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72348
2012-06-18 07:22:56 +00:00
Aharon Hillel d58ccc2ba5 clouseau: Fixed highlight bug Verift that evas object was NOT deleted before trying to highlight
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72347
2012-06-18 07:22:53 +00:00
Aharon Hillel 56111ff1bf clouseau: Finilise save,load bmp file including GUI
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72344
2012-06-18 07:22:43 +00:00
Aharon Hillel 77963edfcb clouseau: bmp_info_st info now encoded with eet.
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72343
2012-06-18 07:22:39 +00:00
Aharon Hillel e7f43b2bea clouseau: Added highlight on bmp window
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72342
2012-06-18 07:22:36 +00:00
Aharon Hillel 5ebf435070 clouseau: Stable version with BMP support Canceled BMP eet encoding Need to remove bmp_req list from daemon, no longer needed
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72340
2012-06-18 07:22:31 +00:00
Aharon Hillel b2a538d634 clouseau: Initial version of supporting BMP windows This version enables user to open local copy of app window Need to cancel BMP decoding of EET Fix app-name in title-bar of BMP window Need to support the case of bmp not found HIGHLIGHT BUG: if sub-window is closed Support HIGHLIGHT on BMP Add BMP Saving in EET file + test all offline implicaitons
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72338
2012-06-18 07:22:25 +00:00
Mike Blumenkrantz f4e69958d3 in EFL we always do sizeof(Type), not sizeof(*variable).
SVN revision: 72182
2012-06-15 10:08:18 +00:00
Mike Blumenkrantz 0060707fd6 clouseau's headers were all crazy and wrong. now they are less wrong.
SVN revision: 72181
2012-06-15 10:03:54 +00:00
Mike Blumenkrantz 6fb36cdff2 same thing as the previous commit
SVN revision: 72019
2012-06-12 11:59:19 +00:00
Cedric BAIL 2181be7332 clouseau: get textblock text.
SVN revision: 71474
2012-05-28 23:56:01 +00:00
Aharon Hillel 58103f3403 clouseau: Added file name to app name when working offline
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 71208
2012-05-17 13:57:29 +00:00
Aharon Hillel c97656f937 clouseau: changed localhost to 127.0.0.1"
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 71204
2012-05-17 13:57:17 +00:00
Aharon Hillel 9b410d801c clouseau: client initial version for offline This version sould undergo more testing, refine So be aware offline mode may have some bugs
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 71158
2012-05-16 11:07:06 +00:00
Tom Hacohen 938d48865d Clouseau: use "localhost" instead of the ip and make the ui nicer.
SVN revision: 71074
2012-05-14 14:41:44 +00:00
Aharon Hillel 0797182866 clouseau: changed default port.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 71073
2012-05-14 14:41:40 +00:00
Aharon Hillel abb1576d58 clouseau: removed bcaktrace printout
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 71072
2012-05-14 14:41:37 +00:00