Commit Graph

17651 Commits

Author SHA1 Message Date
Christopher Michael 564ad86a36 Ecore: Update ChangeLog and configure.ac for Rob's cursor patches.
SVN revision: 71735
2012-06-06 08:19:45 +00:00
Rob Bradford b170d36865 Ecore_Wayland: Update to latest wayland git and add support for keymap
& modifier change(s). Also, add patches from Rob Bradford
<rob@linux.intel.com> for basic support for setting wayland cursor:

From c5d9094f4792bf7375c216682947de334002cdad Mon Sep 17 00:00:00 2001
From: Rob Bradford <rob@linux.intel.com>
Date: Tue, 29 May 2012 16:35:01 +0100
Subject: [PATCH] Ecore_Wayland: Add basic support for setting the cursor

* Add api to the ecore_wl_input_ namespace to allow setting the buffer
to use
for the pointer and for loading a named cursor from a cursor theme.
Under the
Wayland protocol the cursor is associated with the input device.

* Add helper functions to ecore_wl_window to set the cursor based on the
active pointer input device for the window.

* Load the cursor theme when the SHM interface is ready and provide an
API
call to provide a wl_cursor for a given name.

* Add API to restore to the default cursor and then use that when the
pointer
enters the surface to ensure compliance with the Wayland protocol.

Cheers :)



SVN revision: 71734
2012-06-06 08:18:58 +00:00
Christopher Michael be3784dab9 Ecore_Evas (wayland_shm): Reduce processing overhead by not feeding a
mouse_move when we feed an in/out.



SVN revision: 71733
2012-06-06 08:16:36 +00:00
Christopher Michael b4924826c3 Ecore_X(cb): Add more trapping for build when randr is not
found/enabled.



SVN revision: 71732
2012-06-06 08:15:29 +00:00
Tom Hacohen 827c2f6dd6 Eo: Moved more saftey checks to release mode only.
SVN revision: 71711
2012-06-05 12:05:08 +00:00
Tom Hacohen a2cdb54d6b Eo: renamed the Magic for freed objects and better handle deleted objects.
Now we differentiate between deleted but not freed vs deleted and freed
objects.

SVN revision: 71710
2012-06-05 12:05:06 +00:00
Tom Hacohen 8f1077493f Eo: Rephrased error message.
SVN revision: 71709
2012-06-05 12:05:02 +00:00
Tom Hacohen 01c10de3f5 Evas textblock: Added some NULL checks that shouldn't happen.
SVN revision: 71708
2012-06-05 11:35:58 +00:00
Tom Hacohen 06bce244aa Evas textblock: Fixed cursor position empty right aligned textblocks.
Thanks to WooHyun for reporting this.

SVN revision: 71704
2012-06-05 10:27:54 +00:00
Mike Blumenkrantz 3d656b021e some dns.c usage changes as suggested by its author
SVN revision: 71702
2012-06-05 07:44:44 +00:00
Jihoon Kim bb56b0b09c fix @version in each EFL header doxygen
SVN revision: 71691
2012-06-04 23:27:02 +00:00
Mike Blumenkrantz 161ac501e5 as I promised long, long ago, ecore now has its own asynchronous dns resolver! everyone cheer for not needing c-ares any longer!
dns.c is the work of William Ahern (http://25thandclement.com/~william/projects/dns.c.html) and has been in development for ~4 years.
it has zero documentation, no examples, and no comments: I'm pretty sure he's an EFL developer in disguise.

this new resolver is roughly 10-12% faster than c-ares, will never randomly break, requires no external libraries, and is much simpler on the efl side.

by default, dns.c resolution is enabled any time ipv6 support is detected and c-ares support is not requested;
it should work on all platforms (wink wink vtorri), but it has no way of disabling ipv6 (someone can go through dns.c/h and do that if they feel so inclined)


SVN revision: 71690
2012-06-04 21:10:17 +00:00
Mike Blumenkrantz dec06820ec trivial -Wshadow fix
SVN revision: 71689
2012-06-04 20:49:02 +00:00
ChunEon Park 32e15bb3eb evas/line - code refactoring.
SVN revision: 71685
2012-06-04 11:39:43 +00:00
ChunEon Park 12602756c3 evas/line - trivial changes
SVN revision: 71684
2012-06-04 11:21:05 +00:00
ChunEon Park cdbff9552d evas/line - identation fix
SVN revision: 71683
2012-06-04 11:16:29 +00:00
Mike Blumenkrantz fd3b513079 unbreak my last commit
SVN revision: 71682
2012-06-04 09:16:19 +00:00
Mike Blumenkrantz f472e919e2 add ECORE_{CON,IPC}_NO_PROXY flag to disable proxying on specified connections
SVN revision: 71681
2012-06-04 09:03:04 +00:00
Mike Blumenkrantz 9dc6c51fa0 properly include headers when you use their types...
SVN revision: 71679
2012-06-04 08:40:21 +00:00
Cedric BAIL 7d2831e6a2 edje: forgotten since.
SVN revision: 71678
2012-06-04 06:09:37 +00:00
Jerome Pinot ac27c27083 ecore_x: XKeycodeToKeysym
ecore_x is calling XKeycodeToKeysym from xlib, but this function has issues. It
has been deprecated 6 months ago in X.org and it is suggested to use
XkbKeycodeToKeysym instead: https://bugs.freedesktop.org/show_bug.cgi?id=25732

This commit makes a wrapper function that makes use of XkbKeycodeToKeysym when
possible or fallback to XKeycodeToKeysym otherwise.


SVN revision: 71677
2012-06-04 05:46:33 +00:00
Cedric BAIL b0e087b6bf edje: morning speed of edje. Theme can now be a little bit lighter and faster.
NOTE: VIRTUAL part are almost like rectangle except they don't create any object
on the canvas. This part can't be visible, nor have any color, nor be used as a
clip, nor receive any event.


SVN revision: 71674
2012-06-04 02:57:15 +00:00
Cedric BAIL d7e9d661f0 edje: remove object from the tracked list when they are deleted.
SVN revision: 71672
2012-06-04 01:24:07 +00:00
Tom Hacohen 8fb40ff92f Eo: Added a flag to know if we have any callbacks to clear.
SVN revision: 71663
2012-06-03 13:33:09 +00:00
Tom Hacohen d07f3da945 Eo: Improved checks in signals example.
SVN revision: 71662
2012-06-03 13:33:04 +00:00
Jihoon Kim ac270da3bb ecore_imf_evas: insert example link in Ecore_IMF_Evas_Group
SVN revision: 71661
2012-06-03 12:50:11 +00:00
Jihoon Kim aed2b82302 ecore_imf_example: fix formatting
SVN revision: 71660
2012-06-03 12:49:21 +00:00
Jihoon Kim 416d9d4cd4 ecore_imf: insert example link in ecore_imf_context group
SVN revision: 71659
2012-06-03 12:39:48 +00:00
Tom Hacohen a137241395 Eo: print an error when trying to delete a non-existent callback.
SVN revision: 71658
2012-06-03 08:42:18 +00:00
Tom Hacohen b8aa1e41ed Eo: Remove del_lazy.
SVN revision: 71657
2012-06-03 08:42:15 +00:00
Tom Hacohen 0ca79b594c Eo: Added support for static class ids.
SVN revision: 71656
2012-06-03 08:42:12 +00:00
Tom Hacohen f4d0a797ec Eo: remove eo_del.
Useless for us, was only added to be like evas, but we don't need it
anymore.

SVN revision: 71655
2012-06-03 08:42:08 +00:00
Jihoon Kim 763c581e43 ecore_imf_example.c: revise example code
SVN revision: 71640
2012-06-02 06:00:09 +00:00
Jerome Pinot 3259f7282e eet,ecore: configure script
Make the configure output clear about examples installation.


SVN revision: 71639
2012-06-02 05:39:51 +00:00
Gustavo Lima Chaves 04f00945fa [edje] Better doc for edje_object_part_swallow.
SVN revision: 71630
2012-06-01 20:51:17 +00:00
ChunEon Park ebdbff021c ecore/ecore_x - let just leave one atom list for maintainance
SVN revision: 71625
2012-06-01 13:53:18 +00:00
Jihoon Kim 645bc20b1a fix indentation of ecore_imf_example.c
SVN revision: 71621
2012-06-01 12:48:15 +00:00
Jihoon Kim 27c45e60db add ecore_imf_example code. I will add Makefile.am in example directory later
SVN revision: 71620
2012-06-01 12:46:24 +00:00
Jihoon Kim 90588c2527 edje/examples.dox: fix typos
SVN revision: 71615
2012-06-01 01:49:54 +00:00
Jihoon Kim 420bb38bb7 evas/examples.dox: fix typo
SVN revision: 71614
2012-06-01 01:44:25 +00:00
Daniel Juyung Seo 64c3583168 evas examples.dox: Fixed typo.
SVN revision: 71610
2012-05-31 23:02:49 +00:00
Rafael Antognolli 9ce49329f8 evas/cserve2: Change request list to inlist.
Inlist remove operations are faster if the element is known.



SVN revision: 71609
2012-05-31 21:34:54 +00:00
Rafael Antognolli 7455170dbb evas/cserve2: Add a "processing" queue for each type
of request.
This will make the lookups for requests faster (mainly for fonts).



SVN revision: 71608
2012-05-31 21:34:48 +00:00
Rafael Antognolli 09dd80fd30 evas/cserve2: Add a "processing" queue to requests.
This is a list that holds all requests being processed at the moment. It
can be used so that when a new request is added, first we look in this
queue to avoid creating a new request that is the same as the one being
processed right now. If it is already being processed, a new waiter is
added to it, just like when the request was on its original queue.



SVN revision: 71607
2012-05-31 21:34:37 +00:00
Rafael Antognolli de3a6a067b evas/cserve2: Add basic error handling on thread
slave.
It will now receive errors from the thread callback and call the error
request function, with the respective error type in the message.



SVN revision: 71606
2012-05-31 21:34:28 +00:00
Rafael Antognolli 91a1ac65c7 evas/cserve2: Add handling of FONT_LOAD.
It's not fully functional, some things are still pending:
- Free allocated font;
- answer with error message if failed.



SVN revision: 71605
2012-05-31 21:34:21 +00:00
Rafael Antognolli 30dcc1c83d evas/cserve2: Some fixes for requests.
SVN revision: 71604
2012-05-31 21:34:15 +00:00
Rafael Antognolli 22706abe93 evas/cserve2: Some more code to requests management.
Added code to slave read and slave dead callbacks.



SVN revision: 71603
2012-05-31 21:34:09 +00:00
Rafael Antognolli ce514d3d43 evas/cserve2: Use Slave_Command instead of
Message_Type for slave.
This is the command that must be given to the slave, instead of the
message type received from the client.



SVN revision: 71602
2012-05-31 21:34:04 +00:00
Rafael Antognolli a3fa30f70b evas/cserve2: Add requests and slave workers
management.



SVN revision: 71601
2012-05-31 21:33:59 +00:00
Rafael Antognolli 2c9e6a10f3 evas/cserve2: Adding font requests manipulation.
SVN revision: 71600
2012-05-31 21:33:53 +00:00
Rafael Antognolli c9f610366c evas/cserve2: Slave thread is only a simple callback.
The implementation of the slave doesn't need to care about reading
commands and sending answers. It just receives the arguments for its job
and returns the processed data.



SVN revision: 71599
2012-05-31 21:33:43 +00:00
Rafael Antognolli 9a469b778c evas/cserve2: Add threaded slave support.
It's not being used yet, but the font slave will be done using this
code.



SVN revision: 71598
2012-05-31 21:33:37 +00:00
Daniel Juyung Seo 616873f46d evas examples.dox: Fixed typo.
SVN revision: 71588
2012-05-31 17:02:26 +00:00
Carsten Haitzler bb16ca7cb0 i wonder if this patches over some odd signal processing hang i see in
edje_cc! :(



SVN revision: 71583
2012-05-31 13:32:09 +00:00
Jonas M. Gastal aa2e607d6f Fixing the eina_inlist example 2 image. The diagram was wrong.
Author:    Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 71582
2012-05-31 13:09:13 +00:00
Jonas M. Gastal c67b71b65c Removing wrong info about inlist performance from docs.
SVN revision: 71581
2012-05-31 13:09:05 +00:00
Cedric BAIL 86a431e96a edje: we should at least always add the file_in to the list of used file.
SVN revision: 71572
2012-05-31 06:50:09 +00:00
Carsten Haitzler 4d66408a8b let's turn eina thread debug OFF by default eh? :)
SVN revision: 71571
2012-05-31 02:34:46 +00:00
Sung Park 7aadae8ff2 Adding MSAA extension define for Evas GL MSAA surface support.
SVN revision: 71570
2012-05-31 01:16:53 +00:00
Jihoon Kim 163df8ccbd ecore: fix doxygen warnings
SVN revision: 71569
2012-05-31 00:18:38 +00:00
Leif Middelschulte 66f32b2b03 ecore_x_randr: Add _ASK policy for new monitors.
SVN revision: 71565
2012-05-30 19:16:29 +00:00
Vincent Torri 353030141d Eina: move spin lock checks in the generic m4 threads macro
SVN revision: 71562
2012-05-30 13:25:13 +00:00
Cedric BAIL f328aabf7b edje: major oopsie !
SVN revision: 71561
2012-05-30 12:51:21 +00:00
Mike McCormack 69ac680ae4 efreet: ERR -> EINA_LOG_ERR
SVN revision: 71560
2012-05-30 12:34:18 +00:00
Cedric BAIL aa84f35c5b edje: time to play with fire ! edje_cc will now use thread by default.
You can turn it off with -nothreads. Please report any issue you face.


SVN revision: 71558
2012-05-30 12:25:53 +00:00
Cedric BAIL f3ab10d461 edje: remove the work around.
SVN revision: 71556
2012-05-30 12:16:50 +00:00
Cedric BAIL 6d2b2f366f ecore: force pthread_join even when main loop isn't running.
pthread_create can fail if to much pthread are pending. As pthread_join
is only called when the main loop can flush the async call list, there was
a possibility for edje_cc to run out of thread due to that. We know
force the flush of the async call list and so call pthread_join when
pthread_create fail.


SVN revision: 71555
2012-05-30 12:14:34 +00:00
Carsten Haitzler 7772b28002 chlog++
SVN revision: 71553
2012-05-30 10:42:22 +00:00
Carsten Haitzler 0ccd4cdf2a FRom daniel zaoui -> spotted issues with callback deletionon evas_free
that may cause evas's to not be freed. fixxxxors!



SVN revision: 71552
2012-05-30 10:41:19 +00:00
Cedric BAIL 3f662e32a7 ecore: fix count of objects in the Ecore_Thread trash.
SVN revision: 71550
2012-05-30 10:25:44 +00:00
ChunEon Park 88c5f1df74 evas/map - fixed afterimage problem. now we don't need work-around code anymore.
SVN revision: 71549
2012-05-30 10:12:10 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Cedric BAIL b5e054507a edje: turn on trouble and speed by default.
SVN revision: 71546
2012-05-30 08:56:57 +00:00
ChunEon Park 6473f0316c evas/map - simplify code
SVN revision: 71545
2012-05-30 08:40:21 +00:00
Cedric BAIL 7909cb7bd6 evas: finally got rid of that nasty dancing font issue with pipe rendering.
SVN revision: 71544
2012-05-30 08:29:29 +00:00
Cedric BAIL ef3e42033b evas: Don't wake up prepare thread when there is nothing to do.
SVN revision: 71543
2012-05-30 08:15:42 +00:00
ChunEon Park ba47683a9b evas/render - pre render will be always. don't need if and else if which will be never reached.
SVN revision: 71540
2012-05-30 07:32:27 +00:00
Mariusz Grzegorczyk a3dd1169da From: Mariusz Grzegorczyk <mariusz.g@samsung.com>
Subject: [E-devel] Ecore: Save proper evas engine buffer depth when
_ecore_evas_resize is done

I have found bug in ecore evas buffer. It is created by default as RGB32,
and then it can be changed by ecore_evas_alpha_set function, but when resize
is done it is always created as ARGB32.

Patch in attachment checks in resize if alpha channel is set, and then set
appropriate buffer depth.



SVN revision: 71537
2012-05-30 07:05:50 +00:00
Jerome Pinot 04daafab2b eina: doxygen doc fixes
Add a bunch of missing @c and #EINA_{TRUE,FALSE} links.


SVN revision: 71535
2012-05-30 06:55:31 +00:00
ChunEon Park 84f38fea16 evas/evas_object_smart - simpler code.
SVN revision: 71531
2012-05-30 06:29:14 +00:00
Cedric BAIL a5f658a4b2 ecore: cancel all pending thread at shutdown.
Hopefully this will fix bug #961.


SVN revision: 71526
2012-05-30 03:10:30 +00:00
Cedric BAIL 2c4c47ae0f eet: properly check buffer size during decipher.
Fix bug #1017.


SVN revision: 71524
2012-05-30 02:19:07 +00:00
ChunEon Park 140e97171b evas/map - fixed to update the rendering when map is enabled.
Now children objects of the mapped object should be cleaned from the internal cache lists.



SVN revision: 71519
2012-05-30 00:51:11 +00:00
Vincent Torri 96bfc84a12 Eina: Fix issue in the XML parser when a tag was in a comment or a CDATA.
SVN revision: 71518
2012-05-29 22:00:29 +00:00
Vincent Torri 4889dc71d2 Eina: remove threads options from configure
remove --disable-posix-threads and --disable-win32-threads
from configure options, and detect automatically the threading
support.



SVN revision: 71517
2012-05-29 21:57:48 +00:00
Tom Hacohen ef25a41a76 Evas object text: Make the object size big enough to show the whole text.
I.e even if advance is smaller than width, take it into account.

SVN revision: 71507
2012-05-29 14:43:21 +00:00
Tom Hacohen af55fb6217 Evas text: apply italic correction for run-time slanted texts (disabled).
Also, put the slant angle calculations in a macro for easier future changes.
Just have it there so people who want it can turn it on.

SVN revision: 71506
2012-05-29 14:43:17 +00:00
Tom Hacohen d7f811fe8f Evas font-draw: Use bitmap offset in the glyph when drawing.
SVN revision: 71505
2012-05-29 14:43:10 +00:00
Jerome Pinot b3e92d38b0 eina: doxygen doc fixes
A #link at the beginning of a new line goes interpreted by doxygen as a title,
so format the documentation to avoid this issue. No content change.


SVN revision: 71501
2012-05-29 11:33:07 +00:00
ChunEon Park 054360207b evas/render - they are already cleaned.
SVN revision: 71499
2012-05-29 09:09:13 +00:00
ChunEon Park b2a3f3b540 evas/render - removed duplicated call
SVN revision: 71491
2012-05-29 05:24:43 +00:00
ChunEon Park 63d97b8441 evas/rendering - Fixed to clean up when map actually changed. Now rendering updates will be correct after evas_map acutally disabled for the smart object.
SVN revision: 71490
2012-05-29 05:13:03 +00:00
Carsten Haitzler 2f22b87756 let's put a README into the lz4 support in eet.
SVN revision: 71489
2012-05-29 05:06:21 +00:00
ChunEon Park 995e8c338f ecore - revert 71421 cause of posibility of abi break
thanks Vincent.



SVN revision: 71485
2012-05-29 02:42:13 +00:00
Stefan Schmidt 7912d00e32 ecore: We can't really use index as variable as it is already in use.
A bit annoying I know. But ignoring all this shadowing global declaritions might bring us into
trouble.

SVN revision: 71457
2012-05-28 13:08:38 +00:00
Christopher Michael 925c4b2ff0 Ecore: Updated ChangeLog from Robert's patch.
SVN revision: 71454
2012-05-28 12:25:04 +00:00
Christopher Michael 74a4a3ff81 Ecore_Evas: Patch from Robert Bradford <robert.bradford@intel.com>:
The challenge here is that the native window representation is stored
in Ecore_Evas's prop.window. But currently there is no checking of
what driver the Ecore_Evas is for when calls are made to e.g.

ecore_evas_software_x11_window_get.

The attached change to Ecore makes the appropriate functions return 0
or NULL if the driver for the Ecore doesn't match as expected. This
can then be used to identify if an Ecore_Evas is e.g. from X11 or from
Wayland.



SVN revision: 71453
2012-05-28 12:24:30 +00:00
Christopher Michael be66a4e03b Ecore_Evas (wayland_shm): Add support for ecore_evas_move_resize
engine function.



SVN revision: 71452
2012-05-28 12:19:17 +00:00
Stefan Schmidt 44d90c2c58 ecore/tests: Remove unused var and mark unused parameter
SVN revision: 71443
2012-05-26 22:01:58 +00:00