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