Commit Graph

13762 Commits

Author SHA1 Message Date
Carsten Haitzler 3789e32040 check return of alloc surf for eet loader.
SVN revision: 59523
2011-05-19 09:25:31 +00:00
Carsten Haitzler 19b70919ad small fix - check surface alloc return and reurn alloc failure.
SVN revision: 59522
2011-05-19 09:22:35 +00:00
Tom Hacohen 70665bc1c5 Edje entry: Fix warnings.
SVN revision: 59521
2011-05-19 09:00:22 +00:00
Tom Hacohen 85ac9b3059 Edje entry: Remove the useless calls to "update_from_curs".
We don't really need or use the coordinates anywhere, we just saved them
and worked hard on maintaining them, but didn't really use them.
Now we only calculate them in the one specific case where we actually
need them. This speeds things up and also means the layouting may not be
called in some cases when there's no need to layout.

SVN revision: 59520
2011-05-19 08:38:42 +00:00
Carsten Haitzler 5b2a35392b fix bug in new proxy code (no need for changelog as its a new feature
thats not released yet) wher using proxy via map doesnt let you use uv
coords right as its ALWAYs filling/scaling only due to not using
source image size and proxy size right.



SVN revision: 59519
2011-05-19 05:52:47 +00:00
Carsten Haitzler 480d967c55 fix shape and shape input handling for dnd shadow tree.
SVN revision: 59517
2011-05-18 23:55:21 +00:00
Vincent Torri 008e1a56ac I like alphabetical order :)
SVN revision: 59516
2011-05-18 19:11:09 +00:00
Vincent Torri 105a261d5b Edje: fix Windows printf format
SVN revision: 59511
2011-05-18 16:11:31 +00:00
Cedric BAIL 4903fe8e2d edje: prevent buffer overrun when using multiple *.
SVN revision: 59510
2011-05-18 15:13:18 +00:00
Vincent Torri b3ed32be46 remove some shadow declarations
SVN revision: 59508
2011-05-18 14:12:10 +00:00
Tom Hacohen f3ef64a31e Evas font-engine: Replace deprecated freetype constants.
SVN revision: 59507
2011-05-18 13:47:45 +00:00
Tom Hacohen 1ad5cdfb89 Evas font-engine: Remove useless if, it's never a bitmap.
SVN revision: 59506
2011-05-18 13:47:37 +00:00
Vincent Torri 31f60da46e debug--
SVN revision: 59505
2011-05-18 13:17:54 +00:00
Vincent Torri 4a16749112 Eina_lock : fix Windows code, thanks to cedric
SVN revision: 59504
2011-05-18 13:15:25 +00:00
Cedric BAIL c132a4ac50 eina: fix typo.
SVN revision: 59503
2011-05-18 12:56:49 +00:00
Tom Hacohen 4ea3aa489f Eina binbuf: Fix compilation and correct the mistakes.
SVN revision: 59500
2011-05-18 11:45:32 +00:00
Tom Hacohen b831d3c1e1 Evas font-engine: Fix searching of fonts to ignore more control characters.
SVN revision: 59499
2011-05-18 11:18:08 +00:00
Tom Hacohen fccfbf78b0 Evas font-engine: Don't search fi again in ot populate.
We already calculate it in content create.

SVN revision: 59498
2011-05-18 11:18:00 +00:00
Tom Hacohen 594d94782b Eina binbuf: Struct name should be binbuf, not strbuf.
SVN revision: 59497
2011-05-18 10:52:50 +00:00
Tom Hacohen 134a6af626 Edje entry: Don't emit 'curosr,changed' when appended using a different curosr.
SVN revision: 59494
2011-05-18 10:08:03 +00:00
Cedric BAIL fe7ae5930a eina: part of the init is specific, so preserve it.
SVN revision: 59493
2011-05-18 10:05:59 +00:00
Carsten Haitzler 23c715b282 fixed issues on evas gl suport from sungwoo.
SVN revision: 59492
2011-05-18 09:49:58 +00:00
Cedric BAIL 52acb710f5 ecore: improve ecore_timer_dump.
SVN revision: 59491
2011-05-18 09:12:07 +00:00
Carsten Haitzler b859682fc1 add eina in readme for reqs
SVN revision: 59490
2011-05-18 09:07:31 +00:00
Carsten Haitzler fee451f37e 640k should be enough for anyone.
SVN revision: 59489
2011-05-18 08:37:38 +00:00
Carsten Haitzler 528b69105f embryo -> use eina_prefix.
SVN revision: 59487
2011-05-18 08:33:31 +00:00
Cedric BAIL 42e460e3b6 eina: fix eina_share_common_init.
SVN revision: 59485
2011-05-18 07:56:11 +00:00
Carsten Haitzler 62efa76e50 add grid layout obj to evas (along with table and box)
SVN revision: 59481
2011-05-18 07:04:32 +00:00
Sangho Park 7cbc531e4c Eina: add 'eina_init()' at the testcase of simple_xml_parser.
SVN revision: 59479
2011-05-18 02:49:59 +00:00
Sangho Park 725b056fab Eina: add testcase for 'eina_simple_xml_parser'
SVN revision: 59478
2011-05-18 02:29:59 +00:00
Vincent Torri ae859943a3 Eet : fix scanf format on Windows
SVN revision: 59475
2011-05-17 21:15:45 +00:00
Cedric BAIL 6228ce0d60 ecore: add ecore_timer_dump.
Note: Will add tomorrow code needed inside e17 to dump all created timer.


SVN revision: 59473
2011-05-17 17:32:32 +00:00
Cedric BAIL ac1a18741b eet: use Eina_File and fix forgotten init in Eet test suite.
SVN revision: 59471
2011-05-17 16:19:53 +00:00
Cedric BAIL c9a4fc3054 eina: fix eina_file to be really usable.
SVN revision: 59470
2011-05-17 16:17:28 +00:00
Tom Hacohen 63f89e6866 Eina: Added .gitignore.
SVN revision: 59469
2011-05-17 15:49:08 +00:00
Tom Hacohen 8ca233f8cb Eina binbuf: Added eina_binbuff an auto resizing binary buffer.
SVN revision: 59468
2011-05-17 15:45:39 +00:00
Cedric BAIL 44798b830c eina: build without threads support.
SVN revision: 59467
2011-05-17 10:15:19 +00:00
Vincent Torri 223bcd6866 Ecore : ecore_thread: use Sleep() on Windows, instead of usleep()
usleep() does not exists on Windows. Use Sleep() instead. But the
resolution timers are not good on Windows. the sleep will be around
50ms at best.


SVN revision: 59466
2011-05-17 07:17:53 +00:00
Tom Hacohen dd503b47fd Evas textblock: Fix a potential bug in wrapping.
SVN revision: 59464
2011-05-17 07:08:33 +00:00
Vincent Torri 43397834ac Eina_ : eina_file_win32.c : fix returned value of eina_file_shutdown()
SVN revision: 59463
2011-05-17 05:38:29 +00:00
Mike Blumenkrantz eba65c10ee changelog for 59458
SVN revision: 59460
2011-05-17 00:18:38 +00:00
Mike Blumenkrantz 1fb3a2469b huge bugfix patch for eeze 1.0 stuff: I fubared disk detection pretty hard initially, I think this fixes it all
SVN revision: 59458
2011-05-17 00:14:44 +00:00
Mike Blumenkrantz 89df67bbc2 add fallback methods for grabbing disk vendor/model/etc
SVN revision: 59457
2011-05-17 00:10:52 +00:00
Vincent Torri 495c88aac8 fix eina_prefix.c on Windows (at least a part of it, as elm is not working with it)
SVN revision: 59454
2011-05-16 17:39:20 +00:00
Vincent Torri eebeebb147 fix eina_inline_lock_void.x
SVN revision: 59453
2011-05-16 17:37:51 +00:00
Tom Hacohen d66ec4a1e8 Edje min_restricted_calc: Fix the fallback calc to calc more correctly.
Ok was shared between width and height and in the error, and in the error
case we don't reset maxw and maxh; This caused maxw and maxh to be added
a couple of times even when not needed. This would cause weird sizing.

SVN revision: 59450
2011-05-16 14:09:08 +00:00
Carsten Haitzler 87ec659bc6 use the ecore pos map call for edje as opposed to do it yourself. this
also opens up new position mappings like factored accel/decel/sin,
divis, bounce and spring! :) documentation provided.



SVN revision: 59449
2011-05-16 13:16:34 +00:00
Raoul HECKY 1594c4d07e Fix embryo code creation. Add newline after each function. It avoid lines to be too long for embryo_cc.
SVN revision: 59448
2011-05-16 12:16:54 +00:00
Mike Blumenkrantz 98d5dd27aa in this commit, we learn the value of the '!' operator.
SVN revision: 59447
2011-05-16 12:09:47 +00:00
Mike Blumenkrantz c4b01dc22f account for canceled operations (no events for these), remove freed disks from event list
SVN revision: 59446
2011-05-16 11:32:11 +00:00
Mike Blumenkrantz d35ef797bc add docs for eject, fix some devastating typos in eject, eject now unmounts mounted disks before ejecting
SVN revision: 59445
2011-05-16 11:24:26 +00:00
Mike Blumenkrantz 775b86bccd add eject functions/events
SVN revision: 59443
2011-05-16 11:03:06 +00:00
Carsten Haitzler b63e9a5689 use eina_fp fixed point sincos table to reduce calc overhead.
SVN revision: 59442
2011-05-16 10:51:02 +00:00
Mike Blumenkrantz d05399250e trailing whitespace--
SVN revision: 59441
2011-05-16 10:38:47 +00:00
Mike Blumenkrantz f4665b0140 track all disk objects, fix typo in eeze optmap from earlier, catch and create external mount events
SVN revision: 59439
2011-05-16 09:52:16 +00:00
Mike Blumenkrantz 9989571099 forgot to add uid to the mount optmap
SVN revision: 59432
2011-05-16 02:16:26 +00:00
Carsten Haitzler a59cd2a040 pointed out by jiyoun ... but patch wasn't quite right. shouldnt
manually ref-- the old im - should call drop. also... dont make
original dirty as we don't modify it, we just drop (unref) it.



SVN revision: 59431
2011-05-16 02:06:41 +00:00
Mike Blumenkrantz 56b342ccc9 eeze_disk_cancel for canceling pending operations
SVN revision: 59430
2011-05-16 01:32:40 +00:00
Mike Blumenkrantz 7561260963 forgot eeze_disk_udev_get_parent earlier
SVN revision: 59429
2011-05-16 00:57:16 +00:00
Mike Blumenkrantz 9d11cdbc20 automatically apply iocharset=utf8 for jfs (NOT with FAT. causes corruption)
SVN revision: 59428
2011-05-16 00:13:42 +00:00
Mike Blumenkrantz 1856a909e3 add a mountopt flag for automatically adding uid
SVN revision: 59427
2011-05-16 00:06:41 +00:00
Mike Blumenkrantz ad7a0d33b0 apply mount wrapper to umount, use ecore_exe_run instead of pipe_run
SVN revision: 59426
2011-05-15 23:54:30 +00:00
Mike Blumenkrantz 6ff3f70d1b just use ecore_exe_run instead of pipe_run
SVN revision: 59425
2011-05-15 23:50:06 +00:00
Mike Blumenkrantz 970e932e85 fix failure from doxy migration script
SVN revision: 59423
2011-05-15 22:58:36 +00:00
Mike Blumenkrantz 58c89b619b new functions for applying a wrapper for (u)mount
SVN revision: 59422
2011-05-15 22:56:14 +00:00
Mike Blumenkrantz 4139d9282e use defines as their string value in printfs
SVN revision: 59421
2011-05-15 22:50:22 +00:00
Mike Blumenkrantz b821494eed reorder mount errors, add default handler
SVN revision: 59420
2011-05-15 22:34:03 +00:00
Mike Blumenkrantz f40368992f fix result code handling for mount: errors can be ORed
SVN revision: 59419
2011-05-15 22:32:17 +00:00
Mike Blumenkrantz 9ca9d4a0c5 update version number define
SVN revision: 59418
2011-05-15 22:31:54 +00:00
Mike Blumenkrantz 374df30b47 add some new functions for direct udev lookups on disk devices
SVN revision: 59412
2011-05-15 20:50:26 +00:00
Tom Hacohen 30847d0bdc Edje text: Added edje_object_part_text_append.
SVN revision: 59407
2011-05-15 15:57:38 +00:00
Tom Hacohen e4dada93e6 Evas textblock: Set cursor position if not already set when inserting text.
This was always the meaning of cur->node=NULL, but here it explicitly
does it, which makes things easier in the long run.

SVN revision: 59406
2011-05-15 15:36:04 +00:00
Tom Hacohen 1e542a0d47 Evas textblock: Fixed a possible bug with wordwrap.
SVN revision: 59405
2011-05-15 13:57:47 +00:00
Tom Hacohen 353ce0f48a Evas textblock: Speed up rendering. Find the start paragraph for all.
Until now all the format/text drawing loops went through all the
paragraphs skipping all the ones that are outside the clipping/object
zone. This changeset find the first paragraph to be renedred first so we
don't walk all the paragraphs for nothing. This speeds up rendering of
the ends of very big textblocks in a very noticable manner.

SVN revision: 59404
2011-05-15 12:00:01 +00:00
Tom Hacohen 44b8ca79a4 Evas font-engine: Remove the useless RGBA_Font_Source hb.face.
SVN revision: 59403
2011-05-15 11:59:58 +00:00
Tom Hacohen 726d37b782 Evas font-engine: Adjust code to use latest Harfbuzz (0.5.0)
SVN revision: 59402
2011-05-15 11:59:54 +00:00
Vincent Torri 6842343e3f use haeders check to include unistd.h
SVN revision: 59401
2011-05-15 11:21:20 +00:00
Vincent Torri d809170ea9 Eina: eina_lock: fix eina_lock on Windows
SVN revision: 59395
2011-05-15 10:55:07 +00:00
Vincent Torri c3d5bfb5c5 Evas: cache: missing guards
SVN revision: 59394
2011-05-15 10:11:22 +00:00
Vincent Torri f0cbd4add5 add some guards for non Windows headers and reorder
alphabetically some autotools stuff

SVN revision: 59393
2011-05-15 05:42:30 +00:00
Vincent Torri 4a6a5bd213 i'm not cedric
SVN revision: 59392
2011-05-14 21:23:03 +00:00
Vincent Torri 65892e65b7 Eina : eina_lock : make it compile on Windows
SVN revision: 59391
2011-05-14 21:19:36 +00:00
Vincent Torri bf8e99c128 Ecore: ecore_con : make ecore_ipc compile on Windows.
SVN revision: 59389
2011-05-14 18:30:43 +00:00
Vincent Torri 3e9bc8fddd Ecore: ecore_con : make ecore_con work on Windows
The ecore_con module needed a port of the local connections
with named pipes. The other connections (TCP, UDP) are using
BSD sockets, which are also used on Windows.

No abstract sockets on Windows.

NB: Should I backport that commit to 1.0 ?

SVN revision: 59385
2011-05-14 17:52:30 +00:00
Boris Faure 021819f4f9 eina: improve hash documentation on free_cb
SVN revision: 59383
2011-05-14 14:39:25 +00:00
Cedric BAIL a3957ae5df ecore: fix ifdef order.
SVN revision: 59381
2011-05-14 12:53:00 +00:00
Cedric BAIL d42a3fff59 eet: update ChangeLog.
SVN revision: 59380
2011-05-14 09:23:44 +00:00
Cedric BAIL 541bc1158b ecore: sync GNUTLS threads support with Eina threads support.
At least now, if you rebuild the efl in the right order, you
can't end with one library initializing GnuTLS without threads
support and another needing GnuTLS with threads support.


SVN revision: 59379
2011-05-14 09:22:15 +00:00
Cedric BAIL 20566e914b eet: use eina_lock.
SVN revision: 59378
2011-05-14 09:07:51 +00:00
Carsten Haitzler 3e6e8f0f08 oooh evil start on trying to get real vsync interrupts from x!!!! :)
SVN revision: 59376
2011-05-14 04:11:13 +00:00
Carsten Haitzler 43ab3b8f56 optimization: don't need to get loop time so often in ecore main loop.
SVN revision: 59374
2011-05-14 03:26:28 +00:00
Cedric BAIL 31e53c82bf eina: always put map in memory when requested and use HUGETLB when available.
SVN revision: 59366
2011-05-13 10:44:29 +00:00
Tom Hacohen 8315f9879c Evas textblock: Fix segfault with evas_textblock_cursor_content_get.
Patch by Brian Wang.

SVN revision: 59347
2011-05-12 15:12:10 +00:00
Carsten Haitzler 7fbe314439 Add a custom Ecore Aniamtor source and tick ability to be able
to plug in external animator tick sources like vblank interrupts
and so on.
        


SVN revision: 59345
2011-05-12 09:11:36 +00:00
Tom Hacohen 909e11f49f Evas font-engine: Fix usage of font cache (= -> ==).
SVN revision: 59344
2011-05-12 08:38:24 +00:00
Tom Hacohen 7d1f21946a Evas font-engine: abort font load even sooner if name is NULL.
SVN revision: 59343
2011-05-12 08:38:21 +00:00
Carsten Haitzler 74d6d2b948 wrn--!
SVN revision: 59342
2011-05-12 08:30:49 +00:00
Carsten Haitzler 3761d8ecf8 Evas Smart: add ability to get usage count
SVN revision: 59341
2011-05-12 08:28:25 +00:00
Carsten Haitzler 6162859727 chlog++
SVN revision: 59330
2011-05-11 11:29:21 +00:00
Carsten Haitzler 9d945dd593 fix svg load WITH scaling - scale down size request broken. 2
different sizing methods.



SVN revision: 59329
2011-05-11 11:26:51 +00:00
Tom Hacohen e20db04ef0 Edje entry: Use the new textblock _format_list_get in anchors_get.
SVN revision: 59326
2011-05-11 10:19:01 +00:00
Tom Hacohen 13d032d0b1 Evas textblock: Added _format_list_get for fast retrieval of anchors.
This is very useful in edje_entry that keeps a list of anchors.
Currently only "a" and "item" are supported, and unless something
drastic will happen, it will stay this way.

SVN revision: 59325
2011-05-11 10:18:24 +00:00
Carsten Haitzler ba6775813b chlog++
SVN revision: 59324
2011-05-11 09:55:08 +00:00
Carsten Haitzler a5d62bdbcd Fix: egl mode in engine forgot to call pre/post swap callback. thanks
guanglim!



SVN revision: 59322
2011-05-11 09:14:59 +00:00
Tom Hacohen faba2810b4 Evas textblock: Don't allow overwriting the format stack.
SVN revision: 59320
2011-05-11 08:35:09 +00:00
Tom Hacohen fd25efda3a Evas textblock: Only parse formats that can change the format stack.
No need to parse all the newlines when all we want is just to modify the
format stack.

SVN revision: 59319
2011-05-11 08:34:57 +00:00
Cedric BAIL 30ecc3a5b8 evas: fix typos.
SVN revision: 59306
2011-05-10 07:55:22 +00:00
Tom Hacohen 0ea73e70f7 Edje text: fix issue with ellipsis causing text to disappear.
Thanks to Brian Wang for the report.

SVN revision: 59305
2011-05-09 17:23:03 +00:00
Cedric BAIL 21971b92a0 evas: fix xcb build.
SVN revision: 59302
2011-05-09 15:18:03 +00:00
Cedric BAIL c2df2df0c6 evas: don't use dead condition.
SVN revision: 59300
2011-05-09 14:42:12 +00:00
Cedric BAIL 0351269adc eina: check condition is still alive when debugging threads.
SVN revision: 59299
2011-05-09 14:41:39 +00:00
Cedric BAIL 9e20be0766 eina: have same behaviour on windows and linux.
SVN revision: 59297
2011-05-09 13:12:36 +00:00
Cedric BAIL 5f820ce976 eina: oops, need to protect inside #ifdef.
SVN revision: 59295
2011-05-09 13:06:03 +00:00
Cedric BAIL f91a33ef0d evas: we should not rely on mutex recursive stuff. fix potential source of bug.
SVN revision: 59294
2011-05-09 12:55:57 +00:00
Cedric BAIL c73f0f9cf5 eina: improve lock debugging.
SVN revision: 59293
2011-05-09 12:54:47 +00:00
Lucas De Marchi cfae43f754 grammar fix
SVN revision: 59292
2011-05-09 11:53:45 +00:00
Cedric BAIL b15093851e evas: fix evas_pipe and use eina_condition.
SVN revision: 59291
2011-05-09 11:05:04 +00:00
Cedric BAIL 849eea718d evas: fix software 16 sdl.
SVN revision: 59290
2011-05-09 10:56:32 +00:00
Cedric BAIL d2b65a51d0 eina: more check.
SVN revision: 59289
2011-05-09 10:42:42 +00:00
Cedric BAIL 2166ee30c5 evas: use Eina_Condition.
SVN revision: 59288
2011-05-09 10:33:21 +00:00
Cedric BAIL d20144bc9f eina: add Eina_Condition.
SVN revision: 59287
2011-05-09 10:32:56 +00:00
Cedric BAIL 83c3a1a0fb eina: check pending lock at the right time.
SVN revision: 59286
2011-05-09 10:29:55 +00:00
Tom Hacohen 811fde2504 Edje entry: Speed up anchor calculation.
SVN revision: 59285
2011-05-09 08:40:15 +00:00
Tom Hacohen e607c581f0 Evas text: clean up evas_text_style_pad_get a bit further.
SVN revision: 59284
2011-05-09 07:40:14 +00:00
Tom Hacohen 7cd241ae62 Evas text: Made evas_text_style_pad_get faster.
SVN revision: 59282
2011-05-08 15:43:44 +00:00
Tom Hacohen 730bfce44e Evas textblock: Do a bit of uchar -> Eina_Bool and setting as bitfield.
SVN revision: 59281
2011-05-08 15:33:23 +00:00
Tom Hacohen 1a0fba718f Evas textblock: Remove unused alloca.
SVN revision: 59280
2011-05-08 15:33:20 +00:00
Tom Hacohen edafdf5323 Evas textblock: Clean up clipping and render a bit.
SVN revision: 59279
2011-05-08 14:54:27 +00:00
Tom Hacohen 811b4d9a68 Evas table: fix ui-mirroring with homogeneous tables.
SVN revision: 59277
2011-05-08 12:26:44 +00:00
Tom Hacohen 9f29ea18d3 Evas textblock: Break on mandatory and allowed break options.
SVN revision: 59274
2011-05-08 11:20:19 +00:00
Tom Hacohen 8214888f83 Evas textblock: Moved format text_node invalidation to it's own function.
SVN revision: 59273
2011-05-08 11:20:16 +00:00
Tom Hacohen 47a59417d2 Evas textblock: Move ellipsis handling to a different function.
SVN revision: 59272
2011-05-08 11:20:13 +00:00
Tom Hacohen 6d14277c6d Evas textblock: clean up mixed/word wrap a bit.
SVN revision: 59271
2011-05-08 09:13:59 +00:00
Tom Hacohen 4851a57f92 Evas textblock: Fix possible issues with charwrap not wrapping correctly.
SVN revision: 59270
2011-05-08 09:13:56 +00:00
Daniel Juyung Seo 739b4b7fe5 Edje: Improved vim syntax file edc.vim.
SVN revision: 59264
2011-05-08 06:21:33 +00:00
Daniel Juyung Seo 8d29e13103 Evas evas_object_smart.c: Fixed indentation.
SVN revision: 59258
2011-05-07 08:01:42 +00:00
ChunEon Park fb2d08f92d evas / evas_object_smart - mistook! spank my ass!
SVN revision: 59242
2011-05-06 11:04:32 +00:00
ChunEon Park c1e6f2174c evas/evas_object_smart - fixed parent cache invalidation logic error.
SVN revision: 59241
2011-05-06 10:55:24 +00:00
Tom Hacohen 2d0304019d Evas textblock: Fix seg with empty textblocks that cause wrapping.
Revert "evas: don't assume anymore that text_node is != NULL."
This reverts commit 59231

Thanks to cedric for the report + initial fix.

SVN revision: 59237
2011-05-06 10:00:21 +00:00
Cedric BAIL a68c149866 evas: don't try all loader on directory.
SVN revision: 59235
2011-05-06 09:36:24 +00:00
Cedric BAIL 8820713691 eina: remove flood of debugging information.
SVN revision: 59234
2011-05-06 09:16:40 +00:00
Cedric BAIL b4f8d80b02 eina: remove useless lock.
SVN revision: 59233
2011-05-06 09:07:26 +00:00
Cedric BAIL ba96d1220f evas: actually check if loading header was fine.
SVN revision: 59232
2011-05-06 09:01:18 +00:00
Cedric BAIL 139e49792d evas: don't assume anymore that text_node is != NULL.
SVN revision: 59231
2011-05-06 09:00:44 +00:00
Tom Hacohen a82b3834b3 Evas liblinebreak: Don't ship it's headers. Oops, missed that one.
SVN revision: 59220
2011-05-05 17:57:31 +00:00
Tom Hacohen 53a6bbeb8b Evas textblock: Fix linewrap to only wrap if there's a wrap point.
For example before the fix, "aaa<b>cccc</>aaa" would have 2 possible
wrap points, <b> and </>, after the fix, those are no longer valid.
Also fixed another issue with wrapping not working.

SVN revision: 59219
2011-05-05 16:35:39 +00:00
Tom Hacohen 4c9b729cd3 Evas textblock: Updated a FIXME.
SVN revision: 59218
2011-05-05 16:35:36 +00:00
Tom Hacohen 31c8b4d7f7 Evas textblock: Until we actually use it in charwrap, don't malloc line_breaks.
SVN revision: 59217
2011-05-05 16:35:32 +00:00
Tom Hacohen 9677320259 Evas textblock: Wrapping is now absolute to the paragraph.
This is not yet noticable, still need to use the new info.

SVN revision: 59215
2011-05-05 13:38:09 +00:00
Tom Hacohen c6751884b0 Evas textblock: Use more relevant replacement chars for formats.
For example we use 0x2029 (PS char) for paragraph separator, \n for newline
and \t for tab. This lets us handle their bidi and line break properties
in a more correct manner.

SVN revision: 59214
2011-05-05 13:38:04 +00:00
Gustavo Sverzut Barbieri d974109126 fix it so it's extensible and we'll avoid errors in future.
Often people will copy, paste and modify the "if" block, so let's do
it right from beginning.  What was wrong was the "" (empty string) as
initial SUBDIR.



SVN revision: 59213
2011-05-05 13:33:12 +00:00
Tom Hacohen 424cd61f2d Evas static_deps: And now fix the Makefile.am.
SVN revision: 59211
2011-05-05 12:50:36 +00:00
Tom Hacohen 6709470bea Evas: Actually add the static_deps make file.
SVN revision: 59210
2011-05-05 12:42:46 +00:00
Tom Hacohen 604ad360ff Evas: Updated changelog.
SVN revision: 59209
2011-05-05 11:06:09 +00:00
Tom Hacohen 921067869c Evas textblock: Clean up word/mixed wrap and add liblinebreak support.
SVN revision: 59208
2011-05-05 11:06:06 +00:00
Tom Hacohen 94cb08b3fc Evas font-engine: Made the cutoff error more verbose.
SVN revision: 59207
2011-05-05 11:06:03 +00:00
Tom Hacohen 05df9e72f2 Evas font-query: Fixed documentation error.
SVN revision: 59206
2011-05-05 11:05:59 +00:00
Tom Hacohen c28c5625c5 Evas canvas: use liblinebreak when available.
SVN revision: 59205
2011-05-05 11:05:54 +00:00
Tom Hacohen a4dbf6867b Evas linebraek: Fix liblinebreak's CB class at sot handling.
SVN revision: 59204
2011-05-05 11:05:50 +00:00
Tom Hacohen bf909af0f3 Evas: Added liblinebreak (static dep) to the build process.
SVN revision: 59203
2011-05-05 11:05:44 +00:00
Tom Hacohen e307051ccb Evas text_utils: Added evas_common_text_props_can_split
SVN revision: 59202
2011-05-05 11:05:37 +00:00
Cedric BAIL 25550183e0 eina: improve on/off and debugging lock.
Now if a lock is still taken when shutdown occur, you will know
where it come from !


SVN revision: 59191
2011-05-04 13:53:22 +00:00
ChunEon Park 2b52e0b758 evas / canvas - removed useless line.
SVN revision: 59190
2011-05-04 11:19:49 +00:00
Tom Hacohen 5e287a25da Evas font: only "bidi-shape" RTL strings.
SVN revision: 59183
2011-05-04 08:46:17 +00:00
Tom Hacohen cd674cb1c6 Evas font-engine: Moved non-draw related from font_draw.c to font_main.c
SVN revision: 59180
2011-05-04 08:27:19 +00:00
Tom Hacohen b186585231 Evas font-engine: Use Eina_Unicode instead of int for unicode codepoints
SVN revision: 59179
2011-05-04 08:27:13 +00:00
Carsten Haitzler 97a12de552 make get program binary able to be disabled via env var and display if
wee find the extn too. tested on gles now too.



SVN revision: 59178
2011-05-04 08:05:46 +00:00
Tom Hacohen 232158ba48 Evas language: Fixed a warning and a comment.
SVN revision: 59173
2011-05-04 06:57:45 +00:00
Tom Hacohen f3b54de94d Evas text: Don't save unicode text, no use for it.
SVN revision: 59172
2011-05-04 06:57:35 +00:00
Carsten Haitzler 3c434464d1 fix warning.
SVN revision: 59169
2011-05-04 06:29:30 +00:00
Carsten Haitzler b520b60b81 chlog++
SVN revision: 59168
2011-05-04 06:15:11 +00:00
Jiyoun Park 56111d2b69 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Evas gl shader use binary shader

I make patch related with evas gl binary shader.
 
The concept of binary shader is  compile shader only once.
 
Some people want to use binary shader because of performance issue.
 
In current evas gl engine, every application have to compile shader each
time. 

But I modify code , so only first running application need compile shader.

Other application use already compiled shader(binary shader)

 
The binary shader is made under HOME/.evas/gl_common_shaders directory. 

Binary shader is created according to GL vendor,GL renderer, GL version and
Module_arch.

The basic flow is
 
1.     First running application which use gl engine check binary shader
directory, but it can't find binary shader. 
2.     After compiling shader, It saves compiled shaders..
3.     Other application checks shader directory, it can use binary
shaders.
 
In mobile target, using binary shader, I can save 150ms. (that time, there
is 11 shaders).

If there is more shaders and more applications, this flow maybe save more
total time. 

(the above is now in, changelog coming, with change to using ~/.cache,
some formatting fixes, make ity do the desktop gl one right with the
retrievable hint parameter ont he program etc. - doesn't break desktop
gl at least. yay. a,so fixes to mke it compile at all).



SVN revision: 59167
2011-05-04 06:15:00 +00:00
Carsten Haitzler cc9bc35e59 chlog++
SVN revision: 59158
2011-05-04 02:28:23 +00:00
Carsten Haitzler 1a9054b5f4 improve table layout for homogneous mode so it rounds correctly if
table not a multiple of rows and/or cols in size



SVN revision: 59157
2011-05-04 02:27:00 +00:00
Tom Hacohen 3f0411265a Evas font-engine: Fix size activation of fi in content_create.
SVN revision: 59153
2011-05-03 16:18:17 +00:00
Tom Hacohen 2e71b5ab90 Evas font-engine: Fix glyphs not being drawn.
Thanks to Brian Wang for the report.

This happened because we were querying for the index of the wrong fi,
this became especially visible after we started caching fi.

SVN revision: 59152
2011-05-03 14:36:47 +00:00
Cedric BAIL fdb32980b5 eio: add forgotten file.
SVN revision: 59149
2011-05-03 13:07:26 +00:00
Cedric BAIL fb2310d5a4 eio: add beginning of xattr support.
SVN revision: 59146
2011-05-03 10:36:51 +00:00
Carsten Haitzler c9fe9dfef3 chlog++
SVN revision: 59145
2011-05-03 10:00:54 +00:00
Carsten Haitzler 043bd2644a fix segv! wow. data was null.
SVN revision: 59144
2011-05-03 09:46:55 +00:00
Carsten Haitzler eb5208f2f0 aaaaah fix my fix for preloading multi-target entry stuff to call per
preload target again (fix shortcut)



SVN revision: 59143
2011-05-03 09:10:10 +00:00
Carsten Haitzler 3610be8437 also conflict with gl2.h (gles2 headers)
SVN revision: 59142
2011-05-03 05:53:20 +00:00
Carsten Haitzler c31c015c68 formatting fix.
SVN revision: 59141
2011-05-03 03:24:36 +00:00
Carsten Haitzler 57e07025d4 if you preload the same image more than once.. it may/will cause
problems as target is inserter in cache image target list multiple
times. fix by only alloding preload request to go in once.



SVN revision: 59140
2011-05-03 03:20:02 +00:00
Carsten Haitzler 569ca2b315 wrn--
SVN revision: 59139
2011-05-03 03:11:08 +00:00
Tom Hacohen 4a11dacf16 Eina lock: unused warning suppression is done with (void).
Not only that it's uglier doing mutex=0, but also new gcc started
complainig about it.

SVN revision: 59137
2011-05-02 18:19:41 +00:00
Tom Hacohen e93f10b8aa Evas font-engine: Remove passing of strings to font_draw.
This is not needed anymore because we have working string objects.

SVN revision: 59133
2011-05-02 15:33:46 +00:00
Tom Hacohen dad49dd1f2 Evas font-draw: Fix word-cache to not need text.
SVN revision: 59132
2011-05-02 15:33:38 +00:00
Tom Hacohen 61e340ec6c Evas textblock: Now that we cache fi, we don't need shaped_text anymore.
SVN revision: 59131
2011-05-02 15:33:35 +00:00
Tom Hacohen 4fafc63d0f Evas textblock: Remove obsolete comment.
SVN revision: 59130
2011-05-02 15:33:31 +00:00
Tom Hacohen 0bf964a221 Evas textblock: We finally cache fi - remove related hacks.
SVN revision: 59129
2011-05-02 15:33:27 +00:00
Cedric BAIL fdc092efe1 eina: forgotten commit.
SVN revision: 59125
2011-05-02 13:52:34 +00:00
Cedric BAIL 5c2d05374c eina: use the right naming.
SVN revision: 59124
2011-05-02 13:51:20 +00:00
Cedric BAIL 691da73b84 eina: add back threads on/off support.
NOTE: only use it if you know what you are doing !


SVN revision: 59123
2011-05-02 13:40:28 +00:00
Tom Hacohen 2e0bb38935 Evas bidi: Made fribidichar<->eina_unicode conversion a compile time test.
SVN revision: 59122
2011-05-02 13:24:26 +00:00
Cedric BAIL e5402b2eb2 eina: forgotten initialization.
SVN revision: 59121
2011-05-02 13:09:38 +00:00
Cedric BAIL 902350711d evas: don't use EINA_LOCK_INITIALIZER and improve eina_threads call.
Only call eina_threads_shutdown when thread are dead and not before.

Release and destroy thread lock before calling evas_async_events_process
as you should never have a lock taken in the main loop when calling it.


SVN revision: 59119
2011-05-02 11:28:47 +00:00
Cedric BAIL 9140383045 eina: improve thread debugging and portability.
All thread debugging facility, including lock debug, on by turning --enable-debug-threads
at configure time of eina.

When threads check are disable, make sure that all lock/release are called
from the main loop only. And in all case, eina_lock_new/eina_lock_delete should be
called from the main loop.

Remove static initialization as it is not portable under Windows.



SVN revision: 59118
2011-05-02 11:25:35 +00:00
Cedric BAIL a345a670b2 eina: make sure eina_threads_init/eina_threads_shutdown are correctly called.
SVN revision: 59117
2011-05-02 11:20:00 +00:00
Tom Hacohen 397acdd837 Edje min_calc: Don't print the 4000x4000 err when there's a textblock.
SVN revision: 59112
2011-05-02 10:20:20 +00:00
Tom Hacohen 9d23367627 Evas font-engine: Cache fi for all cases (even without harfbuzz).
This is now possible, because we have a script querying function.

SVN revision: 59109
2011-05-02 09:28:00 +00:00
Tom Hacohen af53b3d4a9 Evas language: Split to script even if there's no Harfbuzz.
SVN revision: 59108
2011-05-02 09:27:56 +00:00
Tom Hacohen 5793e609a0 Evas font-engine: Made *_unicode_funcs_get internal to font_ot.c
SVN revision: 59107
2011-05-02 09:27:49 +00:00
Carsten Haitzler 5061598e12 also return deadlock from normal lock (not try only)
SVN revision: 59103
2011-05-02 08:34:22 +00:00
Carsten Haitzler a05d575f0a warning-- for eina locks
SVN revision: 59102
2011-05-02 08:24:27 +00:00
Carsten Haitzler 651cff4602 formalise eina lock results to be equivalent to true/false with added
deadlock for try.



SVN revision: 59101
2011-05-02 08:24:06 +00:00
Tom Hacohen afac2fdd18 Evas language: Added a character script querying function.
This is added until there will be a library that does it; From my
understanding, there are already people working on such library.

SVN revision: 59100
2011-05-02 07:28:07 +00:00
Tom Hacohen 9389fed0a0 Evas language: Updated scripts according to Unicode 6.0
SVN revision: 59099
2011-05-02 07:28:02 +00:00
Tom Hacohen fb511c9dfe Evas language: Fix typos.
SVN revision: 59098
2011-05-02 07:27:59 +00:00
Tom Hacohen 1ce96a62e0 Evas textblock: Unified the wmax calculation into one place.
SVN revision: 59097
2011-05-02 07:27:48 +00:00
Vincent Torri 65e50307a0 time.h should be sufficient
SVN revision: 59096
2011-05-02 07:04:24 +00:00
Vincent Torri 604c4b993a Eina: eina_file.h: fix compilation on Mac Os X
define time_t on Mac OS X. Patch by Dave Ray.


SVN revision: 59095
2011-05-02 05:52:31 +00:00
Carsten Haitzler 56363c3d73 more docs.
SVN revision: 59094
2011-05-02 03:06:34 +00:00
Carsten Haitzler 0dd92d46c8 improve evas_gl docs a bit.
SVN revision: 59093
2011-05-02 02:43:10 +00:00
Sung W. Park bc8af94bfa From: "Sung W. Park" <sungwoo@gmail.com>
Subject: evas_gl_api_get patch.

Here's a patch that simply overrides the GL functions for Evas_GL
except for two functions that I provide on my own.  It may have some symbol
resolving warnings but that'll all go away eventually when we do everything
via dlsym or getProcAddress.
 
You can apply the patch to the latest revision of evas.  (I've just
updated them) I'm also attaching a sample GLES program that uses
evas_gl_api_get. You don't need to link it to -lGL.



SVN revision: 59092
2011-05-02 02:14:00 +00:00
Carsten Haitzler a9c70e1a28 add LKDBUG. sorry - was trying to ekep other changes out of svn for
nowand didnt commit this bit.



SVN revision: 59090
2011-05-02 00:45:16 +00:00
Vincent Torri d90ad492c6 Ecore: ecore_con: Evil not needed in ecore_con_local.c
SVN revision: 59087
2011-05-01 17:45:58 +00:00
Carsten Haitzler e3a69d7c4a and fix up lock goop to work right with improved eina lock goop. i
hope i nixed this bug.



SVN revision: 59086
2011-05-01 13:25:23 +00:00
Carsten Haitzler 234f0a4659 oh dear. this new eina_lock thing is a bit of a mess isn't it now?
some fundamental errors there. don't go replacing pthread locks with
wrappers unless you know full well what u are doing. havnig threads
only work while "threads are initted" and then init/shtudown the thread
thing every time u spawn a thread.. is pretty silly. what if a thread
ends in the background WHILE u have a lock.. u try unlock.. u know
what ? your unlock DOES nothing. so you retain a lock. next time u
want to lock once a thread is around.. u have a deadlock issue.

even better - the checking if threads are initted and up is not
locked, so it can come up while it is being checked. more race
conditions. u need to clokc the init/shutdown AND lock the checking of
the value... and even then u STILl have problem #1 above. so that code
is now gone.

also trylock trturn inverse logic to the original pthread func and the
macros in evas that used it were not changed accordingly! aaagh!

i've also added backtrace debug ability to eina threads if compiled in
- u can get a bt of who last locked something. i had to do this just to
begin to grasp what on earth was going on. it's off by default.
also... the locks are error check locks to trylock can detect
deadlocks. speacil "2" return for now. better than a poke in the eye
with a sharp stick until we decide what to do. for now i hopew i have
killed this thread lock bug.




SVN revision: 59085
2011-05-01 13:24:08 +00:00
Carsten Haitzler 3aa2f7bb4a revert some changces to try fix lock issues - they create other
nastier ones.



SVN revision: 59073
2011-05-01 07:26:42 +00:00
Carsten Haitzler d5b8646544 try and remove lock deadlocks...
SVN revision: 59070
2011-05-01 06:58:36 +00:00
Brett Nash 94275377e5 Evas: Filter: Brightness: Fix clamp ranges, and don't double negate
Basically it's a clamp function...

SVN revision: 59068
2011-05-01 06:39:26 +00:00
Brett Nash 370f868003 evas: filter: brightness: software brightness filter.
SVN revision: 59067
2011-05-01 06:39:24 +00:00
Brett Nash feeb11f555 evas: filter: Use the correct fields in filter_set
Strangely, not everything is a blur.

SVN revision: 59066
2011-05-01 06:39:22 +00:00
Brett Nash 2ad85405df Use ARGB_JOIN everywhere in evas_filter.
Now to re-apply brightness.

SVN revision: 59065
2011-05-01 06:39:19 +00:00
Carsten Haitzler 3d4b3d40a9 and try and reduce possible cache deadlocks/issues.
SVN revision: 59064
2011-05-01 06:26:41 +00:00
Carsten Haitzler f2e2d8963a could have a cache deadlock here as _sci_find is called from with
already locked caches.



SVN revision: 59063
2011-05-01 06:24:02 +00:00
Vincent Torri c7b9d3d14e whitespaces--
SVN revision: 59062
2011-05-01 06:06:56 +00:00
Carsten Haitzler a41176be3d remove unneded lock+unlock
SVN revision: 59060
2011-05-01 04:44:56 +00:00
Tom Hacohen 961e0c794a Evas text: Move the shadow calculations out of the loop.
SVN revision: 59047
2011-04-29 19:26:56 +00:00
Vincent Torri 4adf078b2e ecore: fix #elif usage
SVN revision: 59045
2011-04-29 19:10:51 +00:00
Boris Faure a96931a66b eina: fix #elif usage
SVN revision: 59044
2011-04-29 19:08:03 +00:00
Boris Faure 64f1cee555 eina: remove redundant declaration
SVN revision: 59043
2011-04-29 19:07:46 +00:00
Tom Hacohen 00c53f261b Eina refcount: Wrap EINA_REFCOUNT_UNREF with do {} while(0).
SVN revision: 59042
2011-04-29 18:54:29 +00:00
Cedric BAIL 74fb408eb1 eio: use eina refcount.
SVN revision: 59040
2011-04-29 16:24:14 +00:00
Cedric BAIL c958177e51 ethumb: use Eina_Refcount.
SVN revision: 59039
2011-04-29 16:09:45 +00:00
Cedric BAIL f97a64ca03 eina: Add refcounting macro helper.
SVN revision: 59038
2011-04-29 16:09:07 +00:00
Vincent Torri 504f11eff5 shadow var--
SVN revision: 59032
2011-04-29 07:39:28 +00:00
Vincent Torri b9ed03b15d formatting
SVN revision: 59031
2011-04-29 07:34:12 +00:00
Vincent Torri 2d4b272338 Ecore: ecore_con: add some checks and formatting
* add checks for the fd handlers
 * reformat a bit _ecore_con_svr_tcp_handler()



SVN revision: 59030
2011-04-29 07:22:53 +00:00
Jihoon Kim dee7de3639 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] Add ecore_imf_context_autocapital_type_{set, get},

To support the autocapitalization feature, I'd like to add
ecore_imf_context_autocapital_type_{set,get} API.
I will implement the autocapital feature in immodule, so the immodule
should know the autocapitalization type.
This API is for letting immodule know the autocapitalization type.

In addition, ecore_imf_context_prediction_allow_set API is used to set
whether the IM context should allow to use the text prediction.



SVN revision: 59025
2011-04-29 05:16:51 +00:00
Vincent Torri 8f05d21ddf ChangeLog entry for the monotonic clock implementation for Mac OS X
patch by Eduardo Felipe Castegnaro


SVN revision: 59024
2011-04-28 20:57:30 +00:00
Vincent Torri b66f4ec297 Ecore: ecore_time : Add a fast high-resolution monotonic clock
SVN revision: 59021
2011-04-28 19:38:41 +00:00
Cedric BAIL 3d28fd82b3 ethumb: reduce number of generate.
SVN revision: 59018
2011-04-28 17:00:49 +00:00
Cedric BAIL 88745904b4 ethumb: cache exists result.
SVN revision: 59017
2011-04-28 17:00:13 +00:00
Cedric BAIL fc27a465a3 eio: also copy xattr when available.
SVN revision: 59015
2011-04-28 16:45:45 +00:00
Tom Hacohen 31d4f2699b Edje size_min_restricted_calc: Hopefully fixed textblock handling.
SVN revision: 59010
2011-04-28 15:29:50 +00:00
Tom Hacohen 5570891eb3 Evas font-engine: Fixed rendering of empty text.
SVN revision: 59006
2011-04-28 15:02:11 +00:00
Cedric BAIL c5b107f144 ethumb: use xattr as cache when available.
SVN revision: 59004
2011-04-28 13:25:14 +00:00
Tom Hacohen 7280b0d852 Evas font-engine: Document and cleanup the comments in font-query.
SVN revision: 59002
2011-04-28 12:57:35 +00:00