Commit Graph

3952 Commits

Author SHA1 Message Date
Leif Middelschulte a681840432 Add NEWS, @since to source, and alter ChangeLog.
SVN revision: 68348
2012-02-23 15:56:38 +00:00
Cedric BAIL 41d64ec96e ecore: move Ecore_Evas software SDL from specific SDL Evas backend to generic buffer backend.
One more step to removing Evas Software SDL backend.


SVN revision: 68346
2012-02-23 15:39:18 +00:00
Leif Middelschulte 895355ef99 Deprecate ecore_x_randr_current_crtc_get,
implement and use ecore_x_randr_window_crtcs_get instead

SVN revision: 68344
2012-02-23 15:10:43 +00:00
Leif Middelschulte 23528373cc Implement ecore_x_randr_current_crtc_get
SVN revision: 68343
2012-02-23 15:10:38 +00:00
Carsten Haitzler 367799c1ec fix ecore_evas_extn checks.. (shm_open checks too) to work.
SVN revision: 68302
2012-02-23 05:56:36 +00:00
Cedric BAIL 6ca64e9c3c ecore: cleanup thread destruction.
SVN revision: 68288
2012-02-22 21:38:39 +00:00
Bluezery 40c61bce9a From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel][Patch][ecore_con] Fix invalid curl handle removal by valgrind
Date: Wed, 22 Feb 2012 19:57:36 +0900

Hello,

discomfitor reports bugs by valigrind.  I checked it with valgrid and
I found the clues
curl_multi_remove_handle() should not be called when multi handles
being performed. So I removed curl_multi_remove_handle() code from
_ecore_con_url_info_read()
Now, curl_multi_remove_handle() is only called for all easy handles
when a multi-handle ended.
Please review this simple patch.


SVN revision: 68287
2012-02-22 19:58:34 +00:00
Christopher Michael 84ba307c71 Ecore: Fix typo in header (for docs).
SVN revision: 68286
2012-02-22 19:49:15 +00:00
Christopher Michael f7c29b5eae Ecore_Evas (wayland): Update shm and egl engines for recent changes in
wayland.



SVN revision: 68284
2012-02-22 18:38:26 +00:00
Christopher Michael 274f4be555 Ecore (Wayland): Update include for xkbcommon (changed in git). Update
function calls for changes made to wayland.

NB: This makes ecore_wayland build again.



SVN revision: 68283
2012-02-22 18:38:04 +00:00
Mike Blumenkrantz 127c3b81da somewhat fix deferred freeing of curl objects
SVN revision: 68258
2012-02-22 10:10:22 +00:00
Mike Blumenkrantz d37f6003cf allow server to write out last data to client before disconnecting, also fix leak I previously added
SVN revision: 68249
2012-02-22 08:50:43 +00:00
Mike Blumenkrantz 9417565032 reorder url complete calls to prevent invalid read
SVN revision: 68246
2012-02-22 05:46:40 +00:00
Christopher Michael 436091a7d6 Ecore_X(cb): Add missing randr functions needed for recent changes in E.
NB: These may not be entirely correct, but since I am the only one using 
xcb (apparently), and I don't ever use the RandR stuff, they are 
sufficient for now. I'll debug them later when I have more time.



SVN revision: 68219
2012-02-21 12:42:02 +00:00
Mike Blumenkrantz aaaa571c8d hero patch from bluezery which fixes ecore-con-url
SVN revision: 68203
2012-02-21 06:48:24 +00:00
Jihoon Kim 2482c6aeeb fix doxygen
SVN revision: 68197
2012-02-21 04:16:53 +00:00
Cedric BAIL 6152601e1f ecore: rewrite of Ecore_Thread internal to use Eina_Lock and ecore_main_loop_thread_safe_call_async.
NOTES: It is now safer and faster. I doubt I will have more time before the release to finish
ecore_thread_message_run, nor to make the shutdown nicer.


SVN revision: 68164
2012-02-20 15:57:18 +00:00
Carsten Haitzler 19f99fce57 @since++
SVN revision: 68145
2012-02-20 08:14:13 +00:00
Mike Blumenkrantz fb766c1119 revert last commit, maybe I'll re-commit it in 10 years when curl 7.21.7 is more common
SVN revision: 68144
2012-02-20 07:37:53 +00:00
Mike Blumenkrantz 1552f5b548 yet another complete rewrite of ecore-con-url, fixes bugs I've been experiencing recently
does not fix curl+c-ares though :(


SVN revision: 68143
2012-02-20 07:11:23 +00:00
Jérémy Zurcher 8ee7505e05 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] ecore_evas typedef patch src/lib


the attached patch adds
typedef void   (*Ecore_Evas_Event_Cb) (Ecore_Evas *ee);
in Ecore_Evas.h and ecore_evas_private.h

Ecore_Evas_Event_Cb is then used within :
  ecore_evas.c
  ecore_evas_psl1ght.c
  ecore_evas_win32.c
  ecore_evas_wince.c
  ecore_evas_x.c



SVN revision: 68140
2012-02-20 04:38:54 +00:00
Mike Blumenkrantz c1ebb1ae60 somehow forgot to add this line in for previous commit, self spank
SVN revision: 68134
2012-02-19 23:24:13 +00:00
Mike Blumenkrantz 104fa491ae formatting
SVN revision: 68133
2012-02-19 23:23:44 +00:00
Mike Blumenkrantz a8e95378d8 fix current url implementation to not crash ANY TIME YOU FREE THE OBJECT DURING AN EVENT
seriously how did this go unnoticed for so many years?????


SVN revision: 68132
2012-02-19 23:16:50 +00:00
Mike Blumenkrantz 9fd11cd9da if we're going to pretend to handle errors, at least clean up before failing
SVN revision: 68129
2012-02-19 22:33:39 +00:00
Mike Blumenkrantz 60b4d79569 not sure why we're passing a bogus data pointer which is never used
SVN revision: 68128
2012-02-19 22:32:17 +00:00
Mike Blumenkrantz cc2d957e10 fix and simplify init/shutdown logic
SVN revision: 68127
2012-02-19 22:26:40 +00:00
Vincent Torri aab16f91a9 Ecore: better check of ecore_evas_extn. This also fixes its compilation on Windows
SVN revision: 68105
2012-02-18 12:56:53 +00:00
Vincent Torri 85a36a8f7f Ecore: ecore_pipe: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions
SVN revision: 68104
2012-02-18 12:55:26 +00:00
Mike Blumenkrantz 393d25034e add debug info with url
SVN revision: 68098
2012-02-18 02:38:10 +00:00
Mike Blumenkrantz 8191c723cc fix shadow var
SVN revision: 68097
2012-02-18 02:23:09 +00:00
Mike Blumenkrantz e4655eeece outdent some code here
SVN revision: 68096
2012-02-18 02:19:36 +00:00
Jihoon Kim 62037f70d9 ecore_imf: describe doxygen about some enums
SVN revision: 68095
2012-02-18 01:45:50 +00:00
Mike Blumenkrantz 150bc83acf null check
SVN revision: 68039
2012-02-16 21:57:34 +00:00
Leif Middelschulte 8bdf8faf37 Add mode add/del functions to ecore_x_randr
SVN revision: 68031
2012-02-16 19:26:30 +00:00
Jihoon Kim 758c7a57ab ecore_imf: add @since 1.2 in Ecore_IMF_Input_Panel_Lang and Ecore_IMF_Input_Panel_Return_Key_Type
Thanks to Vincent about spotting it


SVN revision: 67993
2012-02-16 00:35:14 +00:00
Mike Blumenkrantz 201ae5dea3 use correct errno value for error events
SVN revision: 67960
2012-02-15 05:55:28 +00:00
Mike Blumenkrantz 89276be842 finally finish implementing SOCKS5 proxies in ecore-con.
SOCKS5 is different from SOCKS4 in that it supports password authentication mechanisms (GSSAPI is still on the todo) and IPV6, neither of which are possible with SOCKS4

NOTE THAT THE CMDLINE SYNTAX FOR AUTOSOCKSING HAS CHANGED!
 *   ECORE_CON_SOCKS_V4=[user@]server-port:lookup
 *   ECORE_CON_SOCKS_V5=[user@]server-port:lookup

also note that I did not implement autosocksing with password. it's just not safe.


SVN revision: 67959
2012-02-15 05:53:50 +00:00
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