Sebastian Dransfeld
ab7e6fe3f8
evas: remove unused variables
...
SVN revision: 48819
2010-05-13 20:23:49 +00:00
Carsten Haitzler
15b7e11198
hmm - i don't know how this happened, but - metrics were not being done
...
right. fixed now. i wonder why. this used to be right at some point.
SVN revision: 48503
2010-05-01 14:08:14 +00:00
Cedric BAIL
a52773a8ab
* evas: specify Evas canvas for Evas_Object.
...
SVN revision: 48428
2010-04-29 17:35:47 +00:00
Carsten Haitzler
ac70bae562
correct ascent
...
SVN revision: 48309
2010-04-25 13:11:44 +00:00
Carsten Haitzler
fbbd6ffef1
and make items work properly.
...
SVN revision: 48306
2010-04-25 13:05:45 +00:00
Carsten Haitzler
1112f418dc
add api to get the item geometry itself. needed to put somethign there.
...
SVN revision: 48305
2010-04-25 12:40:26 +00:00
Carsten Haitzler
d37f08a616
adding... items... oooooh what are these items? invisible sized blobs treated
...
like characters/words for wrapping. intended for use in sticking inlined
content - like icons, images etc.
SVN revision: 48301
2010-04-25 11:35:41 +00:00
Carsten Haitzler
d2124c5b46
remove useless eol
...
SVN revision: 48075
2010-04-17 16:19:11 +00:00
Carsten Haitzler
afe65d7c0a
add ability to dump engine coontents (if engine supports it). this means
...
unload images it has loaded from disk, unload fonts, and more. dump dump dump!
SVN revision: 47947
2010-04-12 08:23:53 +00:00
Carsten Haitzler
79a950519d
fix insert markup. (prepend)
...
SVN revision: 47464
2010-03-26 04:21:16 +00:00
Carsten Haitzler
37743d378e
entry bug--
...
SVN revision: 47463
2010-03-26 03:57:22 +00:00
Gustavo Sverzut Barbieri
fd2659c572
evas: mega documentation improving commit.
...
This commit moves Evas.h contents a lot, but it should not change code
(some conts were added, some function attributes were changed).
The purpose of such is to define the order that doxygen show modules
in its documentation.
I also splitted documentation a bit more, and added a src/examples to
list useful example code. Right now it is just a pure-evas
draw-and-save using buffer engine.
NOTE: there is lots to document, and the @todo list is quite long but
I guess lots of things there were done already. Raster, could
you review this list?
SVN revision: 47308
2010-03-18 04:57:40 +00:00
Carsten Haitzler
c687663f14
more bug--
...
SVN revision: 47274
2010-03-16 04:09:00 +00:00
Carsten Haitzler
541d00ea16
crash--
...
SVN revision: 47270
2010-03-16 01:35:05 +00:00
Carsten Haitzler
b86174f063
bug--
...
SVN revision: 47266
2010-03-16 00:56:11 +00:00
Carsten Haitzler
3033a7492a
wow - killed 2 bugs with 1 stone!
...
:)
SVN revision: 47229
2010-03-15 02:34:11 +00:00
Carsten Haitzler
09279e3b3a
segv--
...
SVN revision: 47207
2010-03-14 14:41:50 +00:00
Carsten Haitzler
eae926c08b
another bug--
...
SVN revision: 47204
2010-03-14 12:58:49 +00:00
Carsten Haitzler
2a78f7724c
more entry bug--
...
SVN revision: 47201
2010-03-14 12:24:42 +00:00
Carsten Haitzler
033322a0c5
inf loop--
...
SVN revision: 47198
2010-03-14 08:04:49 +00:00
Carsten Haitzler
2527f5f00f
fix valgrind complaints within tb - fixes an entry bug too.
...
SVN revision: 47197
2010-03-14 06:38:58 +00:00
Carsten Haitzler
5e3a5cc696
if cur not pointing to node.
...
SVN revision: 47196
2010-03-14 03:52:33 +00:00
Carsten Haitzler
f8493edc4b
printf--
...
SVN revision: 47174
2010-03-13 13:25:01 +00:00
Carsten Haitzler
a8c9ccba77
and fix cursor when entry is empty case. more cases to fix yet.
...
SVN revision: 47155
2010-03-12 11:15:19 +00:00
Carsten Haitzler
4277c3ea20
ok segv not there.. but behavior not good. now i rememebr why the <br> was
...
there... :) time to fix this another way.
SVN revision: 47154
2010-03-12 10:49:39 +00:00
Carsten Haitzler
aaaefc0b3e
fix 1 entry insert issue - also printf debugging for now
...
SVN revision: 47134
2010-03-11 14:29:25 +00:00
Carsten Haitzler
78eba185ef
according to dottedmag - this breaks things... i dndt see them - but.. lets
...
revert for now. i dont like breaks. :)
SVN revision: 46935
2010-03-07 07:29:26 +00:00
Carsten Haitzler
3f465fc58b
alow linesiae to get smaller - from mikhal
...
SVN revision: 46930
2010-03-07 06:48:48 +00:00
Carsten Haitzler
abd231ccf0
REVERT!!!! you broke evas build.
...
evas_object_textblock.c: In function ‘_nodes_next_merge’:
evas_object_textblock.c:380: error: ‘Evas_Object_Textblock_Node’ has no member named ‘len’
SVN revision: 46874
2010-03-04 16:22:28 +00:00
Mikhail Gusarov
a4157cbc2a
Insert more comments into _format and simplify if() logic as we go
...
SVN revision: 46873
2010-03-04 15:51:30 +00:00
Mikhail Gusarov
a5a07377f6
evas_textblock: Make maxascent/maxdescent variables local.
...
They are used in single function, so don't keep them in structure.
As a side-effect rework _layout_line_advance for better readability.
SVN revision: 46872
2010-03-04 15:02:10 +00:00
Mikhail Gusarov
4d49bef2fd
Evas_Textblock: store 'cursor' in the 'cursors' list to ease cursors handling
...
Some copy-pasted code removed as a result.
SVN revision: 46871
2010-03-04 15:02:02 +00:00
Mikhail Gusarov
cf68311687
evas_textblock: Get rid of code duplication in _nodes_adjacent_merge
...
SVN revision: 46870
2010-03-04 15:01:51 +00:00
Cedric BAIL
f880806ff2
* evas: Fix update of textblock when style change.
...
SVN revision: 46786
2010-03-02 14:53:27 +00:00
Mikhail Gusarov
3e0ce16056
Document evas_object_textblock_replace_char_{get,set}
...
SVN revision: 46785
2010-03-02 14:00:45 +00:00
Gustavo Sverzut Barbieri
9c3af651ba
simplify and optimize parsing of percentage and float values.
...
Use strtod() and avoid couple of walks. Of course the walks were quite
small and it will not bring noticeable improvements, but code is
smaller and easier to read, so why not?
SVN revision: 46530
2010-02-26 22:51:07 +00:00
Gustavo Sverzut Barbieri
62301bc16d
minor but easy speedups for tag processing.
...
keep tag and replacement size, compare it before doing strcmp() and
return the size so further calculations use it (eina_strbuf_append()
-> eina_strbuf_append_length())
SVN revision: 46529
2010-02-26 22:32:07 +00:00
Gustavo Sverzut Barbieri
3a11fbe02c
use eina_strbuf faster variants whenever possible.
...
call me your bitch, call me your duplicated code, call me your complex code!
SVN revision: 46528
2010-02-26 22:03:25 +00:00
Cedric BAIL
bb8ede02af
* evas: Always redraw Textblock on style change.
...
SVN revision: 46469
2010-02-25 16:31:00 +00:00
Sebastian Dransfeld
5847c6f245
string_remove -> string_steal
...
Better naming
SVN revision: 46028
2010-02-09 21:06:27 +00:00
Sebastian Dransfeld
26ddf06980
Switch internal strbuf to eina strbuf
...
SVN revision: 45944
2010-02-06 20:41:53 +00:00
Carsten Haitzler
327dbc9a72
small fix for over-zealous limiting of draws - use clip regions instead.
...
SVN revision: 45861
2010-02-04 07:41:07 +00:00
Carsten Haitzler
1dedddf95d
big speedups for scrolling and drawing big textblock (once they are
...
formatted) as it will skip (relatively quickly0 draws outside the canvas
viewport. this could become quicker with a fask line-skip table to specific
coordinates, but for now, it's a
LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOT
better. like going from 1fps to 60fps+
SVN revision: 45836
2010-02-03 15:47:13 +00:00
Cedric BAIL
6a0668110d
* evas: Fix segv source by checking result before using it.
...
SVN revision: 45301
2010-01-18 20:04:21 +00:00
Carsten Haitzler
42f1294b17
patch from sehwan@samsung.com for small issues in evas/edje
...
SVN revision: 45055
2010-01-12 01:45:10 +00:00
Cedric BAIL
1b80e16253
* evas_object_textblock: Add some cast to reduce warning noise.
...
SVN revision: 44648
2009-12-22 12:09:36 +00:00
Iván Briano
83a91a9ab9
There's more here than just warning fixes, it's causing crashes with some uses of elm_entry. Noted in Editje.
...
SVN revision: 44639
2009-12-21 19:07:51 +00:00
Cedric BAIL
a27c701f27
* evas: Remove lot's of warning.
...
SVN revision: 44629
2009-12-21 15:52:12 +00:00
Gustavo Sverzut Barbieri
8a668562b4
fix bug spotted by Brian Wang.
...
SVN revision: 43793
2009-11-19 00:38:34 +00:00
Carsten Haitzler
9af8993332
god damnt that took some time! fixed some bugs with map + smart objcs +
...
repainting etc. etc. - seems to be working now in complex smart obj tests and
simple ones.
SVN revision: 43584
2009-11-09 15:18:37 +00:00