Commit Graph

114 Commits

Author SHA1 Message Date
Mike Blumenkrantz 546d83c6ba clock now uses timerfd_create() to receive updates when the system clock has changed to ensure proper sync
SVN revision: 76946
2012-09-21 08:55:22 +00:00
Mike Blumenkrantz 17f3ddae83 clock module now updates immediately on timezone change
SVN revision: 76942
2012-09-21 08:37:04 +00:00
Mike Blumenkrantz af16f102d0 formatting
SVN revision: 76939
2012-09-21 08:16:50 +00:00
Mike Blumenkrantz 097e570c03 by the power of the mixer code that I reused, the clock gadget popup will now hide whenever you do anything other than quietly admire its majesty
SVN revision: 76609
2012-09-13 13:21:31 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz 74edef9f46 fix memory leak spotted by seb in gc_id_new. this whole thing is pretty confusing; I'm glad we don't have docs for it
SVN revision: 72689
2012-06-22 07:21:51 +00:00
Mike Blumenkrantz 7dbd2e8de9 fix the same instance id bug as in pager, this will likely delete configs for a large number of modules
SVN revision: 72592
2012-06-21 11:03:50 +00:00
Chidambar Zinnoury 985a236370 e clock calendar: complexity--.
No need to check whether day names is already got for each day when it can be done once.

 Not sure why they are cleared and recreated at every month change.


SVN revision: 72275
2012-06-17 06:39:13 +00:00
Mike Blumenkrantz 98b7a46e8b fix magic check when timer doesn't exist
SVN revision: 71843
2012-06-08 10:25:17 +00:00
Mike Blumenkrantz b78a276183 no need to delete timers, setting the timer time is supported
SVN revision: 71834
2012-06-08 07:47:08 +00:00
Carsten Haitzler 46aaf99d2c force 1 more msg process too.
SVN revision: 70554
2012-04-30 11:03:21 +00:00
Carsten Haitzler 52a4e76c1d fix size recalce issue enabling/disabling features in clock
SVN revision: 70553
2012-04-30 11:02:45 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Hannes Janetzek 950f9cd729 e17: use GADCON_CLIENT_CONFIG_GET, remove old transitional code to remove config items without id
SVN revision: 63125
2011-09-03 14:39:28 +00:00
Gustavo Sverzut Barbieri 8365bd3e5d clock: provide placement orientation and width-for-height and vice-versa.
If no minimum size is provided in the group, it will allocate the
height (for horizontal shelves) or width (for vertical shelves) and
then calculate the required size of the gadget.

It will also send messages to notify the gadget about it's
orientation, if horizontal, vertical or floating. This way it can
adapt its "fit" and relative-to properly.

NOTE: depends on Edje at revision greater than r62640.



SVN revision: 62641
2011-08-21 01:59:09 +00:00
Gustavo Sverzut Barbieri 4aed42e8e4 clock will feed current locale date (abbrev. weekday + date) to themes.
SVN revision: 62543
2011-08-17 20:13:23 +00:00
Christopher Michael d9ba6f69d7 E17: Clock: Add unused where missing.
SVN revision: 62491
2011-08-15 20:41:22 +00:00
Hannes Janetzek f51806bd82 e17/clock: use one config per instance
SVN revision: 62466
2011-08-14 22:27:46 +00:00
Hannes Janetzek 5710f961d7 e17/clock: remove default gcc menu. only show one menu on right click
SVN revision: 60812
2011-06-29 12:06:55 +00:00
Christopher Michael a4dd6e30f4 E: Clock: Add UNUSED where missing. Fix Formatting.
SVN revision: 60488
2011-06-19 15:28:32 +00:00
Carsten Haitzler 2b7b0b6082 fix issues k-s reported:
SVN revision: 60369
2011-06-16 03:26:21 +00:00
Carsten Haitzler ac920f6db3 delete action when unloading module!
SVN revision: 60262
2011-06-13 08:05:26 +00:00
Cedric BAIL 2b0f414f2b e: add an action for clock module to show calendar popup.
SVN revision: 60041
2011-06-07 14:34:24 +00:00
Boris Faure 5799600f01 e: typo
SVN revision: 60009
2011-06-06 21:30:51 +00:00
Boris Faure 613b8a052d e: clock: remove duplicated code
SVN revision: 60008
2011-06-06 21:13:55 +00:00
Carsten Haitzler c4893e6116 and adjust aspec going <-> digital and analog
SVN revision: 59974
2011-06-05 16:14:42 +00:00
Carsten Haitzler aedbc11288 DIGITAL CLOCK!!!!! see clock settings for how to turn it on blah blah
blah.



SVN revision: 59973
2011-06-05 16:09:23 +00:00
Carsten Haitzler a7474a66fa right click menu for clock gadget has standard settings item in it now
SVN revision: 59967
2011-06-05 12:27:00 +00:00
Carsten Haitzler cd00d3b729 turning seconds ona nd off works now with analogue clock. digital
clock now needed



SVN revision: 59966
2011-06-05 12:15:44 +00:00
Carsten Haitzler ba1b494b40 more clock work. cfg dialog now, config file and settings, not al
work... yet. digital clock, seconds on/off and 24h vs 12h still to go.



SVN revision: 59962
2011-06-05 07:42:10 +00:00
Carsten Haitzler 101f8f17d7 calendar bit of clock moves along quite nicely.
SVN revision: 59961
2011-06-05 04:30:39 +00:00
Carsten Haitzler 2da6a07240 note some fixme's
SVN revision: 59953
2011-06-04 05:56:10 +00:00
Carsten Haitzler 820296302b ok now calendar shows the actual current month all sourced from libc
info and has infra for showing any month (offset from current).



SVN revision: 59952
2011-06-04 05:40:48 +00:00
Carsten Haitzler 85283b49d5 working on clock calendar. not done. just progress.
SVN revision: 59943
2011-06-04 02:47:42 +00:00
Carsten Haitzler 1e52c5a5ae 1. handle chdir errors gracefully with error disply
2. on error DONT KEEP STRIPPING PATH TO EMPTY!



SVN revision: 59773
2011-05-29 05:09:50 +00:00
Carsten Haitzler 8e26efcc48 screenshot module built in now. this is a redo as it actuallly has a
full file upload ability on e.org for sharing shot url's, as well as
selecting local file tyo save to, selecting which screen to screenshot
etc.



SVN revision: 59766
2011-05-28 06:53:44 +00:00
Sebastian Dransfeld 12cada2f42 Revert clock change and fix theme
eventarea must be visible for users to click, alpha 0 makes the user not
see it.

SVN revision: 55412
2010-12-09 13:15:57 +00:00
Sebastian Dransfeld 2f84f47718 Add rectangle event object
Needed to move the clock when used as gadget

SVN revision: 55401
2010-12-09 09:16:32 +00:00
Christopher Michael 604713fcac Add UNUSED where needed.
SVN revision: 51377
2010-08-19 00:05:09 +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
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +00:00
Carsten Haitzler 3d34b587af use either the min size set or calculate - as needed.
SVN revision: 33932
2008-03-05 06:00:25 +00:00
Carsten Haitzler 6840a4f977 boys and girls... animals and vegetables... pokemon and spatial anomolies
lend me your ears, for i come to break code, not to praise it!

module api getting kicked about. 1. modapi calls for config and about are gone
core module api call for about dialog gone (not needed anymore). use module
.desktops for about info in description. config should go via the config
panel calls to register stuff.... wherd... to... ma homieoes!


SVN revision: 32231
2007-10-31 12:21:02 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +00:00
Sebastian Dransfeld c129c20ab6 Update icon name.
SVN revision: 29059
2007-03-24 23:12:23 +00:00
Sebastian Dransfeld cba29bd250 Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.


SVN revision: 27684
2006-12-30 23:32:25 +00:00
Sebastian Dransfeld 805315670b Clean up some gadcon config code.
Make id unique for each gadcon.


SVN revision: 27673
2006-12-30 17:54:27 +00:00
David Walter Seikel 1255baa040 Converted to use .desktop file.
SVN revision: 25386
2006-09-03 07:42:06 +00:00