Commit Graph

987 Commits

Author SHA1 Message Date
Rafael Antognolli 74cb944f25 ecore/wayland: Add window state changed callback to Ecore_Wl_Window.
This will allow it to report to Ecore_Evas that the window has changed
its state. Elementary uses this to update its maximized/fullscreen/other
window states internal information.

The code that uses this callback is also added to Ecore_Evas.

SVN revision: 83625
2013-02-05 12:19:40 +00:00
Christopher Michael 562b278b52 Be a lot more pedantic and add some more safety checks about xrandr
return values (ie: if xrandr returns 0 crtcs, then we don't need to
allocate anything, etc, etc, etc).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83624
2013-02-05 11:55:51 +00:00
Christopher Michael 0c76117e1e Be a bit more pedantic when getting outputs for a crtc, in that if
xrandr returns 0 outputs, then free resources and return null quickly.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83623
2013-02-05 10:51:57 +00:00
Christopher Michael f317906408 Set number of returned modes early in the process.
Let's be a bit pedantic here, if the number of returned modes is Zero,
then just free resources and get out.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83617
2013-02-05 08:53:18 +00:00
Rafael Antognolli cc2b953b65 ecore_evas/wayland_egl: Fix window resize when using meta+middle click.
It's needed to set the edge where the middle click is being done in
order to allow Evas know which direction the resize should take.

SVN revision: 83610
2013-02-04 18:40:14 +00:00
Raphael Kubo da Costa 29dd8e2b47 evas: Stop initializing and shutting Fontconfig down
A few days ago I was investigating a bug in the EFL WebKit port and
noticed WebKit's and Evas' handling of Fontconfig are somewhat
incompatible: while the evas_font code calls both FcInit() and FcFini()
when on initialization and shutdown, respectively, WebKit keeps some
Fontconfig objects alive until the process exits. In practice, this
means that shutting Evas down will cause FcFini() to assert because
there are objects which have not been properly destroyed.

This is not really a WebKit-specific problem, as any program which also
uses Fontconfig directly and shuts Evas down before destroying all FC
resources it has allocated is going to crash in the same way.

Other libraries such as Qt, Pango and Cairo do not explicitly initialize
and shut Fontconfig down. Evas itself got this code in r40242 and was
later adjusted in r45829 and r74870.

Since we can't completely control the lifetime of all Fontconfig objects
used in client code, I was thinking of doing the same thing as other
libraries do and get rid of the calls to FcInit() and FcFini(). The part
which is really important is not calling FcFini() -- this was already
done for a while in the r45829 which I mentioned. Valgrind will complain
about some "still reachable" memory blocks, but that's not really
important (as raster said in that revision's commit message, "things may
look like they leak in Valgrind - they dont. in reality").

Note: tasn tried to talk about it with fc guys and it's the
way to go. They won't implemented refcount as suggested in our ml.

Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>



SVN revision: 83605
2013-02-04 15:37:41 +00:00
Raphael Kubo da Costa b236ac69bd evas: Rename evas_font_zero_presure()
There's an obvious typo in the function name, so appease my OCD and
rename it.

Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>



SVN revision: 83604
2013-02-04 15:33:38 +00:00
Raphael Kubo da Costa ad5355a307 edbus: Update EDBUS_VERSION_MINOR
Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>



SVN revision: 83603
2013-02-04 15:29:41 +00:00
Cedric BAIL 01dba3fbc0 efl/eina: prevent denial of service on eina_hash.
Thanks goes to Thiago Macieira for sharing the issue. This
is the result of the cross-desktop talk at fosdem. A lot more
comming in the futur !


SVN revision: 83578
2013-02-04 07:52:56 +00:00
Jihoon Kim 4b1edd906c efl/edje_entry: support &, < and > in preedit string
SVN revision: 83575
2013-02-04 00:57:50 +00:00
Mike Blumenkrantz afa9c0ab97 fix typo in stringshare_refplace doc
SVN revision: 83565
2013-02-01 12:57:44 +00:00
Christopher Michael cdb82dc2df Tell X to create the edid atom if it is missing so we can return valid
edid information.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83556
2013-02-01 12:06:55 +00:00
Christopher Michael e6be42978b Length is optional here when getting edid from output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83554
2013-02-01 11:50:59 +00:00
Mike Blumenkrantz 1f9a84b9cc add eina_stringshare_refplace(): same as replace(), but calls ref instead of add
also fixed a small doc error


SVN revision: 83549
2013-02-01 11:12:33 +00:00
Mike Blumenkrantz bfc76668f4 finally addressing complaints regarding eina_list_last_data_get() not being a function. well now it is
SVN revision: 83547
2013-02-01 11:02:53 +00:00
Mike Blumenkrantz f9d80e493a add eet_data_descriptor_name_get()
SVN revision: 83546
2013-02-01 10:59:23 +00:00
Guillaume Friloux a3f013ad2f Fixing a mem leak by adding a call to dns_ai_close which will save us
800 bytes per ecore_con_server_connect() call.


SVN revision: 83517
2013-01-31 14:04:54 +00:00
Jaehwan Kim 2c3b1b4143 Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed object is invisible by proxy object.
SVN revision: 83501
2013-01-31 05:52:59 +00:00
Mike McCormack 089bfed33f efl: Fix a warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83498
2013-01-31 03:30:59 +00:00
Jihoon Kim 916ef25fe8 efl/edje entry : Remove ecore_imf_context_cursor_position_set in functions related to selection.
SVN revision: 83495
2013-01-31 01:01:33 +00:00
Christopher Michael ea30a66335 Since we actually support RandR 1.4 now, lets increment the minor
version number.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83484
2013-01-30 15:12:22 +00:00
Christopher Michael 8075dbc796 Remove blank line.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83483
2013-01-30 15:12:15 +00:00
Tom Hacohen 4b230bb164 Eo dbg info: Add support for to_string.
SVN revision: 83481
2013-01-30 13:35:31 +00:00
Christopher Michael 324e84e307 Add UNUSED for parameter that is not used.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83474
2013-01-30 10:30:54 +00:00
Christopher Michael afcc2c64c7 Actually Implement RandR 1.4 functions (with code) ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83471
2013-01-30 10:18:44 +00:00
Christopher Michael d2a5654c2a Fix randr 1.4 function declarations to be sane (match rest of efl):
There is no point in returning a rectangle if we are filling in the
  x, y, w, h params also. That's just stupidness.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83470
2013-01-30 10:18:41 +00:00
Christopher Michael 469aebad27 Fix gamma functions (unsure how this all got messed up from previous
commit).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83469
2013-01-30 10:18:38 +00:00
Christopher Michael cdeedfb975 Fix parameters for new RandR 1.4 functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83468
2013-01-30 10:18:35 +00:00
Christopher Michael 4739b506c0 Add the missing RandR 1.4 functions to Ecore_X header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83467
2013-01-30 10:18:32 +00:00
Christopher Michael 1330412be7 Deprecate old ecore_x_randr_crtc_gamma functions.
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.
Add some missing UNUSED for function params.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83465
2013-01-30 09:32:52 +00:00
Christopher Michael 7fbaead218 Deprecate old ecore_x_randr_crtc_gamma functions.
Create new (proper) Ecore_X_Randr_Crtc_Gamma_Info structure.
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83464
2013-01-30 09:32:44 +00:00
Christopher Michael 390c54eda3 Add missing UNUSED to some function parameters.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83458
2013-01-30 07:25:43 +00:00
Sanjeev BA 7b55dc5135 Remove redundant return statement.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 83454
2013-01-30 00:27:28 +00:00
Boris Faure d9e05b1b40 ecore_x: randr: don't crash when launching e without second screen
SVN revision: 83449
2013-01-29 19:55:42 +00:00
Tom Hacohen 70156285b0 Eo dbg: Use eina_value as the debug info type.
SVN revision: 83443
2013-01-29 16:36:01 +00:00
Christopher Michael 139ca23be1 Remove ecore_x_randr.h file from Make. Not needed anymore.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83440
2013-01-29 14:48:18 +00:00
Christopher Michael 8e62eb9519 Implement & fix ecore_x_randr code.
NB: All functions which are in the Ecore_X header have now been
implemented except for 2.

NB: No support yet for the RandR 1.4 functions.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83439
2013-01-29 14:48:14 +00:00
Christopher Michael ed1de4e72e Fix makefile for new randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83438
2013-01-29 14:48:11 +00:00
Christopher Michael 3888089a7f Remove old randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83437
2013-01-29 14:48:08 +00:00
Christopher Michael c951fb5a2d Use palette mode none for conversion.
Comment out idle_flush (for now) as it is causing some segfaults with
elm_win_util_standard_add for some strange reason.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83436
2013-01-29 14:40:21 +00:00
Carsten Haitzler a349bdc734 fix edje cache miss
SVN revision: 83431
2013-01-29 13:48:15 +00:00
Carsten Haitzler 6bf7dd8775 also check priv->o before..
SVN revision: 83428
2013-01-29 10:45:31 +00:00
Carsten Haitzler c73bf6fd00 emotion - be gooder. (use DEL callback not fREE and .. check priv->o!
SVN revision: 83427
2013-01-29 10:44:44 +00:00
Carsten Haitzler bf9f42be90 add @since.
SVN revision: 83419
2013-01-29 08:24:21 +00:00
Carsten Haitzler 29ebec4bfb MINOR feature... not worth changelogging - add send event flag to
ecore-x-hide event.



SVN revision: 83418
2013-01-29 08:23:40 +00:00
Aharon Hillel 028f059d32 Clouseau-Eo integration: Added debug info functions.
From now, classes implementing the Eo function with id
EO_BASE_SUB_ID_DBG_INFO_GET will be able to show in Clouseau their own
specific information.
Information contents is controlled by the class itself and no more
by Clouseau. Basic types and lists are supported..

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

SVN revision: 83410
2013-01-29 06:36:23 +00:00
Jihoon Kim ed8e0f222a efl/ecore_imf: remove trailing whitespace in Ecore_IMF.h
SVN revision: 83409
2013-01-29 06:17:13 +00:00
Cedric BAIL da4efb7b56 efl/edje: one less use of evas_object_type_get.
SVN revision: 83408
2013-01-29 06:01:42 +00:00
Jihoon Kim 3291f02bff efl/ecore_imf: fix wrong commit. name, address type shouldn't be uploaded :(
SVN revision: 83403
2013-01-29 04:41:23 +00:00
Jihoon Kim 27968b4fec efl/ecore_imf: fix typo in doxygen
SVN revision: 83397
2013-01-29 02:52:53 +00:00