Commit Graph

12710 Commits

Author SHA1 Message Date
Mike Blumenkrantz 45a263b793 trivial formatting
SVN revision: 81249
2012-12-18 13:40:10 +00:00
Mike Blumenkrantz 0a0d66ca32 fix efm pathbar item creation
ticket #2022


SVN revision: 81245
2012-12-18 13:33:14 +00:00
Mike Blumenkrantz 9bfd23edab whoops forgot to set r
SVN revision: 81244
2012-12-18 13:07:57 +00:00
Mike Blumenkrantz ab1455310a fix opening a .desktop file which is a link to a file
SVN revision: 81243
2012-12-18 12:28:37 +00:00
Mike Blumenkrantz 317ca83733 delete smart callbacks when deleting efm toolbar
ticket #2026


SVN revision: 81242
2012-12-18 12:16:47 +00:00
Mike Blumenkrantz 3577ddfff2 fix e_intl_locale_parts_combine() usage to handle locales without regions
SVN revision: 81241
2012-12-18 12:10:33 +00:00
Mike Blumenkrantz 747a446838 apparently efreet_menu_get() uses timers and such for some reason, sigh. back to threadless we go for this
SVN revision: 81239
2012-12-18 12:01:59 +00:00
Christopher Michael edf54d9d1b Make sure we have a valid monitor edid_hash Before trying to append it
to the serialized config.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81238
2012-12-18 11:15:25 +00:00
Christopher Michael 290423c477 Fix incorrect types used in _e_config_randr_mode_info_edd:
randr structure for this uses unsigned int, not int, so store them
    in unsigned.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81237
2012-12-18 11:14:31 +00:00
Christopher Michael 9e2fb834b9 When telling the monitor to apply changes we should check to see what
actually changed and update things accordingly.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81236
2012-12-18 11:13:49 +00:00
Mike Blumenkrantz 37a539bf80 simplify string lowercasing in intl post-init
SVN revision: 81235
2012-12-18 11:10:00 +00:00
Mike Blumenkrantz 03f47c2b35 fix language config dialog loading of languages which don't contain region
SVN revision: 81234
2012-12-18 11:04:41 +00:00
Mike Blumenkrantz 77d578451c fix retrieving locale parts if region is not present
SVN revision: 81233
2012-12-18 11:04:00 +00:00
Mike Blumenkrantz f7490b2b0d add eo_US to language name list
SVN revision: 81232
2012-12-18 10:41:11 +00:00
Mike Blumenkrantz 1ac2c1d782 delete fileman popups any time anything in a directory changes
ticket #2025


SVN revision: 81231
2012-12-18 10:19:42 +00:00
Mike Blumenkrantz 1199fc9807 okay, exposing icon object not such a great idea considering it gets deleted and recreated constantly
SVN revision: 81230
2012-12-18 10:12:47 +00:00
Mike Blumenkrantz d54e0dd00b add efm icon object to icon info so people can hook callbacks to it
SVN revision: 81228
2012-12-18 09:39:10 +00:00
Christopher Michael 649446a72e Add safety check for valid zone. If we do not have one, return current
one.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81227
2012-12-18 09:35:19 +00:00
Mike Blumenkrantz a658db2782 use e_util_strcmp, set current gadcon style menu item to disabled, only use default style as menu item if current style not set
ticket #2023


SVN revision: 81226
2012-12-18 09:30:35 +00:00
Mike Blumenkrantz 558894792f fix gadcon stringshare usage
SVN revision: 81225
2012-12-18 09:25:48 +00:00
Mike Blumenkrantz adae1d9000 prevent shelf artifacts when re-creating shelf after config
ticket #2005


SVN revision: 81224
2012-12-18 09:20:32 +00:00
Mike Blumenkrantz 8f5cdde1b3 don't reopen scale config dialog after applying settings
ticket #2006


SVN revision: 81223
2012-12-18 09:10:14 +00:00
Mike Blumenkrantz 2114eceed0 add autochange to scale config dialog
SVN revision: 81222
2012-12-18 09:00:51 +00:00
Mike Blumenkrantz 538fe07543 in pursuit of ticket #2017, notifications now show up with the focus effect to make them slightly more attention-getting; still no change in opacity
SVN revision: 81220
2012-12-18 08:33:04 +00:00
Mike Blumenkrantz 38987b7872 set name for notification popups
SVN revision: 81217
2012-12-18 08:14:43 +00:00
Mike Blumenkrantz e9182d8081 ummmm this is not how you refresh efm
ticket #2014


SVN revision: 81214
2012-12-18 07:54:52 +00:00
Mike Blumenkrantz 6c71c50732 whoops, ensure we unmount the deleted mount object after the mount ops are run
SVN revision: 81204
2012-12-18 06:11:03 +00:00
Cedric BAIL db610957a7 e: seriously, WTF with all this non resizable config setting window, it's insane !
SVN revision: 81199
2012-12-18 03:25:45 +00:00
Massimo Maiurana 2a774dd533 updating esperanto translations
SVN revision: 81195
2012-12-17 23:42:23 +00:00
Boris Faure d93209d339 e:tiling: fix resizing/moving windows with a step <= 0
Should close #1996

SVN revision: 81192
2012-12-17 22:20:56 +00:00
Boris Faure 782898f630 e:tiling: fix some possible overflow issues
SVN revision: 81191
2012-12-17 22:20:44 +00:00
Mike Blumenkrantz 1c161c7713 also prevent recursive obj del on evry windows and unset window defer delete so we don't get crazy errors when people hold down the god damn keybind to piss me off
ticket #2009


SVN revision: 81167
2012-12-17 17:14:21 +00:00
Mike Blumenkrantz fd75266b7d arghhh this damn typo took me an hour of ecore internal debugging to find! damn you jeffdameth!!!
SVN revision: 81166
2012-12-17 17:13:35 +00:00
Mike Blumenkrantz 99d701f535 --warn
SVN revision: 81164
2012-12-17 16:18:43 +00:00
Mike Blumenkrantz f0965845b5 handle better a startup where a config cannot be loaded
ticket #2003


SVN revision: 81163
2012-12-17 16:12:32 +00:00
Mike Blumenkrantz 46f630f103 efm finally does something other than flail around helplessly when you drag stuff onto the icon of another device
ticket #2000, fuck DND


SVN revision: 81162
2012-12-17 15:59:43 +00:00
Christopher Michael 373bd3ce00 Add function for a monitor to apply it's changes.
NB: This is needed because apparently the e_randr serialization code
works DIRECTLY on the E_Randr_Info structures (E_Randr_Output_Info,
etc, etc). Sooo, in order to save and restore a randr config, we need
for the monitor to update those structures First before we tell
e_randr to save things else it will save with incorrect values.

NB: This is the START of save/restore configuration work.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81161
2012-12-17 15:46:55 +00:00
Christopher Michael 66d8162518 Add function prototype for a monitor to apply it's changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81160
2012-12-17 15:46:52 +00:00
Christopher Michael a6d983b1a8 Include private header before public one (without this change, build
breaks).

Export e_randr_try_restore_configuration function so it can be used
from the RandR module.

Combine serialized_setup_new code into one function (No reason for
additional function call).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81159
2012-12-17 15:46:50 +00:00
Christopher Michael 407fd760f6 Remove generic EINTERNAL _try_restore_configuration. Combine the code
into one e_randr_try_restore_configuration function.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81158
2012-12-17 15:46:47 +00:00
Christopher Michael 296a985992 Export the try_restore_configuration function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81157
2012-12-17 15:46:43 +00:00
Christopher Michael 0744667e74 Use proper function when config gets loaded to try and restore
configuration.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81156
2012-12-17 15:46:41 +00:00
Christopher Michael 85de44850b Include private header After public header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81155
2012-12-17 15:46:37 +00:00
Christopher Michael 94535beb52 Group EAPI functions together.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81154
2012-12-17 15:46:32 +00:00
Carsten Haitzler 92380c140d nth from eina list returns data. .not list node...
SVN revision: 81153
2012-12-17 15:31:36 +00:00
Stefan Schmidt f67f82518b e/randr: Add missing header for distcheck
Be nice to devilhors and fix make distcheck for him.

SVN revision: 81150
2012-12-17 14:35:58 +00:00
Christopher Michael 30484c09cf Fix TODO note for recent Enable/Disable commit.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81149
2012-12-17 14:29:02 +00:00
Christopher Michael 00d5045d27 Move EAPI functions above EINTERN ones.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81148
2012-12-17 14:28:04 +00:00
Christopher Michael 1f13d6d76d Move EINTERN functions below EAPI exposed functions.
Fix formatting.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81147
2012-12-17 14:21:42 +00:00
Christopher Michael 06a76bcb27 Add e_randr_store_configuration function to exposed headers
(NB: It was exposed in the serialization file, but never provided by
the e_randr header).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81146
2012-12-17 14:21:39 +00:00
Christopher Michael d4810be25f No need for 2 functions which do the same thing (return a new
Serialized Setup).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81145
2012-12-17 14:21:35 +00:00
Christopher Michael 507e6a25fb Fetch all current monitor values once (rather than a fetch for each
change).
Add code to apply Disabled/Enabled state.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81140
2012-12-17 13:42:15 +00:00
Christopher Michael 3ba73d30d8 Add function to return current enabled state.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81139
2012-12-17 13:42:12 +00:00
Christopher Michael cce210cd53 Make randr dialog not resizable.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81138
2012-12-17 13:42:08 +00:00
Christopher Michael 230a80bc2a Add function prototype for returning enabled state.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81137
2012-12-17 13:42:04 +00:00
Christopher Michael 059d1139fe Provide method to compute a proper layout size (needed for case of
blank config).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81135
2012-12-17 12:55:35 +00:00
Christopher Michael 3f84da5d34 If we unclone (from a blank config) than we need to update the current
x/y of the monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81134
2012-12-17 12:55:32 +00:00
Christopher Michael 5016734bc9 Remove comment/todo that does not belong here.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81133
2012-12-17 12:55:29 +00:00
Christopher Michael e49d7dcad2 Remove blank line.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81132
2012-12-17 12:55:27 +00:00
Christopher Michael 54267c8ad8 Remove dead comment.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81131
2012-12-17 12:55:22 +00:00
Christopher Michael 3c270359ce Delete any cloned monitors when we delete the main one.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81124
2012-12-17 11:35:16 +00:00
Mike Blumenkrantz 606701ff6c make e_fm2_device_mount_free() EAPI
SVN revision: 81123
2012-12-17 11:34:19 +00:00
Christopher Michael f224102a0b Fix "mini clone" movement when a monitor moves.
Fix "mini clone" movement when a monitor resizes.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81122
2012-12-17 11:30:41 +00:00
Mike Blumenkrantz b22ac9e803 also automatically show files again if an op fails entirely
SVN revision: 81120
2012-12-17 10:59:10 +00:00
Mike Blumenkrantz 7a3a863ea1 fix Navigate menu to function more appropriately with removable media
ticket #2000


SVN revision: 81119
2012-12-17 10:55:35 +00:00
Mike Blumenkrantz 567121f44f only pass clicked item to menu functions if it's something we can navigate in
SVN revision: 81118
2012-12-17 10:54:52 +00:00
Christopher Michael 91ddccec87 Fix monitor clone position for the case of "initial blank setup"
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81114
2012-12-17 10:22:01 +00:00
Christopher Michael b55027332b Remove some erroneous printfs.
When we are uncloning, don't use crtc geometry but rather use the
monitors visual position.
When we show, we need to re-apply any existing rotation (in case
monitor is uncloned).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81113
2012-12-17 10:21:57 +00:00
Christopher Michael 9ec140a681 Add code to start working with no previous config and nothing
specified in xorg (ie: blank setup). We will detect (manually) what is
cloned and setup accordingly. (NB: Still needs work).
Add function to find a monitor based on crtc id (used for blank setup
clones).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81111
2012-12-17 09:21:08 +00:00
Christopher Michael fb6c724151 Add some printfs (commented out).
When we unclone a monitor (on initial startup), if it has not been
manually placed yet, use the crtc geometry for position & size.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81110
2012-12-17 09:21:05 +00:00
Christopher Michael 7d6a9cd155 Set randr widget minimum size to proper values.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81109
2012-12-17 09:21:02 +00:00
Christopher Michael a3cf759911 Add function to randr widget to return the best layout size.
Modify widget creation to use randr layout size function:
  NB: Needed because we cannot rely on E_RANDR_12->current_size to
provide us with something usable.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81108
2012-12-17 09:20:59 +00:00
Christopher Michael 99d170a6a9 Comment out some debugging printfs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81107
2012-12-17 09:20:56 +00:00
Christopher Michael fa0264ef5c Add function to return the list of monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81106
2012-12-17 09:20:53 +00:00
Christopher Michael 2a4d3cb73e Add smart callback hook for monitor changed.
Add functions to return randr widget changed state.
Add function to randr widget so we can apply changes.
Add single randr_changed_set function (reduce duplicated code).
Use E_INSIDE to determine cloning.
Remove some printfs.
Call randr_changed_set where needed.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81105
2012-12-17 09:20:49 +00:00
Christopher Michael 6e1b9916f3 Add prototypes for randr_changed_get and randr_changes_apply functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81104
2012-12-17 09:20:46 +00:00
Christopher Michael 0b31476241 Add prototypes for smart monitor functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81103
2012-12-17 09:20:44 +00:00
Christopher Michael b0d6204b83 Add a clone object (mini to represent this monitor).
Record monitor's current geometry when move starts (so if we unclone
we can restore the position).

Port Raster's mouse pointer changes to new dialog :)

Fix refresh_rate fill function to take the monitor object (needed so
we can raise changed signal).

Add functions for getting the "current" information from the monitor
object (Used during apply).

Fix up swallowing and unswallowing of clones so that they restore
to the original position (before cloning).

Fix up smart move & resize function to not apply map if not visible.

Use a single "map_apply" function (reduce duplicated code).

Hook into radio changed (refresh rate) so we can send the changed
signal.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81102
2012-12-17 09:20:41 +00:00
Christopher Michael 6e7b845965 Hook into the randr widget "changed" event.
Call the randr widget apply function to handle applying changes.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81101
2012-12-17 09:20:38 +00:00
Christopher Michael 551b576a4b Don't set mouse pointer to "move" if this is a cloned monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81096
2012-12-17 09:20:17 +00:00
Christopher Michael 690fe7a419 Ignore mouse events on cloned monitors.
Ignore resize events on cloned monitors.
Ignore rotate events on cloned monitors.
Don't set the moving flag if this monitor is cloned.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81095
2012-12-17 09:20:13 +00:00
Christopher Michael a23ebcd608 Introduce new RandR dialog which fixes issues that the past one had.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81094
2012-12-17 09:20:07 +00:00
Christopher Michael 8ca8923989 Introduce new randr dialog which fixes issues that the past one had.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81093
2012-12-17 09:20:04 +00:00
Christopher Michael 710b996818 Add code to limit resize not go below minimum resolution.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81090
2012-12-17 09:19:55 +00:00
Christopher Michael d603306b70 Add code to limit resize to the maximum resolution.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81089
2012-12-17 09:19:52 +00:00
Christopher Michael 45c77f4f64 Update comment.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81088
2012-12-17 09:19:49 +00:00
Christopher Michael c1aab4d679 Add code to get the 'current' refresh rate on monitor setup.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81087
2012-12-17 09:19:46 +00:00
Christopher Michael e0fd5aee63 Fix resize start and stop signals to pass the object also.
Add preliminary function for handling resize.
Add functions to set resizing flag on start & stop.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81086
2012-12-17 09:19:44 +00:00
Christopher Michael 395b19b28e Add basic infrastructure for resize start/stop signals.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81085
2012-12-17 09:19:41 +00:00
Christopher Michael 33bc78ad1f Fix some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81084
2012-12-17 09:19:38 +00:00
Christopher Michael fa99b6d3f0 Remove debug printf.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81083
2012-12-17 09:19:36 +00:00
Christopher Michael e0ebab8576 Implement filling the refresh list.
Fix a todo for common modes.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81082
2012-12-17 09:19:33 +00:00
Christopher Michael 5e48a93502 Add a field in the monitor structure to store the canvas.
Add refresh rate object to monitor structure
Add refresh rate field to store the current rate.
Add start of refresh_rate fill function.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81081
2012-12-17 09:19:30 +00:00
Christopher Michael 5c76922851 Remove 'hack' to setting rotation cursor.
Implement e_pointer way of setting it.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81080
2012-12-17 09:19:27 +00:00
Christopher Michael f18f5572aa Add function prototypes to header(s) where missing.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81079
2012-12-17 09:19:25 +00:00
Christopher Michael 467da0c1a5 Add some debugging (will be removed after testing).
Add function to handle packing a monitor into the layout.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81078
2012-12-17 09:19:22 +00:00
Christopher Michael 13eb1a0321 Add flags in new monitor structure for enabled, moving, resizing, rotating.
Add field(s) in the smart data structure to store the layout widget reference along with layout geometry and size.
Add code to set the monitor name.
Add code to set the resolution name.
Add code to set enabled/disabled state.
Add code to handle when the layout widget gets moved so we can update the recorded geometry.
Add livethumb background preview.
Add edje signal callbacks for resize, rotate, and indicator.
On monitor deletion, remove the bg_update_handler, and free the list of modes.
Add code to handle manual user moving of monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81077
2012-12-17 09:19:19 +00:00
Christopher Michael 9bdafc8d2d Move dialog resizable set call to the basic_create function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81076
2012-12-17 09:19:16 +00:00
Christopher Michael 1fce126fe4 Start of new randr dialog & monitor widget.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81075
2012-12-17 09:19:13 +00:00
Christopher Michael ca89888917 Use consistent internal naming for randr dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81074
2012-12-17 09:19:10 +00:00
Christopher Michael c5d7fb5a2e Add header file for RandR dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81073
2012-12-17 09:19:07 +00:00
Christopher Michael da45a71d87 Add new module files with e_modapi functions needed for module creation.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81072
2012-12-17 09:19:05 +00:00
Christopher Michael 3b74f38de2 Remove old randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81071
2012-12-17 09:18:59 +00:00
Mike Blumenkrantz e41c2b9343 fix weird efm crash
SVN revision: 81070
2012-12-17 08:30:46 +00:00
Chidambar Zinnoury 224552e67e e mousebindings config: typo.
SVN revision: 81056
2012-12-16 19:58:23 +00:00
Chidambar Zinnoury 2475c840cc e mousebindings config: show correct mouse button name and icon according to selected holding hand.
SVN revision: 81055
2012-12-16 19:55:10 +00:00
Boris Faure 34906754b8 e:tiling: fix moving/resizing tiled windows
Refs: #1996

SVN revision: 81054
2012-12-16 19:43:32 +00:00
Chidambar Zinnoury b92fd1a5ae e pager config: show mouse button name and icon (left, middle, right).
SVN revision: 81053
2012-12-16 19:09:34 +00:00
Massimo Maiurana 6b330d0932 Translate the "Shelf <orientation>" message (patch from Igor Murzov)
SVN revision: 81052
2012-12-16 17:10:08 +00:00
Massimo Maiurana 72bff90279 Use gettext correctly to translate the "Icon %s" message (patch from Igor Murzov)
SVN revision: 81051
2012-12-16 17:01:31 +00:00
Massimo Maiurana 647f511ef9 Show Everything plugin's names translated in the settings dialog (patch from Igor Murzov)
SVN revision: 81050
2012-12-16 16:59:48 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +00:00
Massimo Maiurana c4175e62ec Fix mismatching parameters for e_action_predef_name_{set,del}() (patch from Igor Murzov)
SVN revision: 81048
2012-12-16 16:51:12 +00:00
Chidambar Zinnoury ee1209aceb e button widget: same bad logic when removing text. See r81045.
Sorry, didn’t check before committing!


SVN revision: 81046
2012-12-16 16:36:55 +00:00
Chidambar Zinnoury 9bb7ab62de e button widget: bad logic when removing icon.
SVN revision: 81045
2012-12-16 16:33:57 +00:00
Chidambar Zinnoury ef8690ee8f e files menu: “0 listable items” → “No listable items”.
SVN revision: 81044
2012-12-16 14:10:16 +00:00
Carsten Haitzler 7badcc8fe9 radios - if none is selected... the one u select gets selected. :)
SVN revision: 81043
2012-12-16 14:06:10 +00:00
Carsten Haitzler d97008e7c0 moar bufffzzzz!
SVN revision: 81042
2012-12-16 10:15:57 +00:00
Massimo Maiurana f4cd4df207 Make two more messages translatable (patch from Igor Murzov)
SVN revision: 81040
2012-12-16 08:57:55 +00:00
Carsten Haitzler 0251a602f9 ok - give some size in printf.
SVN revision: 81037
2012-12-16 01:29:48 +00:00
Carsten Haitzler 5ab8396f24 ok - strdupa make sure its defined after other includes in case,.. and
add to e_fm_ipc.c...



SVN revision: 81036
2012-12-16 01:17:45 +00:00
Chidambar Zinnoury 22c81bcfa2 e xsettings: state that the theme applies only to GTK apps.
Maybe put icons as first item as it applies to everything?


SVN revision: 81032
2012-12-15 20:20:59 +00:00
Chidambar Zinnoury 23299743a2 e: Unicode makes you look better, gives you luck, brings back lost love,
SVN revision: 81031
2012-12-15 20:19:33 +00:00
Chidambar Zinnoury d2f9a1cc7d e main menu: remove parentheses and disable item when there are no elements.
SVN revision: 81030
2012-12-15 20:07:02 +00:00
Chidambar Zinnoury a82810c3d5 e: Revamp a 'lil bit the remember config dialog.
- Add check changed.
- Have the details section actually show something.
- Show a meaningful “Any” (disabled) when a discriminant is not set.
- Show “No selection” (disabled) when there is none.

 Still bothering: deletions are being done immediately, not upon validation, unlike other settings.


SVN revision: 81029
2012-12-15 20:03:41 +00:00
Boris Faure 114eb6d6ae e:tiling: tiled windows shouldn't get maximised by users
Refs: #1996

SVN revision: 81027
2012-12-15 18:06:39 +00:00
Maxime Villard 5ebf793f1b From: Maxime Villard <rustyBSD@gmx.fr>
Subject: [E-devel] [e] Patch acpi

A little patch to fix a possible warning - and overflow.

'buf' is PATH_MAX, but PATH_MAX is not necessary 1024. If
PATH_MAX < 1024 -> overflow.

Also, fgets() fills the buffer and nullterminate it, so we
don't need to buff[0] = '\0'.



SVN revision: 81024
2012-12-15 14:42:19 +00:00
Maxime Villard 534ae45303 From: Maxime Villard <rustyBSD@gmx.fr>
Subject: Re: [E-devel] [e] [patch] Leak (was FreeBSD patch)

I would also move some {free(x); x = null} to E_FREE.



SVN revision: 81023
2012-12-15 14:29:38 +00:00
Carsten Haitzler d77fca2234 also all the pointer push/pops are going to be bad in that they mess
with the manager pointer... that is bad - at most mess with your own
win pointer.. push and pop that. fix... and use plus pointer for power
led button so it doesnt look like the hand ptr for dragging. :)



SVN revision: 81019
2012-12-15 13:30:13 +00:00
Carsten Haitzler 1f7c977b79 ummm randr.. why do pointer differently for rotate.. when e_poitner
already does it? fix - use e_pointer.



SVN revision: 81018
2012-12-15 13:18:10 +00:00
Carsten Haitzler 8c3c6c57a0 provide debug printfs for cedric.. my init splash comes up fine...
debug loosk good.



SVN revision: 81014
2012-12-15 07:51:16 +00:00
Carsten Haitzler 18b1eb7111 revert that.. its not a double free... its a bizarre-arse macro!
SVN revision: 81012
2012-12-15 07:44:11 +00:00
Carsten Haitzler 320ec625b0 wtf? thats like double-free land.. why strdupa at all? nuts! remove
strdupa's and make code consistent with neighbouring code.



SVN revision: 81006
2012-12-15 01:56:35 +00:00
Mike Blumenkrantz 8a38414ec8 same for mouse wheel bindings...
SVN revision: 80993
2012-12-14 22:36:35 +00:00
Mike Blumenkrantz f03730cee5 apparently people have been adding keybinds to default config and not updating the keybind reset to defaults list
SVN revision: 80992
2012-12-14 22:31:17 +00:00
Mike Blumenkrantz 679cae4fad patch from maxime villard fixing strdupa definition and moving a variable to local scope
SVN revision: 80990
2012-12-14 21:09:21 +00:00
Massimo Maiurana 60a8c29681 typo
SVN revision: 80978
2012-12-14 17:40:12 +00:00
Hannes Janetzek 37150a8715 e17/evry: add some debug info to exebufs path scanning/loading
SVN revision: 80974
2012-12-14 17:10:35 +00:00
Hannes Janetzek a3dab23b61 e17/evry: remove logging stuff from api..
SVN revision: 80973
2012-12-14 17:09:00 +00:00
Mike Blumenkrantz 90659a081c "share" button on screenshot now has a confirm dialog because apparently "share" is too vague and we need users to explicitly waive their privacy rights
ticket #1985


SVN revision: 80959
2012-12-14 16:02:03 +00:00
Hannes Janetzek f920665d49 e17/evry: free window in _evry_window_free
SVN revision: 80952
2012-12-14 14:28:16 +00:00
Hannes Janetzek 5b4c85d75b evry valgrinding: dont leak initial item (when no input was given)
SVN revision: 80947
2012-12-14 14:25:48 +00:00
Hannes Janetzek c6cbc0e22c evry valgrinding: not sure if this is correct solution but evas_smart_class_new:35 leaked in one log
SVN revision: 80945
2012-12-14 14:24:37 +00:00
Mike Blumenkrantz 9d68775725 fix pointer warping on desk change + revert focus
ticket #1994


SVN revision: 80942
2012-12-14 13:47:53 +00:00
Mike Blumenkrantz 381425f538 improper E_FREE usage
SVN revision: 80939
2012-12-14 13:04:32 +00:00
Mike Blumenkrantz acdc863299 fix magic fail when deleting desklock popup: popup already hidden, so don't need to delay delete
SVN revision: 80938
2012-12-14 13:04:16 +00:00
Massimo Maiurana 88d44a9291 other duplicates with different case
SVN revision: 80936
2012-12-14 12:04:57 +00:00
Mike Blumenkrantz e034e33f17 remove unnecessary efm refresh on fwin spring dnd end, fixes crash
ticket #1975


SVN revision: 80934
2012-12-14 11:30:55 +00:00
Mike Blumenkrantz 8b698680df reorder efm dnd finished cb to prevent crash when accessing possibly deleted icon
SVN revision: 80933
2012-12-14 11:29:50 +00:00
Mike Blumenkrantz 1d7d7def2a update widget min size when changing label text
SVN revision: 80932
2012-12-14 11:29:19 +00:00
Mike Blumenkrantz 926ee6f360 pulse_recv() no longer has the most confusing return of any function, also only prevent event list from building, not sinks (we need them!)
SVN revision: 80925
2012-12-14 09:38:59 +00:00
Mike Blumenkrantz 8347b33d9c more leaks gone in trash code that isn't used
SVN revision: 80924
2012-12-14 09:19:50 +00:00
Mike Blumenkrantz 799e6b5a5e it seems that this variable in e_exec does not actually need to be strdup()ed, and thus does not need to leak...
SVN revision: 80923
2012-12-14 09:13:07 +00:00
Mike Blumenkrantz 31b66a272e improper E_FREE usage
SVN revision: 80922
2012-12-14 09:07:57 +00:00
Mike Blumenkrantz 53c7cc643f small leak in config registry item add
SVN revision: 80920
2012-12-14 09:04:23 +00:00
Mike Blumenkrantz 6c68615ca3 better fix for mixer buffer overflow, copy to epulse
SVN revision: 80919
2012-12-14 09:03:34 +00:00
Mike Blumenkrantz cc694477f6 better fix for mixer pointer
SVN revision: 80918
2012-12-14 08:39:15 +00:00
Cedric BAIL dda71fa2ff e: revert r80871.
This commit make E go crazy and use 100% all time. Reading the code,
we do check the returned value, but discard it without looking at it
in many case. A proper review of that piece of code to fix potential
memory leak and avoid reusing dead pointer would be a must.


SVN revision: 80915
2012-12-14 06:59:29 +00:00
Carsten Haitzler 3dc01f3e7a fix filedesc leak in tempget when errs happen - based on info from
maxime, but written differently.



SVN revision: 80914
2012-12-14 05:28:16 +00:00
Carsten Haitzler 819fa7c948 have a theme fallback in preview so it works right.
SVN revision: 80904
2012-12-13 23:33:29 +00:00
Mike Blumenkrantz f4440456f7 actually we can just strdupa here instead
SVN revision: 80899
2012-12-13 21:28:54 +00:00
Mike Blumenkrantz 925645792e grr meant strncpy!
SVN revision: 80898
2012-12-13 21:25:29 +00:00
Boris Faure 4e35962cb1 e:tiling: fix some overflows and add a bunch of asserts
SVN revision: 80892
2012-12-13 20:55:54 +00:00
Mike Blumenkrantz 0d579688ae add object_repack function for frametable
SVN revision: 80890
2012-12-13 20:12:32 +00:00
Mike Blumenkrantz 6ae01a1b09 unbreak e_intl.h #ifdefs
SVN revision: 80889
2012-12-13 19:12:37 +00:00
Mike Blumenkrantz b5011f94bb fix wizard comp cfg leak
SVN revision: 80877
2012-12-13 15:02:20 +00:00
Mike Blumenkrantz d2058ecbad some small leaks in tempget
SVN revision: 80876
2012-12-13 14:59:50 +00:00
Mike Blumenkrantz 8f0efbf740 fix possible crash in shot module
SVN revision: 80875
2012-12-13 14:56:53 +00:00
Mike Blumenkrantz ededae7ee5 notification module no longer crashes when its config is reset
SVN revision: 80874
2012-12-13 14:54:19 +00:00
Mike Blumenkrantz 8c4457aed4 don't leak event infos when no cb is set for pulse events
SVN revision: 80873
2012-12-13 14:51:00 +00:00
Mike Blumenkrantz f243a81f94 another leak on failure
SVN revision: 80872
2012-12-13 14:46:15 +00:00
Mike Blumenkrantz 6f981cc6a5 NULL variable after freeing
SVN revision: 80871
2012-12-13 14:44:55 +00:00
Mike Blumenkrantz 1eb2f32879 buffer overflow in pulse
SVN revision: 80870
2012-12-13 14:44:11 +00:00
Mike Blumenkrantz ca69b505a6 possible buffer overflow, review needed from someone who knows this better
SVN revision: 80869
2012-12-13 14:36:24 +00:00
Mike Blumenkrantz e85807052b no, you don't need to allocate label strings for list
SVN revision: 80868
2012-12-13 14:35:56 +00:00
Mike Blumenkrantz 964c8ec66e fileman_opinfo improper E_FREE and possible leak depending on asprintf implementation
SVN revision: 80867
2012-12-13 14:25:04 +00:00
Mike Blumenkrantz 9220325253 fileman menu leak
SVN revision: 80866
2012-12-13 14:23:41 +00:00
Mike Blumenkrantz 33700ff362 leak in fileman mime edit config
SVN revision: 80865
2012-12-13 14:21:58 +00:00
Mike Blumenkrantz 4449f72f85 another fileman mime config leak
SVN revision: 80864
2012-12-13 14:20:06 +00:00
Mike Blumenkrantz 1f9e621fca formatting
SVN revision: 80860
2012-12-13 14:16:34 +00:00
Mike Blumenkrantz b4d060ab1c fun typo, I'd think gcc would warn against this
SVN revision: 80859
2012-12-13 14:14:44 +00:00
Mike Blumenkrantz f8ed2a752a do calloc after possible return; leak--
SVN revision: 80858
2012-12-13 14:13:39 +00:00
Mike Blumenkrantz a82e3688a1 another evry apps leak
SVN revision: 80857
2012-12-13 14:13:08 +00:00
Mike Blumenkrantz 6e72b63508 more evry apps leaks and wrong E_FREE usage
SVN revision: 80856
2012-12-13 14:09:55 +00:00
Mike Blumenkrantz aa04f119e2 leak in evry apps
SVN revision: 80855
2012-12-13 14:08:03 +00:00
Mike Blumenkrantz 0f091f6dd9 dropshadow leak
SVN revision: 80854
2012-12-13 13:57:37 +00:00
Mike Blumenkrantz a111090fa4 formatting
SVN revision: 80853
2012-12-13 13:52:41 +00:00
Mike Blumenkrantz bd5690e78f small leak in old display dialog
SVN revision: 80852
2012-12-13 13:45:58 +00:00
Mike Blumenkrantz 1e75ff35e1 formatting
SVN revision: 80851
2012-12-13 13:42:50 +00:00
Mike Blumenkrantz 006a014982 gadcon positioning leak
SVN revision: 80850
2012-12-13 13:41:35 +00:00
Mike Blumenkrantz 42f02658c8 more profile config dialog leaks
SVN revision: 80849
2012-12-13 13:38:32 +00:00
Mike Blumenkrantz d2bad66fd5 fix leaks in profile config dialog
SVN revision: 80848
2012-12-13 13:37:04 +00:00
Mike Blumenkrantz 5e04704e3e apps menu no longer leaks in some impossible case
SVN revision: 80847
2012-12-13 13:23:38 +00:00
Mike Blumenkrantz ef6267c7c3 fix some comp leaks when window attributes are not found
SVN revision: 80846
2012-12-13 13:21:43 +00:00
Mike Blumenkrantz fdcdd7a168 void functions don't return values
SVN revision: 80845
2012-12-13 13:19:30 +00:00
Mike Blumenkrantz 0774c6bf65 ensure path length fits in buffer in batget
SVN revision: 80844
2012-12-13 13:18:07 +00:00
Mike Blumenkrantz 41236712d9 use PATH_MAX for path buffers
SVN revision: 80843
2012-12-13 13:16:01 +00:00
Mike Blumenkrantz 44442a8e45 reorder some stuff in static_grab to be more successful
SVN revision: 80842
2012-12-13 13:11:21 +00:00
Mike Blumenkrantz 3d9ac54d21 even more leaks in randr11 refresh rates fail
SVN revision: 80841
2012-12-13 13:01:57 +00:00
Mike Blumenkrantz 4e23dd680e fix leak in randr11 refresh rate failure
SVN revision: 80840
2012-12-13 12:59:43 +00:00
Mike Blumenkrantz 7fb5b16ee4 void functions don't return values
SVN revision: 80839
2012-12-13 12:55:59 +00:00
Mike Blumenkrantz 3111aa6120 another pedantic free for the analyzers
SVN revision: 80838
2012-12-13 12:53:28 +00:00
Mike Blumenkrantz 251ee5a5d6 another pedantic and probably unneeded null check
SVN revision: 80837
2012-12-13 12:52:13 +00:00
Mike Blumenkrantz 3a82001c8b fix leak in client menu generation
SVN revision: 80836
2012-12-13 12:50:58 +00:00
Mike Blumenkrantz 6388913775 another pedantic and probably unneeded null check
SVN revision: 80835
2012-12-13 12:47:34 +00:00
Carsten Haitzler 1a891cf8a3 lets be awesome ... and make the theme preview.. look a lot more like
a REAL PREVIEW OF A THEME!



SVN revision: 80834
2012-12-13 12:27:03 +00:00
Mike Blumenkrantz 6d0a11236f fix possible buffer overflow in module config dialog
SVN revision: 80832
2012-12-13 12:03:41 +00:00
Mike Blumenkrantz 8f1f764359 don't leak on iterate in intl path searching
SVN revision: 80831
2012-12-13 11:58:06 +00:00
Mike Blumenkrantz 1358b91d2b pedantic free() here to shut up analyzers
SVN revision: 80829
2012-12-13 11:56:22 +00:00
Mike Blumenkrantz b51d7c6eda fix leak in import dialog
SVN revision: 80828
2012-12-13 11:55:10 +00:00
Mike Blumenkrantz da5caff466 inlist_count is not O(1)
SVN revision: 80827
2012-12-13 11:52:38 +00:00
Mike Blumenkrantz 9b4ec19471 fix guaranteed crash in efm_op...rustyBSD check this if you happen to read
SVN revision: 80826
2012-12-13 11:49:07 +00:00
Mike Blumenkrantz 4a2837830b another efm_op leak, also wrong E_FREE usage
SVN revision: 80824
2012-12-13 11:34:09 +00:00
Mike Blumenkrantz e0926014a1 fix possible NULL deref in efm_op
SVN revision: 80823
2012-12-13 11:30:40 +00:00
Mike Blumenkrantz c637b2874f fix small leak in efm_op
SVN revision: 80822
2012-12-13 11:27:47 +00:00
Mike Blumenkrantz b48d65af00 fix lots of stupidity in efm daemon trash code that isn't even enabled
SVN revision: 80821
2012-12-13 11:18:26 +00:00
Mike Blumenkrantz 0743fd1ea2 fix efm daemon leak in every command made
SVN revision: 80820
2012-12-13 11:13:17 +00:00
Mike Blumenkrantz b2b336ed7d fix leak in efm daemon when reordering files
SVN revision: 80819
2012-12-13 11:10:01 +00:00
Mike Blumenkrantz 67b24415d6 fix efm leak when symlinking out of an ASK DND action
SVN revision: 80818
2012-12-13 11:07:06 +00:00
Mike Blumenkrantz 52ca7afc9a fix leak in e_exec when DISPLAY is too long
SVN revision: 80817
2012-12-13 11:03:13 +00:00
Mike Blumenkrantz 59aa402a46 fix wrong E_FREE usage
SVN revision: 80816
2012-12-13 11:02:36 +00:00
Mike Blumenkrantz c0910ad0d4 only create config registry item once its category has been found to prevent dangling registry items
SVN revision: 80815
2012-12-13 10:56:59 +00:00
Mike Blumenkrantz f81c0f3d93 fix uninitialized border geom in SMART/EXPAND maximizes
SVN revision: 80814
2012-12-13 10:48:39 +00:00
Mike Blumenkrantz 7877c41869 handle NULL more gracefully in e_bindings_signal_handle
SVN revision: 80813
2012-12-13 10:38:24 +00:00
Mike Blumenkrantz e3c0e6bbcc shut up e_exehist
SVN revision: 80812
2012-12-13 10:37:14 +00:00
Mike Blumenkrantz 4078be3fab fix icon finding for evry mime types
ticket #1988


SVN revision: 80810
2012-12-13 10:34:52 +00:00
Mike Blumenkrantz 9cc54e74c7 formatting
SVN revision: 80804
2012-12-13 09:46:11 +00:00
Carsten Haitzler 47e53b259e provide some help for when pkgers mess up suid bits on freqset.
SVN revision: 80801
2012-12-13 09:02:20 +00:00
Carsten Haitzler dae7d45236 add small detail to error printf on e_sys.
SVN revision: 80799
2012-12-13 08:32:37 +00:00
Mike Blumenkrantz 6999eb8ad1 add new event for when managers regrab keys
SVN revision: 80774
2012-12-12 19:21:31 +00:00
Mike Blumenkrantz 55ae26fcd3 prevent config dialogs from crashing if create/free data functions are not defined
SVN revision: 80772
2012-12-12 16:54:48 +00:00
Mike Blumenkrantz a4cb0df4ea prevent double pager settings menus
SVN revision: 80769
2012-12-12 14:56:59 +00:00
Mike Blumenkrantz 8077e1aafb always unpopulate shelf before changing orientation so systray doesn't ibtch
SVN revision: 80768
2012-12-12 14:56:17 +00:00
Mike Blumenkrantz 86aa333211 disable currently-set orientation for shelf on orientation change menu
SVN revision: 80766
2012-12-12 14:44:10 +00:00
Mike Blumenkrantz dbce2eaed3 show files again when an overwrite dialog pops up
ticket #1974


SVN revision: 80762
2012-12-12 13:50:43 +00:00
Mike Blumenkrantz a8143270cd always re-set xmodmap after changing kbd layout group
SVN revision: 80761
2012-12-12 13:31:18 +00:00
Mike Blumenkrantz 15df42143e add some null checks before monitor deletion to account for people still affected by the frenchman's laziness
SVN revision: 80757
2012-12-12 12:34:49 +00:00
Carsten Haitzler ddbf106d6e ensur emensu dont go futzing about whileu use them... allocate
POTENTIAL space for submenus later. :)



SVN revision: 80751
2012-12-12 11:06:40 +00:00
Mike Blumenkrantz d0eff6a730 fix initial name string for New Directory action
SVN revision: 80748
2012-12-12 10:12:29 +00:00
Mike Blumenkrantz a93a4d56f0 New Directory action in efm now renames inline like New File action
SVN revision: 80747
2012-12-12 10:08:04 +00:00
Carsten Haitzler 353b588347 10k files.... ok! :)
oh and fix a segv people will get when queue process timeout is hit...

and reduce timeout to 0.01 sec :)



SVN revision: 80746
2012-12-12 09:59:53 +00:00
Mike Blumenkrantz 65d7ceb910 backlight gadgets now update themselves on events
ticket #1976


SVN revision: 80745
2012-12-12 09:52:28 +00:00
Mike Blumenkrantz fc3c05f50e warn--
SVN revision: 80740
2012-12-12 09:00:52 +00:00
Mike Blumenkrantz a04ef6cce1 wallpaper previews now maintain aspect ratio when resized
ticket #1981


SVN revision: 80735
2012-12-12 08:05:21 +00:00
Carsten Haitzler da9336c9dd fix menu box packing for submenu itms so when set up in specific
orners with a pre callback... its packed WITH fill



SVN revision: 80661
2012-12-11 14:37:17 +00:00
Mike Blumenkrantz 90ce8a3f24 fix buffer length for deskenv_init
SVN revision: 80660
2012-12-11 14:31:12 +00:00
Mike Blumenkrantz b341cd4689 unbreak mouse move events when autohiding shelves are present
ticket #1961
ticket #zmikeisdumb


SVN revision: 80659
2012-12-11 14:20:53 +00:00
Mike Blumenkrantz 6c751918b8 warn--
SVN revision: 80656
2012-12-11 13:04:53 +00:00
Mike Blumenkrantz 69b94914ea force defaults for recently-removed comp config options
SVN revision: 80655
2012-12-11 13:04:29 +00:00
Mike Blumenkrantz fde12e4225 simplify pager dnd leave cb
SVN revision: 80654
2012-12-11 12:48:49 +00:00