Commit Graph

2144 Commits

Author SHA1 Message Date
Carsten Haitzler b4465ec30a use macros for lock/unlock in .c file
SVN revision: 39473
2009-03-14 05:08:08 +00:00
Carsten Haitzler 6bc4266805 patch from Tiago Falcão - unroll loops in evas a bit.
SVN revision: 39467
2009-03-13 15:18:39 +00:00
Carsten Haitzler 603dc96699 oops - use macro for .h too
SVN revision: 39459
2009-03-13 09:34:46 +00:00
Carsten Haitzler bb0e068fa1 use mutex instead of spinlock. older pthreads dont have spinlocks. also this
uses the same mutex macros used by the mutex on font objects, so it makes it
a bit simpler. old code is commented out for reference.



SVN revision: 39458
2009-03-13 09:32:42 +00:00
Vincent Torri 4dedbe0bb7 release the clipper only it has been created, that is in windowed mode
SVN revision: 39434
2009-03-10 17:55:43 +00:00
Vincent Torri 9ed772fd35 mask is a pixmap, not a drawable
SVN revision: 39404
2009-03-07 07:45:05 +00:00
Vincent Torri 5b5282ec3e remove trailing spaces
SVN revision: 39403
2009-03-07 07:00:29 +00:00
Vincent Torri fd3ec295bd remove hack about unused parameter and use __UNUSED__ instead
SVN revision: 39402
2009-03-07 06:56:42 +00:00
Cedric BAIL ed6e29a5dc * evas: Add some const.
SVN revision: 39345
2009-03-03 14:38:24 +00:00
Vincent Torri 5a8ce91119 fix warning when using some extensions defined in glext.h
SVN revision: 39341
2009-03-03 06:07:08 +00:00
Viktor Kojouharov 2b196bcc54 --oopsie in the min size calc of the flow layouts
SVN revision: 39330
2009-03-02 13:47:50 +00:00
Vincent Torri 3616db9aa6 optimize ddraw engine : when locking a surface, don't allow Windows
to suspend operations. expedite runs with around 7 points more than
without those flags on my computer


SVN revision: 39316
2009-03-01 21:09:39 +00:00
Viktor Kojouharov a5a7e167d9 more accurate min size calculation for flow layouts
SVN revision: 39310
2009-03-01 16:27:03 +00:00
Gustavo Sverzut Barbieri 87d5d0a037 Mark as changed when smooth scale flag changes.
This allows us to change to non-smooth on animations and then back to
smooth after animation is done.



SVN revision: 39300
2009-02-28 20:09:03 +00:00
Gustavo Sverzut Barbieri 071ad5b4aa minor optimizations to box recalculation.
just recalculate when required, and just mark as required when layout
really changes.



SVN revision: 39299
2009-02-28 20:04:55 +00:00
Viktor Kojouharov 999e7c9c54 size min hints for the flow layouts
SVN revision: 39297
2009-02-28 19:33:30 +00:00
Gustavo Sverzut Barbieri 5be0dac611 Split files so we can avoid "defined but not used" warnings.
SVN revision: 39295
2009-02-28 18:47:17 +00:00
Gustavo Sverzut Barbieri 3fb821ca1d shutdown cache, hope it works like in common/32 engine.
SVN revision: 39294
2009-02-28 18:36:18 +00:00
Viktor Kojouharov 1b197b9542 it actually makes sense to have them overlap on justify, so go back
SVN revision: 39293
2009-02-28 18:06:37 +00:00
Viktor Kojouharov fee3b366bf and also for the vertical layout
SVN revision: 39291
2009-02-28 17:56:06 +00:00
Viktor Kojouharov 6554ab44d6 fix smaller-box-than-items problem for horizontal layout
SVN revision: 39289
2009-02-28 17:50:15 +00:00
Gustavo Sverzut Barbieri 0cd52d626b Fix flow layout if box size is smaller than required.
Reported and fix suggestion by Viktor Kojouharov.



SVN revision: 39286
2009-02-28 17:10:03 +00:00
Gustavo Sverzut Barbieri e46171ee07 box: remove unused parameters
SVN revision: 39285
2009-02-28 17:07:10 +00:00
Vincent Torri c5e64e50b7 fix comment
SVN revision: 39280
2009-02-28 13:02:17 +00:00
Vincent Torri 4e282b255e automatic detection according to the host
SVN revision: 39279
2009-02-28 11:47:43 +00:00
Vincent Torri 6696a9c87b * remove 'unused parameter' warnings
* i didn't touch glitz engine as it will certainly be disabled later
 * i'll update windows engines later


SVN revision: 39274
2009-02-28 10:08:45 +00:00
Gustavo Sverzut Barbieri 56e28f91b6 Remove last standing warnings.
SVN revision: 39269
2009-02-27 16:35:32 +00:00
Gustavo Sverzut Barbieri 59236beb8b Oops, missing file.
GIT would help me avoid this mess.



SVN revision: 39268
2009-02-27 16:33:50 +00:00
Gustavo Sverzut Barbieri 9a3570bfb9 Create macros to help initialize class structures.
also defined evas_smart_new() as deprecated.



SVN revision: 39266
2009-02-27 15:30:32 +00:00
Vincent Torri 389a006871 does not return a value in function returning void
SVN revision: 39224
2009-02-25 23:39:59 +00:00
Vincent Torri 7dd1e9e055 remove more 'unused parameter' warnings
SVN revision: 39223
2009-02-25 23:39:19 +00:00
Vincent Torri 4d1961ac59 remove 'unused parameter' warning
SVN revision: 39222
2009-02-25 23:18:15 +00:00
Vincent Torri 725d8b4bfb use pm instead of PAL_MODE_RGB666 when allocating colors
SVN revision: 39188
2009-02-25 07:24:53 +00:00
Gustavo Sverzut Barbieri adab85b566 directfb: Oops, don't give bogus data to image_data.
This fixes changing image subareas with directfb engine and
eve/webkit-efl works fine.

Thanks to Gustavo Lima Chaves.



SVN revision: 39185
2009-02-24 22:46:45 +00:00
Vincent Torri f344743dae fix some warnings reported by llvm (see http://local.profusion.mobi:8081/~lfelipe/output-efl/)
* mainly unused parameters
 * in src/lib/imaging/evas_imaging.c, set font to NULL
 * in src/lib/canvas/evas_object_gradient.c, add unititialized member

there are a *lot* of reported warnings by llvm, i'll fix them later

there are also *lots* of unused parameters (compile evas with -W). I'll
fix them later too



SVN revision: 39172
2009-02-24 08:31:31 +00:00
Vincent Torri 0af29b19d6 sync when needed
SVN revision: 39171
2009-02-24 07:06:14 +00:00
Carsten Haitzler 842cadce24 update debug code.
SVN revision: 39154
2009-02-23 07:21:37 +00:00
Carsten Haitzler fca6a09640 fix font cutout clip bug.
SVN revision: 39153
2009-02-23 07:20:21 +00:00
Vincent Torri fe8b378c87 fix xrender xcb engine
SVN revision: 39135
2009-02-22 11:24:08 +00:00
Carsten Haitzler 4907a1f07e fix premul default value for tiff loader
SVN revision: 39134
2009-02-22 09:19:11 +00:00
Vincent Torri 373d55b48e remove trailing spaces
SVN revision: 39117
2009-02-21 08:19:58 +00:00
Vincent Torri a005e1000a make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm. (synchronize with gl_x11 code)


SVN revision: 39116
2009-02-21 08:18:53 +00:00
Carsten Haitzler 7a74942b41 1. make software font draw code actually use cutouts.
2. make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm.



SVN revision: 39114
2009-02-21 03:13:49 +00:00
Cedric BAIL 720a9efe71 * evas_object_image.c: Remove a warning and return 1 as a success.
SVN revision: 39060
2009-02-17 17:36:29 +00:00
Carsten Haitzler 9062c9050a and support obscured rects for clip-out if middle of bordered image set to
solid. speedup.



SVN revision: 39051
2009-02-17 04:53:03 +00:00
Vincent Torri 860fc287c2 free correctly each buffer in XCB engine
The xcb_image dependency should be removed and replaced
by direct calls of the request XPutImage


SVN revision: 39024
2009-02-15 11:14:12 +00:00
Carsten Haitzler bda789960a fix minor bug in fill mode.
SVN revision: 39020
2009-02-15 02:53:24 +00:00
rephorm a3fdd2ab4e don't return NaN for hue if r=g=b
SVN revision: 39019
2009-02-15 01:53:02 +00:00
Cedric BAIL 630e5f1558 * evas/lib/canvas/evas_async_events.c: Use memset instead of PACKED.
SVN revision: 39003
2009-02-12 17:05:17 +00:00
Carsten Haitzler cb94c8fadd in theory - (not tested yet) allow hitns to set middle to solid of
borderscaling.



SVN revision: 39000
2009-02-12 13:38:33 +00:00