Commit Graph

7522 Commits

Author SHA1 Message Date
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
José Roberto de Souza 805d32b831 e: Add dbusmenu API
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82091
2013-01-03 18:16:09 +00:00
José Roberto de Souza d46ef364fd e: Replace printf by eina log
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82088
2013-01-03 18:15:53 +00:00
Mike Blumenkrantz 9e207e6f92 conf2
SVN revision: 82078
2013-01-03 14:47:21 +00:00
Carsten Haitzler 625cafc28c fix xsettings to notneed x headers directly... much better! :)
SVN revision: 82058
2013-01-03 11:21:24 +00:00
Cedric BAIL 92ab0600ee e: fix restart of E17 after manually monitoring it.
SVN revision: 82023
2013-01-03 00:32:48 +00:00
José Roberto de Souza 53f67fa86b e/music-control: Add gadget GUI
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81989
2013-01-02 13:19:49 +00:00
Lucas De Marchi 9e1b995c56 e: small fixes to port of e_fm udisk to edbus
- no need for calling edbus_message_error_get() if we are not getting
   the error message
 - rename confusing vars:
 	* A dict is this complete type: "a{sv}", i.e. an array with
	  key-values pairs (though the value could very well be 's', or
	  'u' or another basic type)
	* An entry (or dict_entry, or de) is *the* key-value pair.
 - Use eina_stringshare_replace when possible



SVN revision: 81986
2013-01-02 13:16:24 +00:00
José Roberto de Souza 5e4352e9b3 e: e_fm udisk ported to edbus
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81985
2013-01-02 13:16:19 +00:00
José Roberto de Souza 5655cbf8af e: Remove Hal backend from e_fm
Since Hal is deprecated since 2008 it's a bad idea wasting time porting
it to edbus.

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



SVN revision: 81984
2013-01-02 13:16:14 +00:00
Lucas De Marchi b8dbc2fa0e e: small fixes to e_msgbus conversion to edbus
SVN revision: 81981
2013-01-02 13:15:58 +00:00
José Roberto de Souza a84987cd60 e: Port e_msgbus to edbus
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81980
2013-01-02 13:15:53 +00:00
José Roberto de Souza 5b714e3146 e: Port fileman to edbus
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81977
2013-01-02 13:14:54 +00:00
José Roberto de Souza 71fa105fd8 e: Port battery module to upower and edbus
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81975
2013-01-02 13:14:29 +00:00
Daniel Juyung Seo ba8be587ab e dialog: Handle Escape keys on dialogs. This is very useful. Now e about, theme about, sys dialogs handles Escape key and closes the window.
SVN revision: 81966
2013-01-01 23:44:11 +00:00
Mike Blumenkrantz 9bd47bb46b add enum for deskflip animation mode
SVN revision: 81931
2012-12-31 14:00:47 +00:00
Mike Blumenkrantz 0d8a0f40df convert #defines in e_int_menus.h to enums
SVN revision: 81930
2012-12-31 13:51:43 +00:00
Mike Blumenkrantz b471739c98 e_win now traps elm_win_activate to avoid conflict with active hint ignore settings
SVN revision: 81926
2012-12-31 08:20:22 +00:00
Mike Blumenkrantz 1bbcf1abb0 added function to hide all active menus, always hide menus when desklocking
SVN revision: 81925
2012-12-31 07:47:51 +00:00
Carsten Haitzler 2bcb066ccb oh this was always broken - mh simply was never set and being used...
until the 2nd loop. by then it ws too lae as ms was screwed.



SVN revision: 81895
2012-12-30 10:53:29 +00:00
Mike Blumenkrantz f3e9d402b8 fix wrong config value clamping for window autoraise delay
SVN revision: 81886
2012-12-29 19:01:03 +00:00
Mike Blumenkrantz 34abfeb42e more elm tooltip window fixes
SVN revision: 81885
2012-12-29 17:03:13 +00:00
Mike Blumenkrantz 27c5e97d3b fix elm tooltip borderless display
SVN revision: 81879
2012-12-29 16:04:42 +00:00
Mike Blumenkrantz a5a068a358 fix xkb variant construction, patch from Tomas Cech
ticket #2119


SVN revision: 81849
2012-12-28 22:35:10 +00:00
Carsten Haitzler 7483f4bee9 allow for primary toplevel menus > screen height (or width) and
autoscroll them correctly. also raise the limits for menu sizes up to
30k or 2x zone height for menu item cutoff...



SVN revision: 81778
2012-12-28 03:28:25 +00:00
Cedric BAIL 5af50c40da e: remove some warning when compiling on FreeBSD.
Patch by Maxime Villard <rustyBSD@gmx.fr>.


SVN revision: 81772
2012-12-28 00:27:41 +00:00
Christopher Michael e69f1ae991 Fix uninitialized variable warning(s).
Fix formatting for 80 columns.

Signed-off-by: Christopher Michael <cpmichael1@comcast.net>

SVN revision: 81743
2012-12-27 13:18:59 +00:00
Mike Blumenkrantz 6112e1285c flag config option as GUI
SVN revision: 81737
2012-12-27 09:06:11 +00:00
Mike Blumenkrantz 204a7b1065 hmm that didn't work like I expected, leave elm include here I guess even though this is awkward...
SVN revision: 81733
2012-12-27 07:32:53 +00:00
Mike Blumenkrantz be140d1a3b if using elm, include globally for e
SVN revision: 81732
2012-12-27 07:27:12 +00:00
Igor Murzov b96d338097 Fix inverted arguments for lseek()
Patch from Maxime Villard <rustyBSD@gmx.fr>
"Hum, I've made a mistake in e_fm_op.c with lseek(), I inverted
the two last arguments. However it's not harmful, as SEEK_SET=0.:


SVN revision: 81697
2012-12-25 18:12:31 +00:00
Chidambar Zinnoury 8d542d40a8 e gadcon settings: add icons.
SVN revision: 81694
2012-12-25 17:04:15 +00:00
Mike Blumenkrantz 66aaa87c49 warn--
SVN revision: 81634
2012-12-22 10:33:45 +00:00
Mike Blumenkrantz 56ef3c37d2 add echievements to module whitelist: I (and others) maintain the hell out of this, so I consider it a real bug if there's a crash
SVN revision: 81633
2012-12-22 10:32:30 +00:00
Mike Blumenkrantz 0f01a6b279 in a move which will make me tremendously unpopular, config versioning has been changed from hex to dec across the whole tree, including helper functions and modules
PS. HAHAHAHAHAHAHAHA


SVN revision: 81624
2012-12-21 23:57:05 +00:00
Mike Blumenkrantz 8cd8b27f96 hokay, last commit made bg_file_get leak, so now let's simplify and clean it up
SVN revision: 81621
2012-12-21 23:06:11 +00:00
Mike Blumenkrantz 32c5b6e9fd possibly the last bug fix before release, yet another stringshare bug
ticket #2072


SVN revision: 81620
2012-12-21 22:58:17 +00:00
Mike Blumenkrantz 21bdf63d57 don't generate menu on startup, just cache it after the first one
SVN revision: 81561
2012-12-21 16:34:50 +00:00
Hannes Janetzek 303abf60de e17/shelf: fix wrong autohide with systray on second zone
SVN revision: 81557
2012-12-21 15:54:45 +00:00
Mike Blumenkrantz de5a59c469 correctly update gtk icons/themes when changed, also don't double update on icon events
ticket #2063


SVN revision: 81541
2012-12-21 12:03:11 +00:00
Mike Blumenkrantz 3bc56a9e5f fix a tremendous number of stringshare leaks
SVN revision: 81532
2012-12-21 10:20:05 +00:00
Mike Blumenkrantz b13ca641f7 ensure we get a properly stringshared return value here to match state of e_path_find
SVN revision: 81527
2012-12-21 10:02:27 +00:00
Mike Blumenkrantz e9ea6454d9 some stringshare improvements for e_path_find
SVN revision: 81526
2012-12-21 10:01:01 +00:00
Mike Blumenkrantz 4ee20a2c2f use edje_file_group_exists instead of manually iterating the groups
SVN revision: 81524
2012-12-21 09:08:33 +00:00
Mike Blumenkrantz e049fbf4ee use stringshare return type
SVN revision: 81523
2012-12-21 09:03:30 +00:00
Mike Blumenkrantz 99a5b074dd show icons again when activating DND drop menu
ticket #2061


SVN revision: 81514
2012-12-21 08:08:56 +00:00
Mike Blumenkrantz d7bc5ae149 e internal dialogs now correctly remember their maximization state and are now less prone to moving around crazily if e is restarted while they are maximized
SVN revision: 81472
2012-12-20 17:51:42 +00:00
Mike Blumenkrantz 59c4945890 another focus bug: pointer no longer warps when closing a window if pointer was not over a window when window was closed
SVN revision: 81470
2012-12-20 16:50:44 +00:00
Mike Blumenkrantz 72a901f954 finally fix insanely long-lived bug where pointer warp would end abruptly if the timer was called again before the X cursor move had occurred
SVN revision: 81469
2012-12-20 16:38:12 +00:00
Mike Blumenkrantz 6267cbd223 found a weird bug where sometimes window remembers get saved wrong...add some checks to rescue lost windows like these on startup and unb0rk the related remember
SVN revision: 81467
2012-12-20 15:37:01 +00:00
Mike Blumenkrantz 829a5b0d28 in fact, if we're being serious, linear_flip_to doesn't need flip eval either since it calls a function which does a flip eval
SVN revision: 81465
2012-12-20 14:57:55 +00:00
Mike Blumenkrantz fe991936c0 linear_flip_to already does a flip eval, don't need it here
SVN revision: 81464
2012-12-20 14:52:50 +00:00
Mike Blumenkrantz 6888d7b697 argh more of that desktop profile insanity that didn't get #ifdefs
SVN revision: 81458
2012-12-20 14:07:33 +00:00
Mike Blumenkrantz 7d1cc24f5c only do pointer warp for sloppy focus if the mouse is currently over another window, otherwise just do the other focus-in manually
ticket #morlenxus


SVN revision: 81455
2012-12-20 13:52:49 +00:00
Mike Blumenkrantz a9e313bb1c always set last focused focus on desk change
SVN revision: 81454
2012-12-20 13:51:08 +00:00
Carsten Haitzler 1f745881d9 series of dialogs that were not resizable but should be, are now.
SVN revision: 81434
2012-12-20 10:07:30 +00:00
Mike Blumenkrantz 68e80049c7 improve xkb init: don't call setxkbmap more than once, wait a short while on a timer before setting the layout group to (hopefully) ensure that setxkbmap has completed before trying to set the group number
SVN revision: 81430
2012-12-20 09:27:35 +00:00
Boris Faure c9dfe38ac2 e:slider: delete timer early to avoid losing it. Fix #2050
SVN revision: 81408
2012-12-19 22:34:37 +00:00
Massimo Maiurana c4058ca063 Make some error dialogs translatable (patch from Igor Murzov)
SVN revision: 81394
2012-12-19 17:45:04 +00:00
Mike Blumenkrantz 271f92f912 ahh never too late for an API/ABI break. e_icon_file_get now returns edje group, which fixes fileman border icons
ticket #rasternaggedme


SVN revision: 81387
2012-12-19 17:00:10 +00:00
Christopher Michael 39b6588855 Revert exposing the try_restore_config function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81375
2012-12-19 15:39:31 +00:00
Christopher Michael 1012d6be1d Change e_randr_12_try_enable_output to be exported via EAPI.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81366
2012-12-19 14:21:44 +00:00
Christopher Michael 4d4fd44b39 Expose the e_randr_12_try_enable_output function via EAPI.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81365
2012-12-19 14:21:39 +00:00
Mike Blumenkrantz ae7ca9105f Hi,
here is a patch.

 1. free() already null-checks the passed argument, so it is not
    necessary to do 'if(x) free(x)'.

 2. Moved some '{free(x); x = NULL}' to E_FREE.

 3. In e_start_main.c, 'buf' is allocated with the size of the
    two arguments + '=', so we don't need to check for lenght;
    we should use sprintf().

 thanks
Maxime Villard


SVN revision: 81364
2012-12-19 14:20:34 +00:00
Mike Blumenkrantz b393de2eaa fix shelf autohide on click
ticket #2051


SVN revision: 81362
2012-12-19 13:59:36 +00:00
Mike Blumenkrantz 4ff6488dfa apparently scrollframe has its own key grabs??? wtf???
ticket #2043


SVN revision: 81355
2012-12-19 12:29:47 +00:00
Mike Blumenkrantz ddd898bdac "set as background" ctx action now sets default bg instead of current desk bg
ticket #2042


SVN revision: 81352
2012-12-19 11:13:23 +00:00
Mike Blumenkrantz d6b83ff15e don't return blank locale parts
SVN revision: 81340
2012-12-19 09:52:14 +00:00
Mike Blumenkrantz 43dca4ccd8 don't leak efreet menus!
SVN revision: 81338
2012-12-19 09:44:55 +00:00
Mike Blumenkrantz 91aad68829 e_util_strcmp now checks if ptrs are equal before running strcmp
SVN revision: 81336
2012-12-19 09:39:35 +00:00
Mike Blumenkrantz 24ce5a79a3 initialize var for static analyzer
SVN revision: 81333
2012-12-19 09:27:51 +00:00
Mike Blumenkrantz 602c4dd07a change shelf style during config while gadcon is unpopulated for a small speedup, also fixes crash when changing size and style
ticket #2048


SVN revision: 81332
2012-12-19 09:18:11 +00:00
Mike Blumenkrantz aa35b742c5 don't stop filling a gadcon if one (systray) fails to create
SVN revision: 81331
2012-12-19 09:17:05 +00:00
Mike Blumenkrantz 44c599480b changing shelf style no longer repopulates the gadcon
SVN revision: 81329
2012-12-19 09:16:09 +00:00
Mike Blumenkrantz 504c88e033 fix shelf autohiding for when people slowly, over the course of an hour or longer, move their mouses a single pixel distance out of the shelf onto a gtk app
ticket #1884


SVN revision: 81327
2012-12-19 08:55:51 +00:00