Commit Graph

5570 Commits

Author SHA1 Message Date
Chidambar Zinnoury 1227eeea67 e engine settings: force check changed on confirmation dialog.
SVN revision: 81689
2012-12-25 16:19:11 +00:00
Mike Blumenkrantz fbd2efaf46 fix crash when changing ibar source
ticket #2101


SVN revision: 81682
2012-12-24 13:12:47 +00:00
Boris Faure 0cda661565 e:tiling: fix toggle_rows_count
SVN revision: 81680
2012-12-24 12:40:28 +00:00
Boris Faure 2948af6ebb e:tiling: factorize code about moving windows
SVN revision: 81678
2012-12-24 11:13:19 +00:00
Boris Faure 69165855cd e:tiling: Corrected off-by-one error that was causing a SIGFPE when moving the last window in a stack to the left.
SVN revision: 81677
2012-12-24 11:12:56 +00:00
Igor Murzov 773454898d Replace "Open Folder" with "Open Directory"
This was the only occurence of "Folder" term in the pot.


SVN revision: 81661
2012-12-23 23:03:49 +00:00
Hannes Janetzek a211ce97dd fixed crash in eio_monitor_del instead
SVN revision: 81631
2012-12-22 01:56:48 +00:00
Hannes Janetzek edff7270a5 e17/fileman: fix segv: ni->monitor could be NULL
SVN revision: 81629
2012-12-22 01:03:01 +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 ae1341986a small leak--
SVN revision: 81622
2012-12-21 23:26:47 +00:00
Mike Blumenkrantz 580b884d41 fix uninitialized var in randr config dialog which potentially broke initial monitor layout
SVN revision: 81593
2012-12-21 21:35:17 +00:00
Maxime Villard 4a52c46268 From: Maxime Villard <rustyBSD@gmx.fr>
Subject: [E-devel] [e][PATCH] Optimizations v2
Date: Fri, 21 Dec 2012 22:17:32 +0100

Hi,
same patch as before: removed useless nullchecks and
switched some free()'s to E_FREE().



SVN revision: 81592
2012-12-21 21:31:13 +00:00
Leandro Pereira d0378828e3 e/modules/comp: Revert 81509.
The fix pushed to Evas in r81563 should be a proper fix (which should work
in other places as well).



SVN revision: 81564
2012-12-21 17:37:58 +00:00
Mike Blumenkrantz c7f20b65c5 update backlight gadgets at module init end
SVN revision: 81555
2012-12-21 15:29:43 +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 7c8e9642bd sooooo translators will hate me for this but I had to change another string here since it was 100% wrong. sorry.
this commit disables all the other widgets in xsettings config if "enable xsettings" is not checked, since this is what the result of disabling xsettings will be


SVN revision: 81542
2012-12-21 12:04:10 +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 27896bfae3 stringshare leak--
SVN revision: 81531
2012-12-21 10:15:41 +00:00
Mike Blumenkrantz a94857969d stringshare leak--
SVN revision: 81530
2012-12-21 10:15:10 +00:00
Mike Blumenkrantz 667e455ca4 use dialog_parent_set instead of setting transient_for directly in edgebindings
SVN revision: 81529
2012-12-21 10:14:20 +00:00
Mike Blumenkrantz e8061c0a35 fix a stringshare error in desk config and also a possible crash
SVN revision: 81528
2012-12-21 10:12:39 +00:00
Mike Blumenkrantz 1c2d6e4aea write myself a note on why symlinks are disabled in menu
SVN revision: 81519
2012-12-21 08:40:42 +00:00
Carsten Haitzler d05e3c5711 attempt to deal with new svn efl async render... in evas1.7
evas_sync() is an empty function so this has no effect on released
efl, but it helps with svn efl.



SVN revision: 81509
2012-12-21 06:33:57 +00:00
Jérémy Zurcher 016b953ce5 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] mixer module segv patch

- prevent segv while playing with controls when a card with empty
channel list is selected (ie webcam)



SVN revision: 81506
2012-12-21 04:48:18 +00:00
Massimo Maiurana 0f9deb26ad updating various translations
SVN revision: 81482
2012-12-20 19:58:56 +00:00
Massimo Maiurana df2dc94c8e Make 'Signal:' and 'Source:' messages translatable (patch from Igor Murzov)
SVN revision: 81481
2012-12-20 19:48:55 +00:00
Leandro Pereira 0965a4d628 e/modules/comp: Remove duplicated call to evas_object_image_data_set()
SVN revision: 81474
2012-12-20 18:05:16 +00:00
Mike Blumenkrantz 5f5c2fb4d3 set a non-hilarious min size for fileman windows
SVN revision: 81471
2012-12-20 17:01:37 +00:00
Carsten Haitzler 30fe9349c4 fix window screenshotting at least on nvidia... :/
SVN revision: 81466
2012-12-20 15:10:50 +00:00
Mike Blumenkrantz 40014e093f scale settings now actually show you what is currently set
ticket #2055


SVN revision: 81460
2012-12-20 14:42:05 +00:00
Mike Blumenkrantz e645c7812a formatting
SVN revision: 81459
2012-12-20 14:10:46 +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 602a9aabc5 winlist should no longer get stuck sometimes when activated by keybind
ticket #2007


SVN revision: 81449
2012-12-20 12:28:47 +00:00
Mike Blumenkrantz 01f4fd81db winlist now removes modifiers from its list as they are released
SVN revision: 81448
2012-12-20 12:26:19 +00:00
Mike Blumenkrantz 909c59080f disable winlist binding activation for edge/signal/acpi; this is totally broken
SVN revision: 81446
2012-12-20 11:58:56 +00:00
Mike Blumenkrantz 6418ae1c39 fix quickaccess settings item deletion on onload, patch from Igor Murzov
SVN revision: 81444
2012-12-20 11:39:41 +00:00
Mike Blumenkrantz a8990c74e9 winlist now behaves in a more expected manner when activated with a mouse binding
SVN revision: 81443
2012-12-20 11:16:09 +00:00
Mike Blumenkrantz cb34a3e7f5 unify winlist action code and set activation type
SVN revision: 81442
2012-12-20 10:58:21 +00:00
Mike Blumenkrantz c9cfe979ef gsb says more specifics for tasks config
SVN revision: 81439
2012-12-20 10:35:18 +00:00
Mike Blumenkrantz 4168f28d0b tasks config no longer describes size options as "minimum" sizes
SVN revision: 81436
2012-12-20 10:19:22 +00:00
Carsten Haitzler dc51892c8d and basic comp too.
SVN revision: 81435
2012-12-20 10:10:01 +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
Hannes Janetzek 2e15739b21 e17/evry: ensure that there will be only one true popup.
- add timer to delay closing with the same binding that triggers evry 


SVN revision: 81432
2012-12-20 09:37:37 +00:00
Mike Blumenkrantz 8f1ad5c813 correctly add new keyboard layouts from wizard
SVN revision: 81429
2012-12-20 09:23:16 +00:00
Mike Blumenkrantz 11fcf6a97e delete idle enterers with idle_enterer_del()
SVN revision: 81428
2012-12-20 09:14:30 +00:00
Hannes Janetzek 72f84ca2f1 e17/evry: fix placement of selected item when toggling list/thumb mode:
force reconfigure again on update frame, but delete idler

disable 'drag into item' gesture for now


SVN revision: 81412
2012-12-19 23:14:06 +00:00
Lucas De Marchi b102c96377 Revert "e/connman: just update popup list at each 5 secs"
This reverts commit r79842 for the exact reason stated in the commit
log. First I thought it would not affect the usability, but it indeed
did. And it's a bit worse than having to wait 5 seconds to see the state
changes:  you never see them, except if you close and open the popup
again. This could be "fixed" by setting up the timer in
_econnman_popup_update() inside "if (inst->popup_locked)", but we would
still not see the transitions, only the final state.

A proper solution would be to first separate the service state changes
from the list updates, then do something like what was proposed in
r79842. Revert it while we don't have a solution that doesn't break the
more common cases of clicking in a service and see it connecting.



SVN revision: 81407
2012-12-19 20:33:31 +00:00
Massimo Maiurana fbc93840ca updated russian translations
SVN revision: 81398
2012-12-19 19:28:07 +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
Cedric BAIL 23e2a04c29 e: take a plane and fix that damn battery time left !
SVN revision: 81383
2012-12-19 16:10:37 +00:00
Carsten Haitzler fec11b1b7d sorry jeremy - back out your patch. mier more broken than before.
SVN revision: 81382
2012-12-19 15:57:56 +00:00
Christopher Michael 69cb1822e1 Fix monitor apply settings.
NB: According to a conversation with T_UNIX, we actually do use the
ecore_x randr functions to apply the config.

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

SVN revision: 81377
2012-12-19 15:39:51 +00:00
Christopher Michael 829558db50 Fix randr widget applying settings as per discussion with T_UNIX.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81376
2012-12-19 15:39:47 +00:00
Mike Blumenkrantz 37767d960f fix "hide instead of raise" for quickaccess
SVN revision: 81371
2012-12-19 14:45:12 +00:00
Christopher Michael be20b9d15d Add some debugging for disabled monitors.
If we are trying to add a disabled monitor, check for possible outputs.

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

SVN revision: 81368
2012-12-19 14:21:50 +00:00
Christopher Michael 75981aa321 Set struct field for Enabled/Disabled Before we try to find possible
crtc.
If the monitor's crtc does not have a current_mode (because it was
previously disabled), then grab the last available mode (typically the
largest) and set the crtc current_mode to that.
Add some debugging for Enable/Disable.
Remove code which was trying to use ecore_x calls to re-enable a
monitor.
Use the randr function for trying to enable an output (if previously
disabled).

NB: Enable/Disable Does work, HOWEVER in my testing I have found that
when you re-enable a monitor, you will need to completely back out of
X and restart it in order for the Monitor to show output again. Unsure
if this is an X bug or something in e_randr or someother weirdness....

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

SVN revision: 81367
2012-12-19 14:21:47 +00:00
Mike Blumenkrantz 4e9bb38d9a if fileman navbar gets eio monitor error, delete monitor and retry
ticket #2044


SVN revision: 81357
2012-12-19 13:04:48 +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
Christopher Michael 7829e00b45 Comment out some debugging printfs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81351
2012-12-19 11:04:35 +00:00
Christopher Michael 1d174b11ba Add header for crtc_set function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81350
2012-12-19 11:04:32 +00:00
Christopher Michael 80539b0c9a Fix smart monitor object to handle disabled monitors more gracefully.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81349
2012-12-19 11:04:28 +00:00
Mike McCormack 69291d9c4c e: Remove pointless assignments
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 81347
2012-12-19 10:58:36 +00:00
Mike Blumenkrantz 9e7557241c directory is not a proper noun
SVN revision: 81344
2012-12-19 10:40:53 +00:00
Mike Blumenkrantz f8b39332d1 using wallpaper fsel to manually navigate to and set a non-edj wallpaper now pops the import config dialog
ticket #2046


SVN revision: 81343
2012-12-19 10:39:45 +00:00
Mike Blumenkrantz 847608de78 fix possible uninitialized variable crash, also fix selection of locale when switching to/from advanced
SVN revision: 81341
2012-12-19 10:02:48 +00:00
Stefan Schmidt b2663a26fa e/conf_randr: Move radio creation into the block that needs it.
Discussed with devilhorns.

SVN revision: 81339
2012-12-19 09:47:40 +00:00
Mike Blumenkrantz b49ee6c857 I suppose we probably shouldn't leak pulse mixer sources after getting them
SVN revision: 81337
2012-12-19 09:41:59 +00:00
Christopher Michael 6bef8001ce Stop crazy fileman crash that I keep getting....
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81330
2012-12-19 09:16:34 +00:00
Carsten Haitzler ed479f04ab polish up icon only and text only options in tasks - mentioned by
zmike. needed code changes.



SVN revision: 81320
2012-12-19 02:24:36 +00:00
Carsten Haitzler 911e610feb with the new randr stuff - old screen resolution settings disabled.
SVN revision: 81319
2012-12-19 02:02:49 +00:00
Jérémy Zurcher 4ad440dd44 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] mixer module alsa input and mono patch

- fixes the input channel detection
- if channel is mono force right to 0, disable right slider and lock
- add missing dummy implementation of e_mixer_system_is_mono
 


SVN revision: 81317
2012-12-19 01:30:15 +00:00
Christopher Michael 16c88a39bd Update UNUSED for basic apply function as we do not need the config
dialog here anymore.

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

SVN revision: 81266
2012-12-18 15:27:59 +00:00
Christopher Michael 394885c2e6 And don't pass the root window to the apply function anymore
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81265
2012-12-18 15:21:00 +00:00
Christopher Michael 58ef1a0190 Remove root window as function parameter for apply function (not used
anymore).

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

SVN revision: 81263
2012-12-18 15:16:49 +00:00
Christopher Michael 1d6ea657a9 Remove root window as a function paramater (not used anymore).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81262
2012-12-18 15:16:44 +00:00
Christopher Michael 6c3a3d14d3 Check if a monitor supports rotation (via different orientations), and
if not then disable the rotate ability on the frame.

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

SVN revision: 81261
2012-12-18 15:16:39 +00:00
Mike Blumenkrantz b18e9acc91 hacky implementation of toolbar orientation saving
ticket #2030


SVN revision: 81259
2012-12-18 15:12:22 +00:00
Mike Blumenkrantz 484daacd13 disable "show files in menu" option for now, this is impossible to support.
ticket #dontcare_notputtingitback


SVN revision: 81257
2012-12-18 14:55:43 +00:00
Christopher Michael 4709380a02 If we change size on the monitor, be sure to set the current mode.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81256
2012-12-18 14:44:08 +00:00
Christopher Michael 817207bad1 Be more proactive when we create monitors:
If during the process of monitor creation, we reach one that is
  cloned into a parent monitor, but the parent monitor has not been
  created yet, then add it to a deferred list so we can create it (and
  swallow it) into the parent monitor.

Make use of the existing e randr serialization to save/restore settings.

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

SVN revision: 81255
2012-12-18 14:16:12 +00:00
Christopher Michael f40b20b7a9 Be sure to set output policy if we are cloned or not.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81254
2012-12-18 14:15:48 +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 3577ddfff2 fix e_intl_locale_parts_combine() usage to handle locales without regions
SVN revision: 81241
2012-12-18 12:10:33 +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 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 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
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 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
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
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
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 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
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 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