Commit Graph

12481 Commits

Author SHA1 Message Date
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