Commit Graph

7596 Commits

Author SHA1 Message Date
Mike Blumenkrantz b93d7aeb23 change a couple comp DBGs to WRN
SVN revision: 83075
2013-01-22 11:31:07 +00:00
Mike Blumenkrantz f217f7e0b3 set comp log level to info
SVN revision: 83074
2013-01-22 11:29:24 +00:00
Mike Blumenkrantz 0c524f1094 add null checks to external comp api
SVN revision: 83068
2013-01-22 10:18:53 +00:00
Mike Blumenkrantz b0c585cedd comp now has and uses its own log domain
SVN revision: 83067
2013-01-22 10:04:26 +00:00
Mike Blumenkrantz 65aaca959f move ecore-x checks in comp to beginning of comp init
SVN revision: 83066
2013-01-22 09:59:22 +00:00
Mike Blumenkrantz bbff627334 better fix for initial placement of wine windows, also fixes bug where windows would be placed slightly offscreen
SVN revision: 83059
2013-01-22 08:39:10 +00:00
Mike Blumenkrantz 8fcf2cbcca remove old e_msg-based comp api as well as e_manager_comp api, replacing both with e_comp functions and events
this completely breaks anything external which used comp, so module api version has been bumped


SVN revision: 82973
2013-01-18 12:47:14 +00:00
Mike Blumenkrantz e75bc273b2 e_comp.h now includes other comp headers, explicitly including comp headers is not necessary
SVN revision: 82972
2013-01-18 11:22:05 +00:00
Mike McCormack 66c08a536d e: Remove unused variable warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82966
2013-01-18 06:45:55 +00:00
Miculcy Brian cc6581a8f9 Shelf option 'overlapping' made clearer and disabled when window automatic movement on shelf hide isn't set.
SVN revision: 82871
2013-01-16 09:56:50 +00:00
Mike Blumenkrantz bc2cdda276 improve module config dialog load speed
SVN revision: 82820
2013-01-15 15:34:27 +00:00
Mike Blumenkrantz 1c4aec432d track module directories, add api for fetching module .desktop files
SVN revision: 82819
2013-01-15 15:33:39 +00:00
Mike Blumenkrantz 0dea8f3339 small improvement to window dragging: when allowing drag of maximized windows, changing the screen of a window will automatically attempt to resize the window so as to better fit the screen
exploring this change led to the discovery of a default theme bug: maximizing a window blocks events to resize hotspots on the bottom part of the window regardless of config settings


SVN revision: 82813
2013-01-15 14:43:19 +00:00
Lucas De Marchi a37c6ca20f e: follow edbus change about unref'ing messages after send
Don't unref the messages after calling edbus_*_send() since edbus
automatically unrefs them. It was also impressive the number of places
that were not unrefing the message when they should.



SVN revision: 82808
2013-01-15 14:34:50 +00:00
Mike Blumenkrantz 34020fe5df update e_module struct types
SVN revision: 82797
2013-01-15 10:22:36 +00:00
Igor Murzov 505278789d Fix incorrect usage of gettext for plural forms.
This commit is almost the same as r78716. Déjà vu!


SVN revision: 82788
2013-01-14 23:43:40 +00:00
Igor Murzov 2b2335fc0b Translate messages in configuration checker error dialog.
SVN revision: 82787
2013-01-14 23:42:40 +00:00
Miculcy Brian 9d781fa8ac Backlight, screenlock and screensaver don't check for fullscreen windows - we have presentation mode for that.
SVN revision: 82772
2013-01-14 17:26:13 +00:00
Mike Blumenkrantz c088474ba6 fix comp bug where focus+urgency states were not applied to windows on startup
SVN revision: 82769
2013-01-14 17:03:52 +00:00
Mike Blumenkrantz 839a2f3f15 move all conf2 options for opening config dialogs into the owner module
SVN revision: 82727
2013-01-13 13:28:56 +00:00
Mike Blumenkrantz 15baa212d8 add conf2 subsystem utility function for getting gtk theme list
SVN revision: 82721
2013-01-13 12:34:46 +00:00
Mike Blumenkrantz 1e0d4e857c add conf2 utility functions to get current themes
SVN revision: 82720
2013-01-13 12:20:53 +00:00
Mike Blumenkrantz cdbebff3ab all comp options are now available in conf2
SVN revision: 82718
2013-01-13 11:56:43 +00:00
Mike Blumenkrantz e34ba7b645 change comp engine values to enum
SVN revision: 82717
2013-01-13 11:55:16 +00:00
Mike Blumenkrantz 6cdfddfb8e s/iconif/minimize/ for conf2 options, add alias for iconif
SVN revision: 82714
2013-01-13 10:24:17 +00:00
Carsten Haitzler bcb3fa19d0 dont need the include there - e.h has it.
SVN revision: 82713
2013-01-13 05:37:00 +00:00
Carsten Haitzler b6a5ad1a40 from gustavo - efm cmdline grok uri's but needs efreet linking.
SVN revision: 82712
2013-01-13 05:36:22 +00:00
Mike Blumenkrantz f965a163bf add e_comp_cfdata_match_free()
SVN revision: 82704
2013-01-12 15:46:01 +00:00
Mike Blumenkrantz f15d34dcac remove unnecessary macro for comp engines and use enum values
SVN revision: 82702
2013-01-12 15:37:49 +00:00
Mike Blumenkrantz 94ab8f2a37 remove harmless duplicate timer_del call which caused error messages
SVN revision: 82701
2013-01-12 15:13:34 +00:00
Mike Blumenkrantz 2f8132a3d1 aspect widget appears to not be a real object when it comes to clipping, so we're going to be unorthodox here and not return it even though it's the parent...
SVN revision: 82699
2013-01-12 14:46:36 +00:00
Mike Blumenkrantz 91748cdc92 e_manager_comp_set now sends an event instead of using e_msg, though I don't even think this is necessary anymore since it will only be called on startup and shutdown...
SVN revision: 82696
2013-01-12 12:57:53 +00:00
Mike Blumenkrantz 16062072e4 simplify/streamline configure option adding, also add option domains so modules can get lists of their own options or other module options
SVN revision: 82695
2013-01-12 12:28:48 +00:00
Mike Blumenkrantz 30e9bd3f85 move e_configure_option_shutdown() to be the first function called on shutdown: bad things happen if this is not the case
SVN revision: 82694
2013-01-12 12:18:42 +00:00
Mike Blumenkrantz 7cca71bc95 add fallback timeout for system actions; now that comp is mandatory we have to account for the possibility that themes can fail to send correct signals, leading to the screen going black and nothing happening
SVN revision: 82639
2013-01-11 14:54:30 +00:00
Mike Blumenkrantz 71003dbeac add options (conf2 only for the next few minutes) and functionality to enable "fast" comp effects in theme
SVN revision: 82631
2013-01-11 11:53:29 +00:00
Mike Blumenkrantz 34aab4c595 typos in effect disabling checks
SVN revision: 82630
2013-01-11 11:49:56 +00:00
Mike Blumenkrantz d517d37535 backlight no longer attempts to apply settings for dummy devices
SVN revision: 82626
2013-01-11 10:51:24 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 845ba1ba12 add conf2 option for default comp shadow style
SVN revision: 82624
2013-01-11 10:30:01 +00:00
Mike Blumenkrantz 70e40291f6 another new comp option for disabling screen effects (fading on blank)
SVN revision: 82623
2013-01-11 09:21:39 +00:00
Mike Blumenkrantz d94ca3aae7 e_manager_comp_set() is now EINTERN; external compositors are officially dead
SVN revision: 82622
2013-01-11 08:40:14 +00:00
Mike Blumenkrantz 0c282e6018 move conf2 comp options to e_comp
SVN revision: 82618
2013-01-11 08:20:14 +00:00
Mike Blumenkrantz e0b0c10914 rename e_comp_shadow_set to e_comp_shadows_reset to be more descriptive about what it does
SVN revision: 82570
2013-01-10 14:05:08 +00:00
Mike Blumenkrantz 79a1d45534 now that comp is mandatory, I require options to completely disable comp effects before I can use e without tearing my eyes from their sockets
SVN revision: 82564
2013-01-10 13:20:02 +00:00
Mike Blumenkrantz 3394a2b461 fix comp config dialog settings apply (:/), fix comp config saving (:/), fix comp config dialog config loading (:/), change comp config domain to "e_comp" (your settings will be lost if you do not manually rename)
SVN revision: 82563
2013-01-10 13:03:36 +00:00
Mike Blumenkrantz 3d6d8f969c e modules no longer require shutdown or save functions; this should clean up module code a little bit
SVN revision: 82552
2013-01-10 11:31:17 +00:00
Mike Blumenkrantz f927968340 e_menu_category_callback create callback parameter order has changed to be consistent with the rest of the efl: data param always comes first
SVN revision: 82547
2013-01-10 10:36:41 +00:00
Mike Blumenkrantz a428601f56 config submenu now sets "config" category
SVN revision: 82546
2013-01-10 10:27:08 +00:00
Carsten Haitzler 5f8e9293a0 ghost window-- after iconify+uniconify+withdraw
SVN revision: 82542
2013-01-10 10:15:32 +00:00
Mike Blumenkrantz e5e937b2c2 add conf_comp to module whitelist, use right name for comp module in other places
SVN revision: 82541
2013-01-10 10:03:10 +00:00
Mike Blumenkrantz da8302ac86 comp needs managers to exist on init. riiiiight
my favorite dish today: humble pie


SVN revision: 82540
2013-01-10 09:43:56 +00:00
Carsten Haitzler 592f1d1c79 no config - we should insta-restart with default profile.
SVN revision: 82537
2013-01-10 09:33:22 +00:00
Carsten Haitzler da9b477dc9 we really should return.. as e_config is null.
SVN revision: 82535
2013-01-10 09:29:44 +00:00
Mike Blumenkrantz cc42401f59 fix E_Win handling of window state changes, also fix e_border handling of changes.prop setting
ticket #2091


SVN revision: 82534
2013-01-10 09:24:42 +00:00
Carsten Haitzler c5bcdd2398 assert.h++
SVN revision: 82531
2013-01-10 08:50:04 +00:00
Mike Blumenkrantz 0e98a9a8e6 don't display comp module in module settings dialog
SVN revision: 82529
2013-01-10 08:29:19 +00:00
Mike Blumenkrantz 0296927048 autoremove comp module from e_config if it was previously existing there
SVN revision: 82528
2013-01-10 08:28:50 +00:00
Cedric BAIL 278841c8c3 e: we now use Ecore_Getopt.h
SVN revision: 82527
2013-01-10 08:27:43 +00:00
Mike Blumenkrantz c9aaacdb35 completely block modules named composite from being loaded
SVN revision: 82522
2013-01-10 08:14:15 +00:00
Mike Blumenkrantz 7a7ceb7429 E_LIST_HANDLER_APPEND now assert()s the event handler
SVN revision: 82521
2013-01-10 08:09:46 +00:00
Mike Blumenkrantz 8345d7d6d4 order matters in e_main: e_comp would never succeed at compositing anything border-related because it was inited before e_border, thus causing all its e_border event handlers to be nonexistent
SVN revision: 82520
2013-01-10 08:06:01 +00:00
Mike Blumenkrantz 9c92b1b73c fix e_comp_shutdown return type and make e_comp_{init,shutdown} EINTERN so they can't be disabled
SVN revision: 82518
2013-01-10 07:53:20 +00:00
Mike Blumenkrantz 8e127335cb force window border (theme) inset to be applied to new client placement geometry, fixing issues where windows would appear to "slide" across the desktop by the size of the border inset; this was primarily noticeable when using wine applications
SVN revision: 82460
2013-01-09 13:24:24 +00:00
Rafael Antognolli 779724d6d1 e/comp: Add wayland cflags to avoid build error.
SVN revision: 82459
2013-01-09 12:48:11 +00:00
Lucas De Marchi 8cacf8429d e: merge comp module into core
* Move compositor to core, but letting the configuration there
 * Rename all files and functions from e_mod_comp_* to e_comp_*
 * Move the config dialogs to a new module named conf_comp. It still
   uses a domain config, otherwise it would not pick the current
   user's configuration. Maybe it would be wise to later on move these
   options to e_config
 * Fixup the wizard mess linking the header in the build tree in order
   to be able to create the config. Since now it's in core, we don't
   need to play linking games in the build system

I'm not sure if the wayland part works. It was not even building
previously so I'll let for who cares about this to actually test and
report bugs.



SVN revision: 82454
2013-01-09 11:34:07 +00:00
Mike Blumenkrantz 8096505844 geometry_auto_move option (enabled by default) now also corrects applications which fail in their attempts to center windows on multimonitor systems
SVN revision: 82448
2013-01-09 10:11:55 +00:00
Mike Blumenkrantz dacb574ff4 relabel horrendously mislabeled window placement option, also add conf2 help for it
SVN revision: 82441
2013-01-09 08:38:10 +00:00
Mike Blumenkrantz 21dbe23b1a bump config generation for removal of use_composite
SVN revision: 82437
2013-01-09 07:55:39 +00:00
Lucas De Marchi 0675dd03a0 e: rename option use_composite to use_shaped_win
In order to move composite inside the core we need to kill the
use_composite option. However in some places it is being used to switch
between ARGB and shaped windows. It doesn't make much sense to keep the
advanced/engine dialog to let the user toggle this options if we have
composite always enabledm, but lets allow the user to shoot
himself on the foot (for now).

Next step will be to move the comp module files to core so user can't
unload it anymore.



SVN revision: 82433
2013-01-09 03:21:25 +00:00
Mike Blumenkrantz d813da9fb5 fix gettext on conf2 option help
SVN revision: 82411
2013-01-08 13:32:40 +00:00
Mike Blumenkrantz 31e2299a67 add config option for disabling pointer warp when performing directional focus change in winlist, patch by David H. Bronke
ticket #2098


SVN revision: 82409
2013-01-08 11:51:56 +00:00
Mike Blumenkrantz bede9e08bf Desktop->Shelves menu now shows shelf names instead of orientations
ticket #2105


SVN revision: 82408
2013-01-08 11:32:46 +00:00
Mike Blumenkrantz 9543eb5c37 fix bug where slider could be changed while disabled
ticket #2169


SVN revision: 82403
2013-01-08 11:06:56 +00:00
Carsten Haitzler 27624264ee netwm actgivate requests simply do absoluttely nothing now with this
as false. this breaks expected functionality from apps - that they
request activation and eg - window is minimized... it gets shown at
least. app here wants attention/activation... this is better than
ignoring ti entirely. theres activation policy config specifically for
turning this off separately. :/



SVN revision: 82402
2013-01-08 11:03:55 +00:00
Mike Blumenkrantz 2c061403d5 e_win now also traps base size setting on elm windows and applies ICCCM hints when doing so.
as an aside, elm_win is SEVERELY (cripplingly) broken with regard to WM hint applying in the sense that it never applies them
at the least, however, this will prevent windows from being randomly resized smaller than minimum sizes


SVN revision: 82394
2013-01-08 09:13:15 +00:00
Mike Blumenkrantz c7d18cac51 fix bug where keyboard resizing of windows was not possible if timeout was set to zero
SVN revision: 82386
2013-01-08 08:14:09 +00:00
Tom Hacohen d99d5c39e8 E entry + scrollframe: Add clippers as smart members.
This should fix some bugs (specifically with the .desktop file editing menu),
and is just generally correct.

SVN revision: 82360
2013-01-07 20:01:32 +00:00
Mike Blumenkrantz b35c7c7d5f add conf2 option for new backlight dimming thingy that morlenxus just added because he's too lazy to add two lines on his own
SVN revision: 82359
2013-01-07 19:59:53 +00:00
Miculcy Brian 4034a15345 Added option for doing desklock, blanking or dimming even when showing fullscreen windows.
SVN revision: 82358
2013-01-07 19:46:38 +00:00
Miculcy Brian 796317970a Don't blank on fullscreen windows (as we don't run the screenlock on fullscreen windows). Check all zones for fullscreen windows.
SVN revision: 82354
2013-01-07 16:13:17 +00:00
Miculcy Brian d0c143b615 No backlight dimming when in presentation mode. Backlight fade time only applies to dimming - undimming is fixed 0.5 .
SVN revision: 82348
2013-01-07 14:28:26 +00:00
Mike Blumenkrantz 36a7fb9105 whoops forgot to add new option to edd
SVN revision: 82334
2013-01-07 09:46:48 +00:00
Mike Blumenkrantz 4a01ee16a0 add option for disabling icons in menus
ticket #2168


SVN revision: 82333
2013-01-07 09:35:30 +00:00
Mike Blumenkrantz 59ba1738ab fix help text for pass_click_on focus option
SVN revision: 82332
2013-01-07 09:19:42 +00:00
Cedric BAIL 53f7a9ddbd e: fix build with uClibc.
Patch by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>.


SVN revision: 82312
2013-01-07 01:14:25 +00:00
Mike Blumenkrantz 495be28354 fix harmless compile warnings
SVN revision: 82305
2013-01-06 15:16:17 +00:00
Igor Murzov 678645f3ac Better gettext usage in a few places
SVN revision: 82293
2013-01-05 22:54:51 +00:00
Lucas De Marchi 5efeaedf21 e: remove dropshadow module
dropshadow module conflicts with composite, which will be always enabled
by future commits. Remove the module to allow turning composite as
always-enabled.



SVN revision: 82224
2013-01-04 18:35:22 +00:00
Lucas De Marchi 9a101b9777 e/bluez4: cleanup and fixes
- Change module name in whitelist. Its name is bluez4 since it only
   supports bluez 4 API. The day it (automatically) also supports bluez 5,
   we rename it back.
 - Use eina_stringshare_replace when possible
 - Change huge if (strcmp(icon, "...") return "....." with a table.
 - Don't use stringshare when not needed. There's no reason to
   stringshare the icon, just use the static const ones
 - Sanitize edbus method table
 - Remove bogus NONE entry after NULL in services table
 - Fix coding style
 - Generalize _unset_dev() to work with any list



SVN revision: 82208
2013-01-04 16:13:43 +00:00
Lucas Joia c83d114491 e appmenu: Initial commit of module that show application menus exported by dbus
Patch by: Lucas Joia <lucasjoia@profusion.mobi>



SVN revision: 82178
2013-01-04 13:48:45 +00:00
Mike Blumenkrantz a486201959 implement tag aliases for configure options, also add top-level files category when fileman is loaded
SVN revision: 82173
2013-01-04 13:30:09 +00:00
Carsten Haitzler 24cb323b5d export funcs for modules.. add EAPI!!!!!!!!!!!!!!!!!!!!1
SVN revision: 82149
2013-01-04 06:01:21 +00:00
José Roberto de Souza 7b46cb51bf e: Remove e_dbus dependency
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82125
2013-01-03 22:08:40 +00:00
Lucas De Marchi 23c7d0a98b e/notification: fix typo and use designated initializers on server
SVN revision: 82121
2013-01-03 22:08:19 +00:00
Lucas De Marchi 2aca12cc2e e/notification: do not use null_strings_replace()
It would be very weird and error-prone on clients to have code like
this:

E_Notification_Notify n;
memset(n, 0, sizeof(*n));
n.app_name = "bla";
e_notification_client_send(...);
eina_stringshare_del(n.icon.icon);
eina_stringshare_del(...);
...

Instead of doing this, replace NULL by "" in the only place it's not
allowed: while sending the D-Bus message.



SVN revision: 82120
2013-01-03 22:08:15 +00:00
José Roberto de Souza 84550effc5 e: Add client api to notifications
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82119
2013-01-03 22:08:10 +00:00
Lucas De Marchi 8ec8c40bb7 e/notification: improve consistency of the API
Rename some functions and fields to have a better API. Also sanitize the
method and signal tables.



SVN revision: 82117
2013-01-03 22:08:00 +00:00
José Roberto de Souza ab185d46c3 e: Add notification API
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82116
2013-01-03 22:07:56 +00:00
Lucas De Marchi 3c6d7db5a3 e: Make a few renames on new dbusmenu API
typos:
 toogle -> toggle
 itens -> items

API consistency:
 MENU_ITEM_TOGGLE -> E_DBUSMENU_ITEM_TOGGLE
 E_DBus_Menu_Item_Event -> E_DBusMenu_Item_Event
 	(I don't want to bikeshed on this, but we need to choose one of the
	 possible names, and keep consistent with the rest of the API)

A few var renames: It's E_DBusMenu_Ctx, so let's name the var ctx
instead of menu_data. internal_ctx is no more meaninful than ctx, so
rename it as well.



SVN revision: 82092
2013-01-03 18:16:16 +00:00