Commit Graph

14536 Commits

Author SHA1 Message Date
Tom Hacohen 19363f446e Evas textblock: Renamed newline_mode_set/get -> legacy_newline_set/get.
SVN revision: 61992
2011-08-02 12:17:01 +00:00
Christopher Michael c63715e01d Evas: Fix typo in Frame_Queuing check for xcb.
SVN revision: 61991
2011-08-02 12:15:33 +00:00
Tom Hacohen ea689302c5 Eina: Moved valgrind check to the libararies check section.
As suggested by vtorri.

SVN revision: 61990
2011-08-02 10:50:13 +00:00
Christopher Michael fde1f6eed6 Ecore_Xcb: Make ecore_xcb_window_shape reflect the xlib version more
(in the hunt to fix engage issue(s))...tho this still does not fix the
issue(s) with engage :/



SVN revision: 61986
2011-08-02 09:07:52 +00:00
Carsten Haitzler d952534aa4 chlog++
SVN revision: 61985
2011-08-02 07:23:58 +00:00
Carsten Haitzler 8af403fcff fix edje_shutdown being calle3d before all edje object are deleted -
keep edje internal data around until all refs to edje are gone from
objects, then shtudown the core.



SVN revision: 61984
2011-08-02 07:23:05 +00:00
Carsten Haitzler 29864666c9 that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.



SVN revision: 61974
2011-08-02 04:13:33 +00:00
Christopher Michael e339ae020a Ecore_Xcb: Allow ecore_xcb to support unstable/development version(s) of xcb.
(based on patch from Boris Faure)

NB: This is untested/unsupported code. Ymmv, but using/compiling
ecore_x with versions of xcb > 0.3.6 is not supported yet (until such
time that standard distros support 0.3.8 out of the box).



SVN revision: 61971
2011-08-02 01:32:10 +00:00
Mike Blumenkrantz 39e04f7f4c try something new for battery/ac detection. this may break some stuff, so ping me if your battery gadget stops working...
SVN revision: 61967
2011-08-01 20:30:29 +00:00
Gustavo Lima Chaves d55a77bae9 [edje] Documentation for the following:
- edje_object_message_handler_set
 - edje_object_message_send
 - edje_object_signal_callback_add
 - edje_object_signal_callback_del_full
 - edje_object_signal_emit



SVN revision: 61966
2011-08-01 20:15:23 +00:00
Gustavo Lima Chaves 67111bacac Edje: edje table documentation.
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 61965
2011-08-01 20:04:17 +00:00
Jonas M. Gastal c509e668d4 Edje: fix edje swallow doc.
SVN revision: 61964
2011-08-01 19:49:28 +00:00
Jonas M. Gastal b646554b61 Edje: edje text parts documentation.
SVN revision: 61963
2011-08-01 19:49:18 +00:00
Jonas M. Gastal 4133f5dc74 Edje: fixing link to examples.
SVN revision: 61962
2011-08-01 19:49:06 +00:00
Cedric BAIL 770e7fe863 eina: forgotten since.
SVN revision: 61957
2011-08-01 14:59:51 +00:00
Cedric BAIL abffaa922d evas: wipe out cache in the right order.
SVN revision: 61956
2011-08-01 14:56:26 +00:00
Tom Hacohen d0b2f5b414 Evas font: removed _FcPattern decleration.
No idea who put it there, but it definitely doesn't belong here.

SVN revision: 61954
2011-08-01 14:49:40 +00:00
Cedric BAIL 6e011beb8d emotion: forgotten file.
SVN revision: 61950
2011-08-01 12:42:16 +00:00
Cedric BAIL ecadef9ee9 emotion: use new ecore infrastructure and remove some race condition.
SVN revision: 61949
2011-08-01 12:21:14 +00:00
Cedric BAIL d0e8b833a9 ecore: merge call to main loop together to reduce number of main loop wakeup.
SVN revision: 61947
2011-08-01 12:16:39 +00:00
Tom Hacohen 9145913cdc Evas textblock: Use the set language with liblinebreak if known.
SVN revision: 61945
2011-08-01 10:45:42 +00:00
Tom Hacohen 2661895aec Evas textblock: Fixed a bug with <i> identified as <item>.
SVN revision: 61944
2011-08-01 09:11:46 +00:00
Tom Hacohen 4ec907df55 Evas font: Renamed FONT_REND_ITALIC/BOLD -> FONT_REND_SLANT/WEIGHT.
This change is needed for future support of multiple level of runtime
weight creation.

SVN revision: 61943
2011-08-01 09:11:42 +00:00
Tom Hacohen 473a719455 Evas textblock: Added "lang" to markup to set the language.
SVN revision: 61942
2011-08-01 08:21:15 +00:00
Tom Hacohen f3e76c661d Evas font: added support for ':lang=' and fixed a possibly mem leak.
SVN revision: 61941
2011-08-01 08:21:12 +00:00
Tom Hacohen bd556d9c14 Evas textblock+font: Fixed the font fallbacks support.
SVN revision: 61940
2011-08-01 08:21:09 +00:00
Tom Hacohen 316393df91 Evas textblock: Fixed cond jump depends on uninit value.
SVN revision: 61939
2011-08-01 08:21:05 +00:00
Tom Hacohen d3cbb5e584 Evas textblock: Fixed if to be else if in format handling.
SVN revision: 61938
2011-08-01 08:21:02 +00:00
Tom Hacohen b3995dfc6c Evas textblock: Added font_width to markup.
SVN revision: 61937
2011-08-01 08:20:59 +00:00
Tom Hacohen 9ba3e192a5 Evas font+textblock: Stopped using FcNameParse, parse ourselves.
FcNameParse is pretty bad, not only that it's pretty bad, it doesn't
work well in some cases. Also this makes our lives a lot easier since
we want to allow overriding style/weight/width and etc from markup.
We now parse the "font" markup ourselves, populating a font description
structure that we created, and then override values in it as needed.

SVN revision: 61936
2011-08-01 08:20:52 +00:00
Carsten Haitzler 7239b6894f thanks jiyoun... for finding this... silly me... spank spank me.
SVN revision: 61935
2011-08-01 07:34:05 +00:00
Daniel Juyung Seo f926eb9285 edje edje_cc_handlers.c: Fixed documentation.
SVN revision: 61932
2011-08-01 05:06:49 +00:00
Rui Seabra 78bf5cd2c8 Fix build (and rpmbuild) of evas now it installs some examples.
SVN revision: 61927
2011-07-31 15:08:05 +00:00
Tom Hacohen 93e4267051 Evas textblock: Fixed a memory leak.
Thanks to discomfitor for the report.

SVN revision: 61925
2011-07-31 08:09:02 +00:00
Boris Faure aa67649153 ecore: update .gitignore
SVN revision: 61921
2011-07-30 19:41:43 +00:00
Mike Blumenkrantz dcc3d630e0 make eet_alias docs more clear :/
SVN revision: 61920
2011-07-30 06:36:27 +00:00
Mike Blumenkrantz 0279df6fc1 remove trailing whitespace
SVN revision: 61916
2011-07-30 01:40:49 +00:00
Mike Blumenkrantz 80a1aea7b0 +eet_alias_get, related, docs, some spelling corrections
SVN revision: 61915
2011-07-30 01:31:40 +00:00
Carsten Haitzler 7542b592c0 SOMEONE.... changed the evas jpeg loader to use a membuf src... like
eina_file.... and that SOMEONE didnt check to see if libjpeg always
calls the term func... lkike when decoding headers... when it DOESNT.
force the term func to be called whenever destroying the compress
anyway (and if its already done it'll savely just return and not free
anything)



SVN revision: 61914
2011-07-30 01:13:29 +00:00
Vincent Torri f9dc75a538 From: Vincent Torri <vtorri@univ-evry.fr>
To: enlightenment-devel@lists.sourceforge.net
Subject: Re: [E-devel] E SVN: discomfitor trunk/eet/src/lib
Date: Sat, 30 Jul 2011 00:54:04 +0200 (CEST)

On Fri, 29 Jul 2011, Enlightenment SVN wrote:

> Log:
> I blame this one on raster  

funny to make a spelling mistake in a sentence where the word 
'dictionnary' is used :)

Vincent

HOW RIGHT YOU ARE!


SVN revision: 61912
2011-07-29 23:07:54 +00:00
Mike Blumenkrantz be17bbd121 I blame this one on raster
SVN revision: 61911
2011-07-29 22:17:16 +00:00
Jonas M. Gastal 3c3bfa84bf Evas: evas_object_table documentation.
SVN revision: 61906
2011-07-29 17:08:25 +00:00
Jonas M. Gastal 2ac91736c2 Edje: edje swallow documentation.
SVN revision: 61905
2011-07-29 16:47:06 +00:00
Gustavo Lima Chaves 800d331e61 Damn.
SVN revision: 61904
2011-07-29 16:45:49 +00:00
Gustavo Lima Chaves dec8c8dcdb [edje] First commented example, along with infra to build it.
SVN revision: 61903
2011-07-29 16:31:05 +00:00
Gustavo Lima Chaves 6bfd3ddd87 [edje] Documentation bumps on the following:
- edje_init
     - edje_shutdown
     - edje_object_add
     - edje_object_file_get
     - edje_object_file_set
     - edje_object_load_error_get
     - edje_load_error_str
     - edje_object_data_get
     - edje_object_part_exists
     - edje_object_part_geometry_get
     - edje_object_part_object_get
     - edje_object_size_max_get
     - edje_object_size_min_calc
     - edje_object_size_min_get
     - edje_object_size_min_restricted_calc
     - edje_object_parts_extends_calc
     - edje_object_scale_get
     - edje_object_scale_set
     - edje_scale_get
     - edje_scale_set



SVN revision: 61902
2011-07-29 16:30:12 +00:00
Cedric BAIL 811b050ee8 eina: better implementation.
SVN revision: 61900
2011-07-29 15:37:39 +00:00
Cedric BAIL 236b7fca74 ecore: now you don't need to care if you are in the main loop or not when you call ecore_main_loop_thread_safe_call.
SVN revision: 61897
2011-07-29 14:59:43 +00:00
Cedric BAIL 2b574523d2 eina: add eina_main_loop_is.
SVN revision: 61896
2011-07-29 14:56:42 +00:00
Christopher Michael b3469dd413 Evas: Remove rectangle free's (no, it's not a leak) ;)
Add missing Asyn Push code (tho it's disabled anyway). 
Use shmget like xlib did and create with 0777 permissions.
Add a Sync call if try_shm == 2.
Add checks for frame_queuing & low libext version safety.




SVN revision: 61895
2011-07-29 14:41:18 +00:00
Jihoon Kim c49d6b9916 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] check NULL parameter in edje entry

This simple patch is for checking NULL parameter in the callback
functions
related to input method framework.
I think it is necessary for safety.



SVN revision: 61890
2011-07-29 11:48:56 +00:00
ChunEon Park e9ec7403d4 evas_object_smart - just removed no useful MAGIC_CHECK
SVN revision: 61889
2011-07-29 11:44:03 +00:00
Carsten Haitzler 9821e8449b make jihoons start on on-the-spot editing work. :)
SVN revision: 61887
2011-07-29 10:50:59 +00:00
Cedric BAIL ecf52189ca emotion: don't use pipeline if not set.
SVN revision: 61886
2011-07-29 09:24:14 +00:00
ChunEon Park f1554b0ba3 evas/evas_object_smart - trivial changes
1/0 -> EINA_TRUE/EINA_FALSE

identation



SVN revision: 61884
2011-07-29 06:49:25 +00:00
ChunEon Park 928d31db1f evas/evas_smart - 1/0w -> EINA_TRUE/FALSE
SVN revision: 61881
2011-07-29 06:25:13 +00:00
Carsten Haitzler 89de7b2e3d chlog++
SVN revision: 61880
2011-07-29 06:22:31 +00:00
Carsten Haitzler 48cb97bcec more error handling improvements
SVN revision: 61879
2011-07-29 06:21:43 +00:00
Carsten Haitzler bf5829a614 make sure we complain enough on stderr about enignes not being found
by ecore-evas. improved error handling, though not really a bug.



SVN revision: 61878
2011-07-29 06:20:55 +00:00
Jihoon Kim c99293d0e4 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] notify immodule to know the cursor location

In immodule, the cursor location is needed to move the word candidate window.
In this patch, calling ecore_imf_context_cursor_location_set lets immodule
know the cursor location.

Also fixed patch conflicts and 1 warning related to IMF.



SVN revision: 61877
2011-07-29 05:56:09 +00:00
WooHyun Jung a9538d59bd ecore : From. Jihoon Kim. In XIM immodule, it doesn't generate preedit
changed event in preedit_draw_callback func at this moment.
This patch will solve this problem.


SVN revision: 61876
2011-07-29 05:37:31 +00:00
Tom Hacohen 3432644acd Evas textblock: Changed 'heavy' weight to 'black'.
Apparently that's what FC likes.

SVN revision: 61859
2011-07-28 14:32:40 +00:00
Tom Hacohen 1350644a8b Evas font: Enabled run-time slanting for 'Oblique'.
SVN revision: 61858
2011-07-28 14:01:35 +00:00
Cedric BAIL b4338b1c7f ecore: add ecore_main_loop_thread_safe_call.
NOTE: that's for you mike.


SVN revision: 61857
2011-07-28 13:33:14 +00:00
Tom Hacohen 0d7d7d8f06 Evas textblock: Fixed a bug with font_weight and font_style.
Forgot to add a space when I add a new style when there wasn't one before.

SVN revision: 61855
2011-07-28 12:59:36 +00:00
Tom Hacohen 43618428b4 Evas textblock: Added font_weight and font_style formats.
These allow overriding the font style defined using "font=':style=Bold'".

SVN revision: 61854
2011-07-28 12:43:41 +00:00
Mike McCormack 5c8256e337 ecore: Add main loop thread safety
Thread safety is disabled by default.
Enable it with --enable-thread-safety

Should cover timers, events, animators, idlers and fd handlers.

Tested with Enlightenment and elementary_test.

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

SVN revision: 61851
2011-07-28 12:01:16 +00:00
Mike McCormack f46934e94f ecore-imf: Don't crash if no XIM is present
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61850
2011-07-28 12:01:04 +00:00
Tom Hacohen e611c58b37 Evas: Updated changelog.
SVN revision: 61844
2011-07-28 09:18:59 +00:00
Tom Hacohen 5fd7c82d5f Evas textblock: Format tags now support quoting values.
For example: "<font='Sans:style=Bold Oblique'>bla</font>".

SVN revision: 61843
2011-07-28 09:18:55 +00:00
Tom Hacohen bb87f260a6 Evas textblock: Removed useless alloca.
SVN revision: 61842
2011-07-28 09:18:50 +00:00
Carsten Haitzler 00047ce6c6 fix cleaning up tmpf (new feature in 1.1 anyway) for memfile load in
some other situations like setting image data/colorspace etc.



SVN revision: 61836
2011-07-28 05:28:32 +00:00
Tom Hacohen d0d6d5494b Evas textblock: Fixed a bug with format invalidation.
With the following example text: "aa<b>a <i>bbb</i> ccc", adding a </b>
at the end wouldn't cause an invalidation to happen as expected.

SVN revision: 61805
2011-07-27 11:27:25 +00:00
Christopher Michael ca78a5dc81 Ecore: Add back in x11-xcb pkgconfig check. Needs for 11.04 apparently.
SVN revision: 61804
2011-07-27 11:13:58 +00:00
Tom Hacohen 0b7030a964 Evas textblock: Fix format_append's format parsing.
It took the pre-translated (tags) format which caused some things not to
work correctly when using tags.

SVN revision: 61798
2011-07-27 08:27:04 +00:00
Christopher Michael 3ffddafeed Ecore: Fix configure.ac for dumb systems that cannot find pixman
without being explicitly told where it is.



SVN revision: 61797
2011-07-27 07:40:55 +00:00
Christopher Michael a71c7d1f68 Ecore_X: For some very odd reason, certain *buntu systems will not
build our ecore_xcb without having pixman_clags & libs as separate
variables here...works on every other system I've tried, but eh it's
*buntu .. their stupid :P



SVN revision: 61796
2011-07-27 07:40:19 +00:00
Christopher Michael c3730e9748 Ecore_X: Remove recent xcb resource code (we're going to go a
different path with this) ;) Reorder init/shutdown procedures to match
order (first in, last out).



SVN revision: 61788
2011-07-27 05:10:28 +00:00
Mike McCormack 6f8f583abf ecore: Reduce rendering latency in g_main_loop
After a lot of hair pulling, and other debugging, it appears
that to make animation smooth on an embedded device, the
following things should happen in (quick) sequence:

1. update the loop time
2. call timers (which animates and updates the scene graph)
3. call idle enterers (which renders to the display)
4. call fd buf handlers (which flushes xlib stuff)

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

SVN revision: 61784
2011-07-27 03:13:47 +00:00
Mike McCormack 1fe297b463 ecore: Check timers when not idling also
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61782
2011-07-27 02:34:53 +00:00
Mike Blumenkrantz f614bbaad7 __UNUSED__
SVN revision: 61778
2011-07-26 21:20:30 +00:00
Mike Blumenkrantz 39dce75051 use correct list find function sigh
SVN revision: 61777
2011-07-26 21:19:08 +00:00
Mike Blumenkrantz 4170c601f3 only attempt an mtab lock if permissions are sufficient
SVN revision: 61774
2011-07-26 20:36:42 +00:00
Mike Blumenkrantz e4e0c27836 fix const warning
SVN revision: 61773
2011-07-26 20:36:40 +00:00
Christopher Michael 8a63b0c909 Ecore_X: Xlib uses screen number, not screen object. Fix !! Bad DH,
spank spank ;)

Thanks antognolli for the report :)



SVN revision: 61760
2011-07-26 13:17:52 +00:00
Tom Hacohen d8ac3178b7 Evas textblock: Updated docs.
SVN revision: 61759
2011-07-26 12:48:54 +00:00
Jihoon Kim 94cf5e7829 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: Re: [E-devel] [Patch] Add XIM module for ecore_imf

Patch to set the right window ID for IMF access from Edje



SVN revision: 61756
2011-07-26 12:04:27 +00:00
Naruto TAKAHASHI c8383a2b87 From: Naruto TAKAHASHI <tnaruto@gmail.com>
Subject: Re: [E-devel] [Patch] Add XIM module for ecore_imf

I attach a patch for fixing some XIM module bugs.

  - fix showing previous preedit string bug.
  - delete compile warning(thanks JihoonKim)
  -  fix some sequence issue to send preedit changed event and commit
  event.(thanks JihoonKim)



SVN revision: 61754
2011-07-26 11:57:51 +00:00
Tom Hacohen ab6366a310 Evas tests: Added numerous tests for latest bug fixes.
SVN revision: 61753
2011-07-26 11:47:58 +00:00
Tom Hacohen 666988aa4c Evas textblock: Fixed a bug with item visibility check.
SVN revision: 61752
2011-07-26 11:47:55 +00:00
Tom Hacohen fd0bc3b2b1 Evas textblock: Fixed invalidate_text_nodes to work with <b><i></b></i>
SVN revision: 61751
2011-07-26 11:47:51 +00:00
Tom Hacohen d042763162 Evas textblock: Fixed remove_pair and remove_matching.
They now work with <b><i></b></i> mixes.

SVN revision: 61750
2011-07-26 11:47:48 +00:00
Tom Hacohen 97285894c8 Evas tests: Fixed textblock tests (formats).
SVN revision: 61749
2011-07-26 11:47:44 +00:00
Tom Hacohen 5b15fc2d2a Evas textblock: Use orig_format instead of _style_match_replace.
It's more correct as you won't get unwanted translations you would have
in some cases, or even worse, breaking markup get when you have synonymous
tags.

SVN revision: 61748
2011-07-26 11:47:41 +00:00
Carsten Haitzler 3e1c856d90 segv if preedit str null!
SVN revision: 61747
2011-07-26 11:47:40 +00:00
Tom Hacohen 681e4bfa8c Evas textblock: Fixed _format_append to parse tags + incomplete stuff.
Added the first step to allow <b> </b> exact matching when handling formats.
I.e making "<b>a<i>b</b>c</i>d" behave like expected.

SVN revision: 61746
2011-07-26 11:47:19 +00:00
Christopher Michael ab5e8633df Ecore_Evas: Remove xlib (and xcb) specific calls for the software_x11
and opengl_x11 engines and replace with ecore_x calls.

NB: I did not touch software_16 or software_8 so we cannot yet remove
the XLib linking wrt ecore_evas. I leave that exercise to 'the old
man' as per our convo this morning...but this does put us one step
closer ;)



SVN revision: 61743
2011-07-26 11:24:10 +00:00
Christopher Michael f694f08de5 Ecore_X: Add some new api functions for getting default
Depth/Visual/Colormap of a given screen.

NB: Added these so that we can remove xlib specific calls in
ecore_evas and just generic ecore_x calls (so we are engine
independant).



SVN revision: 61742
2011-07-26 11:19:55 +00:00
Daniel Juyung Seo fb6ca14911 edje Edje.h: Fixed documentation.
Fixed wrong placed documentations. Removed some blank lines and added
@brief tag. Many @brief tags are still missing.


SVN revision: 61737
2011-07-26 10:09:16 +00:00
Mike Blumenkrantz ee754de955 fixes a weird bug exposed somewhere by giant tooltips resulting in the following crash:
#0  0xb7e92786 in evas_cache_image_flush (cache=0x0) at evas_cache_image.c:1353
#1  0xb7e9192e in evas_cache_image_drop (im=0xb6aa4d38) at evas_cache_image.c:913
#2  0xb7ee3d8b in eng_image_free (data=0xb6a020c0, image=0xb6aa4d38) at evas_engine.c:383
#3  0xb7e4b8e6 in evas_object_image_free (obj=0xb7517178) at evas_object_image.c:2478
#4  0xb7e4f403 in evas_object_free (obj=0xb7517178, clean_layer=0) at evas_object_main.c:45
#5  0xb7e41c95 in evas_layer_free_objects (lay=0xb6a5d8b0) at evas_layer.c:80
#6  0xb7e42656 in evas_free (e=0xb6a98cd8) at evas_main.c:204
#7  0xb7f27ad3 in _ecore_evas_free (ee=0xb6ab18e8) at ecore_evas.c:2822
#8  0xb7f24161 in ecore_evas_free (ee=0xb6ab18e8) at ecore_evas.c:839
#9  0xb7df2f7f in _deferred_ecore_evas_free (data=0xb6ab18e8) at elm_win.c:477
#10 0x4b0fd858 in _ecore_job_event_handler (data=0x0, type=14, ev=0xb6a99c58) at ecore_job.c:131
#11 0x4b0f907e in _ecore_event_call () at ecore_events.c:693
#12 0x4b0ff93e in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:1750
#13 0x4b0fe195 in ecore_main_loop_begin () at ecore_main.c:848



SVN revision: 61736
2011-07-26 10:03:07 +00:00