Commit Graph

729 Commits

Author SHA1 Message Date
Carsten Haitzler f2501ae4f1 tb2 work
SVN revision: 16389
2005-08-28 06:41:54 +00:00
Carsten Haitzler 0273204901 some extra checks and leak fix
SVN revision: 16368
2005-08-26 08:00:49 +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 58c289f118 fix bit order for ppc - cleanly.
SVN revision: 16362
2005-08-26 04:16:57 +00:00
Carsten Haitzler 44e0a11a43 fix parse error when there are no tags... :)
SVN revision: 16345
2005-08-25 15:23:16 +00:00
sebastid 1b9116d064 Silence
SVN revision: 16313
2005-08-24 16:11:06 +00:00
Carsten Haitzler a815f4ffcf oh STUPId me - i forgot to add current y co-ord for ptr offset! bah!
SVN revision: 16305
2005-08-24 08:03:29 +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 &nbsp)


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 f53d1a2ca3 shh!
SVN revision: 15945
2005-07-30 05:44:58 +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
Carsten Haitzler ec3566fcf0 tack patch
SVN revision: 15497
2005-06-23 02:25:29 +00:00
Carsten Haitzler 2a5e480ad1 tackpatch
SVN revision: 15429
2005-06-19 13:06:36 +00:00
sebastid 26cf0a9642 Fix deletion loop in evas_free()
SVN revision: 15428
2005-06-19 12:45:29 +00:00
sebastid 3f776d358a Cleanup some headers.
Remove duplicate typedefs and declerations.


SVN revision: 15407
2005-06-18 01:00:32 +00:00
sebastid 5179302f30 Don't have the CAIRO_CFLAGS as a general include.
SVN revision: 15338
2005-06-15 21:05:54 +00:00
Carsten Haitzler 2ed9ddb6ab maybe gcc4 is happy now?
SVN revision: 14969
2005-05-27 13:33:03 +00:00
Carsten Haitzler 369e1cd2fe make hash fn a bit better
SVN revision: 14944
2005-05-26 06:15:33 +00:00
Carsten Haitzler 0a61e33102 some debugging commented out. seems evas's caches work like a charm
SVN revision: 14920
2005-05-23 06:29:40 +00:00
doursse 56eb17e152 fix a warning
SVN revision: 14895
2005-05-22 06:18:14 +00:00
Carsten Haitzler 75ae92333a warnigns cleanups + fb 32bpp transparency support for evas from celement
SVN revision: 14893
2005-05-22 03:02:15 +00:00
Carsten Haitzler 46e02cf8bb whitespace
SVN revision: 14889
2005-05-22 02:49:50 +00:00
Carsten Haitzler 2a6937cccb whitespace
SVN revision: 14888
2005-05-22 02:49:48 +00:00
doursse 3d64123f2c add the modifications of raster, fix some potential bug, clean up. It is still a bit slower than xlib
SVN revision: 14787
2005-05-15 09:30:26 +00:00
doursse 7cc5c95949 remove some warnings
SVN revision: 14786
2005-05-15 05:58:40 +00:00
Carsten Haitzler 17886a3e7b clean up software x11 engine a little. buffer converted pixels and copy to
screen all at once (less "tearing" on updates), minimise syncs, round trips
and remove yet another layer of memcopies if in 24/32bpp and your gfx card
thinks in ARGB. per DWORD. :)


SVN revision: 14704
2005-05-11 08:52:46 +00:00
tsauerbeck 70e894091f fixed a segfault in evas_object_top_get(). by cleaning up the code :)
SVN revision: 14688
2005-05-09 19:40:49 +00:00
sebastid 1de81f6bb6 I like is_set better than is_set_get. It's shorter and looks better and
gives the right description.


SVN revision: 14565
2005-05-03 08:02:29 +00:00
Carsten Haitzler ab518488f3 allow bitmap rendering...
SVN revision: 14508
2005-04-30 02:30:24 +00:00
sebastid 7b09a9a77b Ignore
SVN revision: 14477
2005-04-29 07:06:35 +00:00
sebastid db388fb792 Simplify
SVN revision: 14476
2005-04-29 07:05:04 +00:00
Carsten Haitzler aeabe389a2 fix font geometry issues...
SVN revision: 14431
2005-04-28 04:57:12 +00:00
Carsten Haitzler bee9d128ea delete a smart child from its parent if it is still in there on cleanup :)
SVN revision: 14388
2005-04-27 02:35:48 +00:00
Carsten Haitzler b133ddcd09 fix list bug...
SVN revision: 14275
2005-04-21 08:28:21 +00:00
rbdpngn 81c0fa87f7 Fix GL engine for big endian systems.
SVN revision: 14254
2005-04-20 03:22:06 +00:00
Carsten Haitzler 93e100825c patch for fb engine from
Simon Poole <simon.armlinux@themalago.net>

:)


SVN revision: 14202
2005-04-14 17:38:49 +00:00
Carsten Haitzler 72de69f1ab dont always use backign buffer in fbs < 24bpp
24bpp code...


SVN revision: 14140
2005-04-11 15:45:12 +00:00
Carsten Haitzler 01db63e145 build with amd64 asm (needs to be manually enabled though right now)
minor list cleanups :)


SVN revision: 14122
2005-04-09 00:09:34 +00:00
Carsten Haitzler 9894287101 david stevenson's tidyup
SVN revision: 14095
2005-04-04 16:01:34 +00:00
Carsten Haitzler e192644c22 over-optimise. this broke things
SVN revision: 14093
2005-04-04 08:30:32 +00:00
Carsten Haitzler ebf746d79f detect round 2
SVN revision: 14088
2005-04-03 15:48:47 +00:00
Carsten Haitzler d845297892 fix detect for k6 cpu's
SVN revision: 14086
2005-04-03 15:31:35 +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 3ca85e87e2 work on valgrind issue... this should fix dropshadow - evas didnt allow us to
nuke the data.


SVN revision: 14064
2005-04-01 16:12:09 +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
Carsten Haitzler 5fa03d138e support unfilled borders with images (middle doesnt fill)
SVN revision: 14037
2005-03-31 11:39:55 +00:00
Carsten Haitzler 0807a84f19 fluffybrett!
SVN revision: 14033
2005-03-31 09:10:10 +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
xcomputerman c1356436fe Cure apparent symptoms of rasteritis. (compilation errors).
SVN revision: 13952
2005-03-28 05:52:01 +00:00
Carsten Haitzler 70e11d5228 and if the image size isnt set yet...
SVN revision: 13950
2005-03-28 04:58:25 +00:00
Carsten Haitzler 5cb0b69195 ooh issues! thanks jose!
SVN revision: 13947
2005-03-28 03:58:04 +00:00
Carsten Haitzler db7df4cc4a eet image load logic was reversed! it worked anwyay - just nto as
effiectively as it could have :)


SVN revision: 13943
2005-03-28 03:41:22 +00:00
Carsten Haitzler feb36e23b7 let the configre/options determine mmx buildability
SVN revision: 13940
2005-03-28 02:27:16 +00:00
doursse cc3bcdffcd use of xcb name
SVN revision: 13906
2005-03-25 19:20:59 +00:00
Carsten Haitzler d8d8dc5e39 buidl fix
SVN revision: 13841
2005-03-22 03:50:31 +00:00
doursse 2b2a800ad6 xcb port
SVN revision: 13822
2005-03-20 23:44:22 +00:00
Carsten Haitzler 8c235e2831 oops - size properly. fix!
SVN revision: 13810
2005-03-20 17:14:41 +00:00
Carsten Haitzler 792762f2d5 use engine add's
SVN revision: 13807
2005-03-20 16:41:49 +00:00
Carsten Haitzler 7462681dad werd to my homies... this had to happen sooner or later.... evas supports
FONTSETS!

so u can do
Vera,Kochi,Blah ... etc.
as the font name
it will fall back font by font until it finds a char or finally fails.

this is for internationalisation support...

WHERD!


SVN revision: 13804
2005-03-20 15:57:55 +00:00
Carsten Haitzler 5366148b3f include ctype.h
SVN revision: 13765
2005-03-17 06:43:55 +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
Carsten Haitzler f483a73406 callback paranoia
touchies


SVN revision: 13626
2005-03-05 04:47:46 +00:00
Carsten Haitzler 17fc7bb20b auto-package for evas and cleanups
SVN revision: 13612
2005-03-04 14:34:35 +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 b1c95faae0 eet/edb cflags
SVN revision: 13598
2005-03-04 00:39:41 +00:00
Carsten Haitzler 476e750039 off by 1 native size fixed
SVN revision: 13558
2005-03-02 05:22:20 +00:00
Carsten Haitzler 030163c085 and declare that variable before it is used...
SVN revision: 13557
2005-03-02 04:18:41 +00:00
Carsten Haitzler 3791395e22 bernhard's font scale patch..
SVN revision: 13556
2005-03-02 04:09:15 +00:00
tsauerbeck c6d34bc399 make evas_list_sort more bullet-proof
SVN revision: 13503
2005-02-25 15:31:52 +00:00
amedeiros a360af99f4 * Fixes segfault in the evas_list_sort algorithm (patch submitted by Antoine Perdaens)
SVN revision: 13502
2005-02-25 15:15:41 +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
Carsten Haitzler bcad2a82c3 working more on it...
SVN revision: 13353
2005-02-13 11:38:38 +00:00
Carsten Haitzler 5ff290ec01 minus some printfs'
SVN revision: 13339
2005-02-13 07:11:50 +00:00
Carsten Haitzler 1b5ec03990 fix segv in textblock.
format inserts should work right... now
test inserts should work correctly now too
text delets works right in terms that they delet text. they do not handle
deleting formattign nodes correctly yet.
errr. other stuff still to do/test too


SVN revision: 13338
2005-02-13 06:27:32 +00:00
Carsten Haitzler 0e91fa62e3 a note for moi
SVN revision: 13328
2005-02-12 04:33:32 +00:00
Carsten Haitzler 1947e16b36 a possible smart bug?.... and some textblock notes
SVN revision: 13327
2005-02-12 04:09:21 +00:00
Carsten Haitzler 111aa2936a fix shaped output (rgba dest rendering)
SVN revision: 13308
2005-02-11 05:33:44 +00:00
Carsten Haitzler faf319ed5e next.prev char works.. a lot works. now i have to test text insertion at any
point, text deletion at any point... most querying seems good. also text
format insertion at any pont... but need to do format deletion and format
querying stuff... but then its back to the todo list (this wraps up current
incomplete api)...


SVN revision: 13279
2005-02-10 09:48:45 +00:00
Carsten Haitzler 897e45fbbc fix some more stuff
SVN revision: 13276
2005-02-10 01:07:36 +00:00
Carsten Haitzler 69ff192055 fix format size calc - missed last line.
SVN revision: 13275
2005-02-10 01:02:55 +00:00
Carsten Haitzler ee21eb81ca more work on textblocks! :)
SVN revision: 13263
2005-02-09 16:10:56 +00:00
Carsten Haitzler 0f39910d92 get font sizes right even if text object is NULL string..
SVN revision: 13212
2005-02-07 02:25:27 +00:00
Carsten Haitzler fdae56474e see diff. :)
SVN revision: 13211
2005-02-07 02:12:36 +00:00
Carsten Haitzler 35fc57b42b underline, double underline, strikethrough and backging color support.
query calls i think i'll do next as this will make it acrually usable.


SVN revision: 13198
2005-02-05 15:53:58 +00:00
Carsten Haitzler 6fe1274808 centralise tile size to a #define.. move to 8... :)
SVN revision: 13195
2005-02-05 04:21:25 +00:00
Carsten Haitzler e79e53e35b i worked on a regionbuf set of code (exact rectangles). i THINK it has some
bugs... but its disabled right now and it didnt speed anything up :( but it's
there for perusal and later work anyway...


SVN revision: 13193
2005-02-05 02:30:13 +00:00
Carsten Haitzler 10707730c1 forgot a line from my testing stuff for perfromance
SVN revision: 13182
2005-02-03 07:28:31 +00:00
Carsten Haitzler f7da483fcc optimise... THIS! BIATCH! :)
SVN revision: 13181
2005-02-03 07:28:07 +00:00
Carsten Haitzler 34afa1d5c4 update TODO for TB.
SVN revision: 13178
2005-02-02 15:30:53 +00:00
Carsten Haitzler 6e881db788 werd wrap is better. it remvoes the whitepsace OVER the wrap...
SVN revision: 13172
2005-02-01 15:34:37 +00:00
Carsten Haitzler c70e92898a dont xloop...
SVN revision: 13171
2005-02-01 14:48:28 +00:00
Carsten Haitzler d4d3ee146e avoid infinite loop more aggressively?
and some more optimising...


SVN revision: 13170
2005-02-01 13:53:40 +00:00
Carsten Haitzler e9f525ece0 and get ourselves another 10% speedup with textblock... :) (and in fact pave
the way for overflow objects)


SVN revision: 13169
2005-02-01 08:23:53 +00:00
Dan Sinclair 2eded160da - fill in evas_object_textblock_text_del
SVN revision: 13168
2005-02-01 07:58:02 +00:00
Carsten Haitzler abdeedf082 wherd wap!
SVN revision: 13166
2005-02-01 07:17:00 +00:00
Carsten Haitzler 515f1e7af1 and fix that too
SVN revision: 13164
2005-02-01 03:12:26 +00:00
Carsten Haitzler 506138f572 BAD tilman! what if the list is NULL! :)
SVN revision: 13163
2005-02-01 03:04:26 +00:00
tsauerbeck 158467be52 evas_list_nth_* improvements, step 2
SVN revision: 13156
2005-01-31 17:44:30 +00:00
tsauerbeck 81a15a090e evas_list_nth_* improvements, step 1
SVN revision: 13155
2005-01-31 17:26:11 +00:00
Carsten Haitzler 49924ef327 some more comments...
SVN revision: 13154
2005-01-31 16:49:13 +00:00
Carsten Haitzler 8bb90a7d47 more todo items for textblock
SVN revision: 13153
2005-01-31 16:16:12 +00:00
Carsten Haitzler ed98ed1746 and in one foul swoop i merged font loading code betwene text block and text
objects... wherd!


SVN revision: 13152
2005-01-31 15:03:38 +00:00
Carsten Haitzler 100c9a3479 massive speedup in textblock... maaaaaaaaaaasive.
SVN revision: 13151
2005-01-31 09:32:31 +00:00
Dan Sinclair 1eac84f967 - fill in the evas_object_textblock_text_get function
SVN revision: 13150
2005-01-31 04:58:41 +00:00
Carsten Haitzler c9749c97ab some extra comments for me to work on...
SVN revision: 13149
2005-01-31 04:10:22 +00:00
Carsten Haitzler a018fe73bf some notes as to what to do next
SVN revision: 13139
2005-01-30 14:48:30 +00:00
Carsten Haitzler 170a5cd97d fixing up textblock. does horiozntal and vertical (line) alignment
SVN revision: 13138
2005-01-30 14:19:06 +00:00