Commit Graph

194 Commits

Author SHA1 Message Date
Mike Blumenkrantz 2746600db2 make e_hints setup slightly more clue-ful 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz fce97f9d46 add new border hack for qemu sdl window shading 2013-05-30 11:23:48 +01:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz c752389817 e now remembers left/right maximization state across restarts
ticket #1694


SVN revision: 79294
2012-11-14 13:47:37 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Carsten Haitzler 07afc25add add send of sigchld to apps e things are efl apps to wake them up if
they are sleep()ing :)



SVN revision: 76877
2012-09-19 23:50:27 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler ef227bba1d fix soem formatting.
SVN revision: 71398
2012-05-24 07:07:04 +00:00
Carsten Haitzler 81bb978614 after years, finally fix an annoyance... application windows, IF e can
match them back to something IT started (ibar, menus, evrything
etc.)... it will keep those windows ON the zone/desktop u started them
on... hoobloodyray!



SVN revision: 70368
2012-04-21 00:26:31 +00:00
Carsten Haitzler 8cbc14a2e2 fix stacking netwm prop set! that was bad!
SVN revision: 67824
2012-02-10 13:21:23 +00:00
Carsten Haitzler 7fd02afae4 and remove virtual roots config that isnt ever used or able to be
enabled or tested...also remove the config vals from profiles.



SVN revision: 66514
2011-12-26 06:32:21 +00:00
Christopher Michael 9d92d60572 E: If we add new supported atoms, please be sure to increment the
array count too.



SVN revision: 64300
2011-10-22 17:01:33 +00:00
Cedric BAIL 0a59d65e3f e: actually let E17 handle direct video rendering path.
NOTE: There is still the following list of issue :
	- stacking, with window that could get between the video
layer and the application layer.
	- border, if I turn them off the window get resized to
1x1 and I don't understand yet why.
	- comp-scale, as we don't understand that this window
are one, it display them separatly.

I think that the only possible answer is to enable this feature
only when composite is tunerd on and make window a smart object
so we could merge the video layer and the application in one
object.



SVN revision: 64257
2011-10-21 15:31:35 +00:00
Christopher Michael e9af2d1b53 E: Calculate size once and reuse. Also, fix compiler warning about
signed & unsigned int comparision.



SVN revision: 59594
2011-05-22 16:49:34 +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
Mike Blumenkrantz fcfdf2a6f6 apparently this was too hard to read for k-s ;)
SVN revision: 55742
2010-12-23 18:06:43 +00:00
Mike Blumenkrantz 74782f2e5c fix explicit check to actually be the correct one, and use type instead of variable for sizeof
SVN revision: 55741
2010-12-23 17:50:48 +00:00
Mike Blumenkrantz e2af5fd862 I am super tired this morning :/
SVN revision: 55740
2010-12-23 17:33:16 +00:00
Mike Blumenkrantz 7da2c81f01 fix sizeof use, thanks to kim woelders
SVN revision: 55739
2010-12-23 16:47:05 +00:00
Mike Blumenkrantz 2e647df117 make this more portable in case the number of states changes in the future, also outdent and make function params more explicit
SVN revision: 55727
2010-12-23 00:36:53 +00:00
Mike Blumenkrantz e82e4a3f2b again with the tabs!!!!
SVN revision: 55726
2010-12-23 00:28:49 +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
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
Christopher Michael b2e951f37f Add UNUSED.
SVN revision: 51312
2010-08-18 18:21:46 +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
Carsten Haitzler 15343b4790 should set stacking in db struct too after stacking req
SVN revision: 50217
2010-07-13 12:25:20 +00:00
Christopher Michael 8bee4c012f Remove whitespace.
SVN revision: 48826
2010-05-13 21:07:02 +00:00
Hannes Janetzek 8eea301bf5 fix possible segv on restart
SVN revision: 47943
2010-04-12 03:00:50 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Christopher Michael 3cb7d0f0e1 Fix up some formatting.
SVN revision: 44233
2009-12-07 01:55:18 +00:00
Hannes Janetzek e1cc6272b3 revert: motif_wm_hints does not belong in _net_supported hints
SVN revision: 42931
2009-10-07 11:27:15 +00:00
Hannes Janetzek e77e141e7a fake to be mwm
SVN revision: 42895
2009-10-05 19:34:35 +00:00
Hannes Janetzek ba866897a5 add motif wm hints to supported porperties
SVN revision: 42888
2009-10-05 15:43:46 +00:00
Hannes Janetzek ff240cb1f2 fix warnings
SVN revision: 42570
2009-09-19 22:55:35 +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
Christopher Michael 584a95b6ad Fix comment spelling.
SVN revision: 41250
2009-07-04 19:15:34 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Sebastian Dransfeld 871999bfd3 Correct sign on variable.
SVN revision: 37174
2008-10-26 20:49:44 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Carsten Haitzler 071ba50d45 e now supports scaling based on screen dpi (or on a custom scaling factor you
can select yourself as a user). also any scaling either calculated from dpi
or set by the user is limited to the min/max values a user can impose (thus
even if you have very low dpi, e doesn't go below a scaling factor you set -
eg 1.0 or 0.5, and same for upscaling).

this should

1. keep all the people who want scalable UI's happy (enable scaling).
2. make e able to (if u want) to adapt to pretty much any dpi screen and
selectively scale just what u want it to.
3. allw you - the user, to be the final controller of just how much to scale
- if you like scaling but think it scales too much - then limit it or set
your own.

right now this will onyl work if your theme supports it... the b&w one does
(mostly). so try that and test. other bits of e need to adapt to this too
(shelf, icon sizes, etc. etc.) as they are not done via edje but code sets
them.



SVN revision: 36211
2008-09-24 13:29:16 +00:00
Sebastian Dransfeld 03fecbfe7a remove unused variables
SVN revision: 35479
2008-08-14 06:15:35 +00:00
Carsten Haitzler 46675b10c1 use ecore_x vkbd wrappers now.
SVN revision: 35209
2008-07-25 02:09:28 +00:00
Carsten Haitzler 8b3b21eaeb skip unknown types for netwmtypes (as primary type)
SVN revision: 35197
2008-07-23 21:54:42 +00:00
Carsten Haitzler 51c5110b2c vkbd hints...
SVN revision: 35127
2008-07-16 17:06:23 +00:00
Carsten Haitzler 3db4f3b65a get hints in batches
SVN revision: 35040
2008-07-09 15:25:20 +00:00
codewarrior b9ce12aae1 Fix typo generated by invalid search and replace.
SVN revision: 35002
2008-07-05 09:22:14 +00:00
Carsten Haitzler aa87227505 fix battery module sizing and handle netwm activate messages.
SVN revision: 34950
2008-06-30 08:48:29 +00:00
Sebastian Dransfeld efe7b9aaae Add correct sign
SVN revision: 34017
2008-03-13 19:09:15 +00:00
Carsten Haitzler 1cf57c6566 support qtopia hint flags and also multiple netwm types
SVN revision: 33952
2008-03-07 11:51:31 +00:00
Carsten Haitzler 5551c78397 revert patch. never tested by submiter.
SVN revision: 33950
2008-03-07 10:35:58 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld 991ede58c7 TODO++
SVN revision: 29014
2007-03-24 15:26:05 +00:00
Carsten Haitzler ab7dbef8d2 be patient and wait for the previous e to be cleaned up with a loops checking
for the old e.


SVN revision: 27400
2006-12-10 03:55:18 +00:00
Carsten Haitzler 5c5c18d4c6 set CLIENT window id, not border.
SVN revision: 25312
2006-09-01 22:42:11 +00:00
Carsten Haitzler 96cd8dc8de container stacking/layer consistency and safety. also preview in fsel packs
preview properly now. fixed error dialog


SVN revision: 25113
2006-08-26 08:32:56 +00:00
Carsten Haitzler 88092a49bf add debug/error catching
SVN revision: 25081
2006-08-23 23:24:23 +00:00
Carsten Haitzler 12f620b919 formatting and kiwis thumbnailer fix - not entirely fixed tho
SVN revision: 23728
2006-07-06 06:16:21 +00:00
Carsten Haitzler 0d4723e3b7 fix kde/qt iconic startup bug
SVN revision: 23505
2006-06-19 19:29:31 +00:00
sebastid 0c6cd880b6 Remove unused variable
SVN revision: 23300
2006-06-08 19:06:31 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid a69bc7767c Clean up maximization, there is only one unmaximize function now. Think
this code can do more advanced stuff than the previous code.

The logic is that if the window is first maximized vertically, then
horizontally it should equal that both directions are maximized at once.

unmaximize can only be done in directions already maximized.

The code works, but hasn't been thorougly tested. Please report any errors
to me, and I will fix them!


SVN revision: 23254
2006-06-07 21:42:13 +00:00
Carsten Haitzler ebf9cca1ed ok - turn off visibility stuff for e -0 for some reason just the dropshadow
module has problems with memcpy and memset... but its identical to everything
else and i dont see why it doesnt work and others do... weird.


SVN revision: 19679
2006-01-10 04:23:43 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler 2916ef5be4 updates from kojouharov :)
SVN revision: 19112
2005-12-18 14:21:25 +00:00
Carsten Haitzler cf7815a1da patches and stuff hanign in mail...
SVN revision: 18756
2005-12-01 07:10:32 +00:00
sebastid 61e273d0df Fullscreen policy. Not tested since my stupid laptop only has one res.
Please test.


SVN revision: 18303
2005-11-04 23:30:18 +00:00
Carsten Haitzler 30269e8ea8 actually rather pointless to unset over there. unset at startup :)
SVN revision: 18061
2005-10-28 09:23:54 +00:00
sebastid 4bfee24e01 unset the desktop startup id when we get the app, so that it isn't reused.
SVN revision: 18059
2005-10-28 08:32:01 +00:00
Carsten Haitzler 5ca66a576d add gnome/kde fakes for ooo.... doesnt seem to work but documented
workingness of this does exist


SVN revision: 17261
2005-10-07 04:27:51 +00:00
sebastid 6a2012681d And remove debug.
SVN revision: 17068
2005-09-29 15:01:41 +00:00
sebastid a1836622d9 Call the netwm property by it's right name.
Let the startup id be unique (almost).


SVN revision: 17067
2005-09-29 15:01:04 +00:00
Carsten Haitzler 6375b62f0f clean up canvas show - uncessesary exposure there. fixed.
SVN revision: 16824
2005-09-21 04:53:12 +00:00
sebastid 06caedb714 Fix supported atoms.
SVN revision: 16808
2005-09-20 17:09:56 +00:00
Dan Sinclair 02a815f78a - remove config.h from e.h and put it into the .c files that need it.
e.h is an installed header so modules can be written outside the e tree.
  config.h isn't installed by e. so, if the module dosen't have a config.h
  and the local directory in their include path the build will fail.


SVN revision: 16719
2005-09-14 20:19:44 +00:00
Carsten Haitzler 07f6885df7 use startup notify... see ibar in default.
SVN revision: 16708
2005-09-14 06:39:59 +00:00
sebastid 880a2f20e8 IF_FREE -> E_FREE
SVN revision: 16573
2005-09-05 15:24:07 +00:00
sebastid d30da0bf8e * Add options
-	e_config->transient.move
-	e_config->transient.resize
-	e_config->transient.raise
-	e_config->transient.lower
-	e_config->transient.layer
-	e_config->transient.desktop
-	e_config->transient.iconify
* Implement
-	e_config->transient.raise
-	e_config->transient.lower
-	e_config->transient.layer
-	e_config->transient.desktop
-	e_config->transient.iconify
* Show hide border in e_border_desk_set
* Add e_border_layer_set()


SVN revision: 16460
2005-09-02 07:38:40 +00:00
sebastid af4803ee85 Support internal state hints.
SVN revision: 16412
2005-08-30 01:15:25 +00:00
sebastid 9f01af5e1d Honor lock flags in e_hints.c
SVN revision: 16406
2005-08-29 23:04:21 +00:00
sebastid c9d59d2da3 Honour lock flags.
SVN revision: 16260
2005-08-21 23:36:07 +00:00
sebastid 2bbeab6519 Cleanup.
SVN revision: 16103
2005-08-11 04:44:08 +00:00
sebastid 1ecced5255 Remember previous size for fullscreen apps.
SVN revision: 16100
2005-08-11 04:10:59 +00:00
Carsten Haitzler 29ebbfd6d5 icons are now part of the theme and themable from the theme (always
falls back to default of course if theme doesnt provide them) and this
works for EAP icons too - if you give your EAP icons an icon class
like "web_browser" and if the theme provides a theme override for icons of
class "web_browser" then the theme icon is used instead of the .eap internal
image. not surethis is perfect as u want more "specific" and "more general"
levels - maybe i should make the eapp icon class a list of classes the icon
is part of...


SVN revision: 15951
2005-07-30 07:46:05 +00:00
Carsten Haitzler da5943abc5 1. id3 album cover loader patches
2. i reduced list note memory usage by 20% - shoudl work better with malloc
as ti is now a power of 2 as well
3. optimised evas internals to make use of event freezes to make e17'sw menu
popups a LOT snappier
4. fixed using last member of list nodes - bad - shoudl use api as this is
private stuff really
5. added config profile stuff to e17  u can literally maintain multiple
config profiles and choose which one at any time etc.


SVN revision: 15864
2005-07-22 10:28:11 +00:00
sebastid 2743557b2d Formatting.
SVN revision: 15856
2005-07-21 12:07:11 +00:00
sebastid faff2862d3 Don't check the netwm state variables. Just do as the state change
requests. The appropriate functions must check if the state actually
shall change.

We must find a clever way to implement full maximize vs. maximize
horisontal and vertical.


SVN revision: 15855
2005-07-21 12:06:29 +00:00
sebastid dfed003f00 Don't need to pass coords to e_hints_window_saved_size_(get|set)()
SVN revision: 15821
2005-07-19 09:11:21 +00:00
rbdpngn 6b57b60733 Fix TODO bug for maximized windows across restarts.
SVN revision: 15717
2005-07-10 17:12:01 +00:00
Carsten Haitzler b7e6e8b1f2 implement most of the locks
SVN revision: 15638
2005-07-04 10:24:22 +00:00
Carsten Haitzler 0188539a18 help detetc e17 != e16
SVN revision: 15476
2005-06-22 05:34:50 +00:00
sebastid 8556b412c2 Maximize type as an arg to e_border_maximize. Makes it possible to use
several different maximization types in one session.
Fix the different maximization policies. They only care about gadgets now,
must be fixed to care about other constraints.


SVN revision: 15431
2005-06-19 14:59:41 +00:00
sebastid bd63fe8048 Fix send border to 0, 0 problem.
SVN revision: 15383
2005-06-17 09:29:27 +00:00
sebastid c477ea187d Add some ()
SVN revision: 15350
2005-06-16 02:12:15 +00:00
sebastid a1d95ce59a This should fix the maximization problem.
SVN revision: 15246
2005-06-10 23:37:16 +00:00
sebastid 550eed698c netwm update.
SVN revision: 15180
2005-06-07 15:35:18 +00:00
sebastid 4f2f840dc7 Add fetch flag for netwm/icccm state. Easier to manipulate before a new
client is mapped.


SVN revision: 15176
2005-06-07 13:16:24 +00:00
sebastid 3fb18e9990 netwm sync
SVN revision: 15163
2005-06-06 15:22:05 +00:00
sebastid 56580219b4 - netwm ping.
- fix netwm state update.


SVN revision: 15141
2005-06-05 15:30:46 +00:00
sebastid 6c248ea656 1. Do we need to remember mouse down on all buttons?
2. Is there any problem with calling pointer_ungrab unconditionally?


SVN revision: 15120
2005-06-04 16:31:45 +00:00
sebastid ef7fc7f6cc If something breaks because of the mwm disable, we need to implement
more actions on window type :)


SVN revision: 15108
2005-06-03 19:58:27 +00:00