Commit Graph

14568 Commits

Author SHA1 Message Date
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
Carsten Haitzler e93763d785 fix timer precision handling to do what it was meant to do to begin with
SVN revision: 61730
2011-07-26 07:01:55 +00:00
Christopher Michael 72abee3481 Ecore_X: Add a missing function for getting the count of screens.
Bonus: Added doxy and the @since stuffs (for Tom) ;)

NB: Needed for changes to ecore_evas as that was using xlib
ScreenCount. This way we can just use ecore_x_screen_count_get and not
have to worry if we are xcb/xlib/etc.



SVN revision: 61728
2011-07-26 06:44:12 +00:00
Christopher Michael 210b6dcc9b Ecore_X: Oopsie, don't need those dbg statements anymore.
SVN revision: 61725
2011-07-26 05:55:25 +00:00
Christopher Michael 37b122117e Ecore_X: Add start of XResource handling for xcb backend (NB: Nowhere
near finished yet). Add working OpenGL for XCB engine.

NB: wrt Opengl...Raster, this is the env var/dlsym version you
requested this morning ;)

NB: Basically what happens is, if you know you do not ever want/use
opengl, you can export ECORE_X_NO_XLIB env variable, and ecore_x will
use pure xcb to establish it's X connection. However, if you do use
OpenGL and this env var is not exported, then ecore_x(cb) will use
XOpenDisplay to init the connection.



SVN revision: 61724
2011-07-26 05:54:01 +00:00
Christopher Michael 27395e85cf Ecore_X: Remove 2 fixme's that were bogus, but add one new fixme note
SVN revision: 61723
2011-07-26 02:31:13 +00:00
Christopher Michael 4dcd5b1a7e Ecore_X: Remove fixme comment (correct as it sits).
SVN revision: 61722
2011-07-26 02:21:59 +00:00
Leandro Pereira 00e0fe6dbe evas: ecore_evas_buffer_new(bla, *very large number*) would crash on memset
Instead of zeroing out each line of the buffer, zero out the whole buffer "at once".



SVN revision: 61714
2011-07-25 22:42:54 +00:00
Gustavo Lima Chaves 115a89736e [evas] Fixing typos on diagram.
SVN revision: 61701
2011-07-25 18:22:28 +00:00
Christopher Michael 068b3a9c65 Evas: Fix 'variable undeclared': I assume we wanted the xr rectangle
there ? ;)

NB: Fixes building w/ xcb.



SVN revision: 61685
2011-07-25 10:37:43 +00:00
Carsten Haitzler e413884dac fix latent onebuf code (was never used before)
SVN revision: 61684
2011-07-25 10:30:20 +00:00
Christopher Michael 050eed1b32 Evas: Fix autofoo wrt building Opengl w/ xcb.
SVN revision: 61677
2011-07-25 09:30:12 +00:00
Christopher Michael 4b87169132 Ecore_Evas: Use ecore_x function(s) for getting window attributes.
Some fixes for OpenGL wrt xcb (minor stuffs).

NB: We already use ecore_x for some things in here, so let's keep
duplicated code down to a minimum and resuse what we already have ;)



SVN revision: 61676
2011-07-25 09:29:09 +00:00
Cedric BAIL 619332f0c0 emotion: correctly close pipeline on file close, plus minor fix.
SVN revision: 61675
2011-07-25 09:10:44 +00:00
Tom Hacohen c5e396b8ee Evas tests: Added a TODO test.
SVN revision: 61672
2011-07-25 08:37:44 +00:00
Tom Hacohen d6b2473668 Edje docs: Updated the 'tag' part of the Edc reference.
SVN revision: 61671
2011-07-25 08:26:03 +00:00
Naruto TAKAHASHI 75cfb11d6e ecore-imf: Fix warnings
Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>

SVN revision: 61665
2011-07-25 07:16:54 +00:00
Christopher Michael 35fbbc9aab Ecore_X: Fix CnP when using xcb backend.
SVN revision: 61662
2011-07-24 22:19:00 +00:00
Mike Blumenkrantz f28ad30b8d update svn:ignores
SVN revision: 61659
2011-07-24 21:49:49 +00:00