Cedric BAIL
1a1f807026
Their should be no direct modification of Evas_Object changed flag.
...
SVN revision: 34736
2008-06-04 16:41:16 +00:00
Gustavo Sverzut Barbieri
b802f4c94a
Add evas_object_event_callback_del_full()
...
This will check both function and data before removing the callback,
this is useful when you have lots of children monitoring parent, when
one child want to remove its monitoring function, others will remain.
Name is quite difficult to choose, I opted for "_full", but could be
"_with_data" or similar.
SVN revision: 34731
2008-06-03 20:33:40 +00:00
Gustavo Sverzut Barbieri
40a63c7965
Fix typo!
...
SVN revision: 34686
2008-05-28 18:00:04 +00:00
Cedric BAIL
eaa23bebce
Replace evas_list used by evas_render by a cache of evas_array.
...
README: This should not break any EFL applications, but please check and report any breakage to me.
SVN revision: 34677
2008-05-26 13:24:24 +00:00
Cedric BAIL
777410eac2
Make the most used functions inline functions.
...
SVN revision: 34675
2008-05-26 13:08:54 +00:00
Carsten Haitzler
906040dab0
add a cancel to all mouse butotn presses
...
SVN revision: 34607
2008-05-19 04:15:22 +00:00
Carsten Haitzler
5887bde860
colorspace stuff in cvs.
...
SVN revision: 34604
2008-05-19 03:13:16 +00:00
doursse
37607b5e8e
config.h is already included in evas_common.h
...
SVN revision: 34599
2008-05-18 22:28:10 +00:00
Gustavo Sverzut Barbieri
27437c83cf
Make layer number a short and Save 8 bytes.
...
By having a layer as a short (16 bits) we can pack it together with
the bitfields, saving 4 bytes per sub-struct, 8 bytes in total, also
bringing the struct down from 4 to 3 cachelines on my laptop.
Rationale: layers are mostly used to differentiate groups of objects
and they stacking, usually we have few layers and we use very large or
very small numbers to make a layer be at the top or at the bottom, but
usually we don't need so many layers.
Caution: code that use values like 999999 will break, so fix your
code! I'll provide another patch to fix all the CVS using these large
values.
SVN revision: 34420
2008-05-01 06:18:21 +00:00
Gustavo Sverzut Barbieri
7a82a3e43d
Save 20 bytes moving smart data to its specific object struct.
...
This saves 20 bytes, bringing Evas_Object to 200 bytes, by moving data
specific to smart objects to their own struct (Evas_Object_Smart).
There is still one remaining member that could be removed:
smart.smart, this is used mainly to identify if one object is a smart
object or not. One possibility would be to add a bitfield to state
that, but another possibility is to check Evas_Object::object_data
and see if it's a smart or not.
SVN revision: 34419
2008-05-01 05:48:03 +00:00
Gustavo Sverzut Barbieri
4bc8043a10
Save 8 bytes from Evas_Object by packing interpolation.color_space.
...
Interpolation color_space (now ASHV or ARGB) was being used inside a
struct with 4 byte alignment. Remove it from the struct and make it a
bitfield so can be packed with the other fields. This saves 2
integers, so 8 bytes.
SVN revision: 34418
2008-05-01 04:14:08 +00:00
Gustavo Sverzut Barbieri
14cf29eede
Use Evas_Coord_Rectangle in evas_object_image.c
...
SVN revision: 34415
2008-05-01 00:09:39 +00:00
Gustavo Sverzut Barbieri
b46fc2a2f4
Save memory related to size hints.
...
Size hints are useful, but wasting 36 bytes for it on every object is a bit
too much: clippers and lots of other objects will have no need for it.
Now it's a pointer to a struct that will be allocated just when some value
is set, wasting 4/8 bytes more for the pointer when it is used, but saving
32/28 bytes when it is not.
This will also help to have alignment properties in future, that can come
as hints, without too much impact on memory consumption.
SVN revision: 34412
2008-04-30 22:51:08 +00:00
Cedric BAIL
2a123c0d6a
Add support for evas asynchronous events.
...
SVN revision: 34410
2008-04-30 12:21:31 +00:00
doursse
208d20a30f
* Add Windows CE engine (1st step)
...
The engine is not entirely working right now. Recent devices which
supports the raw frame buffer should work though. But having it in
cvs will help me as I'm coding it most of the time "blindly" (no
device to test it)
* minor formatting in the top evel Makefile.am too
SVN revision: 34354
2008-04-23 19:17:59 +00:00
Cedric BAIL
1a9cfba889
Removing trailing white spaces.
...
SVN revision: 34269
2008-04-14 09:31:31 +00:00
Carsten Haitzler
ae1977a214
cedric's cache changes patch
...
SVN revision: 34253
2008-04-12 00:32:30 +00:00
Carsten Haitzler
27f1963fcb
gustavo's size hint patch.
...
SVN revision: 34248
2008-04-11 23:12:20 +00:00
Carsten Haitzler
73b6cc9ff8
add a hold event to feed.
...
SVN revision: 34160
2008-03-31 21:38:38 +00:00
Carsten Haitzler
f2aeab1bd6
fix some escaping :)
...
SVN revision: 34066
2008-03-20 21:15:16 +00:00
Gustavo Sverzut Barbieri
79a5be8ec3
Fix missing null terminator in textblock.
...
Although I used 3 lines comments to state it was not required, it is
required because none of the values accounted includes the '\0'.
SVN revision: 33940
2008-03-06 01:06:58 +00:00
Gustavo Sverzut Barbieri
23c566bb07
Cleanup textblock's strbuf implementation.
...
This should provide correct code in a simpler way by sharing some of
the common code among functions.
Tested with E17 basics, require some applications with extensive usage
of textblock manipulation to do validate results.
SVN revision: 33939
2008-03-06 00:41:47 +00:00
Gustavo Sverzut Barbieri
4bd8fdaeeb
Fix evas_object_textblock's strbuf implementation.
...
Code was not tracking the real size of the allocated memory and was
increasing the string size by one, so the '\0' was being accounted and
the string was being truncated visually.
Patch will remember the exact allocated size and just increment the
string size by the added string, not including it's null-byte
terminator.
This is based on Cedric's BAIL patch set 'evas_object_textblock more
character fix', but doing the minimum to fix the problem.
PS: this code will be rewritten to share some implementation in next commit.
SVN revision: 33937
2008-03-05 21:30:22 +00:00
Carsten Haitzler
23aef39670
ooh - a case where callbacks may be cleared but we call one - list entry not
...
nulled out. fix.
SVN revision: 33848
2008-02-26 09:16:17 +00:00
Gustavo Sverzut Barbieri
4d5430d438
Add room for '\0' in textblock calculations.
...
In evas_object_textblock, the length forgot the '\0', this create a
buffer overrun.
Author: Cedric BAIL
SVN revision: 33747
2008-02-15 14:45:31 +00:00
Gustavo Sverzut Barbieri
5d571051b9
Add const to Evas api: objects and remaining bits.
...
SVN revision: 33716
2008-02-08 22:35:19 +00:00
Gustavo Sverzut Barbieri
2756696bbe
Add const to Evas aoi (part 3), still lacks objects.
...
SVN revision: 33715
2008-02-08 21:42:01 +00:00
Gustavo Sverzut Barbieri
bbc9773a26
Add const to Evas api (part 2), still lacks objects.
...
SVN revision: 33713
2008-02-08 20:57:30 +00:00
Gustavo Sverzut Barbieri
5233796eb5
Add const to Evas api, still lacks objects.
...
SVN revision: 33711
2008-02-08 20:44:09 +00:00
Gustavo Sverzut Barbieri
903a4d6e4d
Add const to Evas_Smart_Class pointer.
...
The previous commit just removed the warning, but it was not the ideal
solution. The class is really a constant, nobody should change it
after it's assigned.
SVN revision: 33709
2008-02-08 20:03:48 +00:00
Gustavo Sverzut Barbieri
7cb7216314
Add const: evas_hash.c
...
As agreed on IRC, evas_hash_foreach() now takes const, to make clear
that hash shouldn't be changed. If one wants to change he must do a
cast and return 0. However this will require users to be updated in
applications.
SVN revision: 33708
2008-02-08 19:55:03 +00:00
Gustavo Sverzut Barbieri
72b005350a
Add missing cast.
...
SVN revision: 33707
2008-02-08 19:51:02 +00:00
Christopher Michael
f665bd40d6
Comment out unused function...was giving a "defined but not used" warning
...
during compile. Left function intact, just commented out, in case it was
meant for use later.
SVN revision: 33658
2008-02-01 01:45:46 +00:00
Carsten Haitzler
f8a8489e92
and have the event surfivie between object calls - that was an oops!
...
SVN revision: 33563
2008-01-23 09:00:59 +00:00
Carsten Haitzler
a20bf8dc09
and... set event flags to 0 damnit!
...
SVN revision: 33561
2008-01-23 08:27:13 +00:00
Brett Nash
f30bb5ed4a
Make layer get work correctly for smart members.
...
Currently works fine until you change the smart objects layer.
SVN revision: 33117
2007-12-12 23:52:18 +00:00
doursse
e21fb0f122
autostuff improvements:
...
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
and check the required minimal versions.
* add bzipped distribution archive
* add AC_LIBTOOL_WIN32_DLL
* forbid libtool to check fortran
* compute libtool versioning from the version of the package
* pass the directories based on ${prefix} to the preoprocessor
with the -D option
* replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
* remove useless -L flags in *_la_LDFLAGS
SVN revision: 32337
2007-11-04 09:21:50 +00:00
doursse
2898660d8a
16 bits software directdraw engine. Mainly for win ce users, I guess
...
SVN revision: 32020
2007-10-08 19:08:42 +00:00
andrunko
4b4d4ca3b9
Updated documentation.
...
Fixed documentation of Evas_Object_Image.
Added some more documentation.
Fixed typo on evas_list_remove_list documentation.
SVN revision: 31982
2007-10-05 19:37:21 +00:00
Carsten Haitzler
a5d3f7ddc0
1. default object size to 0x0
...
2. remove some float numbers (were cast anyway)
3. make smart object mmove/resize only called if the obj changes
SVN revision: 31968
2007-10-05 04:52:10 +00:00
Carsten Haitzler
e6aa181b56
add a DEL callback - called at the very start of object deleteion.
...
SVN revision: 31942
2007-10-03 04:09:36 +00:00
Carsten Haitzler
2ea744bc1b
working on optimising software-x11 with the one-buffer persistence idea that
...
software-16 uses. it works and in some cases gets massive speedups (70%+) but
in a few its slowdowns (30% down) in expedite tests - why, i don't know. it
should be the same or better in all tests. disabled for now - also not
complete. < 32bpp wont' work and not sure rotation works and masks don't work
either.
SVN revision: 31928
2007-10-02 03:40:14 +00:00
andrunko
2c2ca77d5f
Make sure image colorspace is properly set.
...
SVN revision: 31889
2007-09-30 15:04:51 +00:00
Gustavo Sverzut Barbieri
cba48d38b5
Reorder emission of EVAS_CALLBACK_FREE event.
...
Now EVAS_CALLBACK_FREE is emitted after smart object's "del"
implementation, this way bindings/wrappers can observe this event in
order to release its wrappers and be sure that they'll not be used
anymore.
Please check your existing code to see if you don't rely on the old
behavior.
SVN revision: 31800
2007-09-25 13:33:12 +00:00
Carsten Haitzler
eafbf9bd38
removbe by list item not data item - faster.
...
SVN revision: 31799
2007-09-25 13:26:23 +00:00
Carsten Haitzler
819e078f4d
fix infinite loop!
...
SVN revision: 31710
2007-09-13 23:16:11 +00:00
Gustavo Sverzut Barbieri
03cca32caa
Fix bug of type truncation on 64bits platform.
...
Returning a pointer (possible 64bits) where an integer (possible
32bits) is expected may truncate the type, returning just one part
that may be full "0", leading to incorrect behavior. This fix checks
against NULL and resulting value is either 0 or 1.
By: Brett Nash (kill-a-1-in-4-billion-crash.patch)
SVN revision: 31698
2007-09-13 14:28:32 +00:00
tilman
1bd182b2f1
When we're drawing text objects, don't apply the horizontal bearing ourselves.
...
The font drawing code already takes care of that.
This fixes alignment problems most visible with monospaced fonts.
SVN revision: 31511
2007-08-26 11:06:34 +00:00
moom
c9264664d9
* Add interceptors for color_set(), clip_set() and clip_unset()
...
SVN revision: 31460
2007-08-22 16:45:37 +00:00
doursse
8474937ef3
Direct3D engine. I'm not an expert of that api, so there should room for lots of improvements
...
SVN revision: 31359
2007-08-17 09:16:26 +00:00
Sebastian Dransfeld
07c37865cf
Remove wrong comma in printf statement.
...
SVN revision: 31290
2007-08-13 05:17:44 +00:00
doursse
31c47b3461
Glew OpenGL engine added. Windows can have an opengl engine thgough the Glew library, now. See INSTALL note
...
SVN revision: 31180
2007-08-05 07:22:44 +00:00
Carsten Haitzler
4b435be1ed
move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
...
probably die as it's already got legacy funcion methods for layer etc. stuff.
SVN revision: 31161
2007-08-04 13:12:43 +00:00
Carsten Haitzler
a6d0bff73f
was screwing around hunting down bug in edje...
...
SVN revision: 31106
2007-08-01 14:35:30 +00:00
Gustavo Sverzut Barbieri
eda1f13b33
Support for selectable pointer_mode.
...
Evas now support objects that do not grab mouse down event (NOGRAB) aside
with the default (AUTOGRAB). API is meant to be extensible.
SVN revision: 30950
2007-07-24 14:20:07 +00:00
Carsten Haitzler
d6f9cc797e
adrunko's precise event patch
...
SVN revision: 30939
2007-07-23 14:22:57 +00:00
Carsten Haitzler
be1ba8873b
no need for extra nul byte check - while terminated IF its null. so known
...
condition. formatting too.
SVN revision: 30923
2007-07-21 03:06:08 +00:00
Gustavo Sverzut Barbieri
b4ab277e21
Fix bug introduced with r1.138, removed incorrect offset table.
...
I changed evas_object_textblock_text_markup_get() to just return
previously known contents, not try to recreate them set with other
means, this was not used (at least in our CVS) and was slow and
incorrect.
SVN revision: 30919
2007-07-20 22:30:12 +00:00
Carsten Haitzler
694cab4e14
0
...
cedric's patches broke emotion - fix.
SVN revision: 30888
2007-07-18 04:42:23 +00:00
Carsten Haitzler
6c167c3a6d
cedric's sdl patch.
...
SVN revision: 30845
2007-07-16 07:25:35 +00:00
Carsten Haitzler
78408fe60a
1. fix a lot of things so they pass make distcheck - so many things have
...
broken. guys - need to be more careful!
2. asparagus
3. some extra docs/comments for evas
SVN revision: 30696
2007-07-10 00:13:26 +00:00
Carsten Haitzler
da64700f13
fix from brett
...
SVN revision: 30677
2007-07-09 10:39:49 +00:00
Carsten Haitzler
0c4af24a33
save a few bytes by packing structures better... simple savings :)
...
SVN revision: 30486
2007-06-28 23:22:20 +00:00
kiwi
a001af9e23
fix some warnings, mostly missing "void" when a function has no parameters
...
SVN revision: 30474
2007-06-27 10:57:54 +00:00
Carsten Haitzler
c303f04048
add an engine idle flush
...
SVN revision: 30355
2007-06-17 02:56:59 +00:00
Gustavo Sverzut Barbieri
6398a2c6dc
Add branch prediction fixes
...
SVN revision: 30237
2007-06-04 18:31:30 +00:00
Carsten Haitzler
849e428e7f
documentation from brett... tiler can compiler again.
...
SVN revision: 30221
2007-06-04 09:48:28 +00:00
doursse
2bbb2619f9
add the DirectDraw engine. Evas is now available on Windows (tm)
...
SVN revision: 30089
2007-05-27 06:43:23 +00:00
tilman
07ff938e34
rework how the html entity escape arrays are stored. this saves a few hundred bytes on the data section of the library, kills off ~300 locations, and makes the so 77K smaller.
...
SVN revision: 30012
2007-05-17 22:48:48 +00:00
tilman
840acd78a4
missing commas in important places ftl
...
SVN revision: 30001
2007-05-15 19:19:00 +00:00
tilman
936b791547
a bunch of constness fixes
...
SVN revision: 29871
2007-05-06 11:29:37 +00:00
Carsten Haitzler
002d09cc7d
asparagus - pass distcheck.
...
SVN revision: 29865
2007-05-05 15:14:17 +00:00
Stafford Mitchell Horne
f0c58de312
Fix problem with fonts that cant load completely
...
* fix reference counting for font_int(s)
* properly backout if face doesnt load correctly, this way we dont end up
using the face again
* put some comments about fudged font cache
SVN revision: 29863
2007-05-05 10:30:11 +00:00
Sebastian Dransfeld
ec5744a4ee
ok is only needed if we build eet font loader.
...
SVN revision: 29786
2007-05-01 13:05:24 +00:00
Carsten Haitzler
5e691081ca
extensive delete me handling for evas free's and list walks
...
SVN revision: 29776
2007-04-30 04:22:42 +00:00
Carsten Haitzler
16df9e0047
add in the work I did for a 16bit engine - for now, a dormant project until i
...
can be convinced it provides real and significant speedups that warrant the
significant effort.
SVN revision: 29770
2007-04-29 15:45:40 +00:00
Andreas Volz
d1b66f89e6
added some docs with best of my knowledge. Please check and correct if needed.
...
SVN revision: 29747
2007-04-28 10:21:30 +00:00
Carsten Haitzler
aa639a5bfc
check if someone was silly enough to try clip themselves
...
SVN revision: 29476
2007-04-12 11:17:40 +00:00
Sebastian Dransfeld
61e9f0afd6
Remove unused code.
...
SVN revision: 29377
2007-04-05 15:40:51 +00:00
rephorm
9caf34cee9
revert broken fix for polygon geometry
...
SVN revision: 29217
2007-03-28 23:58:49 +00:00
tilman
99060c539f
evas now uses pkg-config to detect EET. i also reworked the autoconf code for that, IMO it now is MUCH cleaner and easier to read than before. if this causes any trouble, please contact me rather than putting weird code in again. thanks :)
...
SVN revision: 28838
2007-03-21 02:15:30 +00:00
Carsten Haitzler
9ae24eeaeb
ooh - and remove leak from callbacks not being freed! fixed!
...
SVN revision: 28426
2007-02-21 21:43:45 +00:00
Christopher Michael
af9e05f2ef
Fix formatting of a function.
...
SVN revision: 28324
2007-02-12 17:02:15 +00:00
Andreas Volz
a001030668
fixed polygon moving
...
SVN revision: 28109
2007-01-22 23:38:39 +00:00
Carsten Haitzler
18b973d1ac
1. fixed some inefficient edje loading - moved checks to the cache code where
...
it sould be
2. fixed edje handling of delete of objects so we don't lose clip info if we
move a swallowed object out
3. fix up norender stuff for evas a bit
4. pants.
5. coogee beach (sydney) in summer right now is beatiful - KICK ASS!
SVN revision: 28102
2007-01-22 12:44:57 +00:00
Carsten Haitzler
5fc48a2b07
actually dont delay so long in deleting objects. make it happen sooner
...
SVN revision: 28014
2007-01-16 10:17:10 +00:00
Sebastian Dransfeld
6849defebf
Use cpp to remove code.
...
SVN revision: 27584
2006-12-28 12:23:13 +00:00
rephorm
5f7e0aec95
Patch for line geometry from Cedric BAIL
...
Remove commented out lines
SVN revision: 27577
2006-12-28 02:57:31 +00:00
Carsten Haitzler
f83220c857
not complete yet - actually i need help with the fragment shader.
...
in evas_gl_texture.c i have a frag shader, and it tries to use a set of 3
textures that act as the yuv planes, BUT the u and v textures (Utex and Vtex)
are simply getting values from the Ytex - regardless of what i try. grrr.
what's up with that?
SVN revision: 27495
2006-12-17 15:48:52 +00:00
Carsten Haitzler
3e337b0754
and actually call the engine calls!
...
SVN revision: 27390
2006-12-09 09:02:43 +00:00
Carsten Haitzler
2058cfd58b
1. add new api calls to 1. set a "native surface" for image objects. this
...
currently does nothing and i have kept it VEEERY generic it's a pointer to a
native surface which can be just about anything - each engine will probably
define a format of its own you need to use VIA the native surface type.
2. add calls to set/get colorspace - moving this down into the engine level.
so far engines do nothing at all with it - but api is there.
3. clean up gl engine a bit - make it more standard.
SVN revision: 27389
2006-12-09 08:52:08 +00:00
rephorm
5a4cffcf90
add some documentation
...
SVN revision: 27380
2006-12-08 07:51:48 +00:00
Carsten Haitzler
0a798ec6a8
add version to smart classes.
...
SVN revision: 27323
2006-12-02 03:20:56 +00:00
ningerso
b8416d9646
Reduce additional layout parsing overhead by using the format string without
...
copying the contents to temporary buffers. This cuts the time spent during
the layout phase in half.
SVN revision: 27270
2006-11-28 20:30:48 +00:00
ningerso
0a734352bd
Improve format parsing performance by using preloaded stringshares to do pointer
...
comparisons rather than strcmp and avoid extra malloc/free overhead. May be a
slight slow down on short simple text, but a significant improvement on longer
and more complex formatting.
SVN revision: 27268
2006-11-28 16:14:11 +00:00
Carsten Haitzler
f80a02f999
a few things.
...
1. disable viewports other than 1:1 at 0,0
2. remove output space coorsds for pointer.
3. remove geom caching
4. make threaded pipelined engine a runtime detect if u have > 1 cpu.
5. pthread build default if u have pthread.h and sched.h
SVN revision: 27131
2006-11-16 03:20:24 +00:00
Carsten Haitzler
4021776111
nash patch
...
SVN revision: 27100
2006-11-14 02:00:23 +00:00
Carsten Haitzler
9604530f2f
slight cleanups
...
SVN revision: 26615
2006-10-15 14:39:16 +00:00
Carsten Haitzler
21e9758f0b
ooh - freeing a smart multiple times - bad bad bad.
...
SVN revision: 26611
2006-10-15 12:15:36 +00:00
Carsten Haitzler
3c6495b122
hmm - broke e17's mouse pointer
...
SVN revision: 26403
2006-10-08 00:32:50 +00:00
tilman
3074654eaf
don't forward noop move/resize calls to smart objects anymore. code wrapped in ifdefs so you can easily restore the old behaviour if needed.
...
SVN revision: 26399
2006-10-07 17:35:14 +00:00
moom
424b6c5ffb
* Fix a bug with double-click
...
SVN revision: 26381
2006-10-06 19:13:33 +00:00
Carsten Haitzler
801bdf34d8
joses fixes for grads with premul
...
SVN revision: 26348
2006-10-05 05:28:35 +00:00
Carsten Haitzler
8c93e825a8
same as previous commit.
...
SVN revision: 26236
2006-09-30 10:18:37 +00:00
Carsten Haitzler
3115a52684
and i implemented module UNLOADING. given enough cycles of non-use of a
...
module and no references, it will get.... UNLOADED :)
SVN revision: 25954
2006-09-18 09:40:29 +00:00
moom
a719bd4d58
* evas_object_clip_unset(): set "cur.have_clipees" to 0 *after* having
...
removed the object from the list of clipees (as it used to work
actually)
SVN revision: 25661
2006-09-09 12:25:26 +00:00
Christopher Michael
d24318ed7f
Fix some non-NULL check issues in evas_clip.c . Don't ask how I found these :)
...
SVN revision: 25637
2006-09-08 17:59:19 +00:00
moom
32147d1f6a
* The mouse flags are now correctly calculated when the mouse
...
up/down event is propagated to smart parent
SVN revision: 25107
2006-08-25 20:47:32 +00:00
Carsten Haitzler
0889c589f2
added the ability to set load scaledown, dpi or load size - the svg loader
...
uses these to know what to render and how (or has defaults if these are not
set)
SVN revision: 24868
2006-08-18 14:45:26 +00:00
Carsten Haitzler
7f41aeb177
fix some warnings!
...
SVN revision: 24599
2006-08-12 14:46:15 +00:00
ningerso
d85048c93f
Did some cache miss profiling with a large number of transient text objects
...
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.
Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.
SVN revision: 24387
2006-08-04 10:00:50 +00:00
moom
ac0055db7e
* Add evas_object_smart_parent_get() to get the smart parent of an Evas_Object
...
* Add evas_object_smart_members_get() to get a list of the member objects of a smart object
SVN revision: 24374
2006-08-03 02:14:53 +00:00
Carsten Haitzler
996645a4d6
add abort so u can trap etk badness
...
SVN revision: 24316
2006-07-30 14:30:24 +00:00
rephorm
ab7d018a71
set the name to NULL on _del instead of _free
...
Since free can be delayed, if you deleted a named object, created a new one and set it to the same name, the hash could still point to the old object.
SVN revision: 23865
2006-07-13 00:26:25 +00:00
doursse
3a0454a50b
warnings-- and remove trailing spaces
...
SVN revision: 23320
2006-06-09 05:11:37 +00:00
Carsten Haitzler
d7eee7eee6
patches that i said were in - commit. (see my reply emails)
...
also finish off a TODO item or 2
SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid
a17c875ddc
Add const.
...
Remove unused variables.
SVN revision: 23027
2006-05-31 18:33:46 +00:00
Carsten Haitzler
c05284ea5f
fix sizing problem when u set style after setting text/font
...
SVN revision: 22873
2006-05-25 02:40:09 +00:00
Carsten Haitzler
db9561ff11
fixup for over-grab-count
...
SVN revision: 22730
2006-05-19 07:56:53 +00:00
Carsten Haitzler
c9738a1395
illogict patch for more escapes :)
...
SVN revision: 22541
2006-05-11 23:46:54 +00:00
moom
d2dbafa095
* The textblock object now gets its color multiplied by the color of its
...
clip object.
SVN revision: 22530
2006-05-11 12:55:04 +00:00
Carsten Haitzler
77e35d60a3
jose's software rendering work - slight improvements (about 5-10%). i had to
...
disable destination alha mmx support for text rendering (mask + color) as it
was broken in tests.
SVN revision: 22440
2006-05-02 07:28:49 +00:00
Stafford Mitchell Horne
3a6d184758
Add API for getting the available fonts
...
SVN revision: 22416
2006-04-30 11:39:44 +00:00
Stafford Mitchell Horne
88edaa2e02
Add font charmap caching
...
* TODO: store cache on disc, for faster cache loading (this requires EET to support arrays)
SVN revision: 22294
2006-04-22 11:08:01 +00:00
Carsten Haitzler
05ea1163f3
fix over/under grab problems
...
SVN revision: 22234
2006-04-19 14:37:49 +00:00
Stafford Mitchell Horne
34b43317af
Revert to old fontconfig searching
...
SVN revision: 21969
2006-04-09 02:42:21 +00:00
Carsten Haitzler
02ab2a4df1
fontconfig mem reduction patch (only load what is needed)
...
SVN revision: 21880
2006-04-05 23:23:16 +00:00
Carsten Haitzler
55fdc7ac5f
add fc flags
...
SVN revision: 21805
2006-04-04 13:14:01 +00:00
Stafford Mitchell Horne
59fb5be456
Refuse zero length fonts.
...
SVN revision: 21532
2006-03-28 16:28:54 +00:00
stffrdhrn
b1e03e8791
Evas Fontconfig changes
...
* Move evas fontconfig changes out of the search loop
* Use the whole font name for the search pattern this allow things like
"Bitstream Vera Serif,Kochi Gothic" so you can manually setup fallbacks
SVN revision: 21407
2006-03-19 11:17:43 +00:00
stffrdhrn
ec8cd4cc08
Add fontconfig to evas for finding fonts
...
* This can be disabled with --enable-fontconfig=no
* Test in e17 with "enlightenment_remote -font-default-set title_bar Serif 12"
* This is just the beginning: TODO: style searching, language reorder bypass
SVN revision: 21394
2006-03-19 04:29:57 +00:00
doursse
1f3549a60b
xrender xcb engine
...
SVN revision: 21172
2006-03-10 19:10:07 +00:00
Carsten Haitzler
f51753a4b8
rehinting works on the fly now
...
SVN revision: 20858
2006-03-01 03:48:03 +00:00
Carsten Haitzler
986bc3b7d0
rehinting works on the fly now
...
SVN revision: 20857
2006-03-01 03:48:02 +00:00
Carsten Haitzler
e8bf4cdcbb
make hinting an engine api thnig - engine apis need to be mroe easily updated
...
SVN revision: 20850
2006-02-28 04:07:49 +00:00
Carsten Haitzler
4dd95e3f3e
disable double click flags if u clock on something else in between
...
SVN revision: 20554
2006-02-18 04:40:14 +00:00
Carsten Haitzler
c26850d809
text objects never drew with offsets to account for style padding - done now :)
...
SVN revision: 20509
2006-02-16 02:06:55 +00:00
Ben Martin
c7788c6bd8
gaurd access to layer->objects->last to check if layer->objects == 0
...
SVN revision: 19982
2006-01-23 06:54:04 +00:00
Christopher Michael
e70d9a0a03
Check that the Textblock_Line exists first before trying to free or else segv
...
SVN revision: 19903
2006-01-19 14:16:47 +00:00
sebastid
59f9caea69
Formatting.
...
SVN revision: 19790
2006-01-14 15:39:57 +00:00
Carsten Haitzler
f435375b19
initial import fo loadable engine modules for evas - from jorge zappie :)
...
SVN revision: 19775
2006-01-14 12:13:38 +00:00
Carsten Haitzler
bc59e998b7
patch from al catching nasty oops
...
SVN revision: 19765
2006-01-14 09:26:22 +00:00
sebastid
cfb57a407e
Cast the objects to object list.
...
SVN revision: 19610
2006-01-07 14:31:57 +00:00
sebastid
bca26535dd
Fix compiler warnings.
...
SVN revision: 19580
2006-01-06 23:13:16 +00:00
sebastid
3e41ec2fbd
Remove EAPI warnings.
...
Remove duplicate defines.
SVN revision: 19579
2006-01-06 23:05:17 +00:00
Carsten Haitzler
1b272aec90
joses's gradient work - gradient look nice. one problem jose.. USE BRACKETS!
...
do NOT depend on order operation precedence. it broke scaling. laos other
completely bizarre mmx things were going wrong with mm7 ending up not 0 so
i've had to force it to be 0.
SVN revision: 18811
2005-12-03 09:27:53 +00:00
Carsten Haitzler
1d9ef01856
oops - textblock badness with alloca
...
SVN revision: 18778
2005-12-02 03:20:56 +00:00
Dan Sinclair
470cf87824
- this fixes a problem in ewl where you couldn't click to put the cursor on
...
the end of the first line
SVN revision: 18747
2005-12-01 06:18:43 +00:00
Carsten Haitzler
3621124677
stringshare works! :)
...
SVN revision: 18724
2005-11-30 08:45:20 +00:00
tsauerbeck
594ad62182
free image cache on shutdown
...
SVN revision: 18703
2005-11-29 11:46:20 +00:00
Carsten Haitzler
7ea7bdf610
disable stringshare... something fishy.
...
SVN revision: 18698
2005-11-29 09:02:51 +00:00
Carsten Haitzler
96015f59ab
use stringshare too
...
SVN revision: 18680
2005-11-28 15:30:07 +00:00
Carsten Haitzler
aaf6e303bd
use stringshare. saves a few hundred allocs... if we start doing lots of text
...
:)
SVN revision: 18679
2005-11-28 15:18:01 +00:00
rbdpngn
ebfeef8e19
Avoid allocations on "".
...
SVN revision: 18656
2005-11-27 07:02:34 +00:00
Carsten Haitzler
ca12b981bb
clip colors apply to style colors now too
...
SVN revision: 18652
2005-11-26 15:56:51 +00:00
Carsten Haitzler
18f311a137
typo fix
...
SVN revision: 18650
2005-11-26 13:58:33 +00:00
rbdpngn
74dc468be3
Create a shared style type enum and padding mapping function.
...
Implement styles for the text object.
Add soft outline text style to text and textblock.
SVN revision: 18644
2005-11-26 08:04:20 +00:00
Carsten Haitzler
59bbe6cf2d
move pow lut table to read only shared memory
...
SVN revision: 18628
2005-11-24 04:40:14 +00:00
Carsten Haitzler
6f24506e8b
1. diable a bunch of engines from auto-detecting stuff. you have to manually
...
--enable gl, qtopia and directfb enigines - they are either incomplete, buggy
or simply used so little that its not worth building unless the user REALLY
wants the support.
SVN revision: 18424
2005-11-11 06:09:46 +00:00
Carsten Haitzler
69cc1760ef
i think this will fix the layer thing nathan found
...
SVN revision: 18380
2005-11-08 11:59:21 +00:00
Carsten Haitzler
d1861a8d4c
add a call
...
SVN revision: 18336
2005-11-06 09:47:28 +00:00
sebastid
f43c421ebe
Remove double free
...
SVN revision: 18301
2005-11-04 22:53:54 +00:00
sebastid
114874900c
Remove strdup
...
SVN revision: 18289
2005-11-04 19:33:08 +00:00
Carsten Haitzler
1baca6a2a7
1 more over-render - same concept.
...
SVN revision: 18208
2005-11-02 07:13:49 +00:00
Carsten Haitzler
4aca7949f5
fix excess overdraw bug
...
SVN revision: 18200
2005-11-02 04:03:55 +00:00
Carsten Haitzler
09602687a0
fix hash calls, fix object leak. :)
...
SVN revision: 18162
2005-10-31 07:06:52 +00:00
Carsten Haitzler
f56726798f
add calls to tell evas to propagate (or not) events on an object to its
...
parent smart object IF there is a callback set. ie. if there is a key down
callback set and propagae is set to false then the key event will not
prpagate to the parent as long as the child gets the key down events and has
the callback set.
SVN revision: 18123
2005-10-30 05:07:51 +00:00
Carsten Haitzler
83f010591d
no more old textblock - gone. completely. tb2 renamed (as threatened) to
...
textblock. updated edje and e17.
SVN revision: 18054
2005-10-28 02:56:27 +00:00
Carsten Haitzler
d4db65df1f
empty string SHOULD work now if the node is non exiustant to start with
...
SVN revision: 18053
2005-10-28 02:46:16 +00:00
Carsten Haitzler
2264c5cc58
burn witch... BURN!
...
SVN revision: 18032
2005-10-27 10:33:47 +00:00
Carsten Haitzler
5650f1a234
fix renders now
...
SVN revision: 18009
2005-10-27 06:40:28 +00:00
Carsten Haitzler
c39bf3cc4e
no that made it worse.. evas renders everything. fix. must find it.
...
SVN revision: 18006
2005-10-27 04:36:58 +00:00
Carsten Haitzler
bc6ba3ab34
fix restack draw bug
...
SVN revision: 18005
2005-10-27 04:25:30 +00:00
Carsten Haitzler
208de4897a
the first wave of evas smart object modes. commit hell #1 . :) other things
...
still need updating in cvs - but i am sure others can do that :)
SVN revision: 18001
2005-10-27 02:44:36 +00:00
Dan Sinclair
ef2fcdc4c1
- make sure we have a name before trying to look it up
...
- strip off an + or - in _format_fill so we don't end up with things like
+font=fonts/Vera which then won't match when we try to recognize it as a
keyword
SVN revision: 17580
2005-10-15 22:02:59 +00:00
sebastid
ed1aa8117a
Simpler check for 0 stringlength.
...
SVN revision: 17564
2005-10-15 06:54:42 +00:00
Dan Sinclair
051b5f6fc7
- make sure the string isn't blank before appending it
...
SVN revision: 17560
2005-10-15 05:19:11 +00:00
Carsten Haitzler
5f828e6fdb
dont allow non-defaulted formats
...
SVN revision: 17558
2005-10-15 04:42:46 +00:00
doursse
4a27836ffd
missing xcb cflags
...
SVN revision: 17531
2005-10-14 06:11:03 +00:00
tsauerbeck
72883bc3de
more warning fixes
...
SVN revision: 17314
2005-10-08 10:43:14 +00:00
Carsten Haitzler
60efd688cc
fix pixel uploads form emotion
...
SVN revision: 17133
2005-10-03 13:53:11 +00:00
Carsten Haitzler
c934b1c733
fix gradients on scale
...
SVN revision: 17131
2005-10-03 13:14:07 +00:00
Carsten Haitzler
0f042bcbd4
fix xrender engnie to accept user-provided pixel data
...
SVN revision: 17128
2005-10-03 10:20:12 +00:00
Carsten Haitzler
f4a8513aa4
an xrender engine. fully complete - but it doesnt support shaped window masks
...
and destination alpha like software_x11 does so its not a 100% dropin
replacement... yet
SVN revision: 17112
2005-10-02 15:15:44 +00:00
Carsten Haitzler
dd136afb1b
fix grab handling
...
SVN revision: 16909
2005-09-24 10:22:55 +00:00
Carsten Haitzler
ee83131e83
jose patch! :)
...
SVN revision: 16866
2005-09-23 14:41:10 +00:00
Carsten Haitzler
2d9ae536fb
fix fallback handling! :)
...
SVN revision: 16837
2005-09-22 03:00:48 +00:00
Carsten Haitzler
54af68f9c7
oops - fix freeze stuff.
...
SVN revision: 16836
2005-09-22 02:52:53 +00:00
sebastid
bd8aaeeeab
Use right HEAD
...
SVN revision: 16804
2005-09-20 16:59:39 +00:00
Carsten Haitzler
0e90a7998e
fix spaces at start of nodes and lines
...
SVN revision: 16753
2005-09-18 12:42:34 +00:00
Carsten Haitzler
b515892939
fix tb2 move redraws
...
SVN revision: 16751
2005-09-18 11:55:51 +00:00
Carsten Haitzler
a50a655192
handle null string
...
SVN revision: 16743
2005-09-18 05:36:28 +00:00
Carsten Haitzler
6691ae8d14
unneeded var
...
SVN revision: 16718
2005-09-14 14:09:45 +00:00
Carsten Haitzler
09d13ac450
actualyl don't need that. it's already de-escaped
...
SVN revision: 16717
2005-09-14 14:08:02 +00:00
Carsten Haitzler
f4337d5358
more escape handling
...
SVN revision: 16716
2005-09-14 13:45:12 +00:00
Carsten Haitzler
7141435c0d
um cleanups.
...
SVN revision: 16715
2005-09-14 13:13:55 +00:00
Carsten Haitzler
e7a8b5f8f7
printf--
...
SVN revision: 16714
2005-09-14 12:55:02 +00:00
Carsten Haitzler
7de686b25d
dont need quote games there. we have escapes
...
SVN revision: 16713
2005-09-14 12:44:33 +00:00
Carsten Haitzler
39cbd8d7de
accept escapes (\\, \", \', \ , etc.)
...
SVN revision: 16712
2005-09-14 12:37:42 +00:00
Carsten Haitzler
7fa72f80e0
handle unfound fonts
...
SVN revision: 16710
2005-09-14 09:01:26 +00:00
Carsten Haitzler
65db7141f8
hmm thats better - cursor to STARt when settign markyp
...
SVN revision: 16697
2005-09-12 08:57:38 +00:00
Carsten Haitzler
37d8934a0e
text range get works. u can gety it INLCUDING \n's and \t's (simple
...
formatting) as plain text - for u dj2! :)
SVN revision: 16684
2005-09-11 03:23:11 +00:00
Carsten Haitzler
79127a2267
more tb2 work! :)
...
SVN revision: 16675
2005-09-10 11:51:52 +00:00
Carsten Haitzler
b672283702
tb2 work! :)
...
SVN revision: 16671
2005-09-09 14:19:06 +00:00
Carsten Haitzler
ef551b1126
fix some whitespace wrapping mojo
...
SVN revision: 16544
2005-09-05 09:03:01 +00:00
Carsten Haitzler
3c0b9cc34d
ok ok - they look ugly, but handle bitmap fonts! :(
...
SVN revision: 16542
2005-09-05 08:01:15 +00:00
Carsten Haitzler
904063a099
tb2 work
...
SVN revision: 16521
2005-09-04 11:34:03 +00:00
sebastid
fd37cb5ac3
Use AC_PATH_GENERIC
...
SVN revision: 16495
2005-09-03 19:42:28 +00:00
sebastid
c1b9ee22b8
indent.
...
SVN revision: 16482
2005-09-03 04:47:32 +00:00
Carsten Haitzler
e62fcac4f3
more tb2 work!
...
SVN revision: 16467
2005-09-02 15:27:09 +00:00
Carsten Haitzler
5fc8d291e1
fix some leaks, bugs and add api calls that work! :)
...
SVN revision: 16432
2005-08-30 15:19:39 +00:00
Carsten Haitzler
5236734f1d
remove debugging rect
...
SVN revision: 16393
2005-08-29 05:21:07 +00:00
Carsten Haitzler
edde2b8cdb
and fix format prepend
...
SVN revision: 16391
2005-08-28 14:01:02 +00:00
Carsten Haitzler
741bd8b53f
fix tab line wrapping and make format append/prepend work properly with
...
cursor pos
SVN revision: 16390
2005-08-28 13:56:37 +00:00
Carsten Haitzler
f2501ae4f1
tb2 work
...
SVN revision: 16389
2005-08-28 06:41:54 +00:00
Carsten Haitzler
8b2d57a76c
temporary smart stacking workaround until we fix it properly with internal
...
sub-object lists
SVN revision: 16367
2005-08-26 06:53:37 +00:00
Carsten Haitzler
44e0a11a43
fix parse error when there are no tags... :)
...
SVN revision: 16345
2005-08-25 15:23:16 +00:00
Carsten Haitzler
e8973254f1
you can query certain format nodes - like \n and \t... :)
...
SVN revision: 16252
2005-08-21 05:13:49 +00:00
Carsten Haitzler
c50dc66ff5
more tb2!
...
SVN revision: 16241
2005-08-20 08:01:59 +00:00
Carsten Haitzler
52f8f3be64
some more work on tb2
...
SVN revision: 16234
2005-08-18 15:59:42 +00:00
Carsten Haitzler
a1824f418a
remove debug rect
...
SVN revision: 16206
2005-08-16 09:42:15 +00:00
Carsten Haitzler
9d59f70dc9
ok - fix up stikethrough over linewraps
...
SVN revision: 16205
2005-08-16 09:40:15 +00:00
Carsten Haitzler
d6cf617743
fix valgrind errors
...
SVN revision: 16204
2005-08-16 09:25:48 +00:00
Carsten Haitzler
0f46654c51
and well.. now tb2 handles all the most important formattign tb1 did. that's
...
about it here for formatting. time to fix up 2 nigglies (no working  )
SVN revision: 16200
2005-08-16 08:12:14 +00:00
Carsten Haitzler
73c48f5030
handle tabs.. (jump to next tabstop)
...
SVN revision: 16187
2005-08-15 15:39:31 +00:00
Carsten Haitzler
e349816cf4
valign and parse styles, underline etc. no rendering ... yet
...
SVN revision: 16186
2005-08-15 15:30:30 +00:00
Carsten Haitzler
da99126da6
and double tb2's layout speed...
...
SVN revision: 16184
2005-08-15 12:46:16 +00:00
Carsten Haitzler
68e0498c7d
margins... werdibubble
...
SVN revision: 16176
2005-08-15 09:43:53 +00:00
Carsten Haitzler
6c4f7aa449
tb2 is now mostly behaving with formatting. excellent.
...
SVN revision: 16173
2005-08-15 07:39:03 +00:00
Carsten Haitzler
490ac9c666
aaargh! dealing with lots of little niggly things - and i havent' even
...
addressed the main issue of a word spanning over mutliple format nodes. i
have printf's where they should be handled now (and should later do a return
from). but i have yet to unwind the format list back to the word start, split
there, adjust now split line item, generate new start line item - new line
and then re-append all format items on the next line...
SVN revision: 16150
2005-08-14 15:48:07 +00:00
Carsten Haitzler
bd0afc6a61
textblock work
...
SVN revision: 16130
2005-08-13 13:43:20 +00:00
Carsten Haitzler
ed7b439c3c
printf--
...
SVN revision: 16106
2005-08-11 14:39:15 +00:00
Carsten Haitzler
1e7b430dfd
working on tb2
...
SVN revision: 16105
2005-08-11 13:50:37 +00:00
Carsten Haitzler
64f2e98808
get rid of most whitespace. still need to handle end conditions
...
SVN revision: 16073
2005-08-08 15:41:38 +00:00
Carsten Haitzler
88f6f9e7a1
printf--
...
SVN revision: 16072
2005-08-08 14:36:12 +00:00
Carsten Haitzler
f6bd182cee
wrap correctly
...
SVN revision: 16069
2005-08-08 12:43:59 +00:00
Carsten Haitzler
49c10b4a6a
word wrap works (mostly)
...
SVN revision: 16066
2005-08-08 10:55:35 +00:00
Carsten Haitzler
429a7ed4d9
ned textblock code finally formats and displays.. SOMETHING. this code now
...
needs cleaning up as it's got a bit of copy & paste work.
SVN revision: 16065
2005-08-08 09:01:07 +00:00
Carsten Haitzler
8ad2ab73de
doing more work on tb
...
SVN revision: 16037
2005-08-05 10:08:05 +00:00
Carsten Haitzler
19ee9c1e0d
i have started work on new textblock api/code - it is (for now) known as
...
textblock2 (the old textblock code is still there in textblock_old and the
api is still there until we swtich over).
...
important right nwo is COMMENTs on the api. do u like it. i am tryng to
keepit simple. right nwo i am writing JUSt enought to implement the markup
set api and styles - not a lot for editing and detailed queries yet. i will
work on that once the basic markup parse, style stuff and layout is done.
SVN revision: 16017
2005-08-03 13:07:00 +00:00
Carsten Haitzler
8f285156f3
fix pointer staying in bug.
...
SVN revision: 15985
2005-08-01 13:52:55 +00:00
Carsten Haitzler
ee18abd342
engage seems to be generating clip weirdness - testing to see if the clip
...
changes are it - catalyst? :) does it work now?
SVN revision: 15957
2005-07-30 09:52:53 +00:00
rbdpngn
ed1708a531
Defer marking dirty clippees when clip recalc occurs to avoid recursion.
...
SVN revision: 15948
2005-07-30 06:12:27 +00:00
rbdpngn
8aa4d69a59
Reduce unnecessary clip recalcs.
...
SVN revision: 15947
2005-07-30 05:55:15 +00:00
Carsten Haitzler
02664a6eb0
natah's clip patch - seems to be all genki :)
...
SVN revision: 15938
2005-07-29 07:46:22 +00:00
Carsten Haitzler
a1a07c06c3
one way or the other i'm forced to add timestamps to events - i cant avoid it
...
anymore. sorry guys. really no way around it. :(
SVN revision: 15891
2005-07-25 09:55:47 +00:00
Dan Sinclair
b474b11ac2
- evas_object_textblock_line_get was returning the geometry of the current
...
cursor position instead of the passed in line.
SVN revision: 15871
2005-07-23 02:10:24 +00:00
Carsten Haitzler
acc0701e10
1. id3 album cover loader patches
...
2. i reduced list note memory usage by 20% - shoudl work better with malloc
as ti is now a power of 2 as well
3. optimised evas internals to make use of event freezes to make e17'sw menu
popups a LOT snappier
4. fixed using last member of list nodes - bad - shoudl use api as this is
private stuff really
5. added config profile stuff to e17 u can literally maintain multiple
config profiles and choose which one at any time etc.
SVN revision: 15864
2005-07-22 10:28:11 +00:00
Carsten Haitzler
a17aa10222
tb fix!
...
SVN revision: 15778
2005-07-14 15:23:45 +00:00
Dan Sinclair
b1510056a4
- get the layout node for the position requested, not the current textblock
...
position
SVN revision: 15644
2005-07-06 01:00:41 +00:00