Commit Graph

4114 Commits

Author SHA1 Message Date
Jihoon Kim 567b6ac0e8 ecore_imf: Add ecore_imf APIs to set return key type, disable return key.
SVN revision: 67946
2012-02-15 01:22:28 +00:00
Jihoon Kim 427e4ebce0 scim_immodule: improve maintenability
SVN revision: 67878
2012-02-13 10:55:26 +00:00
윤정현 b297da56de From: 윤정현 <jh0506.yun@samsung.com>
Subject: Re: [E-devel] [Patch] ecore_ipc - remove potential risk in
ecore_ipc_shutdown

I found a problem this infinite loop case.

If server is deleted, then ECORE_IPC_EVENT_SERVER_DEL callback
function will be called in client side.
It will happen infinite loop in ecore_ipc_shutdown if
ecore_ipc_shutdown called in this ECORE_IPC_EVENT_SERVER_DEL callback
function.

For example,
server_del_handler =
ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DEL, _server_del_cb, NULL);
static Eina_Bool
_server_del_cb(void *data, int type, void *event)
{
   ecore_ipc_shutdown();
   return EINA_TRUE;
 }
      
If server is deleted,
1. _ecore_ipc_event_server_del : svr->event_count++
2. _server_del_cb : ecore_ipc_shutdown called
3. ecore_ipc_shutdown : while (servers) ecore_ipc_server_del(eina_list_data_get(servers))
4. ecore_ipc_server_del : can't eina_list_remove(servers, svr) because event_count != 0
5. infinite loop

I think this while code is very dangerous whether user miss or not.
I modified EINA_LIST_FOREACH_SAFE instead of EINA_LIST_FOREACH refer
to ecore_con.
Please review this patch.



SVN revision: 67874
2012-02-13 06:49:30 +00:00
Jihoon Kim dca83cc17c scim_immodule: set cursor location even though only client_window is provided without evas (ecore_imf_context_client_canvas_set)
SVN revision: 67852
2012-02-12 11:00:48 +00:00
Rafael Fonseca 53e3f54ba5 Ecore_Evas_Cocoa: fix header include name.
SVN revision: 67825
2012-02-10 13:27:46 +00:00
Christopher Michael 317f1ebf99 Ecore_Evas (wayland): Disable logfn's (again) :( Remove extra parens.
SVN revision: 67819
2012-02-10 10:36:21 +00:00
Christopher Michael 1acb7b4f9e Ecore_Evas: Add functions for setting wayland mouse pointer (used from
elm wayland clients).



SVN revision: 67816
2012-02-10 09:16:29 +00:00
Jihoon Kim 039cd30ebd scim_immmodule: Provide compose, string in key down/up event in case of scim-input-pad.
SVN revision: 67801
2012-02-10 00:03:25 +00:00
Christopher Michael 671cda7b73 Ecore_Wl: Add function in header.
SVN revision: 67782
2012-02-09 08:16:45 +00:00
Christopher Michael c510ba8471 Ecore_Wl: Also send mouse move before sending mouse down/up. Add some
missing Logfn's. Add handler to free the mouse_move event when we're
done with it. Add a function to retrieve the 'last mouse button down
time' (needed for fixing surface move).



SVN revision: 67781
2012-02-09 08:15:10 +00:00
Christopher Michael 2644d16d50 Ecore_Evas (Wayland): Fix getting double mouse events for the wayland
engines.

NB: Fixes elementary momentum scrolling.



SVN revision: 67780
2012-02-09 08:12:39 +00:00
Jihoon Kim 09d8eb2f1d ecore_imf_context.c: fix formatting
SVN revision: 67779
2012-02-09 03:53:03 +00:00
Mike Blumenkrantz 3be93385bf @SVN revision: 67759
SVN revision: 67774
2012-02-08 22:58:07 +00:00
Mike Blumenkrantz 6abc186588 SVN revision: 67759
SPANK SPANK SPANK RASTER


SVN revision: 67772
2012-02-08 21:25:45 +00:00
Tom Hacohen c96f3aa53a Ecore tests: Disable ecore_x tests in the meanwhile.
They are currently useless and just cause buildbot to complain.

SVN revision: 67768
2012-02-08 16:50:04 +00:00
Carsten Haitzler 6c31fcf709 add ecore_con_url_http_version_set() to be able to specify request
version



SVN revision: 67759
2012-02-08 13:25:08 +00:00
Jihoon Kim 15ea121e01 Support ecore_imf_context_input_panel_show/hide in SCIM module
SVN revision: 67728
2012-02-07 10:30:57 +00:00
Jihoon Kim cf42822ea5 ecore_imf_xim: Support ecore_imf_context_input_panel_show/hide in XIM module.
SVN revision: 67727
2012-02-07 10:10:23 +00:00
Jihoon Kim 9e7c912aa4 Ecore_IMF.h: fix wrong documentation about Ecore_IMF_Preedit_Attr
SVN revision: 67723
2012-02-07 02:30:36 +00:00
Jihoon Kim 20646f9fa1 ecore_imf: Add Ecore_IMF function to set or get the input panel-specific data
SVN revision: 67711
2012-02-06 09:46:38 +00:00
Jihoon Kim 1d92d7dbe6 ecore_imf : Set ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL as default layout in ecore_imf_context_add.
SVN revision: 67710
2012-02-06 08:05:58 +00:00
Jihoon Kim 0a709db9d2 Ecore_IMF.h : describe Ecore_IMF_Callback_Type, Ecore_IMF_Autocapital_Type, and Ecore_IMF_Preedit_Attr in more detail
SVN revision: 67709
2012-02-06 05:10:18 +00:00
Jihoon Kim 95e78175a5 ecore_imf: fix wrong ingroup fields for doxygen
SVN revision: 67695
2012-02-03 10:12:13 +00:00
Jihoon Kim 29f18d42a5 scim_imcontext.cpp: fix formatting
SVN revision: 67692
2012-02-03 06:32:24 +00:00
Daniel Juyung Seo de5074849f ecore ecore_main.c: Fixed formatting. It has nice documentation. Thanks raster :O
SVN revision: 67685
2012-02-02 05:21:24 +00:00
Carsten Haitzler 53c539ae55 ok 1 segv less. this code looks most suspicious...
SVN revision: 67671
2012-02-01 09:48:46 +00:00
Jihoon Kim 517a436cbc Describe in more detail about ecore_imf_context_cursor_location_set API
SVN revision: 67670
2012-02-01 06:39:26 +00:00
Christopher Michael 3beb6bb400 Ecore_X: Add api function (and code) to retrieve actual keycode from
keyname (needed to handle input from x11 to wayland clients).



SVN revision: 67591
2012-01-29 20:29:30 +00:00
Daniel Juyung Seo 30980e2ecf ecore ecore_imf_context.c: Fixed build warnings.
ecore_imf_context.c: In function ‘ecore_imf_context_event_callback_del’:
ecore_imf_context.c:1099:9: warning: ‘return’ with no value, in function returning non-void
ecore_imf_context.c:1109:26: warning: initialization discards qualifiers from pointer target type

SVN revision: 67585
2012-01-29 13:39:07 +00:00
Cedric BAIL 457de1db0b ecore: M_PI / 2.0 == M_PI_2
SVN revision: 67496
2012-01-24 14:50:39 +00:00
Gustavo Sverzut Barbieri 58feaf04b4 ecore/docs: improve main page a bit.
SVN revision: 67448
2012-01-22 15:05:20 +00:00
Carsten Haitzler 039089b6ba remove in.h form headers - dont need it.
SVN revision: 67326
2012-01-19 08:38:18 +00:00
Mike Blumenkrantz 1f35fa8b95 use client_kill instead of directly eventing
SVN revision: 67322
2012-01-19 08:02:41 +00:00
Mike Blumenkrantz a83f8838d5 remove use of 'dead' variable from win32 code
SVN revision: 67319
2012-01-19 07:36:02 +00:00
Youness Alaoui 18eedb2caa Ecore: Send joypad buttons as key down/up events and properly send the quit request
SVN revision: 67291
2012-01-18 06:15:52 +00:00
Jihoon Kim c652e4e78a From: Jihoon Kim <imfine98@gmail.com>
Long time ago, in
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32795.html
mail thread and IRC,

I talked with about problem of asynchronous event API such as
ecore_imf_context_commit_event_add,
ecore_imf_context_preedit_changed_event_add, so on.

In short, The problem is that key event and text_set APIs are processed
immediately, but commit event and preedit changed event is processed
asynchronously  because those APIs add each event to ecore event queue.

To fix these problems, I've decided to create synchronous event APIs such
as ecore_imf_context_event_callback_add, del and call.

For considering compatibility, sync and async event callback functions are
used in xim and scim immodule.



SVN revision: 67290
2012-01-18 04:38:04 +00:00
Carsten Haitzler 25171bf215 lets check write err so we dont get warnings. :/
SVN revision: 67287
2012-01-18 04:13:52 +00:00
Guillaume Friloux 14ff0e1ae0 ecore - Various patches in ecore's doc
Hello e people, i modified some comments to get less doxygen
warnings/errors.

Signed-Off-By: Guillaume Friloux <guillaume.friloux@asp64.com>




SVN revision: 67270
2012-01-17 11:37:35 +00:00
Christopher Michael 58c865325d Ecore_Evas (wayland): Add/Fix more dnd code.
SVN revision: 67248
2012-01-16 19:11:17 +00:00
Christopher Michael 8de10044b4 Ecore_Wayland: When handling wayland interfaces (during startup), we
cannot depend on the order in which the interfaces are given to us, so
we cannot create the data_device until we have both the input device
and the data_device_manager. Fix that.

Add more dnd code (not complete yet because frankly, the way Wayland
handles dnd & selection code is crappy, stupid, and difficult to
implement).



SVN revision: 67247
2012-01-16 19:10:33 +00:00
Tom Hacohen ee4f301853 Ecore: Fix some more warnings.
I see a future in which there'll be no warnings in EFL.
At the mean time, lets do our best to make the buildbot happy. :)

SVN revision: 67240
2012-01-16 09:30:29 +00:00
Tom Hacohen 98aee0ddde Ecore: Fix some warnings.
SVN revision: 67239
2012-01-16 09:22:42 +00:00
Jiyoun Park 6c1eb13012 modify ecore_evas_extn_socket_new and ecore_evas_extn_plug_new.
divide each new functions to two part
which create ecore evas and create socket for upper layer.
socket: new and listen
plug: new and connect


SVN revision: 67238
2012-01-16 08:48:24 +00:00
Leif Middelschulte 67cce962f6 Merge branch 'randr'
SVN revision: 67234
2012-01-15 22:03:45 +00:00
Stefan Schmidt e5e51917d9 From: Stefan Schmidt <stefan@datenfreihafen.org>
Date: Sun, 15 Jan 2012 13:46:07 +0100
Subject: [PATCH 2/2] ecore_con_info: Remove unused err variable.


SVN revision: 67233
2012-01-15 18:42:13 +00:00
Mike Blumenkrantz 0ec8a5dac2 greatly improve formatting in ecore_imf_xim.c
SVN revision: 67195
2012-01-14 00:04:16 +00:00
Mike Blumenkrantz 4d56b824d2 fix all compile warnings when xim is disabled
SVN revision: 67194
2012-01-13 23:57:25 +00:00
Mike Blumenkrantz 421685162a config.h must be the first header included.
SVN revision: 67192
2012-01-13 23:51:31 +00:00
Jihoon Kim e070cf048f From: Jihoon Kim <imfine98@gmail.com>
Subject: [E-devel] [PATCH] fix build error of ecore_imf_xim when using --disable-xim option
Date: Mon, 9 Jan 2012 19:53:17 +0900

Hello, EFL developers.

When building ecore with --disable-xim option, build error occurs.

This patch will solve this build error problem.

Would you please review and apply in svn?


SVN revision: 67191
2012-01-13 23:50:01 +00:00
Christopher Michael 3b13af75a6 Ecore_Wayland: Some more work on getting drag-n-drop flushed out.
SVN revision: 67182
2012-01-13 09:33:33 +00:00
Christopher Michael dbe6f16717 Ecore_Wayland: Unbreak shm engine wrt shm_format.
Add more work on dnd code (incomplete still).

NB: We will need to add a method to request non-argb surfaces. For
now, all surfaces are argb.



SVN revision: 67180
2012-01-13 07:46:22 +00:00
Christopher Michael 21975a748f Ecore_Evas (wayland): Implement Fullscreen Set for Shm and Egl.
SVN revision: 67179
2012-01-13 06:46:35 +00:00
Christopher Michael 5623ed37ce Ecore_Wayland: Oops, shm_format should be int. Also, flush display
output on close.



SVN revision: 67178
2012-01-13 06:34:40 +00:00
Christopher Michael 045294c189 Ecore_Wayland: Handle shm format iteration a bit better.
SVN revision: 67177
2012-01-13 06:30:27 +00:00
Christopher Michael 0216b83173 Ecore_Wayland: Add actual code to handle drag-n-drop (not complete
yet). Update shm_format to newer wayland ones.



SVN revision: 67176
2012-01-13 06:18:04 +00:00
Christopher Michael 7bace75fcc Ecore_X(cb): Fix formatting. (whoever did this should lose a finger or
two).



SVN revision: 67170
2012-01-13 01:34:39 +00:00
Christopher Michael a2e9465376 Ecore_Wayland: Implement handling Touch Events.
NB: None of the touch code has been tested yet.



SVN revision: 67169
2012-01-13 01:26:52 +00:00
Christopher Michael ce12a4481b Ecore_Evas (wayland): Do not set the shell_surface_listeners until
After we have set the new surface for the evas engine. Reason being:
The shell_surface_listener_configure event handles resizing the
ecore_evas. If that gets called Before we have set the new engine
surface, then bad crashes can happen.



SVN revision: 67161
2012-01-13 00:01:09 +00:00
Christopher Michael aeb25bbf4e Ecore_Evas (wayland_egl): Does not make sense to reset the surface of
the evas engine here, as the evas engine is going to be free'd right
after this.



SVN revision: 67156
2012-01-12 23:05:51 +00:00
Christopher Michael 230b7c015d Ecore_Evas (wayland_egl): Implement free & hide with actual code.
SVN revision: 67139
2012-01-12 13:09:45 +00:00
Christopher Michael 574380ccb0 Ecore_X(cb): Fix my focus issues with Sloppy focus.
Add a check for valid connection in ecore_xcb_icccm.c

NB: For some reason, XCB does not like ecore's timestamp which is
being passed in. Since all the calls to ecore_x_window_focus_at_time
are being passed the current timestamp anyway, just use
XCB_CURRENT_TIME until I have more available 'free time' to dig deeper
into this.



SVN revision: 67136
2012-01-12 11:41:38 +00:00
Christopher Michael 3abbc4f0aa Ecore_Evas: Implement generic ecore_evas_wayland_resize funtion.
SVN revision: 67132
2012-01-12 09:07:22 +00:00
Christopher Michael 334ac03863 Ecore_Evas (wayland_egl): Make ecore_evas_wayland_egl actually work
and draw stuff. Add event handlers for mouse, etc. Implement generic
ecore_evas_wayland_resize function.



SVN revision: 67131
2012-01-12 09:06:47 +00:00
Cedric BAIL c6894cee94 ecore: move self to the right position.
SVN revision: 67130
2012-01-12 09:06:28 +00:00
Christopher Michael ad51dd4bc3 Ecore_Evas (Wayland_Shm): Fix ecore_evas_wayland_shm_resize function.
Does not exist anymore...being replaced with a more generic
ecore_evas_wayland_resize funciton.



SVN revision: 67129
2012-01-12 09:05:12 +00:00
Christopher Michael cf6322e938 Ecore_Evas (wayland_shm): Don't issue a surface move if the ecore_evas
is not visible (has no surface).



SVN revision: 67104
2012-01-12 00:06:37 +00:00
Christopher Michael ec7e18d8b5 Ecore_Evas: Update ecore_evas wayland code to use new engine info
structure.



SVN revision: 67101
2012-01-11 23:29:33 +00:00
Cedric BAIL 916047532d ecore: something is wrong ecore_evas_fb use ecore_fb_private.h and ecore_fb_private.h need Ecore_Fb.h.
SVN revision: 67086
2012-01-11 15:31:54 +00:00
Cedric BAIL 8885e90cda ecore: use eina_file_direct_ls (faster, better, cleaner).
SVN revision: 67085
2012-01-11 15:30:40 +00:00
Cedric BAIL 81b3cddb13 ecore: fix Ecore_Thread.
SVN revision: 67082
2012-01-11 13:45:34 +00:00
Christopher Michael 54cca7bbf0 Ecore & Ecore_Evas: Fix requirements in configure.ac for wayland_egl.
Fix ecore_evas makefile to use wayland_egl_libs, etc.



SVN revision: 67081
2012-01-11 13:06:02 +00:00
Christopher Michael 1ccaf36197 Ecore_Evas: Update header file (remove dead commented code).
Uncomment ecore_evas_wayland_egl function.



SVN revision: 67080
2012-01-11 13:04:55 +00:00
Christopher Michael 99045fbdba Ecore_Evas: Re-enable wayland_egl engine (for testing).
SVN revision: 67079
2012-01-11 13:03:48 +00:00
Christopher Michael c7edac5b13 Ecore_Evas: Update ecore_evas_private for recent wayland changes.
SVN revision: 67078
2012-01-11 13:03:17 +00:00
Christopher Michael 8f05d8ec93 Ecore_Evas (wayland_egl): Rework ecore_evas for wayland_egl to be
inline with the shm version, and build against newer evas wayland_egl
engine.



SVN revision: 67077
2012-01-11 13:02:27 +00:00
Christopher Michael 7b21d59a52 Ecore_Evas (wayland_shm): Add missing shell_surface handler (recently
added in wayland).



SVN revision: 67076
2012-01-11 13:00:54 +00:00
Daniel Juyung Seo 19de4626ab ecore: applied eina_array_count_get -> eina_array_count api change.
SVN revision: 67022
2012-01-10 15:34:52 +00:00
Christopher Michael 9c3b28d908 Ecore_Evas (Wayland): Be sure to unregister the ecore_evas (wrt input
events).
Add big fat NB wrt potential 'hack' (works around screen garbage on
resize).
Add evas damage rectangle on resize.
Do surface_damage before surface_attach.
Prevent compositor crash on resize by checking width/height <= 0.
Don't do a resize of the ecore_evas unless the event matches.



SVN revision: 67013
2012-01-10 10:31:18 +00:00
Christopher Michael 655e20307a Ecore_Evas (Wayland): Add missing flush during rendering.
NB: This fixes animation issue wrt eating up cpu, only animating when
mouse was over, etc, etc..... Thanks Old Man !! ;)



SVN revision: 66995
2012-01-09 10:52:19 +00:00
Christopher Michael 50110e14c6 Ecore_Wayland: Fix fd_handler to only listen on fd_read.
Add variable to store what button was pressed (part of focus issue
fixes).
Fix focus handling (see comments about wayland pointer focus).



SVN revision: 66994
2012-01-09 10:50:26 +00:00
ChunEon Park 56a083357c ecore/ecore_evas - removed unused var.
SVN revision: 66987
2012-01-09 07:58:28 +00:00
Christopher Michael d18dafa65a Ecore_Evas (Wayland): Fix building apps without wayland support
(function was missing a declaration if wayland was disabled). (Fixes
elm compile problems).



SVN revision: 66982
2012-01-09 05:22:43 +00:00
Christopher Michael 8bf05691f5 Ecore_Evas: Add api function for wayland_shm_resize.
SVN revision: 66972
2012-01-08 11:30:35 +00:00
Christopher Michael 1307fc636a Ecore_Wayland: Put mouse_up_send, mouse_down_send into their own
functions (makes it easier to call in code).
Some miscellaneous changes wrt fd_read & fd_write on the fd handler.



SVN revision: 66971
2012-01-08 11:29:04 +00:00
Christopher Michael 94a4ce180b Ecore_Evas (wayland): Add shell listener for 'configure' events (occur
on shell_surface_resize).
Provide callback_mouse_in_set for ecore_evas.



SVN revision: 66970
2012-01-08 11:25:57 +00:00
Youness Alaoui ead8d51b3c Ecore-con: Let's not break compilation if net/if.h is not found (or old system)
SVN revision: 66956
2012-01-07 11:39:23 +00:00
Jiyoun Park 6eb708fb1d Fix Ecore evas extn for multi client model.
It is possible that several process want to show same canvas.
For support this, I changed Ecore buffer canvas to server(socket)
If some application want to show this canvas, 
it create plug image object. 



SVN revision: 66892
2012-01-05 05:08:24 +00:00
Christopher Michael 1dec455b38 Ecore_Evas (wayland): Implement EE functions for iconified & maximized.
SVN revision: 66861
2012-01-04 09:28:36 +00:00
Christopher Michael 4034f41133 Ecore_Evas (Wayland): Add functions for raise, lower, activate, layer,
and focus setting.



SVN revision: 66860
2012-01-04 08:28:23 +00:00
Christopher Michael 9a13801bab Ecore_Wayland: Fix mouse & focus send functions to support passing of
specific 'surface' and 'time'.
Add function (internal) to send a mouse_move (cleans up code).
Add event 'multi' stuff for mouse button down.
Fix handle_pointer_focus function to not send 'focus' events (handled
differently).
Fix handle_keyboard_focus function to actually send 'focus' to new
windows.

NB: This fixes most of the focus issues I was having earlier.



SVN revision: 66859
2012-01-04 08:27:31 +00:00
Daniel Juyung Seo e204bd5221 ecore Ecore.h: Sync authors with AUTHOR file.
SVN revision: 66841
2012-01-04 04:20:21 +00:00
Carsten Haitzler 831ff86cb8 Add HEX, TERMINAL and PASSWORD layouts
SVN revision: 66836
2012-01-04 03:41:10 +00:00
Sanjeev BA fcffec2a23 Fix typos.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 66814
2012-01-04 00:11:55 +00:00
Christopher Michael c69d424fe5 Ecore_Evas (Wayland): Don't feed mouse_move twice
(_ecore_evas_mouse_move_process already feeds to evas).

Add variable to store the 'timestamp' of when mouse button gets
pressed (needed for 'moving' a surface).



SVN revision: 66808
2012-01-03 20:39:10 +00:00
Christopher Michael 8fc45c6673 Ecore (Wayland): Add function to get current mouse position (screen
coords).
Rename some variables for clarity of their purpose.



SVN revision: 66807
2012-01-03 20:37:30 +00:00
Bluezery fcdec47f13 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][ecore_con] Fix return value checking
Date: Tue, 3 Jan 2012 10:01:17 +0900

Hi,

There is invalid return value checking of curl_multi_perform() in ecore_con_url.
Because CURLM_CALL_MULTI_PERFORM is also not  CURLM_OK,
CURLM_CALL_MULTI_PERFORM checking  should precede CURLM_OK checking.
It's simple fix. Please review this

-- 
BRs,
Kim.


SVN revision: 66771
2012-01-03 03:58:48 +00:00
Christopher Michael 221db402f5 Ecore_Wayland: Quiet down output by disabling LOGFNs.
SVN revision: 66765
2012-01-03 01:08:43 +00:00
Christopher Michael 2887fd5d2b Ecore_Evas (wayland): A bit of restructure to make prep for the egl
stuffs.



SVN revision: 66764
2012-01-03 01:08:06 +00:00
Christopher Michael c0f98fe6da Ecore_Evas (Wayland): Quiet down the output by disabling LOGFN.
Implement 'ecore_evas_move' for wayland_shm engine.



SVN revision: 66763
2012-01-03 01:06:47 +00:00
Christopher Michael 40669bf381 Ecore_Evas: Fix resize recursion when using wayland framespace.
SVN revision: 66760
2012-01-02 19:36:11 +00:00
Vincent Torri 0ef4f2aeeb formatting
SVN revision: 66702
2011-12-30 15:53:20 +00:00
Carsten Haitzler b92c19a84d Fix massive post data probile in ecore-con that would cause
post data to be corrupted (as it was never copied into the
ecore con url struct) or could cause crashes if the memory
pointed to became invalid.
                


SVN revision: 66619
2011-12-29 08:55:11 +00:00
Iván Briano e421ac90b7 Don't override standard variables, it looks weird. In turn, fix building with automake 1.11.2
SVN revision: 66599
2011-12-28 14:13:30 +00:00
Carsten Haitzler 4f4639b81f and fix my "mouse grab+hide_mouse out" fix to not break e17 dnd :)
SVN revision: 66582
2011-12-28 03:07:39 +00:00
Christopher Michael 795698cdbc Ecore_Wayland: Start work on drag-n-drop code (just a start, not
actually functional yet).

Implement the data device manager.
Implement the data device itself.
Fixes for shutdown so we destroy everything correctly (data device,
device manager, shell, etc).



SVN revision: 66581
2011-12-28 02:49:32 +00:00
Christopher Michael 848bea2e3c Ecore_Evas (Wayland_Shm):
Add an actual 'frame' to ecore_evas_wayland. (just a boring rectangle frame w/ the title).
Add support for size_min/max/base/step setting.
Add support for title & name_class setting.
Add support for setting a cursor.
Add support for hiding an ecore_evas.



SVN revision: 66578
2011-12-27 19:25:38 +00:00
Iván Briano 9bba5f92b0 Fix warnings in scim module and indent Makefile.am correctly. By Jihoon Kim
SVN revision: 66572
2011-12-27 14:12:02 +00:00
Carsten Haitzler b0ab314d8e fix mouse down grab coutns if window minimized or hidden (especially
the second).



SVN revision: 66568
2011-12-27 12:02:18 +00:00
Cedric BAIL 411b2b8676 ecore: include header only when required.
SVN revision: 66563
2011-12-27 10:10:47 +00:00
Christopher Michael 4bd3586d2b Ecore_Wayland: Remove 'ecore_wl_window' (not used or needed).
SVN revision: 66543
2011-12-26 23:29:49 +00:00
Christopher Michael 627d39bfa2 Ecore: Add Ecore_Wayland (Wayland backend like ecore_x).
Ecore_Evas: Add 'drame_frame' functions.
Add ecore_evas_wayland code (for creating ecore_evas' in wayland).

NB: Merry Christmas EFL !!, Here is you're gift :)



SVN revision: 66542
2011-12-26 23:27:20 +00:00
Iván Briano 1b03505ec0 Patch from Jihoon Kim to fix building of SCIM module on 64 bits systems
SVN revision: 66528
2011-12-26 12:57:27 +00:00
Carsten Haitzler c024319e47 add missing scim immodule header.
SVN revision: 66508
2011-12-26 04:26:15 +00:00
Jihoon Kim 64a4a33614 From: Jihoon Kim <imfine98@gmail.com>
Subject: Re: [E-devel] [PATCH] scim-EFL immodule

I'd like to contribute EFL-scim immodule.

It will be useful to users who wants to input Chinese, Japanese, Korean,
and a variety of languages that SCIM provides.

When you run, you should set environment variable 'ECORE_IMF_MODULE'
# export ECORE_IMF_MODULE=scim



SVN revision: 66507
2011-12-26 04:25:55 +00:00
Carsten Haitzler bd24931df1 disable bugfix for now. leave commented as note.
SVN revision: 66477
2011-12-23 11:40:05 +00:00
Jiyoun Park 66faed1695 remove white space and trailing
SVN revision: 66475
2011-12-23 07:13:38 +00:00
ChunEon Park e2b1ac1f61 ecore/ecore_con - removed white trailings
SVN revision: 66474
2011-12-23 07:07:35 +00:00
ChunEon Park a76caa3021 ecore/ecore_con - removed white trailings
SVN revision: 66473
2011-12-23 07:04:36 +00:00
Mike Blumenkrantz 9aedbc1bfb by the power of greyskull^Wunsigned integers, this test will always be true!
SVN revision: 66463
2011-12-22 08:08:05 +00:00
Mike Blumenkrantz 3258503e8a curl patch from bluezery to use ECORE_CON_SOCKS_V4 env variable and also add socks proxying api
SVN revision: 66462
2011-12-22 08:06:51 +00:00
Mike Blumenkrantz ec30d20fa0 add debug macros to print location of svr/cl kill
SVN revision: 66439
2011-12-21 10:13:57 +00:00
Mike Blumenkrantz 7daccc8eea provide slightly more useful dbg info with new kill api
SVN revision: 66438
2011-12-21 10:07:07 +00:00
Mike Blumenkrantz 178ac4be78 remove 'dead' member from client/server structs: this now serves no purpose
SVN revision: 66437
2011-12-21 10:02:30 +00:00
Mike Blumenkrantz 0207023886 nope
SVN revision: 66436
2011-12-21 09:35:10 +00:00
Carsten Haitzler ff64b561ca revert 66362 -> breaks ecore-con. :( sorry stu!
SVN revision: 66434
2011-12-21 09:23:27 +00:00
Carsten Haitzler 5e5024860c ooh compile break if no curl! fix!
SVN revision: 66417
2011-12-21 08:20:16 +00:00
Bluezery 16a9961f58 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][ecore_con_url] Add proxy & timeout set
API

There existed two problems when using ecore_con_url. We cannot set
proxy and set timeout.
So, I added two APIs for solving these problems.
Proxy can be set by setting libcurl option.
Timeout also can be set but It need to add handler for Linux alarm
signal. (Please refer:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTIMEOUT)
So I implemented it by using ecore timer.




SVN revision: 66414
2011-12-21 06:18:25 +00:00
Jihoon Kim 6978922924 From: Jihoon Kim <imfine98@gmail.com>
Subject: [E-devel] [PATCH] support to get style attribute of XIM module

ATM, edje entry doesn't display the style of preedit string such as
underline, reverse, and Highlight.
It's because XIM module doesn't provide the style attribute.
This patch is made for providing the style attibute information to
entry or other editable widget.



SVN revision: 66381
2011-12-20 09:49:55 +00:00
Cedric BAIL 953f0300de ecore: actually provide all needed symbol.
SVN revision: 66379
2011-12-20 09:26:20 +00:00
Carsten Haitzler df705cd4fc unused warning--
SVN revision: 66366
2011-12-20 08:22:03 +00:00
Mike Blumenkrantz 1f7c3b5a4a fix a Heroes of SVN-level breakage from 66068 which prevented all ecore-con fds from being closed :D
SVN revision: 66362
2011-12-20 06:22:30 +00:00
Carsten Haitzler 71f88a1a13 probably a leak fix in ecor-eglib support - doesnt cause any issues in
my testing, but documentation for g_static_mutex's isnt that great to
let us know what to do with a static mutex... considering it's...
static... pending respons from reporter for backport



SVN revision: 66360
2011-12-20 05:57:57 +00:00
Carsten Haitzler 0d91f7a776 update @since's - seems i can put them on single lines.
SVN revision: 66323
2011-12-19 07:25:27 +00:00
Carsten Haitzler dad90306a2 address fixme's in extn :)
SVN revision: 66320
2011-12-19 06:54:08 +00:00
Mike Blumenkrantz 420cd2c7bd fix null deref here too
SVN revision: 66296
2011-12-16 18:09:14 +00:00
Mike Blumenkrantz 5658944274 fix impossible possible segv
SVN revision: 66295
2011-12-16 18:06:19 +00:00
Mike Blumenkrantz ad37a6a256 fix possible 0 byte allocation
SVN revision: 66294
2011-12-16 18:04:53 +00:00
Cedric BAIL 25407702b7 ecore: fix Ecore_Evas build without Ecore_Ipc.
SVN revision: 66285
2011-12-16 13:47:37 +00:00
Carsten Haitzler ef7d5face3 extn ecore-evas! WOOOOOOOOOOOOT!
SVN revision: 66283
2011-12-16 10:58:17 +00:00
Carsten Haitzler e50cd3f1e6 Clean up several ecore-evas-buffer routines to match the nicer extn
stuff. Just cleanups here.



SVN revision: 66282
2011-12-16 10:56:01 +00:00
Carsten Haitzler 94e5832ce8 see comments for info. a short workaround for now.
SVN revision: 66258
2011-12-15 14:10:42 +00:00
Carsten Haitzler 2b3cf9d6e9 support move_resize on buffer canvases - didn't handle it before.
SVN revision: 66178
2011-12-14 08:18:35 +00:00
Carsten Haitzler 0a1deb3756 move render func into struct - dont set it later.
SVN revision: 66177
2011-12-14 07:53:18 +00:00
Doyoun Kang 7974ea4cbf From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch] Add ecore_x API for error handling

I added ecore_x_error_resource_id_get() api. It returns the resource
id that caused the last X error. I think it will be useful for handling
X error.



SVN revision: 66136
2011-12-13 07:30:01 +00:00
Carsten Haitzler 25b5ff52f2 * Fix bug where an animator that just keeps adding another
animator keeps the animator handler in an infinite loop. Do
        the same as timers and mark them as "just added" to skip in
        this run of animators
                


SVN revision: 66109
2011-12-12 07:41:27 +00:00
Mike McCormack 844431ed06 ecore: Fix modularity
This also fixes the glib build.

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 66091
2011-12-11 08:29:35 +00:00
Mike Blumenkrantz 47693ea74c add note about CORK availability
SVN revision: 66083
2011-12-10 08:23:34 +00:00
Mike Blumenkrantz 54c2db319a we've got NODELAY, may as well add CORK
SVN revision: 66082
2011-12-10 08:14:50 +00:00
Mike Blumenkrantz c5b0df352e fix cert flag detection
SVN revision: 66081
2011-12-10 08:09:17 +00:00
Mike Blumenkrantz 083d3466a1 revert 66063 + related commits: my dreams of zero-copy ecore-con transfers were shattered by the inconsistency of linux socket operations. way to go kernel developers.
SVN revision: 66078
2011-12-10 07:34:45 +00:00
Mike Blumenkrantz eecef7e076 add docs for NODELAY flag
SVN revision: 66071
2011-12-10 06:53:54 +00:00
Mike Blumenkrantz c92c213b0f temp fix while I figure out some weird behavior
SVN revision: 66069
2011-12-10 06:15:00 +00:00
Mike Blumenkrantz 387732c836 rewrote server+client deletion code to (hopefully) be failproof.
I've also set it to abort() with a big error if it gets to the old fallthrough spot, so make sure to send me a backtrace if this is reached (though it should be impossible)


SVN revision: 66068
2011-12-10 05:42:32 +00:00
Mike Blumenkrantz 498904e260 more error event unification
SVN revision: 66067
2011-12-10 05:25:30 +00:00
Mike Blumenkrantz e90a7c7cbd some small cleanups to unify more error code
SVN revision: 66066
2011-12-10 05:17:34 +00:00
Mike Blumenkrantz ff57b89995 add windows error events for new code, condense some connect handlers
SVN revision: 66065
2011-12-10 05:09:47 +00:00
Mike Blumenkrantz 0b109fb5c2 optimize read mechanics for remote servers using ioctl to determine number of bytes available for reading.
in general, this should provide an improvement which scales with the amount of data being transferred:
* small transfers will incur a small amount of overhead from potentially unneeded memory as I try to account for a bug in FIONREAD which returns a number that is smaller than the actual number of bytes available for read on a socket
* large transfers will no longer require any copies of the data

on systems which do not provide the FIONREAD ioctl(), old functionality will be used
this should work on windows, though I (obviously) can't test it myself

thus ends the longest commit message I have ever written


SVN revision: 66063
2011-12-09 22:35:12 +00:00
Mike Blumenkrantz 2d6064e88f okay I was a little too excited
SVN revision: 66042
2011-12-08 17:27:30 +00:00
Cedric BAIL e845e82b30 ecore: we never call perro.
SVN revision: 66040
2011-12-08 16:21:29 +00:00
Cedric BAIL 2a169ea4e4 ecore: fix header inclusion.
SVN revision: 66039
2011-12-08 16:19:44 +00:00
Mike Blumenkrantz 776e6e445d more binbuf_manage_new!
SVN revision: 66038
2011-12-08 16:08:33 +00:00
Mike Blumenkrantz bdc371cac6 use binbuf_manage_new
SVN revision: 66037
2011-12-08 15:58:01 +00:00
Mike Blumenkrantz 3ed65e0992 unify and improve gnutls debug output
SVN revision: 66019
2011-12-08 05:58:47 +00:00
Mike Blumenkrantz 06d5a4c5c4 align debug info
SVN revision: 66017
2011-12-08 05:02:49 +00:00
Mike Blumenkrantz 29f67c9bc5 more informative error messages when cert verification fails
SVN revision: 66012
2011-12-08 03:56:29 +00:00
Mike Blumenkrantz 936f6aa7fa fix type so openssl verification works again
SVN revision: 66011
2011-12-08 03:53:49 +00:00
Mike Blumenkrantz dcc86ed639 ca loading function now loads directories
SVN revision: 66009
2011-12-08 03:25:53 +00:00
Mike Blumenkrantz 97a83712b0 unify openssl debug printing and remove #ifdefs: now this will always print with ecore-con:4
SVN revision: 66008
2011-12-08 02:59:27 +00:00
Mike Blumenkrantz 1416e28363 fix compat on openssl errors
SVN revision: 66007
2011-12-08 02:53:43 +00:00
Mike Blumenkrantz 5410f75bdc beef up openssl debug output
SVN revision: 66006
2011-12-08 02:37:00 +00:00
Mike Blumenkrantz 653a01d287 better error messages on certificate verify failure
SVN revision: 66005
2011-12-08 02:11:22 +00:00
Mike Blumenkrantz 7cc2aa0582 whoops, fix compile on unrelated change that snuck in
changelog tbd


SVN revision: 66004
2011-12-08 01:30:53 +00:00
Mike Blumenkrantz e47742e142 damn you ctrl+d!
SVN revision: 66003
2011-12-08 01:23:10 +00:00
Mike Blumenkrantz b40fa86b4a +ecore_con_ssl_server_verify_name_set/get
SVN revision: 66002
2011-12-08 01:14:55 +00:00
Mike Blumenkrantz f0e4cb8e79 allow certificates to be loaded for STARTTLS
SVN revision: 66000
2011-12-07 23:36:15 +00:00
Carsten Haitzler 9847de083b let's not fail to include standard headers when we need things like..
ooh.. malloc? calloc? printf?....



SVN revision: 65982
2011-12-07 00:49:00 +00:00
Vincent Torri 112f992a0e Ecore: fix warnings
SVN revision: 65976
2011-12-06 22:33:01 +00:00
Cedric BAIL 38567fbf32 ecore: include stdlib.h when required.
SVN revision: 65964
2011-12-06 16:09:05 +00:00
Mike Blumenkrantz bb3f0ffa4b one of these days I'm going to snap and throw my computer off my balcony because of this
SVN revision: 65944
2011-12-06 05:52:45 +00:00
Mike Blumenkrantz e7a491b1be @since
SVN revision: 65943
2011-12-06 05:37:29 +00:00
Mike Blumenkrantz 77f039eb73 @since
SVN revision: 65939
2011-12-06 05:20:13 +00:00
Mike Blumenkrantz adc327c8f8 last ssl bugger
SVN revision: 65938
2011-12-06 05:14:03 +00:00
Mike Blumenkrantz 88a69e2a8f fix some ssl socks buggies
SVN revision: 65937
2011-12-06 04:48:55 +00:00
Mike Blumenkrantz 8a8242016e ...make that twice
SVN revision: 65936
2011-12-06 03:51:01 +00:00
Mike Blumenkrantz db16af76ee just kidding before, had to break svn at least once today
SVN revision: 65935
2011-12-06 03:41:16 +00:00
Mike Blumenkrantz 0099b08234 introducinggggggggggggggg <drum roll>:
ECORE-CON-SOCKS! SOCKS ON!!!!

now ecore_con supports socks (v4 and v4a only, so no ipv6) connections natively for making remote connections
for those of you who want their apps to start proxying immediately, just update and export this handy environment variable:
ECORE_CON_SOCKS_V4=[user@]PROXY_IP_ADDRESS:PROXY_PORT[:1] <--use :1 here to enable dns lookups on the proxy


SVN revision: 65934
2011-12-06 03:32:16 +00:00
Mike Blumenkrantz 39467c29b6 giant patch refactoring ecore-con-url from bluezery <opowel@gmail.com>
will it blend?!


SVN revision: 65888
2011-12-05 06:08:46 +00:00
Mike Blumenkrantz 32808c9760 totally meant to write this wrong the first time to see if anyone was watching.
SVN revision: 65878
2011-12-04 23:54:41 +00:00
Mike Blumenkrantz 955e23a8a9 +ecore_timer_reset
SVN revision: 65876
2011-12-04 23:12:06 +00:00
Mike Blumenkrantz ba15384eaf unfuck header formatting
SVN revision: 65874
2011-12-04 23:01:36 +00:00
Vincent Torri a3970d1f96 Ecore_Win32: Fix the modifiers value
SVN revision: 65856
2011-12-03 22:06:43 +00:00
Mike Blumenkrantz 8b6899154c in 2011, we began using formatting tools to fix problematic formatting.
in later 2011, we began using formatting tools to fix problematic formatting caused by previous runs of formatting tools used to fix problematic formatting


SVN revision: 65852
2011-12-03 20:05:48 +00:00
Mike Blumenkrantz 6b13c32a78 remove annoying trailing comments
SVN revision: 65851
2011-12-03 19:41:12 +00:00
Christopher Michael 191659da9a Ecore_X(cb): Add function for backlight_available so that E will work
again :)



SVN revision: 65838
2011-12-03 04:41:30 +00:00
Mike Blumenkrantz 952b5f6326 +ecore_x_randr_output_backlight_available() from Term <term@twistedpath.org>
also corresponding e17 usage


SVN revision: 65837
2011-12-03 04:24:02 +00:00
Mike Blumenkrantz 9cc624c718 add some INF messages for connection death
SVN revision: 65835
2011-12-03 03:50:20 +00:00
Mike Blumenkrantz b0b7fc46b2 #undef header macro
SVN revision: 65834
2011-12-03 03:42:41 +00:00
Mike Blumenkrantz 54a2db0044 mempools++
SVN revision: 65833
2011-12-03 03:39:07 +00:00
Mike Blumenkrantz 1b59d38784 more trivial fixes from Joerg Sonnenberger <joerg@britannica.bec.de>
SVN revision: 65799
2011-12-02 03:33:19 +00:00
Mike Blumenkrantz d9587433b5 remove some unused functions pointed out by Joerg Sonnenberger <joerg@britannica.bec.de>
SVN revision: 65798
2011-12-02 03:27:04 +00:00
Vincent Torri 42f0263f49 Ecore_Win32 : Fix the key release values for non keystroke keys (Windows XP)
SVN revision: 65695
2011-11-29 23:06:01 +00:00
Mike McCormack f57db57c25 ecore: Allow quitting the main loop before entering it
elementary_config does this, and the glib based main loop didn't support it.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65683
2011-11-29 09:24:51 +00:00
Vincent Torri 91872c3d22 Ecore_Win32: Fix the string value for the Delete key
SVN revision: 65674
2011-11-29 07:19:27 +00:00
Vincent Torri 1c43e16493 Ecore_Win32: Fix AltGr detection on Windows XP (discard additional Ctrl left)
API break (no problem if you don't use timestamps directly from Ecore_Win32)

SVN revision: 65673
2011-11-29 06:58:55 +00:00
Carsten Haitzler d3e45fc7a7 fix ecore-con tracking of event count lists for clients!!! thanks
valgrind!



SVN revision: 65647
2011-11-28 12:06:50 +00:00
Vincent Torri cce78817f2 Ecore_Win32: fix and improve keyboard management on Windows XP
* fix some event values
* Add the "Windows" key support
* manage modifiers for shift, ctrl, alt and windows keys

that support is not finished, there still several bugs.

SVN revision: 65613
2011-11-27 12:03:56 +00:00
Christopher Michael b5cd67dee2 Ecore_X(cb): Remove not-needed variable in key event. Remove unused
goto label.



SVN revision: 65590
2011-11-24 23:58:26 +00:00
Rafael Antognolli e8060b3cd6 ecore/fb: Bring back the old signature of ecore_fb_input_device_open.
A previous patch had changed its signature, but since this is an EAPI,
we can't break it. Now ecore_fb_input_device_window_set() was added to
provide the same functionality.



SVN revision: 65589
2011-11-24 21:08:22 +00:00
Bluezery bad45bb0fa From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][ecore_file] Fix buffer flush bug

fclose() should be called before callback is called to notify user of
download completion because it cannot be flushed sometimes.



SVN revision: 65572
2011-11-24 11:55:50 +00:00
Mike McCormack d5eca4d187 ecore: Fix a warning
ecore_evas_fb.c: In function ‘_ecore_evas_fb_init’:
ecore_evas_fb.c:248:14: warning: implicit declaration of function ‘ecore_fb_ts_event_window_set’

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65546
2011-11-24 00:04:57 +00:00
Vincent Torri 0f7b99a421 Ecore_File: let configure do its job
SVN revision: 65545
2011-11-23 23:46:12 +00:00
Vincent Torri 1dcbea2738 Ecore_Win32: fix default values
SVN revision: 65543
2011-11-23 21:21:33 +00:00
Rafael Antognolli 85e4bdab8e ecore/fb: same_screen = 1 for ecore_input_events.
AFAIU, this should be the correct, although this parameter isn't used
anywhere. But let's keep some consistency with the other backends, and
try to avoid future bugs.

Patch for SiT.



SVN revision: 65540
2011-11-23 17:08:40 +00:00
Rafael Antognolli 70060f434c ecore/fb: Fix tslib input events.
With ecore_evas_input, every event must tell for which window it
is intended.

Patch for SiT.



SVN revision: 65539
2011-11-23 16:52:14 +00:00
Mike Blumenkrantz ff032f8b94 change of email address: this is going to be ugly
SVN revision: 65531
2011-11-23 08:40:50 +00:00
Carsten Haitzler 368525255b complain if eina_str_convert doesn't work to kelp quaker66 :)
SVN revision: 65514
2011-11-22 11:08:45 +00:00
Carsten Haitzler 8910244dec Fix bug ecore-evas for fb, buffer, sdl back-ends to ensure
mouse is in on init (as events wont always give this) and focus
is set on show if appropriate if no focus in/out events come
from the back-end later

Fix setting override state to only hide if it should be
visible at that point in x back end support
        


SVN revision: 65508
2011-11-22 05:51:06 +00:00
Vincent Torri 1e7698357d Ecore: fix some warnings on Windows
SVN revision: 65497
2011-11-21 20:20:39 +00:00
Cedric BAIL 5b06c1947b ecore: oops forgotten to test all possible option.
SVN revision: 65455
2011-11-20 16:52:21 +00:00
Cedric BAIL 5c17799c25 ecore: use Eina_File for cleaner more portable code.
SVN revision: 65451
2011-11-20 15:14:48 +00:00
Cedric BAIL 61f1be3463 ecore: remove some warning.
SVN revision: 65445
2011-11-20 14:44:05 +00:00
Cedric BAIL 1e44040cf6 ecore: don't build binary if not requested.
SVN revision: 65442
2011-11-20 14:37:14 +00:00
Mike Blumenkrantz fd657b8fc4 also move magic unset to after all events come back so we don't break anyone's event handlers
SVN revision: 65426
2011-11-20 07:11:05 +00:00
Vincent Torri 0d7ca9bff5 Ecore_Win32: Resolving the issue of "mouse-down inside and mouse-up outside"
Patch by Kim Shinwoo

SVN revision: 65425
2011-11-20 07:09:31 +00:00
Vincent Torri 1171e9f029 Ecore_WinCE: fix Shift, Control and Alt detection
SVN revision: 65423
2011-11-20 06:44:56 +00:00
Vincent Torri 2a930d615c Ecore_Win32: formatting
SVN revision: 65422
2011-11-20 06:44:11 +00:00
Vincent Torri 5124162727 Ecore_Win32: remove LF
SVN revision: 65420
2011-11-20 06:19:40 +00:00
Mike Blumenkrantz b2a76dbe65 attempt #1 to fix obscure disconnect crash
SVN revision: 65416
2011-11-20 00:28:48 +00:00
Vincent Torri 9d5bb5cfa8 Ecore: fix Shift, Control and Alt keys detection
Shift (left/right), Control and Alt are now detected.
AltGr is not, as it's actually a Control (left) key,
immediately followed by an Alt key, and I don't know how
to see know if the left Control kye is the one pressed by
the user or the one thrown by AltGr.

modifiers are not set too. Will be set soon

SVN revision: 65415
2011-11-19 18:03:59 +00:00
Mike Blumenkrantz 024161663c my name is Leif Middelschulte and I leave my debug printfs in my code FOREVER
SVN revision: 65387
2011-11-18 18:23:17 +00:00
Mike Blumenkrantz be730ca826 rewrite a few small things to make code more clear
SVN revision: 65360
2011-11-18 03:59:00 +00:00
Vincent Torri cae47a6650 Ecore: fix warning when no timer dump are requested
Patch by Fabien Romano from OpenBSD


SVN revision: 65212
2011-11-14 22:33:34 +00:00
Vincent Torri 9faf53f4e5 Ecore: warning: implicit declaration of functions 'getpid' and 'usleep' on OpenBSD
Patch by Fabien Romano from OpenBSD



SVN revision: 65211
2011-11-14 22:29:46 +00:00
Vincent Torri bc17a43384 Ecore: fix warning: 'struct in_addr' declared inside parameter list on OpenBSD
Patch by Fabien Romano from OpenBSD


SVN revision: 65210
2011-11-14 22:25:07 +00:00
Christopher Michael dd933bf536 Ecore_X(cb): Fix formatting in ecore_xcb_window. Fix buggers in ICCCM
code which were not setting icccm wm protocols correctly. This 'fix'
matches up w/ the xcb_icccm_* functions defined in the xcb headers.



SVN revision: 65195
2011-11-14 18:49:50 +00:00
Christopher Michael 6f2a5f3562 Ecore_Evas: We don't need to allocate 10 items for this array if we
are only going to use (at most) 3.



SVN revision: 65194
2011-11-14 18:48:19 +00:00
Carsten Haitzler 7cca8b196c warning--
SVN revision: 65142
2011-11-14 04:33:01 +00:00
Carsten Haitzler 0d3f5383bf warning--
SVN revision: 65141
2011-11-14 04:32:12 +00:00
Carsten Haitzler 0303e49be7 this should be correct for xcb - it seems that it packs card32's into
unit32_t's



SVN revision: 65093
2011-11-12 08:59:28 +00:00
Vincent Torri 41c1734761 there is no long at all in the X specification
SVN revision: 65090
2011-11-12 07:18:12 +00:00
Carsten Haitzler 778d3ff2d7 also revert long -> int change in xcb
SVN revision: 65083
2011-11-12 01:40:51 +00:00
Carsten Haitzler d45aa0e846 back to unsigned long. code was actually correct as-is.
SVN revision: 65082
2011-11-12 00:54:22 +00:00
Christopher Michael 5532aafa2c Ecore_X: Fix array problem for 64-bit (unsigned long vs unsigned int).
Thanks vtorri ;)



SVN revision: 65076
2011-11-11 19:43:04 +00:00
Vincent Torri 15d079882c Ecore: Fix warning and seg fault
Fix warning: large integer implicitly truncated to unsigned type.
In ecore_x_window_prop_card32_list_get(): return -1 if malloc fails.

Patch from OpenBSD via Jonathan Armani


SVN revision: 65075
2011-11-11 19:12:36 +00:00
Christopher Michael 739751e6c3 Ecore_X: If malloc fails (when trying to get a window property list),
then return -1 to indicate failure. Add some missing parens in the
formatting.



SVN revision: 65074
2011-11-11 19:11:35 +00:00
Vincent Torri 966067b4f3 Ecore: Fix warning: large integer implicitly truncated to unsigned type inecore_x/xcb
xcb_get_property_unchecked() requires an uint32_t as last parameter, so use
UINT_MAX instead of LONG_MAX

Patch from OpenBSD via Jonathan Armani


SVN revision: 65073
2011-11-11 18:51:53 +00:00
Vincent Torri e169f9e5b7 Ecore: Add virtual keys support for Shift, Ctrl, Alt on Win32 and WinCE
Patch by Shinwoo Kim


SVN revision: 65049
2011-11-11 07:32:08 +00:00
Vincent Torri d8a69c1622 Ecore: add callbacks for window focus in/out event on Win32 and WinCE
Patch by Shinwoo Kim


SVN revision: 65048
2011-11-11 07:24:00 +00:00
Mike Blumenkrantz 6ec1250a4d redo ecore-con shutdown to fix crashes if people are stupid and call ecore_con_shutdown() while servers exist and main loop is still running
SVN revision: 65036
2011-11-11 02:44:16 +00:00
Iván Briano 2f4c5de9ed Properly check for empty string
SVN revision: 65034
2011-11-10 23:21:15 +00:00
Bluezery 216ea5012c From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [ecore_con] Bug fix when data is NULL.

If data is NULL, curl makes length field as -1 .
length filed should be set by 0.



SVN revision: 65006
2011-11-10 06:35:53 +00:00
Mike Blumenkrantz 491fe6b0d6 remove some unused vars
SVN revision: 64964
2011-11-09 01:19:14 +00:00
Mike Blumenkrantz 47b58f75da fix null deref
SVN revision: 64963
2011-11-09 01:18:18 +00:00
Mike Blumenkrantz d295264bc0 patch from bluezery to use proper eina log dom and remove 0 byte destination files on failed download
SVN revision: 64962
2011-11-09 01:03:09 +00:00
Christopher Michael 1f5a1508b7 Ecore_X(cb): Fix formatting in newly added randr code.
SVN revision: 64961
2011-11-08 22:16:14 +00:00
Christopher Michael 6431be5ecb Ecore_X(cb): Add missing randr functions for new Randr Config dialog
in E.



SVN revision: 64960
2011-11-08 22:09:32 +00:00
Christopher Michael c6ce7faad6 Ecore_Fb: Comment out unused (but declared) function prototypes to
remove compiler warning.



SVN revision: 64959
2011-11-08 21:10:26 +00:00
Christopher Michael b7c0243169 Ecore_X(cb): Fix compiler warnings when building without gesture
support.



SVN revision: 64958
2011-11-08 21:09:33 +00:00
Mike Blumenkrantz b76e8f1bc4 fix DSO
SVN revision: 64933
2011-11-08 05:28:27 +00:00
Cedric BAIL 05d8a9cf3c ecore: improve ecore_con speed by using mempool.
SVN revision: 64814
2011-11-06 12:26:00 +00:00
Carsten Haitzler 4bfa1caf5c add workareas get as requested in ticket #793 but actually support
more than 1 - for multi-screen.



SVN revision: 64804
2011-11-06 09:16:00 +00:00
Carsten Haitzler fab77996de fix but resulting from threadsafety addition by mike.
SVN revision: 64798
2011-11-06 06:17:56 +00:00
Bluezery 483abf1e07 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [ecore_file] Check a return value of
ecore_con_url_get()

_ecore_file_download_curl() does not check return value of  even if
ecore_con_url_get(), it can be failed.
I add a simple error checking.
Please review this patch.



SVN revision: 64795
2011-11-06 06:14:31 +00:00
Youness Alaoui aeb68dfc92 Ecore-evas: Add psl1ght module to ecore-evas
SVN revision: 64783
2011-11-05 17:50:02 +00:00
Youness Alaoui 1aa9c2def8 Ecore: Add ecore-psl1ght library
SVN revision: 64782
2011-11-05 17:49:55 +00:00
Youness Alaoui 1dfc25fedf Ecore: Port ecore to the PS3
SVN revision: 64781
2011-11-05 17:49:49 +00:00
Mike Blumenkrantz a7fac0f526 add yet another warning here in case people miss the first few subtle hints
SVN revision: 64734
2011-11-04 14:44:30 +00:00
Christopher Michael 8ff3f04676 Ecore_X(cb): Fixup formatting in new gesture file. Remove erroneous
fprintfs (LOGFN already handles printing that info out).



SVN revision: 64733
2011-11-04 13:46:58 +00:00
Sung-Jin Park 19ab8e3f74 From: Sung-Jin Park <sj76.park@samsung.com>
Subject: Re: review request : ecore x patch for X Gesture extention

Do you remember that I told you X gesture extension patch for ecore x ?
I’d like to put the attached patch to ecore_x in upstream.
This patch is just for initializing/receiving X gesture extension stuff.
Would you please put this in SVN ? : )
Thanks and regards,
Sung-Jin Park



SVN revision: 64732
2011-11-04 12:44:28 +00:00
Mike Blumenkrantz a059403a8c patch from Jihoon Kim to remove Evas dependency in imf
SVN revision: 64668
2011-11-02 23:51:58 +00:00
Nicolas Aguirre c63526f777 ecore: fix ecore build when ecore_cocoa is not build !
SVN revision: 64658
2011-11-02 19:44:36 +00:00
Nicolas Aguirre f4d650a5e4 ecore: Add ecore_cocoa and ecore_evas_cocoa engine support. Currently, event and main loop integration is not working, but you can create a new ecore_cocoa window and attach an evas inside.
SVN revision: 64656
2011-11-02 19:20:09 +00:00
Jiyoun Park 5e81768386 Implement ee's req value to other windowing system.
currently only x windowing system implement this value


SVN revision: 64634
2011-11-02 06:55:12 +00:00
Jihoon Kim 558fac4e08 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: Re: [E-devel] [PATCH] Fix the bug that user cannot input key

At this moment, space is processed in case of WM_KEYDOWN and WM_CHAR.

Therefore, 'space' key is processed twice, it makes bug.

In previous my patch, I changed keyname and string wrong.

I send the revised patch again.

(also applied to wince)

this is am improvement.. but its not all "right" yet. :(



SVN revision: 64597
2011-11-01 02:30:07 +00:00
Kim Yunhan 262bf8d463 From: Kim Yunhan <spbear@gmail.com>
Subject: [E-devel] Small patch with ecore_con_url.

When I tested with elementary map, there is too many logs on console.
It makes me difficult to distinguish normal logs that I want to debug.
:'-(
It's libcurl's internal log for representing progress bar like this.

-----
downloaded : 343 / 363
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
   Current
                                    Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 343 / 362
    % Total    % Received % Xferd  Average Speed   Time    Time     Time
     Current
                                      Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 343 / 361
    % Total    % Received % Xferd  Average Speed   Time    Time     Time
     Current
                                      Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 344 / 365
  downloaded : 345 / 365
  downloaded : 346 / 365
  downloaded : 347 / 365
  -----
  
  So, I want to remove this log.
  And I look around ecore_con_url's code.
  Then I found solution for it.
  


SVN revision: 64596
2011-11-01 02:25:14 +00:00
Jiyoun Park 8edcfacd3f Implement ee's req value to other windowing system.
currently only x windowing system implement this value.



SVN revision: 64554
2011-10-31 10:46:35 +00:00
Mike Blumenkrantz e957cb9c40 patch from Martin Jansa <Martin.Jansa@gmail.com> to fix uclibc build.
this is yet another round of spankies for kakoroto


SVN revision: 64505
2011-10-29 07:03:20 +00:00
Rafael Antognolli 477b50c6d1 ecore/fb: Fix build of fb engine.
Patch sent by "trem".



SVN revision: 64501
2011-10-28 17:58:20 +00:00
Rafael Antognolli e22a6996e6 ecore/fb: Remove useless strdup().
It wasn't even being freed.

Patch for SiT.



SVN revision: 64499
2011-10-28 17:18:38 +00:00
Jiyoun Park 08fc8a696d I update Changelog and add @since info
SVN revision: 64495
2011-10-28 11:50:32 +00:00
Jiyoun Park f627a72047 Add a new API(ecore_evas_request_geometry_get)
The reson why I add this is for communicate with X in async mode.
For example, If applications call elm_win_rotation_with_resize_set API
when they start run and rotation mode is set.
ecore size doesn't changed yet, so it make elm window size to 1
becaues elm window's resize function use ecore_evas_geometry_get API.
so I add new api help upperside get info related with recently request geometry



SVN revision: 64492
2011-10-28 11:15:33 +00:00
Rafael Antognolli 53031cf572 ecore/fb: Change fb engine input to use ecore_input_evas.
Nothing changes, only making the ecore fb engine to send keyboard and
mouse events using ecore_input_evas, instead of its own ecore events.

Patch for SiT.



SVN revision: 64447
2011-10-27 19:29:08 +00:00
Rafael Antognolli 44538e442a ecore/ecore_fb: Disable mouse move event filtering.
There are two main reasons for disabling this now:
 - it's not working, some problem with an assertion of ecore_lock is
 making the program abort;
 - it's wrong, mouse move events can only be filtered out if they are
 received from an absolute axis device (touchscreen and so), not
 relative ones, like mouse or touchpads.
Patch for SiT.



SVN revision: 64444
2011-10-27 18:57:23 +00:00
Iván Briano 085b16e93e Better docs for ecore_main_loop_iterate()
SVN revision: 64433
2011-10-27 13:19:11 +00:00
Carsten Haitzler b08afffb83 thanks to jiyoun's work in finding why this happens - here's actually a
simpler fix. :)



SVN revision: 64405
2011-10-26 05:29:38 +00:00
Christopher Michael 4aa5ab36f5 Ecore_X(cb): Remove some dead code. Fix formatting (how did this get
sooo messed up ??).



SVN revision: 64328
2011-10-23 18:33:32 +00:00
Tom Hacohen 361cc51340 Ecore imf: Free the module list on shutdown.
Freeing the content (using eina_module_list_free) is not enough, we need
to also free the array itself.

SVN revision: 64326
2011-10-23 12:01:36 +00:00
Christopher Michael 880a34d2a6 Ecore_X(cb): Make sure we have argv[i] before we try to strlen it.
SVN revision: 64302
2011-10-22 18:06:44 +00:00
Rafael Antognolli ca46030e4d ecore_evas_fb: use _ecore_evas_fb_render instead of the buffer one.
This mistake was introduced long ago on a cleanup.
Patch for SiT.



SVN revision: 64258
2011-10-21 16:07:29 +00:00
Carsten Haitzler 37e2ab21c1 ecrustify on ecore-x.
SVN revision: 64239
2011-10-21 05:40:59 +00:00
Carsten Haitzler 58cbf16625 ran ecrustify on ecore. some manual fixing too.
SVN revision: 64238
2011-10-21 05:40:39 +00:00
Carsten Haitzler ff45aac69d lets have envrionment var control over semisync in ecore-evas
SVN revision: 64191
2011-10-20 06:39:03 +00:00
Carsten Haitzler be90232bc0 match changes in ews code
SVN revision: 64126
2011-10-17 07:00:38 +00:00
Carsten Haitzler 210c5a9377 handle buffer allocation failure - null buffer.
SVN revision: 64125
2011-10-17 06:59:08 +00:00
ChunEon Park ba1bd2a8a1 ecore/animator - never be reached there
SVN revision: 64101
2011-10-16 04:47:42 +00:00
Youness Alaoui 84e9551521 Ecore: IN6_IS_ADDR_V4MAPPED needs an in6_addr as input on OSX
SVN revision: 64090
2011-10-15 09:30:58 +00:00
Carsten Haitzler 4866f72938 commit changes and notes for matrchnig multitouch xcb stuff
SVN revision: 64082
2011-10-15 03:34:01 +00:00
Carsten Haitzler 194df9ef24 for gustavo -> ews matching changes.
SVN revision: 64081
2011-10-15 03:19:25 +00:00
Carsten Haitzler d45161691a and now make my modifications to multittouch this morning also work
again with mpx automatically. yay!



SVN revision: 64071
2011-10-14 09:11:49 +00:00
Carsten Haitzler ee158e76fc 1. make inline image ee buffer non-alpha by default. thats the default
for all eee's. this was wrong.
2. make sure it sets back data when finished - check data in and check
it out.



SVN revision: 64069
2011-10-14 07:28:45 +00:00