Commit Graph

5413 Commits

Author SHA1 Message Date
Vincent Torri e68d4430d9 Evas: remove software DirectDraw 16 bits engine
Nowadays, this engine is completely useless. Windows users (>= XP) use
only 32 bits depth color, so let's kill that engine. Less code to
maintain for me.


SVN revision: 72494
2012-06-19 17:06:44 +00:00
Tom Hacohen 3e5a5aac7b Evas textblock: Fixed rendering issues with small fonts.
GRIDFIT when we HINT, get the UNSCALED sizes otherwise.

SVN revision: 72409
2012-06-18 15:43:49 +00:00
Carsten Haitzler bc7c4664c4 fix underline and strikethrough drawing in textgrid.
SVN revision: 72405
2012-06-18 13:54:18 +00:00
Tom Hacohen abd7d01a98 Evas textblock: Fixed issue with _textblock_clear and cursors.
Now it properly sets the remaining cursors.

SVN revision: 72403
2012-06-18 13:44:26 +00:00
Carsten Haitzler 282783c949 dotn segv if color vals beyond palette size in tg.
SVN revision: 72401
2012-06-18 13:36:19 +00:00
Tom Hacohen b20190232c Evas textblock: Fixed issues with deleting paragraphs using range_del.
Also added test cases for that.

SVN revision: 72398
2012-06-18 13:31:20 +00:00
Tom Hacohen eefaa4c0fe Evas font: Revert "This makes build break when harfbuz already installed ."
This reverts commit 72372.

I just don't get this commit, you just disabled the define that's
responsible of turning harfbuzz on. If you have a too old harfbuzz,
update, I don't plan on supporting old versions of an unreleased always
changing piece of sw.

SVN revision: 72393
2012-06-18 12:50:19 +00:00
Carsten Haitzler 00eea12d83 fix off-by-1 in textgrid!
SVN revision: 72380
2012-06-18 10:25:12 +00:00
Jiyoun Park bd102bf741 This makes build break when harfbuz already installed .
for example , hb_shape_full function is supported only harfbuzz-20120607 version.
(harfbuzz 0.6 or 0.7 does not support this function)
but OT_SUPPORT define always turned on if harfbuzz installed.
 


SVN revision: 72372
2012-06-18 08:30:32 +00:00
Cedric BAIL b3c50c2407 evas: destroy the mutex after we use it for the last time.
SVN revision: 72329
2012-06-18 01:05:30 +00:00
Carsten Haitzler d09c4f4a4b remove workaround thanks to tasn font fix.
SVN revision: 72280
2012-06-17 07:27:44 +00:00
Tom Hacohen 6e3ddcd6a0 Evas font: Fix the font engine to work with Bitmap fonts.
Oops, I used the Outline CBox function instead of the Glyph one. Fixed.

SVN revision: 72278
2012-06-17 07:18:50 +00:00
Cedric BAIL 67a8db57b1 evas: let's have an O(1) check instead of O(N).
SVN revision: 72266
2012-06-17 04:32:54 +00:00
Carsten Haitzler 873d5ed76a add ()'s
SVN revision: 72259
2012-06-17 02:42:15 +00:00
Carsten Haitzler 2256af3421 fix gl engine bitmap fonts :)
SVN revision: 72256
2012-06-17 02:23:49 +00:00
Carsten Haitzler 1e043ecd3b wanrn--
SVN revision: 72250
2012-06-17 01:33:23 +00:00
Carsten Haitzler fc9218087d adjust default memprool alloc sizes. too big imho.
SVN revision: 72249
2012-06-17 01:32:10 +00:00
Carsten Haitzler 23c6ea5b97 printf--
SVN revision: 72217
2012-06-16 06:29:36 +00:00
Carsten Haitzler 2c1b13a9b3 font changes update correctly now in tg.
SVN revision: 72215
2012-06-16 06:28:11 +00:00
Carsten Haitzler 8f998d85f9 wrong logic check. fix!
SVN revision: 72211
2012-06-16 05:27:12 +00:00
Carsten Haitzler ea2d9df312 completing more work on textgrid. well optimized now in terms of
tracking updates and minimizing rendering etc.



SVN revision: 72208
2012-06-16 05:06:29 +00:00
Carsten Haitzler 8156f2f103 workaround text issue not getting widht of stirng right with bimtap
fonts - use advance+inset as workaround.



SVN revision: 72195
2012-06-15 14:24:01 +00:00
Carsten Haitzler 824f7172da fix new textgrid to actually handle updates right.. well for now.
SVN revision: 72191
2012-06-15 13:59:10 +00:00
ChunEon Park 02ededc16a evas/render - clean up when map is enabled. In this case, it's children should be cleaned up in the list.
SVN revision: 72190
2012-06-15 13:29:24 +00:00
ChunEon Park a8c0af3015 evas/render - no. my fault.
SVN revision: 72188
2012-06-15 11:42:56 +00:00
ChunEon Park fa927a68cd evas/render - removed useless param
SVN revision: 72187
2012-06-15 11:40:08 +00:00
ChunEon Park b79f60974b evas/render - fix indent.
SVN revision: 72186
2012-06-15 11:16:11 +00:00
ChunEon Park 2c601fc25b evas/event - simpler route
SVN revision: 72185
2012-06-15 10:34:22 +00:00
Mike Blumenkrantz c10b10fad0 changelog + documentation for evas_object_smart_members_get() commit
SVN revision: 72179
2012-06-15 09:49:46 +00:00
Mike Blumenkrantz 214f736fb0 make evas_object_smart_members*get return NULL for non-smart objs...not sure I need to changelog this?
SVN revision: 72178
2012-06-15 09:36:39 +00:00
Daniel Juyung Seo a3e029c18e GAMES, emap, darkness, evas, evas_generic_loaders, MARKETING: Updated/Added .gitignore.
SVN revision: 72171
2012-06-15 07:58:01 +00:00
Vincent Torri a95cf57438 Evas: add textgrid object (not finished, nor optimized :-) ) Go raster, go !
SVN revision: 72169
2012-06-15 07:19:04 +00:00
Vincent Torri 1888669adf Evas: add shm lib for static linking
SVN revision: 72168
2012-06-15 07:17:32 +00:00
Mike Blumenkrantz 4383a1f409 hey how about we stop breaking evas and edje with EVERY DAMN COMMIT???
SVN revision: 72162
2012-06-15 06:36:49 +00:00
Cedric BAIL d636db3c66 evas: cache conversion from Evas_Map to RGBA_Map.
SVN revision: 72119
2012-06-14 09:58:16 +00:00
Jiyoun Park 3b3c4d18e1 max_samples makes redeclaration
SVN revision: 72115
2012-06-14 09:27:41 +00:00
Sung Park 8d363e06fe EvasGL: some depth_stencil lines didn't get in there the
first time. Merging the rest of the code and submitting.
My fault. 



SVN revision: 72110
2012-06-14 08:05:30 +00:00
Sung Park 05b2490b78 EvasGL: Added proper depth-stencil internal surface format
handling in EGL environment.  Also fixed some minor issues 
regarding checking surface capabilities. Apparently, some
GL drivers do not allow FBO to only have depth or stencil 
buffers attached to the FBO without the color buffer attached 
to them.



SVN revision: 72108
2012-06-14 07:53:54 +00:00
Tom Hacohen 77e0f02f72 Revert "evas/event - Fixed incorrect events passing. Now child's repeat events does not affect to the parent's level."
This reverts commit 72080.

It broke everything. EFM stopped responding to mouse clicks, same with
clouseau. Seriously, completely broken.

SVN revision: 72093
2012-06-13 17:37:19 +00:00
ChunEon Park c513f84aa8 evas/event - Fixed incorrect events passing. Now child's repeat events does not affect to the parent's level.
SVN revision: 72080
2012-06-13 10:19:19 +00:00
Mike Blumenkrantz a82974536d fix crash when adding an image to an engineless canvas
SVN revision: 72071
2012-06-13 08:20:28 +00:00
Mike Blumenkrantz 04f2f44d6a bring some sanity back to Evas.h formatting
SVN revision: 72069
2012-06-13 08:12:36 +00:00
Tom Hacohen c4d284c1fe Evas smart: Fixed issue with eyelight.
Thanks a lot to Daniel for reporting.

SVN revision: 72068
2012-06-13 07:55:24 +00:00
ChunEon Park 8414915d9b evas/event - trivial changes
SVN revision: 72060
2012-06-13 06:08:01 +00:00
Carsten Haitzler 6746b071d1 and in my continuing foxes for bitmap font loading... correctly chose
the closest of N sizes.



SVN revision: 72055
2012-06-13 00:54:27 +00:00
Carsten Haitzler f3c3450dd8 actually getting smart data should safely retunr NULL if not a smart
object type without bitching. this is a quick "is it a alid smart
object" check.



SVN revision: 72041
2012-06-12 16:26:47 +00:00
Tom Hacohen c3fe7b3aa8 Evas: Unbreak evas. Apparently it doesn't compile in some cases.
Thanks to mekius for reporting.

SVN revision: 72036
2012-06-12 15:25:27 +00:00
Tom Hacohen 1ef99594d8 Evas smart: Verify it's a smart object before returning the data.
SVN revision: 72034
2012-06-12 14:24:07 +00:00
Tom Hacohen a9709c792e Evas font: Support no bidi no shaping mode in font rendering.
For no bidi: just don't set the bidi stuff. I.e paragraph props and the
other stuff (including text_props_direction_set). If you disable BiDi you most
likely want to disable shaping as well.
For no shaping: Disable bidi (i.e don't set direction) and pass
EVAS_TEXT_PROPS_MODE_NONE to info create.

This will prove especially useful for textgrid, but not only.

SVN revision: 72032
2012-06-12 14:14:52 +00:00
ChunEon Park b726de235a evas/map - removed empty evas_object_map_source_set/get APIs.
They does nothing and discarded since the evas_object_image_source_set/get is providing.



SVN revision: 71984
2012-06-12 07:23:46 +00:00
ChunEon Park 3a0f535a40 evas/line - Fixed simple line drawing on s/w backened. Unmatched loop scope caused the destination buffer pointer march in place.
SVN revision: 71977
2012-06-12 02:52:51 +00:00
ChunEon Park ea43e9004f evas/line - fixed indentation
SVN revision: 71976
2012-06-12 02:47:34 +00:00
Daniel Juyung Seo 06c4fa8cac evas Evas.h: Fixed typo.
SVN revision: 71971
2012-06-12 01:50:06 +00:00
ChunEon Park c78cd3f80b evas/line - why do you flush here?
SVN revision: 71945
2012-06-11 12:21:17 +00:00
Tom Hacohen 39f75a3524 Evas smart: Remove from the list, don't assume we have not other refcounts.
Without it, it just assumes the object has no refcounts and deletes the
object by force. It's very bad if you use refcounts, because your refcounts
are gone.

SVN revision: 71936
2012-06-11 08:35:07 +00:00
Tom Hacohen 13669e9e19 Evas magic checks: Print magic errors by default.
We still don't print on NULL because there are two many such errors in
evas, but at least we print on magic errors which are even worse.

SVN revision: 71894
2012-06-10 08:43:49 +00:00
Cedric BAIL c9cd50983f evas: make pipe rendering faster by forcing it to update region that fit in CPU cache.
NOTE: for people using Evas pipe rendering infrastructure. I am interested in reporting
expedite test before and after this patch with the associated type of CPU (number, thread,
cache). Thanks.


SVN revision: 71887
2012-06-10 04:58:24 +00:00
Carsten Haitzler 9d96a8ec62 fix bvitmap font handling. woot. can use pcf's and bitmap ttf's well n
ow. :)



SVN revision: 71886
2012-06-10 03:23:57 +00:00
Cedric BAIL 3b9b38c619 evas: don't include clip object.
SVN revision: 71829
2012-06-08 03:45:40 +00:00
Cedric BAIL e1578910bd evas: this function call are internal no need for expensive check.
SVN revision: 71789
2012-06-07 10:06:50 +00:00
Cedric BAIL 3333544ed6 evas: delay O(n) update of the bounding box until we really need it.
SVN revision: 71773
2012-06-07 07:10:36 +00:00
Cedric BAIL dd84715cc8 evas: fix YUV video prepare issue with pipe rendering.
SVN revision: 71771
2012-06-07 04:01:46 +00:00
Tom Hacohen 01c10de3f5 Evas textblock: Added some NULL checks that shouldn't happen.
SVN revision: 71708
2012-06-05 11:35:58 +00:00
Tom Hacohen 06bce244aa Evas textblock: Fixed cursor position empty right aligned textblocks.
Thanks to WooHyun for reporting this.

SVN revision: 71704
2012-06-05 10:27:54 +00:00
Jihoon Kim bb56b0b09c fix @version in each EFL header doxygen
SVN revision: 71691
2012-06-04 23:27:02 +00:00
ChunEon Park 32e15bb3eb evas/line - code refactoring.
SVN revision: 71685
2012-06-04 11:39:43 +00:00
ChunEon Park 12602756c3 evas/line - trivial changes
SVN revision: 71684
2012-06-04 11:21:05 +00:00
ChunEon Park cdbff9552d evas/line - identation fix
SVN revision: 71683
2012-06-04 11:16:29 +00:00
Jihoon Kim 420bb38bb7 evas/examples.dox: fix typo
SVN revision: 71614
2012-06-01 01:44:25 +00:00
Daniel Juyung Seo 64c3583168 evas examples.dox: Fixed typo.
SVN revision: 71610
2012-05-31 23:02:49 +00:00
Rafael Antognolli 9ce49329f8 evas/cserve2: Change request list to inlist.
Inlist remove operations are faster if the element is known.



SVN revision: 71609
2012-05-31 21:34:54 +00:00
Rafael Antognolli 7455170dbb evas/cserve2: Add a "processing" queue for each type
of request.
This will make the lookups for requests faster (mainly for fonts).



SVN revision: 71608
2012-05-31 21:34:48 +00:00
Rafael Antognolli 09dd80fd30 evas/cserve2: Add a "processing" queue to requests.
This is a list that holds all requests being processed at the moment. It
can be used so that when a new request is added, first we look in this
queue to avoid creating a new request that is the same as the one being
processed right now. If it is already being processed, a new waiter is
added to it, just like when the request was on its original queue.



SVN revision: 71607
2012-05-31 21:34:37 +00:00
Rafael Antognolli de3a6a067b evas/cserve2: Add basic error handling on thread
slave.
It will now receive errors from the thread callback and call the error
request function, with the respective error type in the message.



SVN revision: 71606
2012-05-31 21:34:28 +00:00
Rafael Antognolli 91a1ac65c7 evas/cserve2: Add handling of FONT_LOAD.
It's not fully functional, some things are still pending:
- Free allocated font;
- answer with error message if failed.



SVN revision: 71605
2012-05-31 21:34:21 +00:00
Rafael Antognolli 30dcc1c83d evas/cserve2: Some fixes for requests.
SVN revision: 71604
2012-05-31 21:34:15 +00:00
Rafael Antognolli 22706abe93 evas/cserve2: Some more code to requests management.
Added code to slave read and slave dead callbacks.



SVN revision: 71603
2012-05-31 21:34:09 +00:00
Rafael Antognolli ce514d3d43 evas/cserve2: Use Slave_Command instead of
Message_Type for slave.
This is the command that must be given to the slave, instead of the
message type received from the client.



SVN revision: 71602
2012-05-31 21:34:04 +00:00
Rafael Antognolli a3fa30f70b evas/cserve2: Add requests and slave workers
management.



SVN revision: 71601
2012-05-31 21:33:59 +00:00
Rafael Antognolli 2c9e6a10f3 evas/cserve2: Adding font requests manipulation.
SVN revision: 71600
2012-05-31 21:33:53 +00:00
Rafael Antognolli c9f610366c evas/cserve2: Slave thread is only a simple callback.
The implementation of the slave doesn't need to care about reading
commands and sending answers. It just receives the arguments for its job
and returns the processed data.



SVN revision: 71599
2012-05-31 21:33:43 +00:00
Rafael Antognolli 9a469b778c evas/cserve2: Add threaded slave support.
It's not being used yet, but the font slave will be done using this
code.



SVN revision: 71598
2012-05-31 21:33:37 +00:00
Daniel Juyung Seo 616873f46d evas examples.dox: Fixed typo.
SVN revision: 71588
2012-05-31 17:02:26 +00:00
Sung Park 7aadae8ff2 Adding MSAA extension define for Evas GL MSAA surface support.
SVN revision: 71570
2012-05-31 01:16:53 +00:00
Carsten Haitzler 7772b28002 chlog++
SVN revision: 71553
2012-05-30 10:42:22 +00:00
Carsten Haitzler 0ccd4cdf2a FRom daniel zaoui -> spotted issues with callback deletionon evas_free
that may cause evas's to not be freed. fixxxxors!



SVN revision: 71552
2012-05-30 10:41:19 +00:00
ChunEon Park 88c5f1df74 evas/map - fixed afterimage problem. now we don't need work-around code anymore.
SVN revision: 71549
2012-05-30 10:12:10 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
ChunEon Park 6473f0316c evas/map - simplify code
SVN revision: 71545
2012-05-30 08:40:21 +00:00
Cedric BAIL 7909cb7bd6 evas: finally got rid of that nasty dancing font issue with pipe rendering.
SVN revision: 71544
2012-05-30 08:29:29 +00:00
Cedric BAIL ef3e42033b evas: Don't wake up prepare thread when there is nothing to do.
SVN revision: 71543
2012-05-30 08:15:42 +00:00
ChunEon Park ba47683a9b evas/render - pre render will be always. don't need if and else if which will be never reached.
SVN revision: 71540
2012-05-30 07:32:27 +00:00
ChunEon Park 84f38fea16 evas/evas_object_smart - simpler code.
SVN revision: 71531
2012-05-30 06:29:14 +00:00
ChunEon Park 140e97171b evas/map - fixed to update the rendering when map is enabled.
Now children objects of the mapped object should be cleaned from the internal cache lists.



SVN revision: 71519
2012-05-30 00:51:11 +00:00
Tom Hacohen ef25a41a76 Evas object text: Make the object size big enough to show the whole text.
I.e even if advance is smaller than width, take it into account.

SVN revision: 71507
2012-05-29 14:43:21 +00:00
Tom Hacohen af55fb6217 Evas text: apply italic correction for run-time slanted texts (disabled).
Also, put the slant angle calculations in a macro for easier future changes.
Just have it there so people who want it can turn it on.

SVN revision: 71506
2012-05-29 14:43:17 +00:00
Tom Hacohen d7f811fe8f Evas font-draw: Use bitmap offset in the glyph when drawing.
SVN revision: 71505
2012-05-29 14:43:10 +00:00
ChunEon Park 054360207b evas/render - they are already cleaned.
SVN revision: 71499
2012-05-29 09:09:13 +00:00
ChunEon Park b2a3f3b540 evas/render - removed duplicated call
SVN revision: 71491
2012-05-29 05:24:43 +00:00
ChunEon Park 63d97b8441 evas/rendering - Fixed to clean up when map actually changed. Now rendering updates will be correct after evas_map acutally disabled for the smart object.
SVN revision: 71490
2012-05-29 05:13:03 +00:00