Commit Graph

16920 Commits

Author SHA1 Message Date
Christopher Michael b0dde0d92d Ecore_Evas (wayland): Implement alpha_set, transparent_set, and
ignore_events for ecore_evas_wayland_shm.

NB: I have to code for egl done, but am tracking a segfault when we
set alpha :/



SVN revision: 68558
2012-02-29 21:00:38 +00:00
Tom Hacohen 97c02b6656 Edje entry: added edje_object_part_text_user_insert.
SVN revision: 68556
2012-02-29 15:57:53 +00:00
Jonas M. Gastal db7f5d6c5f Evas event freezing code sample.
SVN revision: 68555
2012-02-29 13:49:04 +00:00
Jonas M. Gastal a64769e15f Add warning that people should probably use ecore evas instead of evas
event feeding.

SVN revision: 68554
2012-02-29 13:49:00 +00:00
Carsten Haitzler 5bb1a4a17f netwm icon set api - test it.. putting 16mb+ icons on the stack wasnt
a good idea... puton heap. :)



SVN revision: 68550
2012-02-29 11:59:55 +00:00
Jihoon Kim 05131e2348 ecore_imf: Add ecore_imf_context_input_panel_caps_lock_mode_set/get to set/get the caps lock mode on the input panel
SVN revision: 68529
2012-02-29 04:37:33 +00:00
Carsten Haitzler 890d1a247a lets compile again... shall we? :)
SVN revision: 68526
2012-02-28 23:55:04 +00:00
Christopher Michael 5a989f5d82 Ecore_Wayland: Fix resize animation (little arrow @ bottom) not
showing up.



SVN revision: 68523
2012-02-28 22:51:01 +00:00
Christopher Michael c03a4e19b4 Ecore_Wayland: Add some doxy & @since.
SVN revision: 68522
2012-02-28 22:31:27 +00:00
Leandro Pereira b13d32e9a3 eet: Remove man page installing code as well
SVN revision: 68521
2012-02-28 22:04:48 +00:00
Leandro Pereira 25462be439 eet: Disable man-page generation by default.
This is currently a mess -- fixing it is going to take a lot of time. Man
pages being generated include end(3), authors(3), todo(3), Examples(3). 
Better not to install these things and rely only on the HTML output.



SVN revision: 68520
2012-02-28 21:58:35 +00:00
Christopher Michael 720f7996ae Evas (wayland): Comment out eglTerminate (is causing hangs when
running under the current weston compositor).



SVN revision: 68518
2012-02-28 21:57:59 +00:00
Christopher Michael ee44c5d3dd Ecore: Fix autofoo for recent wayland changes. Add ChangeLog.
SVN revision: 68517
2012-02-28 21:57:10 +00:00
Christopher Michael a31808b48b Ecore_Evas (Wayland): Refactor code to match Ecore_Wayland changes.
NB: Fixes outstanding issues with running EFL apps as wayland clients.



SVN revision: 68516
2012-02-28 21:56:39 +00:00
Christopher Michael f3cf8efe47 Ecore_Wayland: Refactor all the ecore_wayland code to improve running
EFL applications as Wayland Clients.

NB: This (along with the ecore_evas changes) fixes most (if not all) 
outstanding issues what I am aware of, including the nasty resize bug 
with wayland_egl.



SVN revision: 68515
2012-02-28 21:55:51 +00:00
om101.woo cf569fb2bf From: <om101.woo@samsung.com>
Subject: image data get/set pairing issue

I found a bug about pairing
evas_object_image_data_get/set(eng_image_data_get/put).

It was added to count checked_out for paring
eglMapImageSEC/eglUnmapImageSEC.
 
In case of calling evas_object_image_data_set() twice after calling
evas_object_image_data_get(), dyn.checked_out has -1.

Then, if evas_object_image_data_get() and evas_object_image_data_set()
is call, it can't call eglUnmapImageSEC().
 
If dyn.checked_out has minus, it can make some problem.

So, I fixed this problem.
 
Please find enclosed patch file and let me know if I misunderstood.



SVN revision: 68504
2012-02-28 11:55:14 +00:00
Carsten Haitzler 5756d4ad09 compile again... and add docs and @sinces etc. :)
SVN revision: 68503
2012-02-28 11:50:05 +00:00
Carsten Haitzler 9b46c193f5 and now actually test and make sure things work.
SVN revision: 68500
2012-02-28 10:46:38 +00:00
Cedric BAIL b9fbbaa656 eio: forgotten lstat.
SVN revision: 68499
2012-02-28 09:20:43 +00:00
Mike Blumenkrantz 178339291d one time I had a dream where people helped others who were forgetful instead of just pointing out that they were forgetful. then I woke up and realized I had fallen asleep while watching Winnie the Pooh
SVN revision: 68494
2012-02-28 07:06:04 +00:00
Carsten Haitzler 57c681a33e booyah. added lots of ecore_evas state stuff and ability to track
state changes too made by a wm - eg getting iconified.



SVN revision: 68493
2012-02-28 06:43:59 +00:00
Carsten Haitzler 1bef88b19c add ecore_x_netwm_icons_set()
SVN revision: 68487
2012-02-28 04:34:10 +00:00
Cedric BAIL 60132f0727 eio: finish eio fallback monitor.
NOTE: this make Eio now officially in Alpha stage.
API and ABI should remain stable until the coming release.
Only bug fixes and highly needed api change will make in.


SVN revision: 68479
2012-02-27 20:58:26 +00:00
Cedric BAIL 34c0022210 ecore: people are still hurt by that assert.
NOTE: I think that this code should be removed as it is useless, will never
work as expected and nobody care anymore about it.


SVN revision: 68477
2012-02-27 14:40:02 +00:00
Cedric BAIL 411a4eb936 eina: faster implementation of Eina_Rbtree by Alexandre Becoulet.
SVN revision: 68474
2012-02-27 13:29:47 +00:00
Cedric BAIL 1a82751cf1 eio: start implement fallback monitor.
SVN revision: 68473
2012-02-27 13:20:05 +00:00
Carsten Haitzler 45bd2a60cd warning--
SVN revision: 68467
2012-02-27 05:52:25 +00:00
Thanatermesis 4776bcfbd7 Fix linking complaints brought out by:
From: Thanatermesis <thanatermesis.ecvs@gmail.com>
Subject: [E-devel] LDFLAGS with -Wl,-z,defs

Aparently if you add the option "-Wl,-z,defs" to your LDFLAGS, there's some
libs that doesn't compile, like evas and e_dbus, there's some logs:



SVN revision: 68464
2012-02-27 05:20:17 +00:00
Carsten Haitzler 496ad067f4 tag this allong with the ecore_file_download fix.
SVN revision: 68459
2012-02-27 02:37:24 +00:00
Jiyoun Park b59b60032a fix gif cannot deal with transparent color.
when make first frame, it didn't consider alpha value.
change code to deal with alpha value



SVN revision: 68450
2012-02-26 10:46:56 +00:00
Cedric BAIL fd482cff6b ecore: oops, forgotten.
SVN revision: 68449
2012-02-26 10:06:40 +00:00
Vincent Torri 99c074f23f Evas: check static inline functions, not just inline ones
SVN revision: 68448
2012-02-26 07:09:07 +00:00
Carsten Haitzler cf21239cf8 fix ecore_file_downlaod to not limit downloads to 30sec.
SVN revision: 68447
2012-02-26 01:52:27 +00:00
Cedric BAIL b01e8f4802 ecore: remove use of SDL software sdl 16 from Ecore_Evas.
SVN revision: 68446
2012-02-25 21:20:42 +00:00
Mike Blumenkrantz 96211b171a #if 0 out an unused function
SVN revision: 68437
2012-02-25 08:30:51 +00:00
Jihoon Kim 6ff1e0cffb ecore_imf: remove trailing whitespace
SVN revision: 68434
2012-02-25 06:57:21 +00:00
Jonas M. Gastal 058d798bb8 Evas generic object group documentation improvement.
SVN revision: 68425
2012-02-24 17:05:44 +00:00
Cedric BAIL 4573b902e4 ecore: eina_iterator_free doesn't work on NULL iterator.
SVN revision: 68424
2012-02-24 16:53:51 +00:00
Cedric BAIL 769b35c9c6 embryo: remove useless part.
SVN revision: 68421
2012-02-24 15:51:00 +00:00
Cedric BAIL 124d958954 embryo: try to handle _LIBS appropriatly.
SVN revision: 68419
2012-02-24 15:22:11 +00:00
Cedric BAIL 22ed9fcfab ecore: fix ecore build without thread support and mmap.
SVN revision: 68418
2012-02-24 15:14:10 +00:00
Cedric BAIL 37a231afae ecore,embryo,evas: fix copy & paste issue.
SVN revision: 68417
2012-02-24 14:07:57 +00:00
Carsten Haitzler 58713c369f and changelog for doyoun's patch
SVN revision: 68411
2012-02-24 12:33:27 +00:00
Doyoun Kang a441e218c6 From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: Add feature for showing/hiding indicator

Hi, raster.
As we discussed about indicator, i added feature for indicator.
Please check attached patch files.

1. elementary
i added enumeration to Elm_Illume_Command as below.
- ELM_ILLUME_COMMAND_INDICATOR_SHOW
- ELM_ILLUME_COMMAND_INDICATOR_HIDE

2. ecore
i added atoms/enumerations/APIs as below.
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;

typedef enum _Ecore_X_Illume_Indicator_State
{
   ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN = 0,
   ECORE_X_ILLUME_INDICATOR_STATE_OFF,
   ECORE_X_ILLUME_INDICATOR_STATE_ON
} Ecore_X_Illume_Indicator_State;
         
EAPI void ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);
EAPI Ecore_X_Illume_Indicator_State
ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);



SVN revision: 68410
2012-02-24 12:33:11 +00:00
Cedric BAIL 4fcca0a938 ecore: fix typos.
SVN revision: 68406
2012-02-24 11:48:53 +00:00
Cedric BAIL d6a385cff6 eina: fix typos due to merge.
SVN revision: 68405
2012-02-24 11:42:47 +00:00
Cedric BAIL cd9cb6abb5 evas: add Exotic support.
SVN revision: 68404
2012-02-24 11:21:57 +00:00
Cedric BAIL 11530b355d ecore: binbuf doesn't accept NULL (that's what EINA_ARG_NONNULL tell us...)
SVN revision: 68403
2012-02-24 11:21:12 +00:00
Cedric BAIL c1f2c6f682 ecore: add Exotic support.
SVN revision: 68402
2012-02-24 11:20:25 +00:00
Cedric BAIL bf1ebaf7f4 eet: add Exotic support
SVN revision: 68400
2012-02-24 11:17:26 +00:00
Cedric BAIL 342cf18748 embryo: add Exotic support.
SVN revision: 68399
2012-02-24 11:16:23 +00:00
Cedric BAIL 423cc7ba43 eina: add Exotic support.
SVN revision: 68398
2012-02-24 11:15:14 +00:00
Sung Park ac0d52f04d Fixed glBindFramebuffer(0) issue for Direct Rendering
optimization.  current_fbo wasn't being set to 0 
so the above case wasn't being handled properly. 



SVN revision: 68392
2012-02-24 08:13:48 +00:00
Seungsoo Woo cf926fda0b From: Seungsoo Woo <om101.woo@samsung.com>
subject: [E-devel] [Patch] Add override gl apis for osmesa

When an application use glBindFramebuffer or glBindRenderbuffer via 
evas_gl after loding libosmesa.so,it shows segment fault.

Because glBindFramebuffer and glBindRenderbuffer are not overrided.
So, I fixed it.



SVN revision: 68391
2012-02-24 07:55:04 +00:00
Jihoon Kim 68dab51051 edje: fill NEWS
SVN revision: 68386
2012-02-24 06:52:18 +00:00
Jihoon Kim 8c9ee103cb Add edje_object_part_text_imf_context_get API.
This API can be used to get the input method context in entry.


SVN revision: 68385
2012-02-24 06:51:04 +00:00
Jihoon Kim 336b2878bc Ecore_IMF.h: fix indentation
SVN revision: 68380
2012-02-24 06:05:10 +00:00
Carsten Haitzler a918ef689f lets compile shall we and only include sdl headers if building
ecore-evas-sdl stuff eh?



SVN revision: 68372
2012-02-24 00:58:13 +00:00
Carsten Haitzler a23505ad6a warn--
SVN revision: 68371
2012-02-24 00:56:42 +00:00
Carsten Haitzler 354ccb36b4 yes - inow. this managed to get out in 1.1 being deprecated. lets not
mark the func as deprecated tho - keep in docs.



SVN revision: 68370
2012-02-24 00:52:29 +00:00
Carsten Haitzler 0e38e05208 lets not deprecate things just yet shall we?
SVN revision: 68369
2012-02-24 00:50:30 +00:00
Carsten Haitzler e6bf1ab1b8 lets not deprecate stable 1.0 api's just yet shall we? maybe wait a
few years before we start on that?



SVN revision: 68368
2012-02-24 00:47:13 +00:00
Carsten Haitzler f81e262ba3 another function that has been deprecated since before 1.0.
SVN revision: 68367
2012-02-24 00:44:49 +00:00
Carsten Haitzler 355b3341b3 that win32 shape set func has been deprecated since before ecore 1.0 -
it should have never been used, so remove. cruft. and no- no chlog as
it isnt something that should affect a user



SVN revision: 68366
2012-02-24 00:41:53 +00:00
Leif Middelschulte 4e5b9877dd depricated -> deprecated
SVN revision: 68365
2012-02-23 21:00:00 +00:00
Christopher Michael 8c33537c4a Ecore_X(cb): Remove unused variable. Fix uninitialzed variable warning.
SVN revision: 68362
2012-02-23 18:32:36 +00:00
Leif Middelschulte e94f19333b It is only deprecated, therefore must exist.
SVN revision: 68360
2012-02-23 18:22:39 +00:00
Leif Middelschulte a1bfc55891 Analogy of r68344 to XCB.
SVN revision: 68358
2012-02-23 18:22:29 +00:00
Leif Middelschulte 0374b166e4 Fix misspelling
SVN revision: 68357
2012-02-23 18:22:24 +00:00
Jonas M. Gastal cbff250f77 Better evas rectangle docs.
SVN revision: 68356
2012-02-23 18:14:30 +00:00
Cedric BAIL 33e25e97e1 emotion: call some callback when load and save are done.
SVN revision: 68355
2012-02-23 17:42:04 +00:00
Christopher Michael 6b51a11d0d Ecore: Fix grammar in doxy.
SVN revision: 68353
2012-02-23 16:49:34 +00:00
Cedric BAIL 0dbc99f33a evas: remove software SDL engine, use buffer engine directly.
NOTE: I would like to do the same with software SDL 16bits engine.
But as we don't have a buffer_16 backend, I am likely to just remove
it and use buffer conversion code to match a 16bits target. This
will come with a performance impact, that will make it useless. So
I am just tempted to completly remove it.


SVN revision: 68352
2012-02-23 16:25:07 +00:00
Leif Middelschulte 4ecc9ffa63 Now, also compile.
SVN revision: 68350
2012-02-23 16:00:40 +00:00
Leif Middelschulte 29c8ede450 Improve implementation of ecore_x_randr_window_crtcs_get
SVN revision: 68349
2012-02-23 15:56:42 +00:00
Leif Middelschulte a681840432 Add NEWS, @since to source, and alter ChangeLog.
SVN revision: 68348
2012-02-23 15:56:38 +00:00
Cedric BAIL b9ebf5a7df ecore: update NEWS and ChangeLog accordingly.
SVN revision: 68347
2012-02-23 15:41:23 +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
Cedric BAIL 3597d526eb eina: forgotten since.
SVN revision: 68341
2012-02-23 14:11:18 +00:00
Cedric BAIL 4a65416c6a eio: use the newly introduced Eina_Stat.
SVN revision: 68316
2012-02-23 11:46:51 +00:00
Cedric BAIL b693dd6035 eina: introduce Eina_Stat to prevent issue when building with different config option.
SVN revision: 68315
2012-02-23 11:45:25 +00:00
Cedric BAIL 6107c5b96e eio: fix doc header.
SVN revision: 68314
2012-02-23 11:27:45 +00:00
Vincent Torri ec5cf628d0 Ecore: some fixes
* use AC_COMPILE_IFELSE after AC_PROG_CC has been called
* use EFL_CHECK_TESTS after pkg-config has been checked
* enable ecore_evas_extn only if its dependencies are found

SVN revision: 68312
2012-02-23 08:04:35 +00:00
Jihoon Kim ee82a4f6ac edje: revert r68306
SVN revision: 68307
2012-02-23 06:46:07 +00:00
Jihoon Kim c58edcd114 Add edje_object_part_text_imf_context_get API
This API can be used to get the input method context in entry.


SVN revision: 68306
2012-02-23 06:15:12 +00:00
Vincent Torri 0a42091076 * configure.ac:
* src/lib/Makefile.am:
	* src/lib/evil_pformata.c:
	* src/lib/evil_printa.c:
	* src/lib/gdtoa (added):
	* src/lib/gdtoa/gdtoa.c (added):
	* src/lib/gdtoa/dmisc.c (added):
	* src/lib/gdtoa/gdtoa_fltrnds.h (added):
	* src/lib/gdtoa/ulp.c (added):
	* src/lib/gdtoa/g_dfmt.c (added):
	* src/lib/gdtoa/gmisc.c (added):
	* src/lib/gdtoa/g_ffmt.c (added):
	* src/lib/gdtoa/gdtoa.h (added):
	* src/lib/gdtoa/sum.c (added):
	* src/lib/gdtoa/gdtoaimp.h (added):
	* src/lib/gdtoa/README (added):
	* src/lib/gdtoa/gd_qnan.h (added):
	* src/lib/gdtoa/hd_init.c (added):
	* src/lib/gdtoa/smisc.c (added):
	* src/lib/gdtoa/strtof.c (added):
	* src/lib/gdtoa/hexnan.c (added):
	* src/lib/gdtoa/strtopx.c (added):
	* src/lib/gdtoa/gethex.c (added):
	* src/lib/gdtoa/g_xfmt.c (added):
	* src/lib/gdtoa/gd_arith.h (added):
	* src/lib/gdtoa/strtodg.c (added):
	* src/lib/gdtoa/dtoa.c (added):
	* src/lib/gdtoa/Makefile.am (added):
	* src/lib/gdtoa/misc.c (added):
	* src/lib/gdtoa/g__fmt.c (added):
	* src/lib/gdtoa/README.mingw (added):
	* src/lib/gdtoa/qnan.c (added):
	* src/lib/gdtoa/arithchk.c (added):
	Define some missing functions, so that Evil also
	compile with MinGW, vc++ and later with Cedric
	compatibility layer
	* src/lib/evil_util.c:
	Include limits.h for ULONG_MAX definition



SVN revision: 68304
2012-02-23 06:10:36 +00:00
Carsten Haitzler c29416e0d8 fix update region handling with scaling.
SVN revision: 68303
2012-02-23 06:07:37 +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
Carsten Haitzler 978448d656 since too many people make this mistake of not reading evas's docs and
seeing color is PREMULTIPLIED ARGB... evas_object_color_set is just
going to enforce it and limit r, g and b to a.



SVN revision: 68299
2012-02-23 04:53:19 +00:00
Mike Blumenkrantz c7297f530f silence annoying xpm header not found error message; this is frequently caused (erroneously) when reading images of unknown format
SVN revision: 68289
2012-02-22 23:58:46 +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
Cedric BAIL 0b07301937 eio: improving doc for Eio release.
SVN revision: 68280
2012-02-22 16:30:43 +00:00
Cedric BAIL 53186159ac eet: doc fix.
SVN revision: 68279
2012-02-22 16:22:42 +00:00
Jonas M. Gastal 563271a109 Container page improvements.
SVN revision: 68278
2012-02-22 16:20:55 +00:00
Jonas M. Gastal 48b90afbbf Stringshare doc additions.
SVN revision: 68271
2012-02-22 13:35:01 +00:00
Jonas M. Gastal b985aae805 Eina inline array example.
SVN revision: 68270
2012-02-22 13:15:38 +00:00
Cedric BAIL 76b3828b8f eio: take into account filter for subdirectory to.
SVN revision: 68269
2012-02-22 12:46:51 +00:00
Cedric BAIL baa885dc39 eio: update tutorial with a proper eio_dir_direct_ls example.
SVN revision: 68266
2012-02-22 11:52:45 +00:00
Cedric BAIL 422de4f2e5 eio: change callback prototype.
SVN revision: 68265
2012-02-22 11:51:45 +00:00
Cedric BAIL ddbf4f1252 eina: update info in eina_file_stat seems more usefull.
SVN revision: 68264
2012-02-22 11:50:29 +00:00
Cedric BAIL 59647d1be0 eio: make eio_dir_direct_ls a public API.
SVN revision: 68260
2012-02-22 10:26:39 +00:00
Cedric BAIL c461a7eed9 eina: add eina_file_stat helper function.
SVN revision: 68259
2012-02-22 10:24:11 +00:00
Mike Blumenkrantz 127c3b81da somewhat fix deferred freeing of curl objects
SVN revision: 68258
2012-02-22 10:10:22 +00:00
Carsten Haitzler ec2c700988 since n->filename became non-stringshared only after 1.1 - no
changelog needed, but fix eina waring! (thanks shinwoo!!!)



SVN revision: 68256
2012-02-22 09:42:27 +00:00
Cedric BAIL 6db00c119d eio: add eio_dir_direct_ls.
SVN revision: 68254
2012-02-22 09:30:43 +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
Vincent Torri 630c6f41d5 Eina: fix win32 RWlocks
* initialize all the mutex members in eina_rwlock_new()
* fix assigments in eina_rwlock_take_read() and eina_rwlock_take_write()


SVN revision: 68248
2012-02-22 08:34:38 +00:00
Cedric BAIL 37804c589f eio: forever forgetting to use svn add... sorry.
SVN revision: 68247
2012-02-22 08:34:37 +00:00
Mike Blumenkrantz 9417565032 reorder url complete calls to prevent invalid read
SVN revision: 68246
2012-02-22 05:46:40 +00:00
Cedric BAIL 11f245ab0b eio: add Eet asynchronous helper.
NOTE: this also make Eet an hard dependency for Eio. I do
think that every one will be using Eet anyway, so I didn't
bother making it optional, but if someone complain to me
with enough cookie, I could change my mind.


SVN revision: 68231
2012-02-21 21:01:22 +00:00
Cedric BAIL 1466254a5a efreet: add errno.h as needed.
SVN revision: 68229
2012-02-21 18:49:01 +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
Cedric BAIL 977ada06c3 eet: fix build without latest GNUTLS.
Patch by Lionel Orry <lionel.orry@gmail.com>


SVN revision: 68210
2012-02-21 09:24:25 +00:00
Carsten Haitzler 396572a355 fix regression during 1.1 dev (towards 1.2) that made evas over-render
way too much! FIXED



SVN revision: 68204
2012-02-21 07:01:39 +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
WooHyun Jung 033d4e5595 [edje] Change APIs name from from
edje_object_markup_filter_callback_{add,del,del_full} to
edje_object_text_markup_filter_callback_{add,del,del_full}.


SVN revision: 68179
2012-02-21 00:40:55 +00:00
Vincent Torri 7797585a07 * src/bin/evil_test_gettimeofday.c:
Include sys/time.h
	* src/lib/evil_inet.c:
	EMSGSIZE and EAFNOSUPPORT could not be defined on
	some MinGW compilers.



SVN revision: 68175
2012-02-20 23:44:56 +00:00
Vincent Torri 4f28f9c0ca Eina: gnu_printf format attribute was introduced in gcc 4.4
SVN revision: 68174
2012-02-20 23:34:15 +00:00
Mike Blumenkrantz 4fa93397a5 tentatively unblacklisting c-ares 1.7.5 since my new tests show that it seems to work; I guess it got fixed since the last time I tested?
report any issues with this IMMEDIATELY since we're coming up on a release


SVN revision: 68168
2012-02-20 17:46:52 +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
Cedric BAIL ac0c389ff9 eio: fix memory leak in eio_dir_stat_ls.
SVN revision: 68163
2012-02-20 14:06:04 +00:00
Jihoon Kim d95f9820c1 edje_entry.c: fix formatting
SVN revision: 68148
2012-02-20 08:51:55 +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
Vincent Torri abd9e9ff4b Edje: improve compilation of examples (part1)
* give the possibility to set edje_cc (useful when cross compiling)
* clean .edj files

Next part: use eina_prefix to select edj and png files


SVN revision: 68130
2012-02-19 23:00:41 +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
Tom Hacohen 55c915ff43 Edje entry: Fix memory leak with markup filter.
Spank Spank WooHyun.

SVN revision: 68124
2012-02-19 15:28:42 +00:00
Vincent Torri da0bba5322 Evil: fix doc
SVN revision: 68120
2012-02-19 08:11:44 +00:00
Vincent Torri f9b759a654 Edje: revert ugly commit, as Evil takes care of the problem, now
SVN revision: 68118
2012-02-18 18:12:19 +00:00
Vincent Torri 3ece862b75 * src/lib/Evil.h:
* src/lib/Makefile.am:
	* src/lib/evil_macro.h:
	* src/lib/evil_print.h:
	* src/lib/evil_macro_pop.h (added):
	Undef __cdecl if it has been defined by Evil and
	move some defined macro to evil_macro_pop.h
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	Define gettimeofday() only for vc++ as MinGW-w64
	already defines it.



SVN revision: 68117
2012-02-18 18:11:10 +00:00
Vincent Torri 62f4f8f2f8 Edje: ugly commit to make edje compiling on Windows
I was obliged to do that because almost all the headers are
included in edje_private.h... That way to include headers is
fine on unix, but when doing also compilation on Windows,
it's just a nightmare


SVN revision: 68111
2012-02-18 14:48:31 +00:00
Vincent Torri b0a4783e22 Edje: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions
SVN revision: 68110
2012-02-18 14:45:21 +00:00
Vincent Torri 52752392b1 Edje: remove useless headers
SVN revision: 68109
2012-02-18 14:27:36 +00:00
Vincent Torri 2b8af7d2ca Edje: remove some shadow variable warnings
SVN revision: 68108
2012-02-18 14:26:30 +00:00
Vincent Torri e9f9802c48 Edje: update declaration of alloca
SVN revision: 68107
2012-02-18 14:25:45 +00:00
Vincent Torri a7de07d0ce Embryo: update alloca declaration
SVN revision: 68106
2012-02-18 13:05:34 +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
Carsten Haitzler ad09d3dcb8 shut gcc warning up - pointless but hey - 1 warn less.
SVN revision: 68102
2012-02-18 08:56:00 +00:00
Vincent Torri 189ee16538 missed this file
SVN revision: 68101
2012-02-18 08:33:36 +00:00
Vincent Torri 4060b7d96e Evas: remove WIN32_CPPFLAGS and WIN32_CFLAGS are there are not used anymore. Move some headers in evas_common.h
SVN revision: 68100
2012-02-18 08:33:00 +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
David Walter Seikel 0232c85ea9 Edje Lua: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions.
As per caro's commits.  Not actually tested under Windows, my WiMo phone doesn't quite have what it takes to compile EFL.


SVN revision: 68093
2012-02-17 21:59:10 +00:00
Vincent Torri 937eb5a4a6 Evas: use evil_path_is_absolute()
SVN revision: 68092
2012-02-17 21:35:57 +00:00
Vincent Torri 026f3439ed Eet: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions
SVN revision: 68091
2012-02-17 21:08:15 +00:00
Vincent Torri 2e088e3f1d Eet: formatting
SVN revision: 68090
2012-02-17 21:02:31 +00:00
Vincent Torri 7edbacad08 forgot NEWS file
SVN revision: 68089
2012-02-17 20:55:25 +00:00
Vincent Torri 98dec0971e Evil: forgot the NEWS file
SVN revision: 68088
2012-02-17 20:54:34 +00:00
Vincent Torri b10e9943ce Eina: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions
SVN revision: 68087
2012-02-17 20:53:36 +00:00
Vincent Torri 851c947323 Use gnu_printf attribute to detect wrong usage of printf family functions
SVN revision: 68086
2012-02-17 20:52:15 +00:00
Vincent Torri e52cadb377 move standard header file before private ones
SVN revision: 68085
2012-02-17 20:51:05 +00:00
Vincent Torri b9728980ab * AUTHORS:
* src/lib/Evil.h:
	* src/lib/Makefile.am:
	* src/lib/evil_inet.c:
	* src/lib/evil_mman.c:
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	* src/lib/evil_stdlib.c:
	* src/lib/evil_util.c:
	* src/lib/sys/mman.h:
	* src/lib/evil_printa.c (added):
	* src/lib/evil_pformatw.c (added):
	* src/lib/evil_pformat.h (added):
	* src/lib/evil_printw.c (added):
	* src/lib/evil_print.h (added):
	* src/lib/evil_macro.h (added):
	* src/lib/evil_pformata.c (added):
	Add POSIX printf family. Code taken from the MinGW-w64
	project and modified to be integrated into Evil.
	* src/bin/Makefile.am:
	* src/bin/evil_suite.c:
	* src/bin/evil_test_util.h (added):
	* src/bin/evil_test_print.c (added):
	* src/bin/evil_test_print.h (added):
	* src/bin/evil_test_util.c (added):
	Add util and printf unit tests
	* src/lib/evil_errno.c:
	* src/lib/errno.h (deleted):
	* src/lib/mingw32ce (added):
	* src/lib/mingw32ce/errno.h (added):
	Move errno.h for Windows CE in its own directory to
	suppress conflicts with standard errno.h when compiling
	for Windows XP.
	* src/lib/dlfcn/dlfcn.c:
	* src/lib/evil_link_ce.c:
	* src/lib/evil_main.c:
	* src/lib/evil_unistd.c:
	Define WIN32_LEAN_AND_MEAN only if it's not defined.
	* src/lib/evil_fcntl.c:
	Remove debug.
	* src/bin/evil_test_dlfcn.c:
	* src/bin/evil_test_environment.c:
	* src/bin/evil_test_gettimeofday.c:
	* src/bin/evil_test_link.c:
	* src/bin/evil_test_mkstemp.c:
	* src/bin/evil_test_pipe.c:
	* src/bin/evil_test_realpath.c:
	Remove warnings.
	* src/lib/evil_link_xp.cpp:
	Formatting.



SVN revision: 68084
2012-02-17 20:48:11 +00:00
Jonas M. Gastal 30d73cffd7 Eina value example with user defined type.
SVN revision: 68082
2012-02-17 18:52:58 +00:00
Jonas M. Gastal a42425297c Documented example of eina_value struct usage.
SVN revision: 68072
2012-02-17 13:24:05 +00:00
Jonas M. Gastal 9770ad9675 Documented example for eina_value.
SVN revision: 68071
2012-02-17 13:24:02 +00:00
Cedric BAIL e0e0d4ddc3 eina: fix forgotten initialization of count during eina_list_split_list.
SVN revision: 68067
2012-02-17 11:16:01 +00:00
Leif Middelschulte 2f2f0c1566 Change impl. to follow param name of header.
SVN revision: 68065
2012-02-17 10:52:20 +00:00
Leif Middelschulte e7c134bc58 rename 'size' param of eina_list_sort to 'limit'
SVN revision: 68064
2012-02-17 10:48:49 +00:00
Mike Blumenkrantz 150bc83acf null check
SVN revision: 68039
2012-02-16 21:57:34 +00:00
Gustavo Sverzut Barbieri 88d6b934aa eina_model: new events for load/unload.
Added the events: loaded and unloaded to notify eina_model_load() and
eina_model_unload() were called.

To be more specific, the interfaces used by EINA_MODEL_TYPE_MIXIN
(Eina_Model_Interface_Properties and Eina_Model_Interface_Children)
also do:
 * properties,loaded
 * properties,unloaded
 * children,loaded
 * children,unloaded



SVN revision: 68035
2012-02-16 19:48:13 +00:00
Gustavo Sverzut Barbieri f7787c0e26 3/3 eina_model: fix inheritance test.
HUMAN_POOPER_IFACE must have ANIMAL_POOPER_IFACE as parent interface,
otherwise the order will be incorrect.

The test were also improved in other ways:
 * use ck_assert_int_eq() instead of fail_if()... it prints the incorrect value
 * check refcount
 * unref models
 * shutdown eina



SVN revision: 68034
2012-02-16 19:33:50 +00:00
Gustavo Sverzut Barbieri ca2db67b69 2/3 eina_model: properly eliminate duplicates.
We must check for duplicates otherwise we'll have remaining entries
after topological sort.



SVN revision: 68033
2012-02-16 19:31:56 +00:00
Gustavo Sverzut Barbieri 769d2e2210 1/3 eina_model: lookup interfaces in the correct order.
We should lookup then in forward order, as they are sorted from
most-specific first, with parents at the end.

This breaks test, will fix in the last commit (3/3).



SVN revision: 68032
2012-02-16 19:30:23 +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
Gustavo Lima Chaves c0e58279f5 [Evas] Use the right size for parent smart class on
inheritance.



SVN revision: 68029
2012-02-16 16:27:21 +00:00
Tom Hacohen e9e9d41cf2 Elm model: Updated examples.
Patch by Yakov.

SVN revision: 68027
2012-02-16 12:37:27 +00:00
Jihoon Kim 44464df118 Edje.h: add @since 1.2 in Edje_Input_Panel_Lang, Edje_Input_panel_Return_Key_Type
Thanks to Vincent about spotting it


SVN revision: 67994
2012-02-16 00:40:56 +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
Jonas M. Gastal e4f6736b86 Documentation for all eina model functions.
SVN revision: 67992
2012-02-15 18:44:50 +00:00
Gustavo Sverzut Barbieri b7750c1a5b make tasn happier
SVN revision: 67987
2012-02-15 14:17:16 +00:00
Gustavo Sverzut Barbieri cd15de4af3 review animal as example for other example files.
SVN revision: 67986
2012-02-15 14:08:01 +00:00
Gustavo Sverzut Barbieri c94a7ec770 build example.
SVN revision: 67985
2012-02-15 13:50:43 +00:00
Cedric BAIL 21c957e601 edje: forgot to save the information in the file.
SVN revision: 67984
2012-02-15 13:45:56 +00:00
Jihoon Kim e464a99326 edje/edje_entry:
add edje_object_part_text_input_panel_language_set/get
    edje_object_part_text_input_panel_imdata_set/get
    edje_object_part_text_input_panel_return_key_type_set/get
    edje_object_part_text_input_panel_return_key_disabled_set/get


SVN revision: 67966
2012-02-15 08:21:11 +00:00
Tom Hacohen de808a0fb8 Eina model: Added an advanced inheritance + interface example.
SVN revision: 67965
2012-02-15 08:18:47 +00:00
Jihoon Kim 2f2ac7115e edje/entry: remove const from some edje_object_part_text_..._set APIs
SVN revision: 67962
2012-02-15 06:03:00 +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
Cedric BAIL 13ae7e3ea4 edje: add EDJE_DUMP_PROGRAMS.
SVN revision: 67940
2012-02-14 18:07:44 +00:00
Carsten Haitzler db8dd819a2 hey cedric.. let's not segv shall we?
SVN revision: 67938
2012-02-14 15:03:12 +00:00
Cedric BAIL 70c734ebdd edje: add broadcast_signal: bool.
This make it possible to completly disable signal broadcasting as this
new behaviour broke Edje 1.0 file. It's also now possible to use the
same group in different part in the same parent group without any issue.

I am tempted to backport this patch to 1.1 branch as it would make it
play nicely with file coming from Edje 1.0.

Another issue that this patch fix is that I did increment the minor version
as we really have add a lot of addition since Edje 1.1 and Edje file build
with trunk may not play well anymore on Edje 1.1.


SVN revision: 67936
2012-02-14 14:07:39 +00:00
Tom Hacohen 5d4f7667cb Edje entry: Fix mis-merge in my previous commit.
Spank spank. :)

SVN revision: 67935
2012-02-14 13:54:44 +00:00
Carsten Haitzler 6ead226a93 while looking into the infintie loop issue - update regions can become
a lot in these pathological cases, so limit them to 24 and if > use
bounding box as a single region.



SVN revision: 67917
2012-02-14 11:45:23 +00:00
Tom Hacohen b1bb770688 Eina model: Fix issues with interface inheritance.
The ptr comparison had issues.
Order of interface overrides was wrong.

SVN revision: 67915
2012-02-14 09:48:00 +00:00
Tom Hacohen 478d4c5cce Edje entry: Make keybindings work with non-latin keyboard layouts.
SVN revision: 67902
2012-02-14 08:32:23 +00:00
Jihoon Kim 1e350bd45a add edje_object_part_text_prediction_allow_set/get.
These APIs can be used to set whether prediction feature is allowed or not.


SVN revision: 67889
2012-02-14 02:34:50 +00:00
Gustavo Sverzut Barbieri 75839f61a5 eina_value_stringshare: safer copy, to cope copying user-generated structs.
array, list, struct and others set() now copies the values. These
values can be created by user, in this case string is just a stack
object and not a real eina_stringshare.

To cope with it, add the string instead of referencing it. Bit slower,
but nicer behavior.




SVN revision: 67886
2012-02-13 16:18:47 +00:00
Carsten Haitzler e669719714 make rect_t use int's... no overflow. yay!
SVN revision: 67884
2012-02-13 14:37:41 +00:00
Jihoon Kim e1668198af add edje_object_part_text_imf_context_reset that will use for reseting the input method context
SVN revision: 67881
2012-02-13 11:40:55 +00:00
Hyoyoung Chang 0c74d1c82d From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] evas - preventing retard mouse event
process in evas_object_event_callback_call

I made a small patch to prevent retard mouse event process.
At certain circumstance (like as genlist select callback + naviframe
item push),
some events are repeat processed.

If some evas_objects're iterating in evas_event_feed_mouse_up and
mouse_out event's emitted by other interrupt(such as naviframe item
push),
then some evas_objects events are multiple processed by
evas_object_event_callback_call.

More elaborating it with a example.
There are a genlist and a multibuttonentry on genlist item.
When a user clicks multibuttonentry then evas will process mouse down
and up.
in evas_event_feed_mouse_up, it gets evas object list to process mouse
events.
Then in the evas object list, there are two evas objects - rect and
textblock.
Two objects have its own parents.

the rect has below parents.
----------------------------------------
edje  - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller  (0x2a601788)
rect                                      <== the rect

the textblock has below parents.
----------------------------------------------
edje - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller(0x2a601788)
edje
elm_pan
edje
textblock                           <== the textblock

(note : two evas object have same parent (els_scroller))

So normally mouse up callbacks event propagates to its own parent.
the rect is processed to genlist item. and the textblock is processed
to genlist item.
but when els_scroller is processed, it's blocked by checking event
type and event id checking.

Mouse Up(rect) ->  Mouse Up(textblock)
event_id (3)      ->   event_id (3)

evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type
type, void *event_info, int event_id)
{
   ...
      if ((obj->delete_me) || (!obj->layer)) return;
         if ((obj->last_event == event_id) &&
                (obj->last_event_type == type)) return;
                     <=== blocked
                     
                     However if naviframe item is pushed in the middle
of mouse up processing.
It can break into mouse up. So it's processed like below.

Mouse Up(rect) -> Mouse Out(rect) -> Mouse Out(textblock) -> Mouse
Up(textblock)
event_id (3)      -> event_id(4)         -> event_id(4)
-> event_id(3)
(note Mouse_Out is made by naviframe item push for event freezing)

If that, there's no mechanism to block that repeat processing same
event.
So I suggest this patch.
This patch blocks old events if there's no reason to process.
(It blocks old mouse_up event because mouse_out is processed.)

And I think it also clear the bug in
"[E-devel] event repetition with elm_naviframe/elm_genlist"



SVN revision: 67879
2012-02-13 11:25:23 +00:00
Jihoon Kim 427e4ebce0 scim_immodule: improve maintenability
SVN revision: 67878
2012-02-13 10:55:26 +00:00
Cedric BAIL 1a29f7f309 eio: fix a doc typo.
SVN revision: 67877
2012-02-13 09:06:28 +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 f7ac08317c Add edje_object_part_text_input_panel_show/hide.
These APIs can be used in input panel manual control mode.


SVN revision: 67873
2012-02-13 06:34:47 +00:00
ChunEon Park 839b56769a evas/gl_common - set line color with draw context.
SVN revision: 67870
2012-02-13 05:05:59 +00:00
Jihoon Kim edeccaf614 edje_util.c: remove wrong return
SVN revision: 67868
2012-02-13 04:19:38 +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
Gustavo Sverzut Barbieri c511fece19 improve documentation of eina model and value.
SVN revision: 67851
2012-02-11 18:04:32 +00:00
Gustavo Sverzut Barbieri 4915aeb8db model: add helper for common pattern
SVN revision: 67845
2012-02-11 00:48:42 +00:00
Gustavo Sverzut Barbieri 5c0041f6ad one day I'll be less stupid...
... or one day we'll move to git so I can rewrite stupid commits :-D



SVN revision: 67844
2012-02-11 00:42:00 +00:00
Gustavo Sverzut Barbieri 1fc6b13d10 eina_value: break usage, but makes it more uniform and correct.
I did a bad decision to steal memory for Array, List, Hash and Struct
types, it was nice to not have to copy it internally, but breaks when
one needs to set a new value that was set elsewhere. What did not
happen with string, integers and other basic types.

This was exposed by Raphael Kubo using eina_model_property_set() with
complex types (Array, List and Hash) and it was not possible to
correctly set such properties.

Now it's all set, but the behavior changed and the memory is not
stolen and released anymore. Test eina_test_value.c was changed to
reflect it.



SVN revision: 67843
2012-02-11 00:34:25 +00:00
Gustavo Sverzut Barbieri 3fbce27e8d value: be safer on reset of existing values.
if user get and then set the same value, we should not crash and this
may happen with previous code as the old
string/array/value/list... were released, then you ended with the
released memory still being pointed.



SVN revision: 67841
2012-02-10 22:03:48 +00:00
Gustavo Sverzut Barbieri 6609523415 value: just setup on new memory!
We should not flush and then setup the memory, instead we leave
vset/pset functions do their own stuff to clean previous data, if any.



SVN revision: 67840
2012-02-10 21:43:55 +00:00
Gustavo Sverzut Barbieri edfd15d9ca value: allow multiple flush.
multiple flush may happen when handling errors. May be used in some cases.




SVN revision: 67839
2012-02-10 21:34:28 +00:00
Gustavo Sverzut Barbieri 0d1b66d44e eina_value: fix convert to string on empty/null cases.
SVN revision: 67838
2012-02-10 21:18:59 +00:00
Gustavo Sverzut Barbieri 63cc1bceea fix test leaks
SVN revision: 67836
2012-02-10 20:39:27 +00:00
Gustavo Sverzut Barbieri e8924c7600 eina_value_hash: must free hash value after it's flushed.
SVN revision: 67835
2012-02-10 20:39:07 +00:00
Gustavo Sverzut Barbieri 817d6234b8 fix memleak in test suite.
SVN revision: 67834
2012-02-10 20:38:28 +00:00
Mike Blumenkrantz 252f6a04b3 fix breakage from r67537 with alias inheriting or somesuch
SVN revision: 67833
2012-02-10 20:34:18 +00:00
Jonas M. Gastal 27f0f4cceb Another example for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67832
2012-02-10 17:18:10 +00:00
Cedric BAIL d5cbba52ef edje: told you old man ! broadcasting message to all groups was a bad idea.
This patch try to prevent the broadcasting of targeted message. This should minimize
the problem generated on edje sub GROUP that didn't expect to see that much message
coming to them. It just a minimization of the problem, as message that don't target
explicitly a part are still propagated and can still break your edje usage from 1.0
to 1.1 version.


SVN revision: 67830
2012-02-10 16:49:58 +00:00
Cedric BAIL ef1e91430f eet: add support for statistique.
SVN revision: 67829
2012-02-10 15:30:33 +00:00
ChunEon Park f6db68d6f5 evas/evas_events - do not call the up event when obj is freezed and removed useless codes.
SVN revision: 67828
2012-02-10 13:39:15 +00:00
Rafael Fonseca 53e3f54ba5 Ecore_Evas_Cocoa: fix header include name.
SVN revision: 67825
2012-02-10 13:27:46 +00:00
Gustavo Sverzut Barbieri ef2976ec46 thanks vincent.
I just did that mistake to see if you were paying attention... /me liar! :-)


SVN revision: 67822
2012-02-10 11:03:18 +00:00
Gustavo Sverzut Barbieri 687e59a102 eina_model: add xref/xunref, xrefs_get and models_usage_dump!
Let's try to help debug by allowing extended reference management that
takes in account an identifier. This identifier is accounted on xref
and xunref and must match.

xrefs_get will return the list of such references, for debugging purposes.

eina_models_list_get() was added to return all live models, just
tracked when EINA_MODEL_DEBUG is enabled.

eina_models_usage_dump() was added and use the same infrastructure as
eina_models_list_get() and eina_model_xrefs_get() to aid debugging :-)




SVN revision: 67821
2012-02-10 10:48:39 +00:00
Christopher Michael 5c8833cbbe Ecore: Add ChangeLog entries for new ecore_evas_wayland function.
SVN revision: 67820
2012-02-10 10:37:28 +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
Gustavo Sverzut Barbieri 6d60ece7db add missing shutdown
SVN revision: 67818
2012-02-10 10:34:19 +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
Gustavo Sverzut Barbieri 5150befe04 remove @EINA_CPPFLAGS@ from remaining Makefile.am
Thanks to Tommy[D] for spotting the problem!


SVN revision: 67799
2012-02-09 21:42:50 +00:00
Gustavo Sverzut Barbieri 232fbec9f1 add Jonas to authors.
He worked previously with documentation, now is helping me with
Eina_Model and will keep adding some examples and fixes here and
there.



SVN revision: 67798
2012-02-09 20:26:00 +00:00
Jonas M. Gastal 9f90af4dc7 More documentation for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67797
2012-02-09 19:13:54 +00:00
Gustavo Sverzut Barbieri 0bcae96ccb eina_model: rename all "search" to "criteria_match"
SVN revision: 67796
2012-02-09 16:29:50 +00:00
Gustavo Sverzut Barbieri 013c986c40 eina_model: helper function to setup subclass during runtime.
SVN revision: 67795
2012-02-09 16:20:16 +00:00
Tom Hacohen 0b8df6a240 Eina examples: Formatted model example a bit.
SVN revision: 67791
2012-02-09 12:29:56 +00:00
Tom Hacohen 8a1351b5f0 Evas textblock: Better handle visible formats.
Fixed a crash. Thanks WooHyun for making me fix it now. :)

SVN revision: 67790
2012-02-09 12:21:18 +00:00
Tom Hacohen 29c291ff3b Eina model: Made i_method_resolve a macro (for interface as well)
Same as the previous commit about "Type" this time about Interface.
This will also hopefully remove the likelihood for hacks.
Previous functions are still available as method_offset_resolve.

SVN revision: 67786
2012-02-09 10:32:14 +00:00
Cedric BAIL 87eb14012b eet: add support for GnuTLS 3.x
SVN revision: 67785
2012-02-09 10:30:04 +00:00
Tom Hacohen edbdd6a1ad Evas jpeg loader: Fixed a couple of compilation warnings.
There are a couple more *important* warnings. The switch case at line 564
does not cover all options.

SVN revision: 67784
2012-02-09 10:21:17 +00:00
Christopher Michael 671cda7b73 Ecore_Wl: Add function in header.
SVN revision: 67782
2012-02-09 08:16:45 +00:00