Commit Graph

465 Commits

Author SHA1 Message Date
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 &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 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 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
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
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
sebastid db388fb792 Simplify
SVN revision: 14476
2005-04-29 07:05:04 +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 e192644c22 over-optimise. this broke things
SVN revision: 14093
2005-04-04 08:30:32 +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
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 70e11d5228 and if the image size isnt set yet...
SVN revision: 13950
2005-03-28 04:58:25 +00:00
doursse 2b2a800ad6 xcb port
SVN revision: 13822
2005-03-20 23:44:22 +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 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
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
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 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 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 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 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
Carsten Haitzler 6a4061ae7c 1. found leak in event code - fix.
2. fix leak in textblock - much better now


SVN revision: 13137
2005-01-30 11:41:01 +00:00
Carsten Haitzler 010a29867e the textblock actually works.
so far the following works:

   o = evas_object_textblock_add(evas);
   evas_object_move(o, 10, 40);
   evas_object_resize(o, win_w - 20, win_h - 50);
   evas_object_textblock_format_insert(o, "color=#000000ff");
   evas_object_textblock_format_insert(o, "font=/usr/local/share/expedite/data/Vera.ttf size=10");
   evas_object_textblock_text_insert(o, "This is 1 line. ");
   evas_object_textblock_text_insert(o, "And some more text. ");
   evas_object_textblock_format_insert(o, "size=20");
   evas_object_textblock_format_insert(o, "color=#f80");
   evas_object_textblock_text_insert(o, "Bigger orange text.");
   evas_object_textblock_format_insert(o, "size=8");
   evas_object_textblock_format_insert(o, "color=#0000ff88");
   evas_object_textblock_format_insert(o, "\n");
   evas_object_textblock_text_insert(o, "A second line of transparent blue.");
   evas_object_show(o);

i need to implement alignment handling next...


SVN revision: 13135
2005-01-30 10:22:47 +00:00
Carsten Haitzler 0329745fd0 been working textblock...
SVN revision: 13129
2005-01-29 16:28:18 +00:00
Carsten Haitzler 342f0b1ee2 oooh... i found a nasty mouse grab/count/accoutning/hold etc. issue with
events. fixed (thanks bart!) :)


SVN revision: 13023
2005-01-20 06:54:45 +00:00
Carsten Haitzler b14fe9b889 fix oops
SVN revision: 12830
2005-01-08 15:25:50 +00:00
Carsten Haitzler a5e71dacbd some stubs.. thinking about how to do this...
SVN revision: 12827
2005-01-08 12:47:36 +00:00
Carsten Haitzler a09df78344 and name the fn better
SVN revision: 12826
2005-01-08 10:39:09 +00:00
Carsten Haitzler ee2346b2c8 1. move font dir to its own
2. textblokc object stub. this is for an etxo-style text object. nothing much
there yet.


SVN revision: 12825
2005-01-08 10:02:18 +00:00
Carsten Haitzler 05c6c9d41d change order...
SVN revision: 12500
2004-12-18 11:08:56 +00:00
Carsten Haitzler 6a0b8df837 extend key and mouse events
SVN revision: 12457
2004-12-14 03:21:32 +00:00
Carsten Haitzler 6755cd5e90 fix mouse grab accounting on delete and hide
SVN revision: 12232
2004-11-20 07:41:14 +00:00
Carsten Haitzler 0e38160623 buildie cleanies
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler 49d92b0277 distcheck
SVN revision: 11947
2004-10-21 08:06:13 +00:00
Carsten Haitzler bfbf65e04d dont need to set LDFLAGS
SVN revision: 11934
2004-10-21 03:02:01 +00:00
Carsten Haitzler d17b8d8c96 and dont propagate those...
SVN revision: 11918
2004-10-20 03:26:12 +00:00
Carsten Haitzler 3d5d362ba3 only pass certain callbacks to smart parents...
SVN revision: 11761
2004-10-06 02:34:01 +00:00
Carsten Haitzler 35967b3ead and dont reload if the image is generated pixels...
SVN revision: 11701
2004-09-23 02:18:15 +00:00
Carsten Haitzler b95e96d208 and invalidate that image...
SVN revision: 11700
2004-09-23 02:08:26 +00:00
Carsten Haitzler 673e8ad92d load - check! :)
SVN revision: 11699
2004-09-23 01:58:50 +00:00
Carsten Haitzler e1191d8aab dont wipe filename if getting pixels for reading :)
SVN revision: 11695
2004-09-22 04:54:39 +00:00
Carsten Haitzler 5e8d46e884 clip bug fix :)
SVN revision: 11694
2004-09-22 04:37:51 +00:00
Carsten Haitzler ca528cec70 oops printf's
SVN revision: 11684
2004-09-21 12:00:31 +00:00
Carsten Haitzler 8aad2d37e7 fix mouse in/out grab issues
SVN revision: 11683
2004-09-21 09:33:18 +00:00
Carsten Haitzler 5845acceab brett's patch for resize and doc typos :)
SVN revision: 11681
2004-09-21 03:15:42 +00:00
Carsten Haitzler fd3af77b34 no printfs
SVN revision: 11659
2004-09-17 13:47:47 +00:00
Carsten Haitzler 77b7f24e5b mouse out/int do good things now
SVN revision: 11658
2004-09-17 13:46:55 +00:00
Carsten Haitzler 7b5bada52d fix up grabs a bit more :)
SVN revision: 11623
2004-09-13 03:56:39 +00:00
Carsten Haitzler fa49841f36 oops- for repat events this screws up grabbing..
SVN revision: 11612
2004-09-12 04:49:07 +00:00
Carsten Haitzler a27188129c valgrind problems... valgrind told me so! :)
SVN revision: 11406
2004-08-28 01:38:31 +00:00
ncn c7b724474c Just some more docs. A few todos inserted, to be fixed soon.
SVN revision: 11330
2004-08-23 23:04:34 +00:00
Carsten Haitzler 1131ec1e34 and here are the stubs of a cairo engine
SVN revision: 11248
2004-08-17 06:03:39 +00:00
ncn e8ab7668e0 More documentation, simplification and grouping. Some of these changes are themselves going to require polishing, but the docs are now a little bit more organised.
SVN revision: 11235
2004-08-16 05:13:25 +00:00
tsauerbeck 7cde671ea0 don't try to get the previous character to position 0
SVN revision: 11208
2004-08-12 18:59:03 +00:00
ncn 1ac05630b8 Some new docs, some cleanup, some more groups.
SVN revision: 11203
2004-08-12 12:14:01 +00:00
ncn bc8c430596 Some simplification, some new functions docs, some new modules, some new doc bugs.
SVN revision: 11125
2004-08-01 12:34:19 +00:00
ncn 5657ac4928 Some simplification and creation of some modules.
SVN revision: 11124
2004-08-01 02:20:40 +00:00
tsauerbeck 4be5caefbd consistent init/shutdown system
SVN revision: 10725
2004-07-07 19:24:49 +00:00
Carsten Haitzler 59419c9aa4 propogate pass_events to sub-objects of smart objects...
SVN revision: 10503
2004-06-14 06:04:22 +00:00
Carsten Haitzler a3f6222d01 and check there
SVN revision: 10084
2004-05-06 02:19:15 +00:00
Carsten Haitzler b5d9bf4dd0 extra paranoid checks for text ptr
SVN revision: 10083
2004-05-06 02:12:21 +00:00
Carsten Haitzler b46f5ee456 lets limit the starting defaults
SVN revision: 10070
2004-05-05 11:00:19 +00:00
Carsten Haitzler b8d1a2a24a avoid type overflow...
SVN revision: 9949
2004-04-28 01:52:16 +00:00
Carsten Haitzler d88541cedb as an excercise in forcing everyone to write code using the correct
datatypes... i have by default changed the coord datatypes to be ints instead
of doubles... not - READ your headers carefully - they are Evas_Coord types.
dont ASSUME them to be anything except a scalar of some sort your compiler
can handle and cast. (coudl be int, long, long long, short, double, float etc.)


SVN revision: 9924
2004-04-27 08:31:27 +00:00
Carsten Haitzler c6e321a630 distable... :)
SVN revision: 9745
2004-04-16 01:38:14 +00:00
Carsten Haitzler bd78875c63 fix stack queries! :)
SVN revision: 9362
2004-03-16 04:13:05 +00:00
Carsten Haitzler 8842e181bf check deleted flag.. need to do this in more places tho....
SVN revision: 9280
2004-03-08 02:42:08 +00:00
Carsten Haitzler dfe6bb6f4e some more docs...
SVN revision: 9038
2004-02-20 07:06:39 +00:00
Carsten Haitzler f11447ab8a cross-compile cleanly damnit!
SVN revision: 9002
2004-02-17 07:12:38 +00:00
zuluone c17ec61deb corrected the docs slightly - no code changed
SVN revision: 8993
2004-02-16 19:22:48 +00:00
Carsten Haitzler fbd57cda60 patchies in
SVN revision: 8793
2004-02-04 04:38:34 +00:00
Carsten Haitzler 144d7b8a78 oops - delete_me flag!
SVN revision: 8763
2004-02-02 01:33:46 +00:00
rephorm 63629f7822 gotcha rasties.
but let's do it for all of 'em :)


SVN revision: 8697
2004-01-28 04:48:52 +00:00
Carsten Haitzler 3dab963454 sorry formie - we want these in! you have to find the extra thaw!
if u want help:

export EVAS_DEBUG_SHOW=1
export EVAS_DEBUG_ABORT=1

and evas will call abort() (and thus gdb will trap it) on errors.


SVN revision: 8693
2004-01-28 04:30:55 +00:00
Carsten Haitzler 4bfe9af00a freeze/thaw debug!
SVN revision: 8688
2004-01-28 02:43:13 +00:00
rephorm 94a98eeb88 fix evas_event_feed_* functions
they were first returning if (events_frozen > 0), then later only calling
  the callbacks if (!events_frozen). if for some reason events had been thawed
  an extra time, events_frozen would be negative, causing the callback to not
  be called. the second check was redundant, so they were removed.


SVN revision: 8685
2004-01-27 23:07:27 +00:00
Carsten Haitzler 329fcd6494 and dont leave stale fonthandles around...
SVN revision: 8631
2004-01-23 07:53:08 +00:00
Carsten Haitzler 8523421b7c added in loading froms from memory buffers at the engine level, and now an
api to set a font "source" (blank is normal filing system) but the source can
be a device or file etc. in this case it currently supports eet files as the
source and then the font name is used as a key in th eet file as to where to
find the font - edb support would be trivial to add. :) if the font is not
found in the "source" it falls back to the font path etc.


SVN revision: 8625
2004-01-23 02:14:45 +00:00
Kim Woelders 2c69b06922 Hushhhh
SVN revision: 8507
2004-01-16 21:11:41 +00:00
Carsten Haitzler dca0de96c2 till's shutdown patch - this is good (tm). :)
SVN revision: 8371
2004-01-13 02:24:03 +00:00
tsauerbeck c8d152ef0a fixed evas smart object refcounting
SVN revision: 8363
2004-01-12 21:57:15 +00:00
tsauerbeck 1e0f9c8885 take care of mouse wheel callbacks in _clear() and _cleanup()
SVN revision: 8361
2004-01-12 21:34:50 +00:00
Carsten Haitzler 155b09b092 propagate events from child objects to msart object parents
SVN revision: 8093
2003-12-11 11:20:40 +00:00
Carsten Haitzler 58d0647f41 yuv pixel import api (well arbitary pixel format import api) for doing media
sreams (video) via image objects


SVN revision: 8068
2003-12-10 01:12:13 +00:00
Carsten Haitzler 83ca13924e dont segv if font wasnt loaded and we query
SVN revision: 7756
2003-10-29 00:22:46 +00:00
Carsten Haitzler a99b683b04 oops.
SVN revision: 7682
2003-10-21 04:17:26 +00:00
Carsten Haitzler 1bf34243f6 move co-ordinates to be their own type. this is a good thing, because ti
allows me to be able to virtualize he canvas co-ordinate system. right now
it's doubles. i can now move to floats, int's etc. with a recompile (and well
recompile all depending apps too). it's still ACTUALLY doubles, just all
typedef'ed now. i've also changed booleans to actual boolean types (not an
int), all code will keep working - but i'd highly suggest moving your code to
use these types if interacting with evas.


SVN revision: 7644
2003-10-18 03:34:00 +00:00
Carsten Haitzler b3c6078785 get rid of useless shm check.... and other things (cant remember)
SVN revision: 7519
2003-10-09 03:05:17 +00:00
Carsten Haitzler 84544019f0 oops. on evas_free nested smart objects might just not clean up right.. fix
SVN revision: 7263
2003-07-30 02:58:10 +00:00
Carsten Haitzler 22ff36d771 oops overzealous optimizing made me miss a case... naughty naughty.. very
naughty. fix.


SVN revision: 7254
2003-07-29 01:42:20 +00:00
Carsten Haitzler 2b3b2ff8ca ooooops. evas bug1 fix fix fix
SVN revision: 7213
2003-07-22 05:16:47 +00:00
Carsten Haitzler 368cac9350 also if text itself changes...
SVN revision: 7185
2003-07-18 01:46:12 +00:00
Carsten Haitzler 310f0bda19 valgrindy goodness
SVN revision: 7184
2003-07-17 10:35:13 +00:00
Carsten Haitzler 6f39ca801f bleh!
SVN revision: 7183
2003-07-17 10:01:13 +00:00
Carsten Haitzler 3222e8202e a little nicer
SVN revision: 7179
2003-07-16 07:39:28 +00:00
Carsten Haitzler 583791b12e optimize text object state change.. much better!
SVN revision: 7177
2003-07-16 05:12:46 +00:00
Carsten Haitzler d2aadd94b2 optimize font searching... fixed that fixme.
SVN revision: 7176
2003-07-16 04:00:47 +00:00
Carsten Haitzler fd356dc4d9 break!
SVN revision: 7118
2003-07-08 07:06:10 +00:00
Carsten Haitzler 0c5a435128 make deleting of grabs within a key callback "safe"
SVN revision: 7117
2003-07-08 06:08:26 +00:00
Carsten Haitzler 84a896b1e0 try this?
SVN revision: 7097
2003-06-26 07:38:44 +00:00
Carsten Haitzler 8dcf84d00f viewporties?
SVN revision: 7096
2003-06-26 07:36:16 +00:00
Carsten Haitzler 8977499da7 fix fix fix :)
SVN revision: 7089
2003-06-25 08:26:56 +00:00
Carsten Haitzler 87e41116b8 some optimizations seem to have screwed up rendering in corner cases. fixed
by accounting for some of my new additions


SVN revision: 7086
2003-06-25 07:58:58 +00:00
Carsten Haitzler fd6cd9805e get rid of minor flota->in calculation artifact i found!
SVN revision: 7060
2003-06-22 03:46:24 +00:00
Carsten Haitzler 42d8853235 oops leakage on ferring an evas! fix.
SVN revision: 7059
2003-06-22 02:33:25 +00:00
Carsten Haitzler bfe9b1fa8e fixing minor arithmeic stuff in text queries. all happy now.
SVN revision: 6986
2003-06-07 02:32:30 +00:00
Carsten Haitzler 0495a7540b new calls to help string processing for programs - these walk up and down 1
utf8 character (sicne thats evas's standard string format). this lets apps do
character processing AND still be utf8-safe.


SVN revision: 6976
2003-06-05 06:08:43 +00:00
Carsten Haitzler 7f234266a9 wheel patches
SVN revision: 6935
2003-05-25 09:43:53 +00:00
Carsten Haitzler 5ca397ff69 fonts.dir fonts.alias support... so u can point evas at x's font
directories... as long as the fonts are ttf's it will work. you can use
x-style font definition. ie.
-*-helmet-medium-r-*-*-*-*-*-*-*-*-*-*
:)
(fonts.alias is also supported!). the old style is still supported too.


SVN revision: 6870
2003-04-20 08:26:32 +00:00
Carsten Haitzler b991fb9819 viewport bug fixed
SVN revision: 6868
2003-04-17 12:05:00 +00:00
Carsten Haitzler 4947646c07 accept NULLS for font queries
SVN revision: 6865
2003-04-16 02:04:30 +00:00
Carsten Haitzler a2051c00f2 special case fill if fill = object size to avoif roundoff miscalcs
SVN revision: 6832
2003-04-05 04:48:14 +00:00
Carsten Haitzler bbfaab2ac1 memory buffer engine... not doing everything. api may change... working on it.
SVN revision: 6808
2003-04-02 04:28:27 +00:00
Carsten Haitzler 42219cdca3 Evas doc update... at least all api calls are now listed
SVN revision: 6742
2003-03-05 02:30:20 +00:00
Carsten Haitzler d92d87a4a6 now that documentation is looking nicer
SVN revision: 6701
2003-02-21 10:28:24 +00:00
Carsten Haitzler 90a63a715f major oopsie. :)
SVN revision: 6691
2003-02-15 01:30:32 +00:00
Horms d115d3a677 removed some potential double frees in evas_object_image_*
SVN revision: 6682
2003-02-13 10:25:30 +00:00
Carsten Haitzler 9854af242d i've been leaning mem usage down... save 30% on all evas_objects now! :)
SVN revision: 6678
2003-02-09 04:22:45 +00:00
Carsten Haitzler c969e9a7c9 ewps!
SVN revision: 6642
2003-01-31 07:56:46 +00:00
Carsten Haitzler 921c853a1c hmmm breakage.. not good.
SVN revision: 6641
2003-01-30 00:02:30 +00:00
Carsten Haitzler ab2a046990 freeze/thaw event yhandling... and dont respond to a changed focus after
grabs are handled....


SVN revision: 6640
2003-01-29 23:37:10 +00:00
Carsten Haitzler fcc61494df fear the changes... api breakage... everyone.. errr... fix yer proggies! :)
SVN revision: 6618
2003-01-22 22:24:36 +00:00
Carsten Haitzler 81eea1bd27 code
SVN revision: 6602
2003-01-20 06:44:07 +00:00
Carsten Haitzler 693645b0ea then there weere grabs
SVN revision: 6601
2003-01-20 05:17:21 +00:00
Carsten Haitzler df1d81011a after some testing.. this code has been found wanting...
SVN revision: 6600
2003-01-20 05:05:16 +00:00
Carsten Haitzler 7b1247042b and lets make that safe for smart obbies
SVN revision: 6599
2003-01-20 04:36:17 +00:00
Carsten Haitzler de9b6b3ca0 ok ok.. callabcks walking lists.. delete flags... you get the idea. (i've
known about this for a long tiem and planned on fixing ti eventualyl... but
it's biting now.)


SVN revision: 6597
2003-01-20 03:54:00 +00:00
Carsten Haitzler 7c80fa9a3e logic problem on evas_free(). shoudl be fixed now... :)
SVN revision: 6559
2003-01-10 05:38:47 +00:00
Carsten Haitzler 3f207b8c08 const-ify lots of things...
SVN revision: 6558
2003-01-10 04:58:51 +00:00