Commit Graph

99 Commits

Author SHA1 Message Date
Mike Blumenkrantz 283fcc32df resize desklock bg object too
SVN revision: 73921
2012-07-16 10:45:08 +00:00
Mike Blumenkrantz 69b8aa3ae7 more sane handling of desklock when zone move/resize happens
part of ticket #1165


SVN revision: 73920
2012-07-16 10:43:23 +00:00
Mike Blumenkrantz 3966f8f797 add e_desklock_state_get() to provide an api for determining the current state of desklock
SVN revision: 73487
2012-07-09 08:03:58 +00:00
Mike Blumenkrantz 6e0ddd773a my last commit was a failure. this commit is somewhat less of a failure.
SVN revision: 73486
2012-07-09 07:47:54 +00:00
Mike Blumenkrantz b7ff56ba86 emit E_EVENT_DESKLOCK on all desklock hide calls, not just internal (not custom desklock) hiding
SVN revision: 73485
2012-07-09 07:45:47 +00:00
Cedric BAIL b013a43ad2 e: let's not crash on lock.
SVN revision: 73348
2012-07-05 13:50:29 +00:00
Mike Blumenkrantz 575967808a desklock config now allows you to configure the image shown on each screen
also fixes ticket #753


SVN revision: 73339
2012-07-05 12:33:33 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 3f1cb52ea4 null check in e desklock
SVN revision: 72133
2012-06-14 13:27:49 +00:00
Mike Blumenkrantz e370e80c7d formatting
SVN revision: 72132
2012-06-14 13:16:28 +00:00
Mike Blumenkrantz 53090a686f check for a custom desklock command before actually trying to lock using one: closes ticket #664
SVN revision: 71837
2012-06-08 09:37:57 +00:00
Carsten Haitzler 253efca0e2 and if for whatever reason e was locked when it restarts... lock again
instantly on restart :)



SVN revision: 70559
2012-04-30 12:59:03 +00:00
Carsten Haitzler bad06a673a fix bug Ticket #903
SVN revision: 70557
2012-04-30 12:28:57 +00:00
Carsten Haitzler c13f47db22 fix infinite self-feeding loop with desklock... tnx yoz! :-P
:)



SVN revision: 70334
2012-04-19 13:57:19 +00:00
Michael BOUCHAUD 69624a7f82 e: react on the good event, and don't ignore it
SVN revision: 70237
2012-04-16 18:27:48 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +00:00
Tom Hacohen c2b3f17a6f E desklock: Fix password replace char to work correctly with unicode.
The correct fix would actually be using textblock there and not TEXT object
as we already have edje_entry... I guess whoever did it had it motives
(or possibly edje_entry didn't exist yet at that time). But anyhow,
edje_entry already supports replacement chars.

SVN revision: 65519
2011-11-22 15:59:54 +00:00
Carsten Haitzler ec2dbe6751 use sizeof for buffers - safer for modifications.
SVN revision: 62191
2011-08-08 06:10:36 +00:00
Hannes Janetzek a2ac69cd09 e17: raise desklock window above again when other windows try to raise. if someone has a better solution, go ahead!
SVN revision: 61194
2011-07-10 10:16:51 +00:00
Carsten Haitzler f09e917e18 fix case where we could have x fatal stuff happen during shutdown or
we try use x on shutdown when x io fatal conditions have happened.
x_fatal flag around for that now too. tested. seems to now be happy
and not cause aborts on shutdown when x has gone.



SVN revision: 57075
2011-02-16 05:20:13 +00:00
Carsten Haitzler bbab244193 desklock - dont ret 1 on failure to auth. only on failure to init!
SVN revision: 55923
2011-01-06 03:58:58 +00:00
Lucas De Marchi 546f8d20c3 Fix exit values
Exit status is a value between 0 and 255.



SVN revision: 55846
2011-01-04 15:29:50 +00:00
Lucas De Marchi c77ad75e83 Fix desklock
Revert r55711!

discomfitor: SPANK! SPANK! SPANK!



SVN revision: 55762
2010-12-27 16:17:12 +00:00
Mike Blumenkrantz f97f4f5d60 avoid null deref
SVN revision: 55711
2010-12-22 22:54:22 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Gustavo Sverzut Barbieri d374b7ccb8 utility to query for fullscreen in current/all zones.
keeping local count of borders is too error prone, instead query
it. Right now the count is being done for the current zone only, I
guess this is the best policy.



SVN revision: 54793
2010-11-22 15:21:17 +00:00
Gustavo Sverzut Barbieri 07f4fc0cd3 desklock_init() should be called only once, poller does the job.
SVN revision: 54792
2010-11-22 15:21:06 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +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
Christopher Michael 5a7b450c04 Patch from rubenbb to fix ticket #562 (dpms being turned off by
fullscreen windows).

I modified this patch slightly. Removed some unused handlers. limits.h
is already included in e.h, so no need to reinclude it. Fixed formatting.



SVN revision: 50356
2010-07-18 19:06:00 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Gustavo Sverzut Barbieri 9e581982f7 Do not activate DPMS, Screen Saver or Locker if there is a fullscreen window.
I guess there is nothing more annoying than having a fullscreen window
to watch a quick movie, read some text or webpage or whatever and have
the DPMS to show, or the screensaver to be activated or your screen to
be locked.

This patch uses the new border signal and counts, if there is at least
one fullscreen border, then avoid doing these annoyances.

I'm not accounting for any border parameter/property, like if it is in
a visible screen or desktop. I hope this is fine, otherwise let me know.

I also asked and common sense at IRC (at least to me and englebass) is
that there is no need to configure such behavior, so there is no
configure option for it.

I'm also thinking about maximized windows to have a configurable
behavior to match this, but I'm not sure.



SVN revision: 49262
2010-05-28 22:13:20 +00:00
Gustavo Sverzut Barbieri ba79908621 non-resiable "presentation mode" dialogs and -Wextra/trailing whitespace cleanups.
SVN revision: 47060
2010-03-09 00:31:44 +00:00
Boris Faure 1060dfbd2e e: check whether fork failed
SVN revision: 46787
2010-03-02 15:07:03 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Christopher Michael 8dbdeb73da Check event handlers are valid before trying to delete them.
Use PATH_MAX.
Fix formatting/whitespace.



SVN revision: 44990
2010-01-08 20:17:07 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Gustavo Sverzut Barbieri 080c0be517 minor improvements to dialogs asking to enter presentation mode.
SVN revision: 40521
2009-05-06 12:00:19 +00:00
Massimo Maiurana 153904f98d fixed a little typo
SVN revision: 40460
2009-04-29 15:36:12 +00:00
Gustavo Sverzut Barbieri ddd175a2f2 Ask to enter presentation mode.
If you deactivate screensaver (ie: move mouse) or unlock desklock
within some given threshold, ask user if he would like to enter
presentation mode or even if should increase timeout to next event.

This is also useful when at the office and you quickly move mouse in
order to keep your explanation. If you know your explanation is short,
just hit "increase timeout", otherwise "Yes" to increase timeout.

Increase timeout is a multiplier that will increment the factor on
each dialog answer.

There is an option to stop asking. This can be changed in "Advanced"
versions of screensaver and desklock dialogs.



SVN revision: 40414
2009-04-27 02:54:43 +00:00
Gustavo Sverzut Barbieri 8f923e67c1 new special case for desklock wallpaper.
desklock now can use the same wallpaper as desktop, this is what I use
and was annoyed to have to remember to change in both places.


SVN revision: 40383
2009-04-25 18:32:34 +00:00
Gustavo Sverzut Barbieri d2be2c99a7 dpms, screensaver and desklock now respect "presentation" mode.
Wow, no need to go to "Settings" and then 3 dialogs to do my presentations!


SVN revision: 40381
2009-04-25 16:49:53 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Hannes Janetzek 4598a292ed use ECORE_EVENT_MODIFIER
SVN revision: 39538
2009-03-17 21:55:33 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Sebastian Dransfeld 10396e6085 Use strlcpy
SVN revision: 37237
2008-10-27 12:34:35 +00:00
Carsten Haitzler 523dadc323 oops. i was on drugs that day. wrong call (right parameters!)
good catch



SVN revision: 37178
2008-10-26 22:44:57 +00:00
Sebastian Dransfeld ea5245d2f3 Add comment about wrong code usage.
SVN revision: 37176
2008-10-26 20:50:09 +00:00