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
8c93e825a8
same as previous commit.
...
SVN revision: 26236
2006-09-30 10:18:37 +00:00
Carsten Haitzler
7f41aeb177
fix some warnings!
...
SVN revision: 24599
2006-08-12 14:46:15 +00:00
sebastid
a17c875ddc
Add const.
...
Remove unused variables.
SVN revision: 23027
2006-05-31 18:33:46 +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
f51753a4b8
rehinting works on the fly now
...
SVN revision: 20858
2006-03-01 03:48:03 +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
3e41ec2fbd
Remove EAPI warnings.
...
Remove duplicate defines.
SVN revision: 19579
2006-01-06 23:05:17 +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
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
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
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
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
tsauerbeck
72883bc3de
more warning fixes
...
SVN revision: 17314
2005-10-08 10:43:14 +00:00
Carsten Haitzler
2d9ae536fb
fix fallback handling! :)
...
SVN revision: 16837
2005-09-22 03:00:48 +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
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
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
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
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
sebastid
3f776d358a
Cleanup some headers.
...
Remove duplicate typedefs and declerations.
SVN revision: 15407
2005-06-18 01:00:32 +00:00
Carsten Haitzler
46e02cf8bb
whitespace
...
SVN revision: 14889
2005-05-22 02:49:50 +00:00
Carsten Haitzler
cb54bb2e60
optimisipoos. (e17's menus should be more responsive now)
...
SVN revision: 14084
2005-04-03 14:22:17 +00:00
Carsten Haitzler
f047113949
dont realod ye demons of evil slowness! FIX FIX! cache you biotch! cache!
...
SVN revision: 14055
2005-04-01 07:14:16 +00:00
rbdpngn
6b21e1b171
Don't re-declare this variable in the loop.
...
SVN revision: 14009
2005-03-30 16:55:10 +00:00
rbdpngn
78939419b3
When there is formatting but no text, retrieve the height of the font.
...
SVN revision: 13983
2005-03-30 02:51:58 +00:00
Carsten Haitzler
24cb66cd71
fix! textblokc word wrap and spec.in
...
SVN revision: 13686
2005-03-11 04:54:35 +00:00
Dan Sinclair
520506a7b3
- rename function for consistency
...
SVN revision: 13659
2005-03-08 03:33:09 +00:00
rbdpngn
84c148adf6
Handle the case of querying the format when cursor position equals the length
...
of the text.
SVN revision: 13599
2005-03-04 04:54:03 +00:00
Carsten Haitzler
476e750039
off by 1 native size fixed
...
SVN revision: 13558
2005-03-02 05:22:20 +00:00
sebastid
1b051e05bc
Fix format data parsing.
...
Fix format merge.
font_source -> source
SVN revision: 13494
2005-02-24 10:29:04 +00:00
tsauerbeck
f8b835ea0c
got rid of data subdirectory in pkgdatadir. fixed a bunch of warnings
...
SVN revision: 13483
2005-02-23 20:32:07 +00:00
Carsten Haitzler
7dbcc92602
fix some valgrind nasties - margins work...
...
SVN revision: 13440
2005-02-20 08:02:41 +00:00
Carsten Haitzler
2741c26ada
fix newline with a font (size) change. add tabstop formatting... start on
...
margins. not complete.
SVN revision: 13437
2005-02-19 16:05:12 +00:00
Carsten Haitzler
bd399b7aaa
fix some native size stuff...
...
SVN revision: 13434
2005-02-19 05:07:11 +00:00
Carsten Haitzler
76d51ef015
tabs work...
...
added align to position todo.
then margins...
then anchors...
damn... and thats like... usable and shit...
SVN revision: 13421
2005-02-18 09:44:27 +00:00
Carsten Haitzler
24799a4270
more things taken off the list of things to do. styles seem to work.. :)
...
SVN revision: 13420
2005-02-18 06:37:24 +00:00
Carsten Haitzler
57e965aa61
working on styles - found bugs! :(
...
SVN revision: 13409
2005-02-17 13:53:19 +00:00
Carsten Haitzler
c562850750
remove api that isnt functioning and wont for a while.
...
SVN revision: 13404
2005-02-16 15:38:44 +00:00
Carsten Haitzler
7b9264ecd2
and dont segv. :)
...
SVN revision: 13403
2005-02-16 14:07:39 +00:00
Carsten Haitzler
8d73bc7292
more work on textblock. the api as it stands is now complete enough for all
...
things you might need textblock for for now - need to handle in-text anchors,
tabs, margins and styles.
SVN revision: 13402
2005-02-16 13:57:41 +00:00
Carsten Haitzler
1b696a9abb
complete more of textblock
...
SVN revision: 13389
2005-02-16 10:04:32 +00:00