Commit Graph

13245 Commits

Author SHA1 Message Date
Carsten Haitzler 2598499970 and fix filter api to be consistent with evas.. letalone all of efl.
VERB AT END!!!! (get/set/whatever)



SVN revision: 58749
2011-04-20 08:13:33 +00:00
Carsten Haitzler ce8297e04b more formatting fixes after filter commit.
SVN revision: 58748
2011-04-20 08:09:30 +00:00
Carsten Haitzler 6720d96208 and fix more filter messups. o->fitler will be leaked on obj deletion
as there was no cleanup.. and the method of exposing
evas_filter_key_get() was so out of step with any other code i have
ever seen.. letalong evas... fix.



SVN revision: 58747
2011-04-20 08:06:59 +00:00
Carsten Haitzler 7ed47808cb more bad code - why pass in void * image and data? sero point.. and it
totally is out of step with the rest of the api for gl_common.. that
alone would tell you "dont so that". ugh. more filter fixes.



SVN revision: 58746
2011-04-20 08:05:23 +00:00
Carsten Haitzler 18619830c4 oh god. more warning fixes...
SVN revision: 58745
2011-04-20 08:01:04 +00:00
Carsten Haitzler 7b88f0d723 more fixme fixes of filter
SVN revision: 58744
2011-04-20 07:35:18 +00:00
Carsten Haitzler 384892d7fa start fixing shader mess. at least add mask compile to scripts. need
to do filters.



SVN revision: 58743
2011-04-20 07:12:51 +00:00
Carsten Haitzler d51d11f658 fix filter code to move docs to Evas.h
SVN revision: 58742
2011-04-20 07:08:48 +00:00
Carsten Haitzler 29992f0a49 add animator runtime stuff to run animator for fixed timelength and an
interpolation mapping func.



SVN revision: 58741
2011-04-20 06:51:39 +00:00
Carsten Haitzler 1eaba59607 oh dear... way too many warnings. added a whole bunch of fixme's too
for later.



SVN revision: 58740
2011-04-20 01:22:08 +00:00
Carsten Haitzler 549cc252cc commit forgotten chglog commit.
SVN revision: 58739
2011-04-20 00:40:14 +00:00
Mike Blumenkrantz 4fa3007806 +ecore_exe_data_set
SVN revision: 58737
2011-04-19 21:38:24 +00:00
Vincent Torri c00b418345 Evas: export evas_filter_software_get() (used in software_generic engine)
SVN revision: 58736
2011-04-19 21:37:32 +00:00
Tom Hacohen fd4203a682 Evas font-engine: fix a segfault with empty strings.
Thanks to Nicolas Aguirre (captainigloo) for the catch.

SVN revision: 58734
2011-04-19 20:27:34 +00:00
Cedric BAIL 79dbc39b5c eio: destroy leaf before root.
SVN revision: 58732
2011-04-19 15:27:21 +00:00
Brett Nash ba45fbee9e Evas: Filter: Add evas_object_image filter changes.
This is where the actual filtering takes place.  Kinda important to make it
work.

SVN revision: 58729
2011-04-19 06:16:21 +00:00
Brett Nash 9eaea94252 Evas: Filters:
More work, proudly supported by Samsung.  Filters!

So now you can apply a whole host of cheesy visual effects to objects at
runtime.  This is the first commit, there are a couple of more to come as I
tweak the filters, and fix blur with GL[1].

Please direct bugs to me nash@nash.id.au.

[1] You'd think shaders would be good at this.. but no, generic blur and GL
are like trying to get an apple product to work with Linux.

SVN revision: 58726
2011-04-19 05:47:56 +00:00
Brett Nash 36370ae91e Evas: Filter: Add the shaders - nice and safe change here.
SVN revision: 58725
2011-04-19 05:47:51 +00:00
Brett Nash 72d667e8d9 Evas: Work around for mask issues
SVN revision: 58724
2011-04-19 05:47:47 +00:00
Carsten Haitzler 351be6f22e fix - shapeinput not shapebounding. copy & paste error
SVN revision: 58723
2011-04-19 01:55:33 +00:00
Christopher Michael b42f8940b3 Evas: Fix nasty blank space after return and before semicolon.
NB: Nothing functional, just formatting.



SVN revision: 58708
2011-04-18 16:31:12 +00:00
Carsten Haitzler 9ab702b233 better docs
SVN revision: 58707
2011-04-18 11:23:56 +00:00
Boris Faure ea297cc549 ecore_x: remove redondant declaration
SVN revision: 58702
2011-04-17 16:48:22 +00:00
Tom Hacohen e6be4f7deb Evas textblock: Fixed an invalid read.
In some cases an invalid read would occur. This was because we didn't
handle node merging appropriately.

SVN revision: 58701
2011-04-17 08:38:29 +00:00
Cedric BAIL 2bb86cbe4f ecore: fix build without Ecore_Evas_X.
SVN revision: 58689
2011-04-15 13:33:44 +00:00
Carsten Haitzler 8d5212d060 BUG!! fix buffer canvas modifier set setting! gah!
SVN revision: 58685
2011-04-15 11:01:15 +00:00
Carsten Haitzler 7a2f6cd6d6 failure case more efficient
SVN revision: 58683
2011-04-15 09:32:28 +00:00
Carsten Haitzler 4e5231b3f8 fix image double-deref/free when not meant to happen
SVN revision: 58682
2011-04-15 07:49:25 +00:00
Carsten Haitzler 7722171b96 fix binary ppm loading. that was odd.
SVN revision: 58681
2011-04-15 07:08:14 +00:00
Vincent Torri c87ae61fb8 Eina: eina_file: port API to Windows
Currently, that code can potentially fail on Windows 64 bits
as long is of size 32 bits and not 64 bits. All the file length
and offset must be changed to something that fit the arch, like size_t,
or use always uint64_t


SVN revision: 58680
2011-04-15 07:03:17 +00:00
Mike Blumenkrantz 8547ebf47f fix error_find to actually return the Eina_Error instead of just i
SVN revision: 58679
2011-04-15 00:41:01 +00:00
Cedric BAIL 71226e8f22 autogen: add forgotten autopoint.
SVN revision: 58671
2011-04-14 19:26:15 +00:00
Mike Blumenkrantz b1088dc204 fix input check for list_move, add ESNV for error
SVN revision: 58670
2011-04-14 18:21:40 +00:00
Tom Hacohen f5e7165a65 Evas text/textblock: Add setting bidi_delimiter API.
SVN revision: 58669
2011-04-14 15:34:01 +00:00
Cedric BAIL cb90b07d81 autogen: unobrk things.
SVN revision: 58668
2011-04-14 14:51:36 +00:00
Cedric BAIL df4bef8bdf autogen: improve detection of parameter change.
SVN revision: 58667
2011-04-14 14:03:46 +00:00
Tom Hacohen d0e889fbe7 Evas textblock: Clean up a bit.
SVN revision: 58663
2011-04-14 12:34:29 +00:00
Tom Hacohen 2a7b919cd7 Evas textblock: Move bidi props to the layout paragraphs.
This will let us do cool overrides more control via higher level protocol
when we'll want to.

SVN revision: 58662
2011-04-14 12:13:20 +00:00
Tom Hacohen 86fd95e80e Evas textblock: Fixed invalid reads with ellipsis in some cases.
SVN revision: 58659
2011-04-14 11:37:09 +00:00
Tom Hacohen e6edd2ce7f Evas textblock: Fixed ellipsis.
It's actually just a workaround until we finally fix draw to not need
the text.

SVN revision: 58658
2011-04-14 11:37:06 +00:00
Carsten Haitzler 01146b8343 fix map update bug. :)
SVN revision: 58656
2011-04-14 10:47:40 +00:00
Cedric BAIL e342a8b94b eina: improve autoconf cache usage.
SVN revision: 58655
2011-04-14 09:40:47 +00:00
Mike Blumenkrantz cc1d028aee unrevert. this is not a mistake.
SVN revision: 58654
2011-04-14 07:42:04 +00:00
Tom Hacohen bc6e404e71 Evas: Updated changelog.
SVN revision: 58653
2011-04-14 07:40:45 +00:00
Tom Hacohen 46beed0916 Evas bidi: Added a way to ask for bidi segmentation indexes.
This lets you pass the bidi engine a list of indexes in the paragraph,
that will segment it bidi-wise. I.e the bidi algorithm will be applied to
each segment individually. This implements HL4 of the bidi algorithm.

SVN revision: 58652
2011-04-14 07:40:42 +00:00
Tom Hacohen 9de9eca278 Evas textblock: Reformat if not valid in some cases we forgot.
SVN revision: 58651
2011-04-14 07:34:06 +00:00
Vincent Torri f4670f64bf revert. The check is already done by EINA_MAGIC_CHECK, called by EINA_MAGIC_CHECK_LIST
SVN revision: 58650
2011-04-14 06:56:10 +00:00
Vincent Torri 2816a9b59d Eina: eina_file.c: use fcntl instead of O_CLOEXEC
SVN revision: 58649
2011-04-14 05:52:24 +00:00
Vincent Torri 644bf855f4 Eina: eina_file.c replace ACCESSPERMS, which is not protable, by its value
SVN revision: 58648
2011-04-14 05:39:09 +00:00
Mike Blumenkrantz 391ed4d617 fix input check
SVN revision: 58647
2011-04-14 01:04:54 +00:00
Tom Hacohen 90ad3ed743 Evas textblock Fixed a "may be used uninit" compiler warning.
SVN revision: 58646
2011-04-13 22:40:25 +00:00
Carsten Haitzler cd1c9be1f9 errrr.. how about we DONT make every eina using app spew out:
ERR<23281>:eina eina_main.c:173 _eina_shutdown_from_desc() Problems
shutting down eina module 'file', ignored.

now there's a bright idea eh?



SVN revision: 58645
2011-04-13 21:50:23 +00:00
Vincent Torri a303d5add7 fix win32 build
SVN revision: 58642
2011-04-13 17:51:00 +00:00
Vincent Torri 3d26976ef8 move doxy tag
SVN revision: 58641
2011-04-13 17:03:24 +00:00
Vincent Torri 4ae466a30c put __UNUSED__ where we usually put it : after the parameter name
SVN revision: 58638
2011-04-13 16:29:29 +00:00
Cedric BAIL 8a8153bf2d eina: add Eina_File API.
NOTE: the purpose of this API is to replace mmap user in the
EFL, share cache and more code across them. The potential user
are eet, evas, efreet, eio and enlil. More patch are needed for
them to use this infra. Help welcome :-)

NOTE2: this API also need more test and is waiting for some
more pthread infra before being thread safe. But at the end
it will be thread safe if eina thread safety is requested.


SVN revision: 58637
2011-04-13 16:15:30 +00:00
Tom Hacohen b5d014dcb7 Evas textblock: Removed unneeded casting.
SVN revision: 58635
2011-04-13 13:29:24 +00:00
Tom Hacohen d53aa0f7d6 Evas textblock: Fix error messages about bad cutoff positions.
This was caused because we failed to check text item's text boundaries
and we tried splitting beyond them.

SVN revision: 58634
2011-04-13 13:28:08 +00:00
Tom Hacohen 0243ddf34b Evas textblock: Clean up getting bidi props (unify to a function).
SVN revision: 58632
2011-04-13 12:21:58 +00:00
Tom Hacohen f9936b341f Evas bidi: Add len parameter to evas_bidi_paragraph_props_get
SVN revision: 58631
2011-04-13 12:21:54 +00:00
Carsten Haitzler 18ecece5f3 and oops.. fix my fox to coord xlations. working now.
SVN revision: 58630
2011-04-13 12:12:41 +00:00
Carsten Haitzler 9c4345a997 printf--
SVN revision: 58629
2011-04-13 12:06:17 +00:00
Carsten Haitzler 7a2fd8c67d fix buglet in inlined image buffer canvas -> coords repeated when
dragged outside the bounds.



SVN revision: 58628
2011-04-13 12:05:31 +00:00
Tom Hacohen caa46dc1ba Evas font-engine: Move, rename and make *_text_font_style_match static.
It's only really used (and will ever be used) in a very specific place,
no need to put it in a place that's visible to all the lib.

SVN revision: 58627
2011-04-13 10:55:59 +00:00
Tom Hacohen 90982f71bc Evas textblock: Make sure we only test with positive indexes.
SVN revision: 58625
2011-04-13 10:24:54 +00:00
Tom Hacohen 829b48aebd Evas textblock: Fixed a wrong test for end of string.
SVN revision: 58624
2011-04-13 10:22:55 +00:00
Carsten Haitzler 1d58c36340 fix slowdown - drew empty shadow when didnt need to.
SVN revision: 58623
2011-04-13 09:29:45 +00:00
Doyun Kang 631f94a523 From: Doyun Kang <doyoun.kang@samsung.com>
Add support for shape input setting and modification (with
fixes/modifications and extensions added tomake it more complete).



SVN revision: 58621
2011-04-13 09:06:05 +00:00
Tom Hacohen 1dac813ace Evas font-engine: Fix the fallback fribidi shaper.
Just keep the shaped string in the string object if fribidi is used
without harfbuzz.

SVN revision: 58620
2011-04-13 08:37:01 +00:00
Tom Hacohen 7220fe7bf3 Evas textblock: Don't keep a copy of the string per text item.
We don't need to copy it around because we have string objects now. This
lets us remove a lot of unneeded allocations and unwanted strcpys.

SVN revision: 58619
2011-04-13 08:36:57 +00:00
Tom Hacohen 682c7dcdc5 Evas font-engine: Fixed *props_info_create to accept a const string.
We don't want to have to alloc just for the engine. We want to be able to
pass our own const copy.

SVN revision: 58618
2011-04-13 08:36:54 +00:00
Tom Hacohen 680c4354ba Evas font-engine: Use len in font_draw instead of \0
SVN revision: 58617
2011-04-13 08:36:51 +00:00
Tom Hacohen ffbe4ed971 Evas font-engine: *text_props_script_set add parameter len.
SVN revision: 58616
2011-04-13 08:36:46 +00:00
Daniel Juyung Seo 1cdcceff91 Edje Edje.h: Removed trailing whitespaces.
SVN revision: 58615
2011-04-13 08:10:35 +00:00
Daniel Juyung Seo 7c80267fd1 Eina eina_list.c: Fixed formatting.
SVN revision: 58614
2011-04-13 07:46:28 +00:00
Mike Blumenkrantz 255f625ff1 class is a reserved word. SPANK SPANK SPANK cedric!!!
SVN revision: 58613
2011-04-13 03:08:58 +00:00
Carsten Haitzler 0a9e561d91 dont need empty dir.
SVN revision: 58611
2011-04-12 23:48:40 +00:00
Mike Blumenkrantz d422c0a88e add bench for google's cityhash function (64bit, http://code.google.com/p/cityhash/)
convenient graph of output can be found at http://www.enlightenment.org/~discomfitor/hash_bench.png


SVN revision: 58610
2011-04-12 23:12:52 +00:00
Sebastian Dransfeld 09c490369a ignore++
SVN revision: 58609
2011-04-12 22:47:12 +00:00
Sebastian Dransfeld 979f1c7e4b Efreet: We don't add non-existing dirs to lists
SVN revision: 58608
2011-04-12 22:42:57 +00:00
Sebastian Dransfeld 4c7b75cbf4 Efreet: Detect hidden themes
SVN revision: 58607
2011-04-12 22:42:43 +00:00
Sebastian Dransfeld 5fcbbac392 Efreet: Consistent PACKAGE_DATA_DIR
SVN revision: 58606
2011-04-12 22:42:29 +00:00
Sebastian Dransfeld 4262dd6285 Efreet: Fail on invalid ini file
SVN revision: 58605
2011-04-12 22:42:15 +00:00
Sebastian Dransfeld 649229a695 Efreet: Correct log domain name for efreet_ini
SVN revision: 58604
2011-04-12 22:42:01 +00:00
Sebastian Dransfeld 754b1f6425 Efreet: Re-add Home tests
Fixed cache dir creation problem.

SVN revision: 58603
2011-04-12 22:41:48 +00:00
Sebastian Dransfeld eacc880e8e Efreet: Don't update cache during tests
This makes efreet_init not fail if we pass non-existing paths as HOME
and XDG_* during testing.

SVN revision: 58602
2011-04-12 22:41:34 +00:00
Sebastian Dransfeld 1ff5c07744 Efreet: Only create cache dir if we update cache
SVN revision: 58601
2011-04-12 22:40:35 +00:00
Carsten Haitzler f67fbf23e5 fix new map bug! aaagh. i think this came in post 1.0 - happy now tho.
SVN revision: 58588
2011-04-12 09:44:50 +00:00
Daniel Juyung Seo 50e748b8cd Evas Evas.h: Removed trailing whitespaces.
SVN revision: 58587
2011-04-12 09:25:12 +00:00
Daniel Juyung Seo d37ee17f9c Evas evas_object_smart.c: Use pre-defined type, Evas_Smart_Cb, instead
of describing all parameters.


SVN revision: 58586
2011-04-12 09:23:57 +00:00
Carsten Haitzler 9718eed08e fix some formatting
SVN revision: 58585
2011-04-12 09:23:52 +00:00
Tom Hacohen ad3b167e88 Evas font-engine: Added support for runtime-italic/bold.
Now when setting :style=Oblique/Italic/Cursiva/Bold and etc and there's
no matching font found in the system, adjustments will be done on
runtime to support that feature.

Patch by Myoungwoon Roy Kim (roy_kim).

SVN revision: 58584
2011-04-12 09:05:47 +00:00
Cedric BAIL c443dd97fd eina: fix 64bits warning.
SVN revision: 58583
2011-04-12 09:00:45 +00:00
Cedric BAIL d7800c23e3 eina: alloc ABI2 to reduce risk for futur ABI change.
SVN revision: 58582
2011-04-12 08:52:59 +00:00
Tom Hacohen 892994005b Evas textblock: Fix formatted size calculation with ellipsis.
SVN revision: 58580
2011-04-12 07:13:33 +00:00
Tom Hacohen eb99563451 Evas textblock: Removed obsolete comments.
SVN revision: 58579
2011-04-12 07:13:07 +00:00
Tom Hacohen 15d09d72f8 Evas textblock: Fix a possible leak with calc_only layouting.
Style padding changes would have triggered a code-path that skips cleaning
up the temporary layout created.

SVN revision: 58578
2011-04-12 06:52:27 +00:00
Carsten Haitzler 578ac6f0b6 simplify tiff loader. hoping 64bit bug goes away. :) can't test right
now.



SVN revision: 58577
2011-04-12 06:20:38 +00:00
Carsten Haitzler 27609d0572 no need to get this.
SVN revision: 58574
2011-04-12 00:06:57 +00:00
Cedric BAIL 5165613666 eina: fix amalgamation build.
SVN revision: 58569
2011-04-11 21:16:20 +00:00