Carsten Haitzler
23df774e8d
all vert shaders always highp on gles.
...
SVN revision: 64004
2011-10-12 02:54:06 +00:00
Carsten Haitzler
b531487495
some nasty hackery to get affine transform mapping to be "pixel
...
perfect" with 90 degree rotations. i really should have actually
special cased them, for for now i made the generic routine try and punt
out the right numbers.
SVN revision: 63986
2011-10-11 12:32:21 +00:00
Carsten Haitzler
2cf202ff51
disable buggy sse3 routine! test showed it in ello.
...
SVN revision: 63985
2011-10-11 11:51:54 +00:00
Carsten Haitzler
f83bdbc136
fix off-by-one update region calc in map.
...
SVN revision: 63984
2011-10-11 11:30:37 +00:00
Carsten Haitzler
914a08e206
use lround() for map coord rounding to avoid silly things like
...
15.999999999999999998 rounding down to 15... whihc leads to
sometimes... odd off-by-1 expected results.
SVN revision: 63978
2011-10-11 06:06:11 +00:00
Carsten Haitzler
0bfb70e48e
oops - typo.
...
SVN revision: 63967
2011-10-11 01:51:49 +00:00
Carsten Haitzler
7597814df2
adapt to SEC direct texture access changes for the last time.
...
SVN revision: 63959
2011-10-10 10:08:29 +00:00
ChunEon Park
af25636ab8
evas/evas_events - trivial changes
...
SVN revision: 63953
2011-10-10 08:52:08 +00:00
Vincent Torri
06a765d5a1
Evas: big mistake in efl_attribute.m4. My bad
...
SVN revision: 63935
2011-10-09 19:28:40 +00:00
Vincent Torri
50cfcfc323
Evas: Add GL_EET_CFLAGS tp CPPFLAGS so that Eet.h is found. Patch by JGMiller, fix ticket #874
...
SVN revision: 63922
2011-10-08 07:16:36 +00:00
Carsten Haitzler
2f674f7059
be quiet about the EEK.
...
SVN revision: 63921
2011-10-08 05:33:47 +00:00
Carsten Haitzler
6fd17b839d
Commit Neil's patch reported here:
...
http://trac.enlightenment.org/e/ticket/880
SVN revision: 63920
2011-10-08 04:58:57 +00:00
Carsten Haitzler
4e4e7a03a4
fix cedric's nv12 shader! it worked by luck only. tex_y -> tex_c in
...
vert shdr
SVN revision: 63918
2011-10-08 03:04:16 +00:00
Carsten Haitzler
7c7f8803f5
try and make newgl work again... fail! why does glx hate me?
...
SVN revision: 63885
2011-10-06 15:05:32 +00:00
Carsten Haitzler
837165ed8a
no no.. oops. i missed an error!
...
SVN revision: 63883
2011-10-06 13:46:06 +00:00
Carsten Haitzler
bdbfbbd2d3
newgl work.. now.. why?
...
SVN revision: 63882
2011-10-06 13:45:14 +00:00
Carsten Haitzler
82b843d222
only use highp *IF* compiler supports it.
...
SVN revision: 63880
2011-10-06 13:25:18 +00:00
Mike McCormack
e5c1e7cc4f
evas: remove extra CR
...
SVN revision: 63867
2011-10-06 02:23:57 +00:00
Jim Kukunas
5d45544329
[PATCH] evas: fix typo in LOOP_ALIGNED_U1_A48_SSE3
...
The old version works because in every function in which
this macro is used ``l'' is the length and ``d'' is the
destination. This patch prevents future headaches when
those constraints no longer hold.
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63856
2011-10-05 23:41:01 +00:00
Cedric BAIL
a33eccf6e2
evas: fix shader for nv12.
...
SVN revision: 63835
2011-10-05 10:16:25 +00:00
Carsten Haitzler
27431cacdd
oh and compile script missing updates to make shd's... grrr. and nv12
...
shader bad!
SVN revision: 63832
2011-10-05 09:52:08 +00:00
WooHyun Jung
fb371c8aa6
evas/evas_object_textblock : When cursor_mode is BEFORE, dir_cur->node
...
can be NULL. So modified the conditional state.
SVN revision: 63824
2011-10-05 07:29:06 +00:00
Carsten Haitzler
4ddeed5933
all shaders -> use high precision not medium to avoid rounding errors.
...
SVN revision: 63804
2011-10-04 11:21:22 +00:00
Cedric BAIL
8edb994133
evas: cleanup and reorder video function call to be more usable.
...
SVN revision: 63799
2011-10-04 09:34:01 +00:00
Cedric BAIL
7b33abd685
evas: forgotten commit with since.
...
SVN revision: 63798
2011-10-04 09:33:40 +00:00
EunMi Lee
c6681aa189
From: EunMi Lee <eunmi15.lee@samsung.com>
...
Subject: [E-devel] [Patch] Evas touch event patch.
Nice to meet you.
I'm Eunmi Lee, developing mobile web browser and working on WebKit EFL port.
I need new type of event for touch, so I've made patch to add
EVAS_CALLBACK_TOUCH event to the evas.
I will explain history of this patch.
Currently, many web applications and sites use TouchEvent and they can
do everything(scrolling, zooming and so on) like native application
using TouchEvent.
So, I'm also want to provide TouchEvent for web in the WebKit EFL port,
but I got a problem during making TouchEvent because EFL's touch
event's structure (Mouse, Multi Event) is different from Web
TouchEvent's one.
Let me explain about Web TouchEvent firstly.
Web TouchEvent is consist of type and touch points list simply.
There are 3 kinds of type.
TouchStart: Happens every time a finger is placed on the screen.
TouchEnd: Happens every time a finger is removed from the screen.
TouchMove: Happens as a finger already placed on the screen is moved
across the screen.
for example, we can make (1 finger starts to touch), (2 fingers are
moving), (1 finger is released duirng 3 fingers are moving) and so on.
You can see the detailed information in the following url:
http://www.sitepen.com/blog/2008/07/10/touching-and-gesturing-on-the-iphone
However, EFL's touch event is consist of six kinds of type :
MOUSE_DOWN, MOUSE_UP, MOUSE_MOVE, MULTI_DOWN, MULTI_UP, MULTI_MOVE.
So, I have to make a converter to make web touch event from EFL's
touch event.
You can reference attatched image file : evas_touch_event.png.
To tell the truth, converting code is not a big one.
But, I want to reduce this additional job and make code simple.
In the WebKit QT port, they don't have to make converting code for
TouchEvent,
because they have QTouchEvent, it has type and touchPoints list and
they can be mapped to Web TouchEvent one by one.
I think iPhone and Android also have such kind of event.
That's all why I want to add new touch event type to the evas.
about my patch:
- EVAS_CALLBACK_TOUCH event is added
- touch_points Eina_List is added to the Evas structure to maintain
current touch lists.
- process MOUSE/MULTI UP, DOWN, MOVE to make TOUCH event.
It is my first time to modify eves codes and actually I don't know too
much about evas.
So, I will be grateful if you send any feedback and comments.
SVN revision: 63796
2011-10-04 07:30:22 +00:00
Carsten Haitzler
157224ffef
jiyoun bug! you didnt fix the hkey string properly.. you set the last
...
2 chars to o? where ? is "undefined". you set the same string char to
/ then o. fix!
SVN revision: 63785
2011-10-04 01:41:45 +00:00
Carsten Haitzler
620d2573f3
so... gcc was optimizing the test out... that sucks! fix. make sure gcc
...
doesnt know what to do with optimizing and actually compiles the code!
SVN revision: 63775
2011-10-03 16:29:12 +00:00
ChunEon Park
69fc731318
evas/configure.ac - fixed typo.
...
SVN revision: 63764
2011-10-03 05:06:11 +00:00
Carsten Haitzler
2aed2cf20a
isolate sse3 to only its own file, so it only uses -msse3 for that
...
SVN revision: 63762
2011-10-03 04:44:23 +00:00
Cedric BAIL
d724205a6e
evas: add basic support for video support.
...
SVN revision: 63758
2011-10-03 03:28:52 +00:00
Carsten Haitzler
182a9f9eed
ok. sse3 OFF for 32bit builds. as we cant guarantee the compiler and
...
arch does sse3. the wasy sse3 is done makes this stupidly ugly. so too
bad for 32bit builds - no sse3 for u unless u specifically enable at
build time and then u have a binary that never runs on pre-sse3 chips.
SVN revision: 63745
2011-10-02 11:29:03 +00:00
Carsten Haitzler
c31b6a9dcd
NO - SSE3... add -msse3.... NO! NEVER!
...
SVN revision: 63744
2011-10-02 10:57:26 +00:00
Carsten Haitzler
de8b0a1137
formatting - space++
...
SVN revision: 63743
2011-10-02 10:43:17 +00:00
Carsten Haitzler
f054f04d08
bad cedric! broke gl engine!
...
SVN revision: 63729
2011-09-30 16:18:41 +00:00
Cedric BAIL
0d03abde6b
evas: remove warning.
...
SVN revision: 63728
2011-09-30 15:54:26 +00:00
Cedric BAIL
cc71e34616
evas: zero swizzeling code for Samsung platform.
...
SVN revision: 63727
2011-09-30 15:51:32 +00:00
Cedric BAIL
308cf81312
evas: correctly handle direct mapping of data for non RGBA case.
...
SVN revision: 63726
2011-09-30 15:43:51 +00:00
Josef Reidinger
37b04168d6
evas: fix make dist
...
Patch by: Josef Reidinger <jreidinger@suse.cz>
SVN revision: 63723
2011-09-30 13:33:40 +00:00
Jiyoun Park
c231bf108b
From: Jiyoun Park <jy0703.park@samsung.com>
...
Subject: [E-devel] [Patch] support Animation gif's disposal mode
I make patch support animation gif disposal mode.
Before, gif loader only decode & render based on previous frame.
This patch can support "do not dispose mode" & "restore background
mode".
So It solve after image problem of restore background mode.
SVN revision: 63716
2011-09-30 07:10:40 +00:00
Mike Blumenkrantz
5d4c95d975
fix ambiguous docs and add notes about premultiplied coloring books
...
SVN revision: 63715
2011-09-30 06:05:33 +00:00
Carsten Haitzler
cbb0dcbb3d
include config.h - it isnt included.. otherwise we'd have had redefine
...
warnings....
SVN revision: 63714
2011-09-30 06:04:53 +00:00
Vincent Torri
6c59cdc4f4
fix warning
...
SVN revision: 63710
2011-09-30 04:14:30 +00:00
Vincent Torri
993fa90cb3
unneeded checks
...
SVN revision: 63708
2011-09-30 04:04:28 +00:00
Vincent Torri
0861f8edff
add Jim Kukunas as authors
...
SVN revision: 63707
2011-09-30 03:50:30 +00:00
Carsten Haitzler
34ca6b6738
you know.... i was reviewing this patch this morning and i found
...
several problems with it... but SOMEONE... (lucas) committed it
without even so much as replying to the list saying he was going to...
:)
SVN revision: 63705
2011-09-30 03:29:03 +00:00
Jim Kukunas
24c56344eb
evas: enable SSE3 blend functions
...
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63704
2011-09-30 02:37:12 +00:00
Jim Kukunas
a058ae7a5e
evas: add SSE3 _op_blend_pixel_mask blend functions
...
_op_blend_p_mas_dp_sse3
_op_blend_pas_mas_dp_sse3
_op_blend_rel_p_mas_dp_sse3
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63703
2011-09-30 02:37:02 +00:00
Jim Kukunas
e7f1e55f81
evas: add SSE3 op_blend_pixel_color blend functions
...
_op_blend_p_c_dp_sse3
_op_blend_pan_c_dp_sse3
_op_blend_p_can_dp_sse3
_op_blend_pan_can_dp_sse3
_op_blend_p_caa_dp_sse3
_op_blend_pan_caa_dp_sse3
_op_blend_rel_p_c_dp_sse3
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63702
2011-09-30 02:36:51 +00:00
Jim Kukunas
a374dd7b35
evas: add SSE3 op_blend_pixel blend functions
...
_op_blend_p_dp_sse3
_op_blend_pas_dp_sse3
_op_blend_rel_p_dp_sse3
_op_blend_rel_pan_dp_sse3
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63701
2011-09-30 02:36:30 +00:00
Jim Kukunas
21991884f4
evas: add SSE3 op_blend_mask_color blend functions
...
_op_blend_mas_c_dp_sse3
_op_blend_mas_can_dp_sse3
_op_blend_rel_mas_c_dp_sse3
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63700
2011-09-30 02:36:15 +00:00
Jim Kukunas
793c7d1031
evas: add SSE3 op_blend_color blend functions
...
_op_blend_c_dp_sse3
_op_blend_rel_c_dp_sse3
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63699
2011-09-30 02:36:01 +00:00
Jim Kukunas
937a5a91f1
evas: add common SSE3 blending functions/macro
...
mul_256_sse3
sub4_alpha_sse3
interp4_256_sse3
mul_sym_sse3
mul4_sym_sse3
mul3_sym_sse3
LOOP_ALIGNED_U1_A48_SSE3
__attribute__((always_inline)) is needed to coax GCC (< 4.6.0)
into inlining the common blend ops. Not inlining these functions
causes a steep performance penalty.
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63698
2011-09-30 02:35:45 +00:00
Jim Kukunas
eec4b913ea
evas: add SSE3 support
...
Readme entry
configure --[enable/disable]-cpu-sse3
processor capability test
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>
SVN revision: 63697
2011-09-30 02:35:31 +00:00
Michael BOUCHAUD
7b2355eff1
evas: fix make dist
...
SVN revision: 63669
2011-09-29 15:13:27 +00:00
Cedric BAIL
b70d6a0556
evas: oops forgot that.
...
SVN revision: 63664
2011-09-29 09:48:13 +00:00
Cedric BAIL
442589f4ca
evas: handle exif rotation information directly inside evas jpeg loader.
...
Patch by Jiyoun Park <jy0703.park@samsung.com>
SVN revision: 63659
2011-09-29 09:02:30 +00:00
Vincent Torri
51781d7985
use another m4 macro for __atribute__
...
add check of gcc vector extension, requested by cedric
SVN revision: 63652
2011-09-29 06:26:03 +00:00
Daniel Juyung Seo
3adea31a4a
evas Evas.h: Fixed typo.
...
SVN revision: 63640
2011-09-28 09:14:40 +00:00
Carsten Haitzler
7be30a23bf
and another commit in an attempt to fix mouse grabs + event callbacks
...
to be consistent
SVN revision: 63607
2011-09-26 02:45:06 +00:00
Carsten Haitzler
0088ea3d8b
new attempt to fix the hidden object event thing without breaking
...
dnd... this makes for consistent behavior. :)
SVN revision: 63599
2011-09-25 04:43:02 +00:00
Carsten Haitzler
64940b1bf4
oops - and dont need to sub the rgabbed count - i missed that it was
...
already done above. no bug there. move on.
SVN revision: 63586
2011-09-24 07:46:37 +00:00
Carsten Haitzler
0df0084dba
as suspected... this breaks drag and drop! :( revert.
...
SVN revision: 63577
2011-09-24 04:01:36 +00:00
Carsten Haitzler
222644dc67
try this for fixing grab count when callbacks play with further events
...
in the in list copy (like moving, resizing, hiding etc. them).
SVN revision: 63554
2011-09-23 06:37:03 +00:00
Carsten Haitzler
f3899ddecb
fix grab event counter miss.
...
SVN revision: 63553
2011-09-23 06:19:20 +00:00
ChunEon Park
b653b18526
evas_object_smart - trivial changes.
...
SVN revision: 63514
2011-09-21 10:56:23 +00:00
ChunEon Park
ad59819a7d
evas/evas_events - just removed white spaces.
...
SVN revision: 63511
2011-09-21 10:35:03 +00:00
Tom Hacohen
7b374f1dd3
Evas textblock: Fixed an issue when deleting A from <a><a>A</a></a>.
...
Reported by WooHyun. Thanks a lot, great catch, also told me where and what
the issue is exactly.
Also added a test to verify this works.
SVN revision: 63493
2011-09-20 08:05:50 +00:00
Carsten Haitzler
913a41adbe
actually no - wrong pixman... remove if.
...
SVN revision: 63487
2011-09-20 05:45:00 +00:00
Carsten Haitzler
bc988911e8
software xcb cvant build without pixman... fix autofoo
...
SVN revision: 63486
2011-09-20 05:28:20 +00:00
Cedric BAIL
3171f01b00
evas: remove a fixme by making the engine list dynamic.
...
SVN revision: 63481
2011-09-19 14:20:18 +00:00
Carsten Haitzler
823fa1b566
make fonts obey the same cutout rules as images.
...
SVN revision: 63478
2011-09-19 10:48:33 +00:00
Carsten Haitzler
9522d5b359
warning--
...
SVN revision: 63477
2011-09-19 10:48:11 +00:00
Tom Hacohen
0de47ae436
Evas textblock: Replace the rbtree index with a fixed ptr array.
...
This possibly doesn't scale as good but it's good enough for everything I've
tried. It's a lot easier to maintain comparing to the rbtree, and takes a
lot less memory. Next step is probably changing the array size according
to the actual content of the textblock.
SVN revision: 63474
2011-09-19 09:17:17 +00:00
Tom Hacohen
52302f9664
Evas font: Adjust yet again to the new harfbuzz API.
...
SVN revision: 63473
2011-09-19 09:17:08 +00:00
Youness Alaoui
2d413eae60
Evas: Remove lazy ifdef WIN32 and check for siglongjmp and sigaction availability
...
SVN revision: 63463
2011-09-18 21:57:17 +00:00
Daniel Juyung Seo
61b786c4e8
evas evas_name.c: Fixed indentation.
...
SVN revision: 63369
2011-09-14 04:41:12 +00:00
Christopher Michael
1a1248b689
Evas: Add simple .Xdefaults files parsing to get DPI.
...
NB: Xcb has no support (yet) for dealing with xrdb (Xresource
database), so add a simple parser to read an .Xdefaults file and get
things like xft.dpi.
SVN revision: 63297
2011-09-08 21:49:45 +00:00
Gustavo Lima Chaves
8224761b1e
[evas] This seems to be the least fontconfig's compatible
...
version with our (current) code.
SVN revision: 63293
2011-09-08 18:37:29 +00:00
Youness Alaoui
4f96340279
Evas: If not threading, then LKT should not return 0, otherwise it will think it's a stuck lock
...
SVN revision: 63270
2011-09-07 18:00:57 +00:00
Tom Hacohen
c0b309e43e
Evas textblock: Added a workaround for the coords_recalc not being called.
...
Please, when you fix this annoying issue, revert this terrible commit. This
commit is intended to be a temporary fix.
SVN revision: 63267
2011-09-07 10:41:44 +00:00
Youness Alaoui
ada2b9e072
Evas: Small fixes to clean software-sdl and software-16-sdl engines
...
Comparing software-sdl and software-16-sdl showed many small differences
this makes both engines' code much more alike.
The software-16-sdl was especially buggy, hopefully, this should make
it just as stable as the software-sdl engine.
SVN revision: 63248
2011-09-07 06:53:35 +00:00
Youness Alaoui
efea89b471
Evas: Allow independent static compilation of software_16_sdl engine
...
SVN revision: 63247
2011-09-07 06:53:28 +00:00
Cedric BAIL
120306f05f
evas: add YUV double buffering for OpenGL backend.
...
SVN revision: 63225
2011-09-06 07:56:47 +00:00
Cedric BAIL
ce8904076d
evas: fix alignment issue.
...
SVN revision: 63202
2011-09-05 15:21:23 +00:00
Cedric BAIL
35da5ff856
evas: use a tricky NULL texture.
...
Note: this help the driver to know that we don't it
to swizzle back the pixel from GPU format, because we
are going to replace all pixels.
SVN revision: 63201
2011-09-05 14:58:18 +00:00
Tom Hacohen
9182147b5f
Evas font: Fixed compilation with g++.
...
Patch by cnook
SVN revision: 63196
2011-09-05 12:48:02 +00:00
Tom Hacohen
fe8c41c6c5
Evas textblock: Use viewport for getting visible range, not clip.
...
SVN revision: 63191
2011-09-05 12:03:53 +00:00
Tom Hacohen
8f07a73106
Evas textblock: Fixed an issue when there are no available fonts.
...
The problem was that our rbtree implementation doesn't support chaining
duplicates and with no fonts, all the paragraphs had the same y coord (0).
Changing the paragraph index to work on line_no for sorting fixes it,
as line numbers are also correct when there are no fonts.
Thanks a lot to KaKaRoTo for letting me know about this issue.
SVN revision: 63188
2011-09-05 09:04:43 +00:00
Carsten Haitzler
325dbc04ae
fix COPYING to say 2011.
...
SVN revision: 63187
2011-09-05 07:15:41 +00:00
Tom Hacohen
54ebd93cde
Evas font: Fix compilation with C++ compilers.
...
Thanks to cnook for pointing that out.
SVN revision: 63186
2011-09-05 07:13:23 +00:00
Tom Hacohen
c4229776de
Evas textblock: Fixed compiler warnings.
...
SVN revision: 63185
2011-09-05 07:13:07 +00:00
Cedric BAIL
2654b654e7
evas: fix tarball generation.
...
SVN revision: 63179
2011-09-04 23:19:41 +00:00
Cedric BAIL
20300dfedc
evas: and now MT12 gain Open GL support.
...
SVN revision: 63174
2011-09-04 21:15:04 +00:00
Cedric BAIL
d88567f49f
evas: make MT12 a little bit faster so we can see Bunny a little more longer.
...
SVN revision: 63157
2011-09-04 16:26:47 +00:00
Cedric BAIL
f6f2eb77f7
evas: forgotten patch for enabling colorspace properly.
...
SVN revision: 63152
2011-09-04 14:31:24 +00:00
Cedric BAIL
54373b9fbe
evas: fix mt12 to se squirrel and bunny.
...
SVN revision: 63151
2011-09-04 14:30:41 +00:00
Carsten Haitzler
27ebb83c4e
put generic loaders in libdir/evas/utils/
...
SVN revision: 63103
2011-09-03 03:48:39 +00:00
Rafael Antognolli
92b98ad145
evas/canvas - Update the pointer to engine_data after pixels_get().
...
The "pixels" pointer was set in the beginning of evas_object_image_render(),
and never updated, even after pixels_get() changed the content of
o->engine_data.
This patch updates that pointer if it becomes different from engine_data.
SVN revision: 63090
2011-09-02 14:06:25 +00:00
Rui Seabra
d7a9d539a1
Rename xcb-devel to libxcb-devel. According to KainX, on IRC, «Caos is dead and no one has been maintaining SuSE compatibility anyway».
...
SVN revision: 63074
2011-09-01 21:54:42 +00:00
Rui Seabra
639bded43a
Fix build breakage.
...
SVN revision: 63070
2011-09-01 21:39:43 +00:00
Vincent Torri
7fec95cb58
add Youness Alaoui
...
SVN revision: 63017
2011-08-31 08:49:15 +00:00
Cedric BAIL
ea61ff9379
evas: SPANK ! SPANK ! SPANK ! Tasn you forgot some engine !
...
Patch by Youness Alaoui <kakaroto@kakaroto.homelinux.net>.
SVN revision: 63013
2011-08-30 23:03:07 +00:00
Carsten Haitzler
6694437c15
lets up the max recalc count a bit now that things re-schedule
...
themselves more.
SVN revision: 62994
2011-08-30 15:33:46 +00:00
Tom Hacohen
c2964c42cb
Evas font: Adjust to harfbuzz's latest and hopefully last API break.
...
SVN revision: 62989
2011-08-30 14:38:48 +00:00
Carsten Haitzler
8833075666
lets do that again. recalc list instead of recalc array. why? fixes
...
nasty ordering issues where recalc items dont get pushed later into
the recalc queue after the things they depend on.
SVN revision: 62977
2011-08-29 23:45:24 +00:00
Cedric BAIL
5a4163f5f2
evas: use simpler format as much as possible.
...
SVN revision: 62975
2011-08-29 21:52:00 +00:00
Cedric BAIL
26ee52dd61
evas: add NV12 and MT12 colorspace.
...
MT12 is has documented in Linux videodev documentation
a 64 * 32 macro block tiled colorspace format used on
Samsung hardware.
SVN revision: 62967
2011-08-29 20:56:48 +00:00
Vincent Torri
93ded6d380
revert rev. 62944
...
SVN revision: 62963
2011-08-29 19:05:03 +00:00
Carsten Haitzler
e7c63bd333
i've found a subtle issue with how we queue recalcs of smart objs. if
...
an obj is already queued we dont push it FURTHEr down the queue if
smart recalc is enabled. now at least we keep order of operation/calc
correctly!
SVN revision: 62944
2011-08-29 12:14:55 +00:00
Carsten Haitzler
f8c2a95c1a
ok- we'll be nice and 0 your w & h - also x, y, w, h did this too.
...
SVN revision: 62942
2011-08-29 11:49:31 +00:00
Carsten Haitzler
9987945719
dont need ti check priv - macro did it anyway
...
SVN revision: 62941
2011-08-29 11:39:43 +00:00
Carsten Haitzler
3c456311b3
add a call to get the number of smart caluclation counts. very useful
...
for one evil situation in elementary factory.
SVN revision: 62856
2011-08-26 12:26:45 +00:00
Tom Hacohen
9f23c221d6
Evas callbacks: Do the same change daniel did to smart callbacks.
...
Spank Spank for not applying it here as well.
SVN revision: 62798
2011-08-25 10:06:12 +00:00
Daniel Juyung Seo
733ac6e274
evas evas_object_smart.c: Reverted smart callback calling sequence.
...
Now, smart callback is prepended among the same priorities. After the
discussion with hermet and raster.
I fixed this because I think it's better keeping the default behavior
even we have new priority option. This is for evas backward
compatibility and for the world peace. Although I know there is no
official policy and it's not recommended to rely on the smart callback
calling sequence in application, I really hope evas needs to have
compatibility. Otherwise we need to adopt the new policy in next
version of evas.
SVN revision: 62792
2011-08-25 09:18:39 +00:00
Cedric BAIL
a4601bb4b7
evas: refactorise code.
...
SVN revision: 62788
2011-08-25 08:28:34 +00:00
Sung W. Park
f3d21a04d0
From: "Sung W. Park" <sungwoo@gmail.com>
...
Subject: [E-devel] [Review] [Patch] Evas_GL bug fixes/updates
I've fixed some minor issues that I've been pushing off for later.
The patch does the following:
1. Evas_GL and Evas had an issue where the viewport parameters were
being reset in the wrong context. Previously, this issue was temporarily
patched by flushing evas' pipeline and setting
evas_gl_common_context_use(NULL) in EvasGL's
make current. I know, it was pretty hacky. It turns out that in
evas_engine,
there was a code evas_gl_common_context_resize(NULL) without doing
eng_window_use() first. So i've added that part and problem went was
resolved properly. :-)
2. Naturally, I've taken out the temporary patch from 1.
3. I've added code that took care of glBindFramebuffer(..., fbo) where
the
fbo had to be saved and restored in case the user wanted to use his
own fbo.
Also, I've had to take care of the case when fbo is 0 since 0 need to
point
to evas_gl surface.
4. I've updated make_current a little as well.
SVN revision: 62780
2011-08-25 06:30:52 +00:00
ChunEon Park
c3676cdabd
Evas - updated AUTHORS
...
SVN revision: 62779
2011-08-25 06:14:43 +00:00
Carsten Haitzler
5cc90f00d9
oh my bad! i broke desktop gl compilation! bad bad bad me. spank! fix.
...
SVN revision: 62777
2011-08-25 05:17:43 +00:00
Jiyoun Park
4b59fd460e
From: Jiyoun Park <jy0703.park@samsung.com>
...
Subject: [E-devel] [Patch] evas gl engine's texture creation
Hello.
1. _pool_tex_dynamic_new function, it didnt set pt to NULL when secsym_eglCreateImage function failed.
In this case, it returns wrong pt pointer and it has possibility to make crash.
So I add free pt code and return NULL code into _pool_tex_dynamic_new function.
2. I modified eng_image_data_get of gl engine.
If Evas_GL_Image's texture creation failed and evas_gl_image's cache image was droped,
Im->im can be NULL. So I add check code.
Example: evas_gl_common_image_content_hint_set
1) EVAS_IMAGE_CONTENT_HINT_DYNAMIC , it drop cache image
2) if evas_gl_common_texture_dynamic_new failed
3) then, im->im =NULL, im->tex=NULL
In this situation, if application call's evas_object_image_data_get function,
It make crash in evas_cache_image_load_data function.
3. I think function's related with evas_object's engine data have to be return NULL if it failed.
If function's returns null, evas object code can handle error more easily.
But evas object's code was implemented differently each case. Does my suggestion right?
I add engine data null check code to evas_object_image based on upper consumtion.
If it is wrong , the patch code related with evas object image have to be removed.
If it is right , I will survey other evas object type also.
SVN revision: 62775
2011-08-25 04:48:45 +00:00
Cedric BAIL
cea7b9dddb
evas: refactorize OpenGL engine.
...
SVN revision: 62752
2011-08-24 16:20:15 +00:00
Cedric BAIL
ca93d80a3c
evas: update ChangeLog.
...
SVN revision: 62723
2011-08-23 16:08:00 +00:00
Cedric BAIL
efcceff953
evas: fix evas_object_image_data_convert.
...
SVN revision: 62722
2011-08-23 16:06:41 +00:00
Cedric BAIL
7ae4bd0f31
evas: add YUY2 shader to GL engine.
...
TODO: add NV12 and NV12T to evas.
SVN revision: 62721
2011-08-23 15:13:40 +00:00
Jiyoun Park
9cce5f3959
From: Jiyoun Park <jy0703.park@samsung.com>
...
Sometimes, gif loader can miss some previous frame.
In that case, display can be dirty.
If frame N loaded without N-1 make these problem.
I fixed this problem.
And I modified wrong document.
SVN revision: 62712
2011-08-23 06:08:02 +00:00
Tom Hacohen
f6724cc23b
Evas font: Did some style fixes, we don't like tabs.
...
SVN revision: 62695
2011-08-22 14:45:23 +00:00
Tom Hacohen
54fd7dc69f
Evas font: Fixed font cache.
...
Apparently someone (probably me) broke it a while ago, now it works.
SVN revision: 62694
2011-08-22 14:45:19 +00:00
Tom Hacohen
4cba183f96
Evas font: Revert "evas/font - removed an unusefull handling."
...
This reverts commit 62684.
This is needed to verify we don't access info->ot when info is NULL.
SVN revision: 62691
2011-08-22 11:51:18 +00:00
ChunEon Park
3184b6e863
evas/font - removed an unusefull handling.
...
Thank you TAsn.
SVN revision: 62684
2011-08-22 09:39:13 +00:00
Tom Hacohen
15a3582483
Evas font: Revert last 2 commits by Hermet (62659, 62675).
...
SPANK SPANK, they broke compilation. Please use the builtin revert
functions when you revert commits. Either:
GIT: 'git revert <commit hash>' (yeah, git is better).
or
SVN: 'svn merge -c <revision> .'
This will prevent this kind of erros from happenning in the future.
Also, plesae compile before committing.
SVN revision: 62678
2011-08-22 08:23:04 +00:00
ChunEon Park
3bd87ec51a
evas/evas_font - revert exceptin handlings
...
requested by TAsn
I do understand. :p
then, it seems no need to set the _ot_itr = NULL in EVAS_FONT_WALK_TEXT_START.
SVN revision: 62675
2011-08-22 03:34:43 +00:00
ChunEon Park
1bed664303
evas/evas_font - added exeption handlings.
...
SVN revision: 62659
2011-08-21 12:47:11 +00:00
Carsten Haitzler
0f2636921b
warning--
...
SVN revision: 62647
2011-08-21 07:46:57 +00:00
Christopher Michael
f7d1b738e6
Evas: Check for the presence of shm extension (in
...
evas_software_xcb_can_do_shm) first before trying to make calls to the
shm extension.
SVN revision: 62638
2011-08-20 22:15:44 +00:00
Carsten Haitzler
6895455001
and clear out proxy region first.
...
SVN revision: 62632
2011-08-20 14:43:04 +00:00
Carsten Haitzler
db56e7b36f
fix proxy rendering!!!! ugh. i dont like the way i did it.. but its
...
quick and does the job.
SVN revision: 62631
2011-08-20 14:40:28 +00:00
Christopher Michael
0fb55da5bc
Evas: Iterating the pixmap formats from xcb_setup can be expensive,
...
so cache the found format for reuse so we don't have to keep iterating.
SVN revision: 62626
2011-08-20 10:59:53 +00:00
Christopher Michael
641c9c4ee8
Evas: Fix compiler warning wrt comparison of signed & unsigned.
...
Remove unused function.
SVN revision: 62625
2011-08-20 10:26:41 +00:00
Christopher Michael
6c477d5a0f
Evas: When doing eng_output_free, even if there is no Render_Engine,
...
we still want to shutdown common_font & common_image anyway.
SVN revision: 62624
2011-08-20 10:19:17 +00:00
Christopher Michael
897011100f
Evas: No need to 'find format for depth' everytime, just use the
...
buffer depth. Fix typo in error message. Add a missing
cache_image_drop call. When doing mask_set, use the proper variable
for the _create_gc function.
SVN revision: 62603
2011-08-19 22:53:04 +00:00
Carsten Haitzler
5f365281fd
fix buffer over/underflow errors with jpeg mmap load. ugh. mmap adds
...
pains to loading.
SVN revision: 62584
2011-08-19 06:58:33 +00:00
Cedric BAIL
283e9642b5
evas: fix tarball generation.
...
SVN revision: 62569
2011-08-18 15:05:57 +00:00
Sebastian Dransfeld
402ff0f918
evas: Add missing return declaration
...
SVN revision: 62553
2011-08-18 07:35:02 +00:00
Tom Hacohen
7a281f0745
Evas font: Disabled word/metric caching due to bugs.
...
SVN revision: 62547
2011-08-18 07:21:44 +00:00
Tom Hacohen
5f16c0ba14
Evas font: Fixed a compiler warning.
...
SVN revision: 62537
2011-08-17 15:42:07 +00:00
Tom Hacohen
6858025fce
Evas font: Workaround an issue with metric cache.
...
SVN revision: 62536
2011-08-17 15:42:01 +00:00
Tom Hacohen
ef8476152d
Evas callbacks: Added priority to evas callbacks.
...
This includes evas_event, evas_object_event and evas_object_smart
callbacks.
See the added docs for more info.
SVN revision: 62533
2011-08-17 11:55:29 +00:00
Tom Hacohen
7addaa1eb4
Evas text: Set the object's size according to the advance, not width.
...
SVN revision: 62494
2011-08-16 07:16:06 +00:00
우승수
f34ac1e24a
From: 우승수 <om101.woo@samsung.com>
...
Subject: [E-devel] [Patch] Map/Unmap image for zero-copy texture
this modifies the zero copy texture feature to map and unmap on get and put
data to allow the put to "flush gpu caches".
SVN revision: 62493
2011-08-16 07:06:36 +00:00
Christopher Michael
76acd92058
Evas: Fix formatting.
...
SVN revision: 62489
2011-08-15 20:17:18 +00:00
Tom Hacohen
efd0123622
Evas tests: Fixed the cursor_content_get to comply to the bugfix.
...
Previous test checked the existing but broken behaviour, now it checks the
correct behaviour.
SVN revision: 62440
2011-08-14 11:26:50 +00:00
Tom Hacohen
73036290d6
Evas textblock: Fixed cursor_content_get's handling of formats.
...
Formats are now correctly enclosed with <> when returned, instead of just
the text being returned.
SVN revision: 62439
2011-08-14 11:26:45 +00:00
Daniel Juyung Seo
22459ef0ea
evas: Fixed 'unsed variables' warnings.
...
SVN revision: 62388
2011-08-12 15:01:12 +00:00
Daniel Juyung Seo
3277e6b5e0
evas: Fixed indentations with arbitrary files.
...
SVN revision: 62370
2011-08-12 03:50:57 +00:00
Carsten Haitzler
69e27edbe5
how about you actuallyl fix the code correctly rather than break it?
...
SVN revision: 62369
2011-08-12 02:34:34 +00:00
Daniel Juyung Seo
fbf38b63ed
evas evas_common.h: Fixed spacing and removed trailing whitespaces.
...
SVN revision: 62367
2011-08-12 01:52:29 +00:00
Mike Blumenkrantz
25a6b8c980
COMMITS: DO THEM PROPERLY!!!!1111
...
SVN revision: 62366
2011-08-11 23:18:34 +00:00
Mike Blumenkrantz
8e5ee9e2f5
COMPILE WARNINGS: FIX THEM!!!!!!11111
...
SVN revision: 62361
2011-08-11 21:35:17 +00:00
ChunEon Park
9a6b7aab4b
evas - just removed white spaces.
...
SVN revision: 62354
2011-08-11 14:14:48 +00:00
Carsten Haitzler
cc7d5115c3
frame count nto frame num - match c file.
...
SVN revision: 62339
2011-08-11 10:30:35 +00:00
Carsten Haitzler
75940a8398
improve jy's docs. :)
...
SVN revision: 62335
2011-08-11 08:56:59 +00:00
Tom Hacohen
d6752c9e1b
Evas textblock: Fixed bug in range_formats get.
...
Thanks to Sanjeev for the rebort.
SVN revision: 62333
2011-08-11 06:58:53 +00:00
Jiyoun Park
dae46003e7
From: Jiyoun Park <jy0703.park@samsung.com>
...
Subject: RE: [E-devel] [Patch] Animation gif feature patch
Animated gif suport in evas and api's to handle animated images and
frame flipping. from jy.
SVN revision: 62331
2011-08-11 06:04:08 +00:00
Mike Blumenkrantz
2d55002bfd
update some docs for Evas_Event_Mouse_Down even though none of this stuff is worthwhile anyway since dependency structs aren't documented
...
SVN revision: 62283
2011-08-10 04:54:35 +00:00
Gustavo Lima Chaves
0d8a62ff14
[evas] Filling some gaps on documentation.
...
SVN revision: 62266
2011-08-09 20:56:22 +00:00
Tom Hacohen
e5b331009b
Evas textblock: Added cursor_visible_range_get and cursor_range_formats_get.
...
SVN revision: 62259
2011-08-09 13:55:42 +00:00
Tom Hacohen
202623daed
Evas textblock: Fixed a bug in evas_textblock_cursor_char_coord_set.
...
SVN revision: 62258
2011-08-09 13:55:38 +00:00
Tom Hacohen
f765f1e290
Evas textblock: Fixed a bug in evas_textblock_cursor_line_coord_set.
...
SVN revision: 62257
2011-08-09 13:55:31 +00:00
Cedric BAIL
1dc2512897
efl: remove mman as we Eina_File now.
...
Patch from Vincent Torri.
SVN revision: 62244
2011-08-09 09:19:25 +00:00
Carsten Haitzler
f78d33c9cf
fix typos in docs
...
SVN revision: 62225
2011-08-09 06:30:09 +00:00
Carsten Haitzler
58dd545f7f
remove logo.
...
SVN revision: 62224
2011-08-09 06:09:50 +00:00
Tom Hacohen
c416b7c843
Evas font: font_load use the correct string.
...
Thanks vtorri for the catch.
SVN revision: 62207
2011-08-08 14:47:35 +00:00
Carsten Haitzler
d0429906c2
strndup--!
...
SVN revision: 62206
2011-08-08 14:40:33 +00:00
Cedric BAIL
eedfe2e790
evas: fix static build of software xlib and xcb engine.
...
SVN revision: 62194
2011-08-08 08:06:38 +00:00
Gustavo Sverzut Barbieri
eb7b739320
evas (cedric asked): argh, fix stupid bugs with configure.ac
...
PLEASE, IF YOU DON'T KNOW THE REASONS ASK BEFORE COMMITTING :-)
SVN revision: 62186
2011-08-07 16:47:09 +00:00
Tom Hacohen
d9ef546967
Evas textblock: Updated docs.
...
SVN revision: 62175
2011-08-07 08:31:01 +00:00
Tom Hacohen
10117973c4
Evas textblock: Fixed compiler warning.
...
SVN revision: 62174
2011-08-07 08:30:46 +00:00
Christopher Michael
f7359f74c9
Evas: Make evas xcb engine match xlib engine almost exactly.
...
NB: Next is to fine-tooth the ecore code.
SVN revision: 62167
2011-08-06 03:32:27 +00:00
Iván Briano
d799212fa0
Box example uses eina, so link to it
...
SVN revision: 62143
2011-08-05 16:23:34 +00:00
Carsten Haitzler
c7bb701ca5
make the internal options key much shorter - faster matches.
...
SVN revision: 62131
2011-08-05 11:54:13 +00:00
Jonas M. Gastal
8468681d22
Evas: adding blank line before images so doxygen won't mess
...
up pdf layout.
SVN revision: 62111
2011-08-04 21:28:32 +00:00
Gustavo Lima Chaves
8a9004d01f
[evas] Examples on box object.
...
SVN revision: 62102
2011-08-04 20:19:45 +00:00
Gustavo Lima Chaves
26867b85e8
[evas] Documentation bump on the box smart object.
...
Example on it comes next.
SVN revision: 62101
2011-08-04 20:19:36 +00:00
Cedric BAIL
28f32ca0c5
evas: fix typo.
...
SVN revision: 62090
2011-08-04 10:03:36 +00:00
Tom Hacohen
575db1275d
Evas textblock: Add const to parameter as we don't change it.
...
This does not break API/ABI.
SVN revision: 62080
2011-08-04 06:15:46 +00:00
Jonas M. Gastal
647ea9efc2
Evas: removing author list from main page.
...
SVN revision: 62069
2011-08-03 20:59:06 +00:00
Iván Briano
10f69d202d
Kill those pesky defines from the docs, they make everything look ugly.
...
SVN revision: 62063
2011-08-03 18:08:32 +00:00
Daniel Juyung Seo
9666912d97
evas Evas.h: Fixed typo.
...
SVN revision: 62041
2011-08-03 06:31:53 +00:00
Tom Hacohen
943b22bcf7
Evas textblock: Fixed range_text_get with TEXT_PLAIN.
...
Until now, it only supported MARKUP, now it also supports plain.
Haven't tested it much, but it seems to be working. It can help a lot to
people who want to analyse the text, for example when implementing a spell
checker, or "search", as now the text maps exactly like the cursors map.
Still have to decide if that's the wanted API and set it in stone, or not
promise this and expose a different API for these kind of tasks.
SVN revision: 62011
2011-08-02 16:28:37 +00:00
Tom Hacohen
c71c706853
Evas textblock: Added intro to formats to docs.
...
SVN revision: 61996
2011-08-02 13:22:35 +00:00
Tom Hacohen
7a36d84957
Evas textblock: Fixed mistake in docs.
...
SVN revision: 61994
2011-08-02 12:30:25 +00:00
Tom Hacohen
4f82ddea77
Evas textblock: Fixed format_append/prepend.
...
It should only treat format passed as a tag if it was passed with <>.
Otherwise, it should be treated as a regular format.
SVN revision: 61993
2011-08-02 12:17:09 +00:00
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
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
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
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
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
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
Jonas M. Gastal
3c3bfa84bf
Evas: evas_object_table documentation.
...
SVN revision: 61906
2011-07-29 17:08:25 +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
ChunEon Park
e9ec7403d4
evas_object_smart - just removed no useful MAGIC_CHECK
...
SVN revision: 61889
2011-07-29 11:44:03 +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
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
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
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
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
Tom Hacohen
d8ac3178b7
Evas textblock: Updated docs.
...
SVN revision: 61759
2011-07-26 12:48:54 +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
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
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
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
Tom Hacohen
c5e396b8ee
Evas tests: Added a TODO test.
...
SVN revision: 61672
2011-07-25 08:37:44 +00:00
Tom Hacohen
123e491079
Evas tests: Adedd a textblock test for the last bug fix.
...
SVN revision: 61639
2011-07-24 08:50:46 +00:00
Tom Hacohen
53fc933312
Evas textblock: Fixed updating of formats position on char_delete.
...
Format offsets got wrong when merging paragraphs.
SVN revision: 61638
2011-07-24 08:50:42 +00:00
Iván Briano
46969fd34a
Group docs so textblock, line and polygon at least show their functions
...
SVN revision: 61590
2011-07-22 14:01:56 +00:00
ChunEon Park
614288feb3
evas/evas_object_image.c - reverted to previous
...
Sorry. Need to look more because of the pageflip.
SVN revision: 61579
2011-07-22 06:08:04 +00:00
ChunEon Park
e9ca4aa10e
evas/evas_object_image - modified to keep the uv consistency with normal evas_object.
...
Although the uv range of normal object is be localized to the it's geometry,
but the uv range of the image object is be localized it's image size but not geometry size.
In that case, user should find out the objects type and set the uv value differently between normal and image
why they do that?
SVN revision: 61577
2011-07-22 05:24:16 +00:00
Tom Hacohen
6515a30cc9
Evas tests: Enabled the textblock relsize item native size test.
...
SVN revision: 61561
2011-07-21 14:04:55 +00:00
Tom Hacohen
5aba518db0
Evas textblock: Fixed native size calculation with relative items.
...
SVN revision: 61560
2011-07-21 14:04:52 +00:00
Tom Hacohen
6299cbd685
Evas textblock: Fixed some more line height calculations.
...
Some issues were related to SIZE_REL items and some were not.
SVN revision: 61559
2011-07-21 14:04:48 +00:00
Tom Hacohen
c870d8e7ad
Evas tests: Added textblock test for the last bugfix.
...
SVN revision: 61558
2011-07-21 13:00:28 +00:00
Tom Hacohen
083095a903
Evas textblock: Fixed relative items size calculation.
...
Now they are calculated according to real line height, and not just line
height before this point. Furthermore, this also fixes some issues with
wrapping not being correct.
SVN revision: 61557
2011-07-21 12:53:39 +00:00
Cedric BAIL
5cbc6350ba
evas: add software YUY2 colorspace converter.
...
NOTE: will shortly learn how to write the corresponding shader and add it soon.
SVN revision: 61548
2011-07-21 10:36:05 +00:00
Gustavo Lima Chaves
0b7d33e3df
[evas] More love to a given example's text.
...
SVN revision: 61536
2011-07-20 17:58:56 +00:00
Tom Hacohen
859c4bd33d
Evas tests: Added a textblock test to verify the two last fixes.
...
SVN revision: 61531
2011-07-20 15:45:25 +00:00
Tom Hacohen
055f9996ec
Evas textblock: Fixed removing of format pairs in a rare case (range).
...
Until now, removing the <ps> when <b><ps></b> would have left the
<b></b> intact instead of removing them when using a range delete.
SVN revision: 61530
2011-07-20 15:45:21 +00:00
Tom Hacohen
412b203b46
Evas textblock: Fixed removing of format pairs in a rare case.
...
Until now, removing the <ps> when <b><ps></b> would have left the <b></b>
intact instead of removing them.
SVN revision: 61529
2011-07-20 15:45:12 +00:00
Tom Hacohen
92c22656d8
Evas tests: Added a textblock test to verify last fix.
...
SVN revision: 61528
2011-07-20 14:13:36 +00:00
Tom Hacohen
bdbc3b8398
Evas textblock: Fixed handling.
...
It now translates to a real nbsp, and not just a space.
SVN revision: 61527
2011-07-20 14:13:33 +00:00
Tom Hacohen
315d354354
Evas tests: Adedd more textblock visible formats tests.
...
SVN revision: 61524
2011-07-20 12:37:08 +00:00
Cedric BAIL
42bda9f02c
evas: fix bug when array was reallocated during walk.
...
SVN revision: 61523
2011-07-20 11:22:01 +00:00
Cedric BAIL
f13f92ce15
evas: forgotten header.
...
SVN revision: 61522
2011-07-20 09:23:47 +00:00
Cedric BAIL
e263bca092
evas: forgotten revert.
...
SVN revision: 61521
2011-07-20 09:20:53 +00:00
Cedric BAIL
e18334a778
evas: better patch for preventing infinite loop.
...
SVN revision: 61520
2011-07-20 09:14:41 +00:00
Tom Hacohen
9f7d3f8af8
Evas tests: Added a test to verify last textblock bugfix.
...
SVN revision: 61505
2011-07-19 15:14:40 +00:00
Tom Hacohen
6eb5cdc681
Evas textblock: Fixed a bug when the last paragraph is empty.
...
SVN revision: 61504
2011-07-19 14:32:54 +00:00
Tom Hacohen
540592a0df
Evas tests: Added another textblock format removal test.
...
SVN revision: 61503
2011-07-19 13:43:20 +00:00
Tom Hacohen
a66ec744e9
Evas tests: Added some format removal tests.
...
SVN revision: 61502
2011-07-19 13:19:18 +00:00
Carsten Haitzler
ca357bea50
fix pack_set of evas table (fix to added feature already in changelog)
...
SVN revision: 61501
2011-07-19 11:24:34 +00:00
Iván Briano
8c07c3fa30
Add missing images
...
SVN revision: 61490
2011-07-18 22:39:13 +00:00
Gustavo Lima Chaves
f9737c3187
[evas] Fixing oopsies on text/image object docs.
...
Text needed an explanation and citation to the .c example and large
images explaining borders were prettyfied on html docs.
SVN revision: 61488
2011-07-18 21:45:14 +00:00
Iván Briano
094f06522a
Images and more Map stuff
...
SVN revision: 61486
2011-07-18 21:06:56 +00:00
Tom Hacohen
50e197ecc0
Evas text: Fixed text_props_index_find and added props_cluster_next/prev.
...
SVN revision: 61469
2011-07-18 07:41:27 +00:00
Tom Hacohen
c6a1f2caa1
Evas text: Made text_props_index_find faster.
...
SVN revision: 61468
2011-07-18 07:41:21 +00:00
ChunEon Park
5440167a6d
evas/evas_engine - patched by Seung-Soo Woo <om101.woo@samsung.com>
...
Dear all,
eng_image_stride_get() of gl backend get fault stride value.
In case of using dynamic image, it get from dyn.w*4.
But, dyn.stride was already got from secsym_eglGetImageAttribSEC() in _pool_tex_dynamic_new().
dyn.stride can be changed according to DDK.
So, the stride needs to get from dyn.stride.
Please find enclosed file.
Thanks.
SVN revision: 61463
2011-07-18 05:32:06 +00:00
Tom Hacohen
1fdf2c67b5
Evas textblock: Adjusted textblock_item_text struct fields.
...
Removed the unused per-item baseline and changed inset to Evas_Coord.
SVN revision: 61443
2011-07-17 13:42:55 +00:00
Tom Hacohen
7f37b26856
Evas textblock: Fixed inline valign.
...
SVN revision: 61442
2011-07-17 13:42:51 +00:00
Tom Hacohen
12fa2337cc
Evas tests: Enabled mixed wrap tests now that it's fixed.
...
SVN revision: 61441
2011-07-17 11:15:23 +00:00
Tom Hacohen
73a5f2277a
Evas textblock: Fixed a bug in mixed wrapping mode.
...
SVN revision: 61440
2011-07-17 11:15:18 +00:00
Tom Hacohen
6898c688f2
Evas textblock: Fixed linegap.
...
SVN revision: 61438
2011-07-17 10:48:05 +00:00
Tom Hacohen
5501f844d3
Evas tests: Added a textblock test that emulates edje's min size calc.
...
Currently mixed wrapping is disabled, because something is wrong there,
but word and char work. This also tests the bugs fixed in previous commits.
SVN revision: 61437
2011-07-17 10:48:01 +00:00
Tom Hacohen
0af138b6ff
Evas textblock: Fixed a bug in RELSIZE items size calculation.
...
SVN revision: 61436
2011-07-17 10:47:58 +00:00
Tom Hacohen
c47d4bebd8
Evas text: Added _text_props_cluster_next.
...
Started using it in tb.
SVN revision: 61435
2011-07-17 10:47:54 +00:00
Tom Hacohen
4f9010d33d
Evas textblock: Fixed an issue with item formats.
...
They weren't pushed to the format stack which in turn meant </item> popped
unrelated formats causing a mess in the stack.
SVN revision: 61434
2011-07-17 10:47:39 +00:00
Lucas De Marchi
1feec2b65e
evas: fix common misppellings
...
Mispellings detected by codespell.
SVN revision: 61408
2011-07-15 14:37:49 +00:00
Gustavo Lima Chaves
8de348318f
[evas] More diagrams on docs.
...
SVN revision: 61374
2011-07-14 15:11:36 +00:00
Gustavo Lima Chaves
60c0f2ebca
[evas] English corrections.
...
SVN revision: 61373
2011-07-14 15:11:20 +00:00
Tom Hacohen
6dc9a02f09
Evas tests: Fixed a textblock cursor test.
...
SVN revision: 61372
2011-07-14 14:38:41 +00:00
Tom Hacohen
4431349f56
Evas textblock: Removed useless code. We should never get there.
...
SVN revision: 61370
2011-07-14 14:25:46 +00:00
Tom Hacohen
8b59100774
Evas tests: Added more cursor tests, this time with bidi.
...
SVN revision: 61369
2011-07-14 14:25:42 +00:00
Tom Hacohen
00e8406b24
Evas textblock: Fixed cursor_coord_set with rtl/bidi in some cases.
...
Fix it when pressing beyond line boundaries.
SVN revision: 61368
2011-07-14 14:25:39 +00:00
Tom Hacohen
344a98d2a9
Evas textblock: Added a small fix to valign.
...
SVN revision: 61366
2011-07-14 12:47:17 +00:00
Tom Hacohen
77978d965a
Evas textblock: Fixed an issue with in-line valign.
...
Thanks to SeoZ for the report.
SVN revision: 61365
2011-07-14 12:31:24 +00:00
Tom Hacohen
b976ff8adf
Evas tests: Added more textblock cursor tests.
...
Added a set of tests to verify my last fix.
SVN revision: 61363
2011-07-14 08:00:27 +00:00
Tom Hacohen
1128519838
Evas textblock: Fixed issue with char/line_coord_set with valign. #2 .
...
After adding some tests, I found out that my previous fix was not enough.
SVN revision: 61362
2011-07-14 08:00:23 +00:00
Tom Hacohen
9615dc0226
Evas tests: Added more textblock cursor tests.
...
Also added tests to verify my previous fix.
SVN revision: 61361
2011-07-14 07:36:49 +00:00
Tom Hacohen
218042176b
Evas textblock: Fixed issue with char/line_coord_set with valign.
...
SVN revision: 61360
2011-07-14 07:36:45 +00:00
Tom Hacohen
8b499b1984
Evas tests: Added textblock line_coord_set tests.
...
These also verifies the bug fix from my previous commit.
SVN revision: 61345
2011-07-13 15:16:41 +00:00
Tom Hacohen
70da0ccdbe
Evas textblock: Fixed a bug in line_coord_set with y<0.
...
SVN revision: 61344
2011-07-13 15:16:38 +00:00
Tom Hacohen
edf4d4ee86
Evas tests: Added a bit of line geometry tests.
...
SVN revision: 61343
2011-07-13 15:16:34 +00:00
Tom Hacohen
e03f8274dc
Evas tests: Added more textblock cursor tests.
...
Also added tests to verify my previous fix.
SVN revision: 61342
2011-07-13 14:35:15 +00:00
Tom Hacohen
3b71290152
Evas textblock: Fixed a bug in cursor_char_coord_set with coords < 0.
...
SVN revision: 61341
2011-07-13 14:35:12 +00:00