Commit Graph

167 Commits

Author SHA1 Message Date
Carsten Haitzler 43f1dc012d Revert "Randr: Fix null dereference."
This reverts commit 4aef218d28.

Revert "randr: remember crtcid for fast lookup on reconnect"
This reverts commit 55b4ad41d1.

Revert "randr: further cleanup"
This reverts commit 3e02824663.

these make nvidia randr resolution changing work again. sorry seb.
even though cleanups might be nice... this code is FIDDLY and every
driver seems to work differently, so take it easy and be very careful
- make no assumptions. i know it works on my intel desktop and nvidia
deskop atm. once i get a vga cable i'll fix up intel laptop with
external display that has problems. i can try radeon too later. but
right now - this stuff needs to work. being clean is far less
important than working. :)
2014-12-17 09:40:41 +09:00
Sebastian Dransfeld 3e02824663 randr: further cleanup
Primarly two things removed:
1. crtc->outputs should only contain outputs which should be enabled
So looping them twice in e_randr_apply is definitly wrong.

2. _e_randr_crtc_find should find a crtc for an output
So looping our crtcs again in _active_set is definitly wrong. If
_e_randr_crtc_find does not find us a crtc, it should be fixed there.
2014-12-15 12:31:14 +01:00
Mike Blumenkrantz 5bd1587078 remove xembeds from systray module 2014-11-25 15:20:11 -05:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Chris Michael 7861f5e69c bugfix: Cleanup systray module having missing initializers for Eldbus
Message & Signals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 14:17:50 -04:00
maxerba fac4e89dfa Updating desktop files, eo.po and fr.po 2014-09-11 21:14:58 +02:00
Mike Blumenkrantz d9b9497a00 systray should now update comp_x client pixmap size since it's handling window resizes 2014-09-01 10:30:53 -04:00
Mike Blumenkrantz 85bc707ab9 yet another systray overhaul to avoid destroying batter after nocomp ends
bottom line, this is a pile-of-shit protocol to work with if you're compositing. at present, any xembeds which were present before a nocomp event will be permanently destroyed, and they can't be recovered until the app re-creates them. afaik, no app does this unless you restart it.
2014-09-01 10:30:53 -04:00
Mike Blumenkrantz c006bbf247 systray xembed handles nocomp interactions more reliably 2014-08-16 09:47:28 -04:00
Mike Blumenkrantz 8669d68db3 simplify systray handler code 2014-08-16 09:12:48 -04:00
Chris Michael 2ad62d1b31 systray: Fix duplicate structure name when including EGL headers
When we include support (in the wayland compositor) for compiling with
EGL, the inclusion of the EGL headers cause a conflict with the
Status structure name in this module, so lets rename it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-25 09:44:06 -04:00
Mike Blumenkrantz 59657b2ec6 set systray xembed background to black
fix T1242

 #DealWithIt
2014-06-02 07:30:10 -04:00
maxerba 9f19d5a676 Updating translations 2014-05-19 22:04:38 +02:00
Mike Blumenkrantz 4675323286 bugfix: appindicator service name parsing now stringshares correctly
fix T811
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 43ed524431 > be in 2013
> still using sprintf
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 61c1282015 bugfix: fix systray appindicator icon loading
fix T811
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 275e20b2bc redo some systray appindicator stuff so the menu doesn't immediately close 2014-05-08 17:00:15 -04:00
Sebastian Dransfeld ef208ad96b systray: deref pointer after check
CID 1193253
2014-03-24 12:59:14 +01:00
Mike Blumenkrantz af3f435d98 systray stop crashing in wayland!!!! 2014-03-18 13:22:11 -04:00
Mike Blumenkrantz 4b3e2797a0 bugfix: don't use external log domain in systray
CID 1132742
2014-03-13 12:40:27 -04:00
Mike Blumenkrantz 16e7c57ba4 bugfix: prevent out of bounds access in systray theme setup
CID 1039843
2014-03-13 10:53:55 -04:00
Mike Blumenkrantz 3bb0867815 set DOCK type on systray window 2014-02-14 12:48:34 -05:00
Mike Blumenkrantz 146f1662d9 unset shape event selection on systray xembed base 2014-01-22 22:32:53 -05:00
Mike Blumenkrantz a9627e84f5 remove a bunch of unnecessary ecore-x calls from modules 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
José Roberto de Souza 3b00919101 systray: Remove xembed callbacks when xembed support is disable 2013-12-18 16:25:23 -05:00
José Roberto de Souza dc74938241 Refactor systray to have only one box
This is simpler and avoid some edje erros.

This patch depends on a patch on elementary to update systray edj.
2013-12-18 16:25:23 -05:00
Mike Blumenkrantz bbaa7a76b7 set systray icon layer based on gadcon container layer 2013-12-10 11:18:49 -05:00
Igor Murzov 519c4de7f6 Revert "updating desktop files"
This reverts commit 22f7a34e23.
2013-09-04 04:11:13 +04:00
maxerba 22f7a34e23 updating desktop files 2013-07-31 12:08:42 +02:00
Mike Blumenkrantz a11443eb52 shouldn't be setting ignore on systray xembed base, this was needed when we were creating comp wins at the wrong time 2013-07-26 16:13:06 +01:00
maxerba b7ba1dea64 Adding serbian localization in desktop files 2013-07-08 13:33:29 +02:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
Mike Blumenkrantz d25e2ce2c4 add extra check to systray on selection clear event to avoid race condition when refreshing shelf gadgets 2013-06-13 08:13:11 +01:00
Mike Blumenkrantz a899322813 semi fix systray xembed refresh 2013-06-12 15:01:35 +01:00
Mike Blumenkrantz 8aa2829cdb remove another systray layer check 2013-06-12 14:56:16 +01:00
Mike Blumenkrantz 3a631947a3 fix systray input and stacking 2013-06-11 14:00:18 +01:00
Igor Murzov d4176581fa Make systray settings dialog translatable 2013-06-09 20:12:59 +04:00
Igor Murzov 4d345be847 Don't ask questions in systray settings dialog 2013-06-09 20:12:59 +04:00
Igor Murzov aa7ebc4c73 Fix copy'n'paste issue 2013-06-09 20:12:58 +04:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02:00
Mike Blumenkrantz a4a7a831c4 fix systray parenting and sizing
xembeds no longer appear during desklock
2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 0eb88a495d make systray Instance struct public 2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 4b8a73b1d9 systray is effectively the same whether it's in a shelf or on the desktop now, make it work for both 2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 646f90439f increase systray min width, define systray gadget min sizes, also apply min sizes when resizing dynamically 2013-05-09 07:57:06 +01:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Mike Blumenkrantz dbd0670bfc systray now has a min size of 8x8 so it can be clicked 2013-02-22 13:56:47 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Carsten Haitzler 1c0574d4bf cancel pending calls in edbus if shutting down ctx...
SVN revision: 83835
2013-02-12 03:47:00 +00:00
Mike Blumenkrantz 324af69e29 ensure same name is used for config edd as type in systray
SVN revision: 83583
2013-02-04 08:26:02 +00:00
Mike Blumenkrantz 66b451229e From: zehortigoza@profusion.mobi (Jose Souza)
Subject: [PATCH] e systray: Add configuration dialog to enable/disable xembed support


SVN revision: 83580
2013-02-04 08:18:21 +00:00
José Roberto de Souza a913411beb e systray: Move dbus stuff out of gadcon instance
This fix a bug that was empty dbus notification when shelf is moved and
also allow multiple instance if some day we drop xembed support.

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82492
2013-01-09 22:38:21 +00:00
José Roberto de Souza 6f67cb6d15 e systray: use evas_object_visible_get() to know if icon was appended to box
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82414
2013-01-08 13:58:21 +00:00
Lucas De Marchi 33eab461c1 e systray: sanitize edbus tables
SVN revision: 82115
2013-01-03 22:07:50 +00:00
José Roberto de Souza c71d0fb539 e systray: Add notifier watcher
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82114
2013-01-03 22:07:45 +00:00
Lucas Joia 40d65f04ad e systray: add menu for notifier items
Patch by: Lucas Joia <lucasjoia@profusion.mobi>



SVN revision: 82113
2013-01-03 22:07:40 +00:00
Lucas De Marchi f3fbe7296d e systray: use strv instead of passing max around
Also rename one of the vars to _Names to keep consistent with the other.



SVN revision: 82112
2013-01-03 22:07:33 +00:00
José Roberto de Souza 3014654d58 e systray: Initial commit of dbus notifier host
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82111
2013-01-03 22:07:26 +00:00
Gustavo Sverzut Barbieri 7ec37a51a9 systray: split xembed part into own file, prepare to receive d-bus
There is a new d-bus systray spec by KDE that is less retarded. It's
used by KDE and other environments such as Ubuntu's Unity. We'll
integrate code to have E17 to support this spec, then we must separate
the XEmbed part into its own file to avoid confusion.

Patch by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>



SVN revision: 82016
2013-01-02 20:38:36 +00:00
Mike Blumenkrantz 6e7b994ed4 set systray default style to plain, recreate systray when icon is deleted to prevent crazy sizing issues
SVN revision: 81554
2012-12-21 15:23:46 +00:00
Mike Blumenkrantz b577c7e900 pop an error message about systray's ugliness when shelf style is invisible
SVN revision: 80653
2012-12-11 12:47:10 +00:00
Mike Blumenkrantz 214c57e210 use correct geom for systray icon scaling, also clamp to shelf size
SVN revision: 80596
2012-12-10 11:30:33 +00:00
Mike Blumenkrantz 0dd759c208 normalize systray icon size against shelf size
ticket #1945


SVN revision: 80462
2012-12-07 14:15:23 +00:00
Mike Blumenkrantz 4c9d587ecb use e_util icon size normalizing function in systray
SVN revision: 80461
2012-12-07 14:12:29 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Massimo Maiurana 8314c3b95c updating various translations
SVN revision: 79519
2012-11-21 19:45:32 +00:00
Carsten Haitzler f534e30089 put lucas's makefiles back.. but what do you do to make it not break
between builds from older vs newer makefile setup?



SVN revision: 79024
2012-11-09 14:49:05 +00:00
Carsten Haitzler 5fa813e1cc lucas... u're going to hate me... but i'm reverting this whole lot of
module build chnages because its fundamentally broken. it DOES NOT
PRODUCE .SO FILES. just .la and .a files. the only reason u dont
notice is.. you ALREADY had .so's installed. i just got in from the
airport... synced and updated.. rebuilt and was met with all modules
not loading... literally - no .so's are installed int he module dirs.
try rm -rf the instaleld module tree.

regardless... this has to be reverted be3cause it's a major break. the
idea is right/nice. the implementation is causing... problems.



SVN revision: 79015
2012-11-09 10:45:35 +00:00
Lucas De Marchi 0000e87ffc e/modules: delete old Makefile.am's
SVN revision: 78983
2012-11-07 21:50:53 +00:00
Lucas De Marchi 92eee9068a e: use AM_CPPFLAGS instead of INCLUDES
Get rid of warnings like below with recent automake (1.11 and newer):
src/bin/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/bin/Makefile.am: installing './depcomp'
src/modules/access/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')



SVN revision: 78720
2012-10-31 20:40:40 +00:00
Massimo Maiurana 6f4591eed2 updating russian translation
SVN revision: 78648
2012-10-30 12:10:17 +00:00
Massimo Maiurana 96bef27c6f updating portuguese and italian translations
SVN revision: 75576
2012-08-22 21:51:00 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +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 b3e909434b someone got a little too clever trying to disable multiple systray instances and now it doesn't even display an error dialog. well let me tell you, we like our error dialogs. we like them a lot.
SVN revision: 72562
2012-06-21 06:36:14 +00:00
Mike Blumenkrantz 7a38549bd4 formatting
SVN revision: 72541
2012-06-20 12:55:44 +00:00
Carsten Haitzler 317853d95c fix systray size creep
SVN revision: 71411
2012-05-24 11:39:20 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +00:00
Boris Faure 328496c8f4 e: oopsie. warnings--
SVN revision: 65205
2011-11-14 22:04:27 +00:00
Hannes Janetzek 63aa27757d e17/systray: whoops, revert this part
SVN revision: 64532
2011-10-30 19:48:58 +00:00
Hannes Janetzek 707aed7926 e17: add notification that systray does not work on a shelf that is 'below everything'
- native speakers are welcome to correct the message


SVN revision: 64531
2011-10-30 19:46:30 +00:00
Christopher Michael 09ec19d893 E/Systray: Add ability for systray to go into illume indicator for Rui.
Basically this checks the gadcon's 'site', if it's Desktop or any
toolbars then systray cannot go there.



SVN revision: 63069
2011-09-01 21:25:02 +00:00
Christopher Michael 165813d5de E: Fix systray module to be engine independant by using just ecore_x
library calls.



SVN revision: 61556
2011-07-21 12:10:16 +00:00
Hannes Janetzek a18b47ef6c e17/systray: dont allow to add systray to destop. seems to have issue
SVN revision: 58567
2011-04-11 20:25:31 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Massimo Maiurana ca72bdc928 updating german translations
SVN revision: 57698
2011-03-11 22:17:19 +00:00
Massimo Maiurana 308534cc44 updating russian translations
SVN revision: 57124
2011-02-17 12:15:59 +00:00
Mike Blumenkrantz 15468f69f6 fix include paths for all these makefiles to add $top_builddir/src/bin instead of $top_srcdir/src/lib
SVN revision: 55884
2011-01-05 17:50:05 +00:00
Massimo Maiurana 4a57615505 updating portuguese translations
SVN revision: 55041
2010-11-28 14:34:04 +00:00
Sebastian Dransfeld 02910b4579 Right orientation for left and right side
SVN revision: 54245
2010-11-06 19:47:55 +00:00
Christopher Michael ba1b5a0834 Save ourselves a function call and just use the ecore_evas from the gc.
SVN revision: 54053
2010-10-30 19:12:48 +00:00
Christopher Michael a2bf209842 NB: This commit for Tasn; getting systray to work with
illume-indicator ;)

Systray:
  - Do NOT assume we are drawing to the desktop if we are not a shelf;
rather, get the ecore_x_window of the gadget containers evas.

Illume-Indictor:
  - Use a popup window on the indicator window so that systray module
can work with illume-indicator.

Illume:
  - Add some traps in case e_border_name_get does not return something.



SVN revision: 54052
2010-10-30 19:05:48 +00:00
Miculcy Brian dd641e9259 New categories for modules.
To be continued soon...


SVN revision: 53514
2010-10-17 17:33:44 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Miculcy Brian 6632b93444 reduce normal std output
SVN revision: 51750
2010-08-30 14:28:52 +00:00
Cedric BAIL 9617253990 * edje: fix count that lead to memleak.
SVN revision: 51047
2010-08-12 15:07:26 +00:00
Cedric BAIL 288403f62b * edje: fix for updated edje file format.
SVN revision: 51037
2010-08-12 13:26:09 +00:00
Cedric BAIL 068d07757f * edje: converting edje file to make them compatible with old and new
loader. I didn't expect so many of them, maybe some one can take care
	of reducing their number (0 would be a good target).


SVN revision: 50938
2010-08-09 18:05:22 +00:00