Commit Graph

24 Commits

Author SHA1 Message Date
Derek Foreman 73aecd73ab Replace all timer_add with timer_loop_add
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.

It would be really nice if I'm not wrong. :)

The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.

 #YOLO
2017-02-03 15:52:28 -06:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler 0078d30bdc segv's waiting to happen wrong api calls on wrong object types - check
to protect.



SVN revision: 66707
2011-12-31 14:35:05 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Gustavo Sverzut Barbieri e5c4d62fd4 Set member_{add,del} to NULL.
SVN revision: 37091
2008-10-25 03:13:33 +00:00
Gustavo Sverzut Barbieri 18966c828b Add calculate callback to Evas_Smart_Class.
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.



SVN revision: 35860
2008-09-07 01:25:49 +00:00
Christopher Michael 37051c3531 Various patch bits from Brett Nash. Still going through the rest of them.
SVN revision: 31701
2007-09-13 21:09:12 +00:00
Carsten Haitzler a960cd070b move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
Sebastian Dransfeld 39e228c73a Formatting.
SVN revision: 29448
2007-04-08 21:00:30 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Carsten Haitzler c9be009c4f premul fixes from jose
SVN revision: 26301
2006-10-02 13:19:20 +00:00
Carsten Haitzler 899a2c009f 1. jose's premul patches for evas
2. fixes to patches to re-enable smooth scale again
3. fixes to make txtblock colors work
4. fixes to edje for premul + grad api changes
5. fixes to ecore to work in premul space
6. fixes to e17 for premul space
7. fixes to emotion for premul
8. rebuild of .edj files as premul requires themes to be rebuilt
9. removed unused fils from cvs (eap and old img files)


SVN revision: 26235
2006-09-30 10:16:24 +00:00
sebastid c67f9bcbf6 Add all enum types in select.
SVN revision: 25012
2006-08-21 16:29:14 +00:00
rephorm 63978e9abb add gradient bg dialog.
finish up the color selector widgets (plug some leaks)

TODO:
  * color_dialog needs a way of specifying initial color
  * color_well needs to use this when showing its color dialog
  * the grad dialog should remember the last selected colors
  * the color dialog whould probably keep a list of favorite / recent colors

Also, it looks like there's a leak (according to valgrind at least) in e_editable.c when you set the text and it reallocs.


SVN revision: 24953
2006-08-20 21:18:30 +00:00
sebastid 19bbe60f7e - const
- remove unused variables
- better parameter names


SVN revision: 24836
2006-08-17 16:58:32 +00:00
sebastid b6531ca78a Formatting
SVN revision: 24761
2006-08-15 19:36:21 +00:00
rephorm cfb5be331f cleanups
SVN revision: 24714
2006-08-14 23:30:32 +00:00
sebastid 18fc9ca266 Use Ecore_Timer for timer.
SVN revision: 24701
2006-08-14 20:08:33 +00:00
rephorm ce206f330e make csel a proper widget instead of just a wrapper around table.
pass in a color struct to update
(use the change hook to know when changes have occured)

use a short timer instead of an idler to update the spectrum image data
  -- ideally, we would add a pre/post render hooks for smart objects. then we could redraw int he pre-render callback.


SVN revision: 24676
2006-08-14 07:05:31 +00:00
rephorm 4d0d5bb122 move spectrum redraw to an idler so it gets called at most once per render.
no more performance issue there... :)


SVN revision: 24671
2006-08-14 05:21:16 +00:00
rephorm d7792a9270 Start of a color selector.
Change the last test in e_test.c to #if 1 to play.

Issues:
  Redrawing the H,S and V spectra is a bit slow. Needs to be optimized.

  Spacing / Sizing of the various pieces of the csel widget needs to be cleaned up a bit.

  I haven't actually themed anything yet. Just some fairly basic place holders to get it working. We should wrap each piece in shadowed cutout graphic, and make fancier cursors.

  A color well widget
    - show the currently selected color
    - allows dnd of colors (this probably requires some reworking of ecore selection code)

For anyone wanting to play with this, a single E_Color struct is used by all parts of the selector, preventing the need to copy values around. This includes RGB *and* HSV values since the two spaces aren't 1:1.


SVN revision: 24669
2006-08-14 04:38:49 +00:00