Commit Graph

13590 Commits

Author SHA1 Message Date
Mike Blumenkrantz 01d0d67836 gadcon popups are now above most other objects
SVN revision: 84284
2013-02-21 13:33:48 +00:00
Mike Blumenkrantz 7ffec7e968 always show popup content on content set
this change prevents erroneous calls to the comp injected object show handler in some cases, which would cause unnecessary recalcs and strange object movements


SVN revision: 84281
2013-02-21 12:48:47 +00:00
Mike Blumenkrantz 0ebb887d64 set comp win e object ref to null during its delfn
if this function is called, the object is in the process of being deleted and its refcount is already 0. trying to access it later will guarantee a crash, so ignore whever refs we may have on it


SVN revision: 84278
2013-02-21 11:28:15 +00:00
Carsten Haitzler 0578ff6754 more valgrind stuff... null deref?
SVN revision: 84273
2013-02-21 04:01:36 +00:00
Carsten Haitzler 0e6a47a90a valgrind unhapiness... silenced... mysterious as to why this happens
as there are no entires up?



SVN revision: 84272
2013-02-21 03:59:42 +00:00
Carsten Haitzler e2f3f4e278 eobj referenced in struct but only reffed intermittenytly - ref for as
long as there is a handle. avoid segvs!



SVN revision: 84271
2013-02-21 03:53:49 +00:00
Carsten Haitzler 9f530e27d2 fix valgrind null evas problem with preview.
fix preview aspect ratio out-of-bounds packing with videos when not
widescreen. :)



SVN revision: 84267
2013-02-21 01:11:00 +00:00
Mike Blumenkrantz cf2c170c8c fix syscon to use popups more effectively
SVN revision: 84264
2013-02-20 10:47:53 +00:00
Mike Blumenkrantz 8e9aea2307 e_flowlayout is just not done correctly at all...some fixes here to make it not crash on deletion at least :/
SVN revision: 84263
2013-02-20 10:47:49 +00:00
Mike Blumenkrantz 95f0b520ac use separate delay del function for popups to ensure comp win deletion
SVN revision: 84262
2013-02-20 10:47:46 +00:00
Mike Blumenkrantz 88f00310d7 e toolbar gadgets no longer crash when trying to display a popup
SVN revision: 84258
2013-02-20 09:13:03 +00:00
Christopher Michael 8a3cf51692 Re-enable Restore button for RandR dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84256
2013-02-20 07:45:19 +00:00
Christopher Michael 1c15009411 Remove commented fixme (no time to optimize this routine right now).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84255
2013-02-20 07:45:13 +00:00
Mike Blumenkrantz 3294b377e8 add flag in comp match for disabling shadows, disable shadows for notification popup matches
SVN revision: 84254
2013-02-20 07:37:55 +00:00
Carsten Haitzler 064737a84c popups... STAY UP!
SVN revision: 84240
2013-02-19 15:11:46 +00:00
Mike Blumenkrantz 32157d8fe5 fix gadget event object layering for dnd
SVN revision: 84239
2013-02-19 14:29:57 +00:00
Mike Blumenkrantz 8672080a60 fix comp canvas win finding for some dnd operations
SVN revision: 84238
2013-02-19 14:18:58 +00:00
Mike Blumenkrantz da751bc1af only delete popup's comp win if the popup has been deleted
SVN revision: 84236
2013-02-19 13:43:18 +00:00
Christopher Michael ce6ed08611 Hook into monitor_resized callback and update adjacent monitor positions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84234
2013-02-19 11:01:31 +00:00
Christopher Michael c3736db94f Add a monitor_resized callback so positions of other monitors can be
updated.

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

SVN revision: 84233
2013-02-19 11:01:29 +00:00
Christopher Michael 2ce1533131 Disable Restore on Startup for now until larger randr event issues are
worked out.

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

SVN revision: 84232
2013-02-19 11:01:26 +00:00
Christopher Michael b03c09987b Add exists field to crtc and output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84231
2013-02-19 11:01:23 +00:00
Christopher Michael 1860beba5a Add monitor_moved callback and update position (if needed).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84230
2013-02-19 11:01:21 +00:00
Christopher Michael 16abe425c0 Add missing function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84229
2013-02-19 11:01:18 +00:00
Christopher Michael 8109e62825 When we do a current_geometry set, repack the monitor to the updated
geometry.
Add a geometry_get function for monitor.
Fix up cloning code to work properly with different size
parents/children.
Add a monitor_clone_parent_get function.
When applying changes, also use crtc_clone_set function.
Add smart callback for monitor_moved to tell randr widget it may need
to shuffle things around.
Use output mouse position, not canvas position.

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

SVN revision: 84228
2013-02-19 11:01:14 +00:00
Christopher Michael bc23ef529c Remove poller code for now (broken, does not work as expected, etc,
etc).

Add exists field for crtc and output.
Fix output clones and connection status get to use the correct output.
Add some notes and printfs.

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

SVN revision: 84227
2013-02-19 11:01:11 +00:00
Christopher Michael bf6d1d43ae Start on poller code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84226
2013-02-19 11:01:08 +00:00
Christopher Michael 3ff49b211e Add poll_interval to e_randr_cfg.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84225
2013-02-19 11:01:05 +00:00
Christopher Michael 985ff5af28 Add poll_interval field to config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84224
2013-02-19 11:01:02 +00:00
Christopher Michael 059a0198c3 When we get randr events, check for actual config differences.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84223
2013-02-19 11:00:59 +00:00
Christopher Michael 8f728d158d Add restore checkbox to dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84222
2013-02-19 11:00:56 +00:00
Christopher Michael 74b419fb9e Add connected flag for outputs, and add a restore config option.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84221
2013-02-19 11:00:53 +00:00
Christopher Michael 6c8bafb044 When we get an output changed event, check for matching crtc id and
also set changed flag if anything in the crtc has changed.

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

SVN revision: 84220
2013-02-19 11:00:23 +00:00
Christopher Michael 686ff23a54 Add some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84219
2013-02-19 11:00:09 +00:00
Christopher Michael f52d507845 Add missing function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84218
2013-02-19 11:00:00 +00:00
Christopher Michael 0ac5ed720a Handle apply of monitor changes to X.
Reduce position text set calls and just do it on smart_move.
Add a changes_apply function.
Add code to record changes to a monitor.

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

SVN revision: 84217
2013-02-19 10:59:58 +00:00
Christopher Michael 1f51f97259 Add randr_changed function.
Add function to apply changes.
Add callback hook for monitor(s) changed.

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

SVN revision: 84216
2013-02-19 10:59:55 +00:00
Christopher Michael c889d84b87 Add hook for randr widget changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84215
2013-02-19 10:59:52 +00:00
Christopher Michael b0dff98153 Simplify changed enum.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84214
2013-02-19 10:59:49 +00:00
Christopher Michael 86b27baec7 Start on monitor Changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84213
2013-02-19 10:59:47 +00:00
Christopher Michael 994586d509 Add code to handle when cloning monitors so that the size, mode and
orient of each will match (NB: This is required by XRandR in order for
cloning to be successful).

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

SVN revision: 84212
2013-02-19 10:59:44 +00:00
Christopher Michael eec7305dfc Update some comments.
Add code to create any clones on initial startup.
Add function to find a monitor object based on crtc.

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

SVN revision: 84211
2013-02-19 10:59:41 +00:00
Christopher Michael 6739bcfe66 Add the clone object as a smart member for monitor.
Add some comments.
Update position and resolution text when we unclone.
Repack the monitor into the grid when we unclone.
Set virtual thumb size correctly.
Emit disabled signal (if needed) when we unclone.
Also record x/y coordinates when doing move/resize/rotate.

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

SVN revision: 84210
2013-02-19 10:59:38 +00:00
Christopher Michael 54f611f3c5 Add function prototype for monitor clone set.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84208
2013-02-19 10:59:33 +00:00
Christopher Michael fee5a89bfa Add cloning support for monitor.
Tie in code for indicator toggle (enable/disable).
Add function to return a monitor's crtc id (used in randr widget).

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

SVN revision: 84207
2013-02-19 10:59:30 +00:00
Christopher Michael dc509dd812 Add support for an outputs clones in e_randr and e_randr config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84206
2013-02-19 10:59:28 +00:00
Christopher Michael 5f68828189 Simplify the monitor rotation code and make sure new positions are
within grid virtual space.

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

SVN revision: 84203
2013-02-19 10:59:20 +00:00
Christopher Michael 132719c2b6 Correctly calculate disabled monitor position(s).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84202
2013-02-19 10:59:17 +00:00
Christopher Michael 7df8dddb23 Remove useless mod_dir variable (and associated code).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84201
2013-02-19 10:59:15 +00:00
Christopher Michael 3f283a62a2 Remove useless defines and variables.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84200
2013-02-19 10:59:11 +00:00
Christopher Michael a9cd2aaa02 Remove unused variable and some dead printfs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84199
2013-02-19 10:59:08 +00:00
Christopher Michael a9f1783e5f When calculating virtual size, also account for 'possible' outputs.
When we are creating the monitors, account for 'possible' outputs also.

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

SVN revision: 84198
2013-02-19 10:59:06 +00:00
Christopher Michael 1d10a382b6 Actually, allow move/resize/rotate for disabled monitors so things can
be adjusted (NB: Will not actually mattery on Apply anyway).

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

SVN revision: 84197
2013-02-19 10:59:03 +00:00
Christopher Michael c5254ce545 Set current size and position text when we set current values.
Add function for setting current geometry.
If a monitor is disabled, do not allow rotate, resize, move events.
Fix resize start/stop functions to use current geometry.

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

SVN revision: 84196
2013-02-19 10:59:00 +00:00
Christopher Michael c0d5cbad61 Add function prototype for setting current geometry.
Rename function prototype for grid virtual size set.

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

SVN revision: 84195
2013-02-19 10:58:57 +00:00
Christopher Michael f48772482c Fix move_stop to use current geometry.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84194
2013-02-19 10:58:54 +00:00
Christopher Michael 2819733656 Handle setting monitor to enabled/disabled based on crtc mode.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84193
2013-02-19 10:58:51 +00:00
Christopher Michael 87ef25f21b When calculating virtual size, we only need to fetch
"screen_current_size_get" if both vw & vh are 0.

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

SVN revision: 84192
2013-02-19 10:58:48 +00:00
Christopher Michael 2acdd3f3e2 Add 'current' field values so we can use these durring apply for
comparison to old values.
Fix move, resize, rotate code to use "current" values.

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

SVN revision: 84191
2013-02-19 10:58:45 +00:00
Christopher Michael aee6393591 Add code to handle manual monitor movement.
Fix up coordinate functions to not need doubles.
Update monitor position text when moving.
Fix up rotation code to allow rotating when mouse is outside the frame
(thank you Daniel) ;)

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

SVN revision: 84190
2013-02-19 10:58:42 +00:00
Christopher Michael b33401f645 Add in refresh_rate code for filling refresh rate list and listening
for changes.
Break map_apply function into frame_map_apply and thumb_map_apply for
rotating just the wallpaper.
Fix resize code to work with a rotated monitor.

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

SVN revision: 84188
2013-02-19 10:58:36 +00:00
Christopher Michael 39bc25be03 Use ecore_x_randr_crtc_info_free function to free returned crtc_info.
When comparing refresh rates for mode searches, cast to int.

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

SVN revision: 84187
2013-02-19 10:58:33 +00:00
Christopher Michael 2e0f4e7a27 Reduce variable usage
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84186
2013-02-19 10:58:31 +00:00
Christopher Michael e02c9fc7aa Fix comment.
Remove orientation comparison.

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

SVN revision: 84185
2013-02-19 10:58:28 +00:00
Christopher Michael af59660d3f Add ROTATE_FUZZ amount.
Add inline function to get orientation based on rotation amount.
Add function to apply an evas_map for rotation.
If we are rotating, we don't need to set livethumb size.
When we start rotating, set initial rotation amount to 0.
When rotation stops, update the map and monitor position where needed.
Apply map during rotation.

NB: This commit also adds a debugging red rectangle behind the
monitor. This will be removed when debugging is complete

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

SVN revision: 84184
2013-02-19 10:58:25 +00:00
Christopher Michael c2b2be5be7 Add current rotation to smart_data structure.
Fill in current rotation on crtc set.
Update current rotation when we get a rotation event.

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

SVN revision: 84183
2013-02-19 10:58:22 +00:00
Christopher Michael 35855135a1 Add inline function to return the degree of rotation based on
orientation.

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

SVN revision: 84182
2013-02-19 10:58:19 +00:00
Christopher Michael 87daec404d Remove Big Fat Fixme warning as it's fixed now :)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84181
2013-02-19 10:58:16 +00:00
Christopher Michael ed84b96078 Add code to check EFL version.
If we are using a newer version, then we can use the new
ecore_x_randr_crtc_info_get() function which will save us a lot of X
round-trips.

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

SVN revision: 84180
2013-02-19 10:58:13 +00:00
Christopher Michael 93ad1faf50 Add current mode and refresh rate to crtc field.
Add function prototype for getting a mode refresh rate.
Add Big Fat FIXME for crtc_set function.
Get the crtc current mode & refresh rate when crtc is set.
Simplify monitor_mode_find function.
Add function for getting a mode refresh rate.
Start on rotation event code.

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

SVN revision: 84179
2013-02-19 10:58:10 +00:00
Christopher Michael 1ec01f9d65 Add function to get the amount of rotation from a mouse event.
Simplify mouse movement check in resize_event and add some better
comments.

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

SVN revision: 84178
2013-02-19 10:58:06 +00:00
Christopher Michael 3526741c82 Turn 'crtc' field into a structure (mainly for making code easier to
read/maintain).

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

SVN revision: 84177
2013-02-19 10:58:04 +00:00
Christopher Michael 5b47415f14 Add code to check if rotations for a given crtc are possible, and
disable the rotation in edje if not.

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

SVN revision: 84176
2013-02-19 10:58:01 +00:00
Christopher Michael 9edea3c781 Only get edid (an expensive process) if getting the output name
previously has failed.

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

SVN revision: 84175
2013-02-19 10:57:57 +00:00
Christopher Michael 7abc8a7aca Add flag for rotating to structure.
Add & delete callbacks for rotation start & stop.
Add functions for rotate start & stop.
Add start of rotate event code.

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

SVN revision: 84174
2013-02-19 10:57:55 +00:00
Christopher Michael 2edc7cfeaf Add some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84173
2013-02-19 10:57:52 +00:00
Christopher Michael 480170d4ce Remove all code which tried to maintain aspect ratio of the frame
(resize snapping to mode dimensions will handle this anyway).

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

SVN revision: 84172
2013-02-19 10:57:50 +00:00
Christopher Michael 1f63b0f062 Remove dead comments about layout object.
Add grid object to structure.
Add callbacks to handle when grid gets moved or resized so we can
update the monitor's copy of the grid geometry.
Update calls to monitor_grid_set to pass in geometry now.
Add monitor_virtual_size_set call.
Add code to deal with grid getting moved & resized.

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

SVN revision: 84171
2013-02-19 10:57:47 +00:00
Christopher Michael bda3e4bcdc Change structure to store grid geometry.
Change grid_set function to accept grid geometry.
Add monitor_virtual_size_set function.
Only update livethumb preview size if we are not manually resizing.
Don't need to set the resolution text during smart_resize.
Add functions to convert coordinates to/from virtual to canvas.
Add function to find the closest randr mode to a given size.
Add function to handle user manual resizing.

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

SVN revision: 84170
2013-02-19 10:57:44 +00:00
Christopher Michael 903787a594 Change monitor_grid_set function to also accept the grid geometry
(used for virtual-->canvas coordinate functions).

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

SVN revision: 84169
2013-02-19 10:57:41 +00:00
Christopher Michael fd0889b31a Add missing LOGFN's where needed.
Add mouse_move callback on frame.
Delete mouse_move callback when we delete the frame.
Add code in frame moouse_move function to call appropriate event based
on current action.
Start of actual resize event code.

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

SVN revision: 84168
2013-02-19 10:57:38 +00:00
Christopher Michael f4ae6fac22 Add flag to structure for resizing.
Add start of resize coordinates to structure.
If we are manually resizing the object, update the text.
When resize starts, record the current mouse position and size.

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

SVN revision: 84167
2013-02-19 10:57:35 +00:00
Christopher Michael fd11b69ad5 Add edje callbacks to frame for resize_start & resize_stop.
Add code to delete edje callbacks from frame when object is deleted.
Add start of code for resize_start & resize_stop frame events.

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

SVN revision: 84166
2013-02-19 10:57:32 +00:00
Christopher Michael 22f25b4c1d Fix variable type of "name" to be char (not const char).
Add code to set mouse pointer on frame events (resize, rotate, etc).

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

SVN revision: 84165
2013-02-19 10:57:29 +00:00
Christopher Michael 825ccb9256 Cleanup some memory returned from ecore_x_randr when we are done with
it.

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

SVN revision: 84164
2013-02-19 10:57:26 +00:00
Christopher Michael b5f6ae6d0d Fix comment.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84163
2013-02-19 10:57:24 +00:00
Christopher Michael f5fc65f945 Add function to push & pop e_pointers.
Add code to set pointer indication when mouse moves inside the
thumbnail.
Add code to set pointer indication when mouse is down on the thumbnail.

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

SVN revision: 84162
2013-02-19 10:57:21 +00:00
Christopher Michael 9354ef67ae Set aspect width & height on the same line
(pedantic commit just to remove 2 extra lines).

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

SVN revision: 84161
2013-02-19 10:57:18 +00:00
Christopher Michael 353df08f07 Also pass in crtc geometry to the monitor when we set crtc (because we
have previously fetched this geometry anyway).

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

SVN revision: 84160
2013-02-19 10:57:14 +00:00
Christopher Michael 457c302e92 Modifiy crtc_set function to also take the current crtc coordinates
(this saves us a round-trip function call to ecore_x_randr as we
already have the coordinates from the randr widget).

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

SVN revision: 84159
2013-02-19 10:57:12 +00:00
Christopher Michael 54a0fa16ae When we set the crtc of the monitor, we can update position and
resolution text.

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

SVN revision: 84158
2013-02-19 10:57:09 +00:00
Christopher Michael 58b68ab98b Add private functions for setting monitor position and resolution text.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84157
2013-02-19 10:57:06 +00:00
Christopher Michael 597d95bdb6 Add code to set the monitor name.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84156
2013-02-19 10:57:04 +00:00
Christopher Michael ad6d6914bc Pack the monitor into the grid first, then do setup.
Add function call to setup initial background preview.

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

SVN revision: 84155
2013-02-19 10:57:01 +00:00
Christopher Michael b12e6c9c12 Add note about screen_reset.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84154
2013-02-19 10:56:58 +00:00
Christopher Michael 8d47671e6e Add code to handle setting of background preview on initial show.
Add code to handle setting of background preview when user changes the
bg.

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

SVN revision: 84153
2013-02-19 10:56:54 +00:00
Christopher Michael 6ca0528ef0 Remove function call to monitor_virtual_size_set.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84152
2013-02-19 10:56:51 +00:00
Christopher Michael 055ccc581e Remove virtual_size_set code (turns out, it's not needed).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84151
2013-02-19 10:56:48 +00:00
Christopher Michael 70380b6125 Add base & grid object to randr widget.
Use ecore_x_randr functions to get crtcs & outputs (Fixes problem of
running Screen Setup dialog in Xephyr)
Add code for min_size_get function.
Remove code which used e_layout widget.
Add code to create new randr widget based on evas_object_grid.

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

SVN revision: 84150
2013-02-19 10:56:45 +00:00
Christopher Michael efbdf8c9d0 Add function prototype for min_size_get.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84149
2013-02-19 10:56:43 +00:00
Christopher Michael c476e30c5e Add function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84148
2013-02-19 10:56:40 +00:00
Christopher Michael 85ff779ed4 Add min & max mode sizes to monitor structure.
Add Frame & Stand to monitor structure.
Add code to create/show/move/resize/hide the frame & stand.
Change the code to use ecore_x_randr functions so that when running in
Xephyr we get monitors that make sense.
Change output_set and crtc_set functions to take the Ecore_X_Randr
types.
Set an aspect ratio on the frame (so it maintains during resize)
Add function for telling monitor what the virtual size is.
Add function for telling monitor what grid object it belongs to.

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

SVN revision: 84147
2013-02-19 10:56:38 +00:00
Christopher Michael d994ca499d Fix _basic_create prototype & function to use the dialog now.
Call function of randr widget to get the min required size, and set
the list widget to that size.
Tell the dialog to show centered on the screen.

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

SVN revision: 84146
2013-02-19 10:56:35 +00:00
Christopher Michael fb26b60f11 Add a blank line to separate comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84145
2013-02-19 10:56:32 +00:00
Christopher Michael a2ce1d77b9 Cfdata is unused in the apply function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84143
2013-02-19 10:56:27 +00:00
Christopher Michael c508e28128 Add LOGFN to functions.
Append newly created monitor(s) to our list.

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

SVN revision: 84142
2013-02-19 10:56:24 +00:00
Christopher Michael 9f6b69c053 Add test rectangle to monitor
Add LOGFN to functions.

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

SVN revision: 84141
2013-02-19 10:56:20 +00:00
Christopher Michael 927cf450d4 Add LOGFN macro to header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84140
2013-02-19 10:56:17 +00:00
Christopher Michael db406167dc Add prototype and code for virtual_size_calc function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84139
2013-02-19 10:56:14 +00:00
Christopher Michael 28a1a7690f Tell randr widget to calculate virtual size.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84138
2013-02-19 10:56:11 +00:00
Christopher Michael 10c8ff7b9f Add monitor widget to makefile.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84137
2013-02-19 10:56:08 +00:00
Christopher Michael 8fecfa5054 Use proper width/height variables from crtc_config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84136
2013-02-19 10:56:05 +00:00
Christopher Michael 87a3d1da9b Move and resize the monitor after packing to it's proper position.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84135
2013-02-19 10:56:02 +00:00
Christopher Michael 6747badc99 Pack the created monitor into the layout widget.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84134
2013-02-19 10:55:59 +00:00
Christopher Michael 31b98fecbf Add a list of modes to smart_data structure.
When we set the output, fill in the modes list
Add code to sort modes list.

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

SVN revision: 84133
2013-02-19 10:55:56 +00:00
Christopher Michael 148cdc90d8 Add geometry to smart_data struct.
Check geometry changes in smart_move and smart_resize.

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

SVN revision: 84132
2013-02-19 10:55:54 +00:00
Christopher Michael 69b12661d5 Start code for monitors create
- Create monitor smart object
 - Set crtc and output config for monitor.

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

SVN revision: 84131
2013-02-19 10:55:50 +00:00
Christopher Michael 7246631647 Add crtc and output configs to smart_data structure.
Add functions to set crtc and output configs.

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

SVN revision: 84130
2013-02-19 10:55:45 +00:00
Christopher Michael 82a080813c Add function prototypes for setting monitor crtc and output config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84129
2013-02-19 10:55:42 +00:00
Christopher Michael 6b1168b933 Add list of monitors to smart_data structure.
Add code to delete the monitors when randr gets deleted.

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

SVN revision: 84128
2013-02-19 10:55:39 +00:00
Christopher Michael 468998fca6 Add initial start of code to create monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84127
2013-02-19 10:55:36 +00:00
Christopher Michael 6cf9624275 Add header function for monitors_create.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84126
2013-02-19 10:55:33 +00:00
Christopher Michael 5216fb097a Add initial monitor code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84125
2013-02-19 10:55:30 +00:00
Christopher Michael 8a53055d3a Tell randr widget to create monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84124
2013-02-19 10:55:28 +00:00
Christopher Michael 6521caab40 Add header function for creating new monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84123
2013-02-19 10:55:25 +00:00
Christopher Michael a5a161de15 Add randr widget to makefile.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84122
2013-02-19 10:55:22 +00:00
Christopher Michael 3fd758facc Cleanup compile warnings and include randr object header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84121
2013-02-19 10:55:20 +00:00
Christopher Michael e33fe5ac71 Remove all references to the old randr config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84120
2013-02-19 10:55:17 +00:00
Christopher Michael 6b96e9c961 Add code to handle the layout object.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84119
2013-02-19 10:55:14 +00:00
Christopher Michael daa2b49ab9 Create the randr widget in _basic_create.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84118
2013-02-19 10:55:09 +00:00
Christopher Michael 4dfda15a8d Initial rewrite of the monitor object.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84117
2013-02-19 10:55:07 +00:00
Christopher Michael fbb5baea84 Initial rewrite of randr widget.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84116
2013-02-19 10:55:04 +00:00
Christopher Michael d874b1ed9c Remove old randr code from dialog creation.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84115
2013-02-19 10:55:01 +00:00
Christopher Michael 7dd5880922 Remove old randr widget code from Makefile.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84114
2013-02-19 10:54:58 +00:00
Christopher Michael 0410b43549 Remove old randr widget code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84113
2013-02-19 10:54:55 +00:00
Christopher Michael 84481e16d3 Remove randr versions (in header now).
Set default output policy.

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

SVN revision: 84112
2013-02-19 10:54:52 +00:00
Christopher Michael 499504b2f8 Remove timestamps from config (not needed).
Add randr versions to header.

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

SVN revision: 84111
2013-02-19 10:54:49 +00:00
Christopher Michael f5f7d72305 Add start of new e_randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84110
2013-02-19 10:54:44 +00:00
Christopher Michael 734e841eb3 Add new randr header file.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84109
2013-02-19 10:54:39 +00:00
Christopher Michael 4c13cd354d Remove old randr code from Makefile.am
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84108
2013-02-19 10:54:35 +00:00
Christopher Michael a6a159be63 Remove All Old Randr Code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84107
2013-02-19 10:54:29 +00:00
Mike Blumenkrantz 339e4ad906 fix gadcon dnd window for shelf and gadman desktop to use comp canvas window
SVN revision: 84102
2013-02-19 10:05:16 +00:00
Mike Blumenkrantz 7d37ce5cbc fix tons of now-incorrect popup and object usage in winlist
SVN revision: 84099
2013-02-19 09:55:00 +00:00
Mike Blumenkrantz 2981c653a8 store e objects in comp win, delay deletion of e object comp wins until after animation
SVN revision: 84098
2013-02-19 09:54:57 +00:00
Mike Blumenkrantz 582af02062 add e_popup_object_remove
SVN revision: 84097
2013-02-19 09:54:54 +00:00
Mike Blumenkrantz 803b582904 remove comp wins from hash immediately when deleted to prevent access later
SVN revision: 84095
2013-02-19 09:48:10 +00:00
Mike Blumenkrantz 2b0dd27f28 fix gadcon popup "swimming" animation resulting in now-incorrect use of e_popup
SVN revision: 84094
2013-02-19 09:48:06 +00:00
Mike Blumenkrantz 6cf4d21438 comp wins for injected e objects now wait until animations are done before allowing deletion
SVN revision: 84093
2013-02-19 09:14:58 +00:00
Mike Blumenkrantz 1a0f84960a avoid calling popup autoclose cleanup function repeatedly
SVN revision: 84092
2013-02-19 09:14:56 +00:00
Mike Blumenkrantz ab49d56f83 comp win delete events no longer contain blank objects, allowing them to be useful
SVN revision: 84091
2013-02-19 09:14:53 +00:00
Mike Blumenkrantz 6836867a96 trivial comp cleanup for hide events
SVN revision: 84090
2013-02-19 09:14:51 +00:00
Mike Blumenkrantz 0857cf1515 remove forgotten debuging printf producer
SVN revision: 84089
2013-02-19 09:14:49 +00:00
Mike Blumenkrantz 85a06058ce e_util_size_debug_set now displays delete events
SVN revision: 84088
2013-02-19 09:14:46 +00:00
Mike Blumenkrantz 90d6da42c5 block _e_comp_win_render_queue completely for real objects
SVN revision: 84085
2013-02-19 08:25:08 +00:00
Mike Blumenkrantz 622d13ee8f fix comp shadowing for popups and menus
SVN revision: 84084
2013-02-19 08:25:05 +00:00
Mike Blumenkrantz 8b28b2f2f1 revert previous few commits related to e_menu, not meant to go in yet
SVN revision: 84083
2013-02-19 08:22:46 +00:00
Mike Blumenkrantz f13c2d3c22 block _e_comp_win_render_queue completely for real objects
SVN revision: 84080
2013-02-19 08:09:11 +00:00
Mike Blumenkrantz ac5be4f255 fix comp shadowing for popups and menus
SVN revision: 84079
2013-02-19 08:09:08 +00:00
Mike Blumenkrantz 7b4783ec15 menus are now drawn directly onto the compositor canvas
SVN revision: 84078
2013-02-19 08:09:05 +00:00
Mike Blumenkrantz d2952d98e0 if a menu is active, ensure efm does not send icon_mouse_in smart callbacks
SVN revision: 84077
2013-02-19 08:09:01 +00:00
Mike Blumenkrantz 0599f9d371 add menu canvas layer
SVN revision: 84076
2013-02-19 08:08:58 +00:00
Mike Blumenkrantz 6f2a6d30f7 fix new crash in e_int_menus app finder code
SVN revision: 84064
2013-02-18 14:11:41 +00:00
Mike Blumenkrantz 6703cb2bf3 nocomp mode now dynamically enables/disables based on the state and stacking of fullscreen windows and comp objects
SVN revision: 84062
2013-02-18 13:43:55 +00:00
Mike Blumenkrantz 3eebd1ad4d add e_layout_top_child_get, e_layout_child_below_get and e_layout_child_above_get
SVN revision: 84061
2013-02-18 13:43:52 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

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

* all modules which used gadcon popups have been adjusted

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

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

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz 0e466612d6 formatting
SVN revision: 84059
2013-02-18 13:43:40 +00:00
Mike Blumenkrantz 2297f7d071 gadcon now correctly freezes its container object when unpopulating
SVN revision: 84058
2013-02-18 13:43:37 +00:00
Mike Blumenkrantz 41058ea8e2 e_util_size_debug_set now prints on show/hide events
SVN revision: 84057
2013-02-18 13:43:34 +00:00
Mike Blumenkrantz 257a7d58c9 add e_util_evas_objects_above_print_smart() to print smart heirarchy
SVN revision: 84056
2013-02-18 13:43:32 +00:00
Mike Blumenkrantz 32bcde16af add e_gadcon_client_visible_get()
SVN revision: 84055
2013-02-18 13:43:29 +00:00
Mike Blumenkrantz 04330ef7d9 add comp functions for injecting objects into the comp layout
SVN revision: 84054
2013-02-18 13:43:22 +00:00
Mike Blumenkrantz 89d422a4de rename E_COMP_CANVAS_LAYER_ABOVE -> POPUP
SVN revision: 84053
2013-02-18 13:43:18 +00:00
Mike Blumenkrantz 55f5ff17bd desklock now uses comp canvas
SVN revision: 84052
2013-02-18 13:43:14 +00:00
Mike Blumenkrantz 41b95796a4 add desklock layer to layer enum
SVN revision: 84051
2013-02-18 13:43:10 +00:00
Mike Blumenkrantz cba7f88f2f use handler list append macro for desklock handlers
SVN revision: 84050
2013-02-18 13:43:05 +00:00
Mike Blumenkrantz b247247dfd fix 2 pointer warp bugs:
* warping to a window which is covered by another window containing the current pointer coordinates
* focus changes no longer break sometimes when winlist warping very quickly


SVN revision: 84046
2013-02-18 10:13:20 +00:00
Mike Blumenkrantz 90de0907c2 unbreak winlist focus setting, as broken by princeamd's patch which I failed to adequately test across all focus models :(
SVN revision: 84045
2013-02-18 09:51:49 +00:00
Mike Blumenkrantz 10c88cf222 fix apply when disabling input methods in imc config dialog
SVN revision: 84040
2013-02-18 08:05:59 +00:00
Carsten Haitzler 94e1f82e23 some work on contact...
SVN revision: 84024
2013-02-17 14:45:00 +00:00
Carsten Haitzler cb2b350872 revert mixer back to a working state -> rev 83903
SVN revision: 84013
2013-02-17 03:31:45 +00:00
Jérémy Zurcher 8425ee72ef e_mixer: cleanup mixer card and channel selection code path
SVN revision: 83959
2013-02-15 16:53:04 +00:00
Mike Blumenkrantz 3d069d9601 unbreak input windows in comp and ensure they have container shapes: edge bindings which do not require dragging are once again functional
SVN revision: 83955
2013-02-15 13:46:59 +00:00
Mike Blumenkrantz 3b17c96518 someone got a little overzealous with nulling pointers...need the border ee to not be null when we try to free it
SVN revision: 83952
2013-02-15 13:10:40 +00:00
Mike Blumenkrantz 51b3e7a4ee patch from Deon Thomas: this patch fix the bug with if you have multiple windows opened and you are Alt+Tabbing suppose the mouse is already over the window that e_border_focused_get (the last focused border) we go to the next one. currently it centres the mouse on the same focused window then if you do alt+tab it will go to the next.
SVN revision: 83946
2013-02-15 11:18:16 +00:00
Mike Blumenkrantz 23fac6430a fix e build on 1.7 branch again...
SVN revision: 83940
2013-02-15 08:18:09 +00:00
Mike Blumenkrantz df0920e3a7 patch by Deon Thomas which implements efreet menu caching for e_int_menus
SVN revision: 83939
2013-02-15 08:16:06 +00:00
Carsten Haitzler b239642508 add a E_CSERVE env var - set it befor e_start to make e_start run
cserve2 etc.



SVN revision: 83933
2013-02-15 04:56:11 +00:00
Jérémy Zurcher 37ea5886c1 e_mixer: remove unused e_mod_mixer_channel_name_get from mixer API and comment subsys code
SVN revision: 83921
2013-02-14 20:28:40 +00:00
Jérémy Zurcher 577019db54 e_mixer: volume,mute,state set/get use channel info and capabilities
SVN revision: 83920
2013-02-14 20:28:37 +00:00
Jérémy Zurcher f71970173d e_mixer: simplify alsa:_mixer_channel_capabilities
SVN revision: 83919
2013-02-14 20:28:34 +00:00
Jérémy Zurcher e648742e2d e_mixer: ui uses e_mod_mixer_channel_is_mono
SVN revision: 83918
2013-02-14 20:28:31 +00:00
Jérémy Zurcher 0c42626d89 e_mixer: use macro for capabilities queries
SVN revision: 83917
2013-02-14 20:28:28 +00:00
Jérémy Zurcher 856cbf6aea e_mixer: add E_MIXER_CHANNEL_IS_MONO capability
SVN revision: 83916
2013-02-14 20:28:26 +00:00
Jérémy Zurcher 3ea4b1c083 e_mixer: use channel capabilities to group them
groups in order : Playback Capture Switch Boost

SVN revision: 83915
2013-02-14 20:28:23 +00:00
Jérémy Zurcher d80eb52a35 e_mixer: replace has_capture with capabilities bit map
xx_can_mute and xx_has_capture fuctions can disapear
 !?! e_slider_disabled_set does not work !?!

SVN revision: 83914
2013-02-14 20:28:20 +00:00
Jérémy Zurcher 4085613b1d e_mixer: channel_get_by_name returns a E_Mixer_Channel_Info
this opens the gates to capabilities bit map stored in E_Mixer_Channel_Info

SVN revision: 83913
2013-02-14 20:28:17 +00:00
Jérémy Zurcher e6a3b56bda e_mixer: fix grammar
a farm of pigs is a pig farm, says my irish wife;
info should stay singular but for better understanding I use plural

SVN revision: 83912
2013-02-14 20:28:14 +00:00
Jérémy Zurcher 9605b2e435 e_mixer: factorise get/free card names
SVN revision: 83911
2013-02-14 20:28:10 +00:00
Jérémy Zurcher 1986e5ea3f e_mixer: add missing _e_mixer_dummy_set() calls to sys_dummy
SVN revision: 83910
2013-02-14 20:28:08 +00:00
Jérémy Zurcher 12598ab50c e_mixer: factorise get/free channels info and names
SVN revision: 83909
2013-02-14 20:28:05 +00:00
Jérémy Zurcher 1bb5a7b531 e_mixer: set pulse ready and update callbacks through e_mixer_pulse_init parameters
SVN revision: 83908
2013-02-14 20:28:02 +00:00
Jérémy Zurcher 8c1d5a2146 e_mixer: extract mixer API into e_mod_mixer
SVN revision: 83907
2013-02-14 20:27:59 +00:00
Jérémy Zurcher 8d86519b5e e_mixer: rename alsa functions e_mixer_system_ to e_mixer_alsa_
SVN revision: 83906
2013-02-14 20:27:56 +00:00
Jérémy Zurcher 301b7915bd e_mixer: pulse use static stringshare for channel name
SVN revision: 83905
2013-02-14 20:27:54 +00:00
Jérémy Zurcher 5507123053 e_mixer: struct channel_info becomes E_Mixer_Channel_Info defined in e_mod_system.h
SVN revision: 83904
2013-02-14 20:27:51 +00:00
Jérémy Zurcher fbf6de511a e_mixer: remove spaces
SVN revision: 83903
2013-02-14 20:27:46 +00:00
Carsten Haitzler 6b76c89e5b and remvoe from hashes before 0ing win.
SVN revision: 83894
2013-02-14 13:07:12 +00:00
Carsten Haitzler ec27564e32 paranoia - set thigns we free to nullin case a side-effect of a later
call calls some callback that somehow accesses the bd we are
freeing... :)



SVN revision: 83892
2013-02-14 13:02:56 +00:00
Carsten Haitzler 77f9977ce1 someone forgot to worry about warp_timer_border on deletions. :)
SVN revision: 83891
2013-02-14 12:54:38 +00:00
Jérémy Zurcher 45e7454e58 e_slider: emit signal on disabled state change
SVN revision: 83874
2013-02-13 21:59:06 +00:00
Carsten Haitzler d7d631ea95 begin to put ion code to launch cserve2 for e17 in e_start...
problem... it runs... mostly.. but is buggy.

svgs -> no load (generic loader issue?)
sometimes ie->data2 is null (why?)
font -> instead of normal bvold font.. i'm seeing an italic bold
font.... eek! :(

cserve2 worked well in smaller tests like elm and expedite.. it's not
having a happy day with e17 :(



SVN revision: 83871
2013-02-13 12:50:23 +00:00
Carsten Haitzler 1c0574d4bf cancel pending calls in edbus if shutting down ctx...
SVN revision: 83835
2013-02-12 03:47:00 +00:00
Carsten Haitzler 6ba07f8dca handle 0 name length.
SVN revision: 83834
2013-02-12 03:37:19 +00:00
Mike Blumenkrantz b936d5287e fix e_layout to not ignore frozen state
SVN revision: 83827
2013-02-11 14:35:03 +00:00
Carsten Haitzler c401fdacab move func up.
SVN revision: 83823
2013-02-11 12:27:03 +00:00
Carsten Haitzler c75b38a9d9 work on contact.
SVN revision: 83822
2013-02-11 12:26:30 +00:00
Cedric BAIL 08dbfd4c7f e: let's make all preview asynchronous with edje.
SVN revision: 83815
2013-02-11 09:58:35 +00:00
Mike Blumenkrantz 28a8ecf101 variable typo--
SVN revision: 83814
2013-02-11 09:39:27 +00:00
Mike Blumenkrantz cb79b14974 only add back shape rects for comp objects if pass_events is not set
SVN revision: 83813
2013-02-11 09:38:08 +00:00
Mike Blumenkrantz fd0f6557ed fix crash when activating menu from start gadget after locking screen from start gadget menu
ticket #cedric


SVN revision: 83811
2013-02-11 08:35:28 +00:00
Mike Blumenkrantz f1114045b0 fix pointer warping for new client windows to not start from a random location
SVN revision: 83809
2013-02-11 07:55:02 +00:00
Carsten Haitzler b5716e703c contact module++... empty shell atm.
SVN revision: 83801
2013-02-10 06:21:47 +00:00
Mike McCormack 63aef25ad1 e: Fix uninitialized variable warning
SVN revision: 83800
2013-02-10 03:00:00 +00:00
Carsten Haitzler b18e2a4e98 let us go back to working backlight control dialog tnx. :)
SVN revision: 83798
2013-02-09 11:23:40 +00:00
Mike Blumenkrantz 3bf8de7e86 fix ogl fail dialog for comp, also skip comp gl attempt if gl not available
SVN revision: 83772
2013-02-08 09:05:41 +00:00
Cedric BAIL ba93ddb0de e: efreet_menu_parse is not thread safe.
SVN revision: 83762
2013-02-08 07:15:54 +00:00
Carsten Haitzler ac9841acb5 ummmm how about we donmt break suspend with comp continually retruing
to suspend because a RESUME signal has a timeout to try suspending!



SVN revision: 83758
2013-02-08 04:25:11 +00:00
Cedric BAIL 7a67306f99 e: we can't create a window to warm about the compositor, before we start the compositor anymore.
This is a work around. That window should be delayed and displayed later, I guess.


SVN revision: 83755
2013-02-08 01:27:39 +00:00
Mike Blumenkrantz 2697c3a596 also add input rects in for shaped windows which make me cry tears of compblood
SVN revision: 83754
2013-02-07 14:39:36 +00:00
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz f49dd52cd3 added e_layout function for getting top object at coordinates
SVN revision: 83751
2013-02-07 13:20:02 +00:00
Mike Blumenkrantz 46277e5312 convert e_layout to use inlist
SVN revision: 83750
2013-02-07 13:19:59 +00:00
Mike Blumenkrantz db702e2685 add function for returning e_layout children
SVN revision: 83749
2013-02-07 13:19:57 +00:00
Mike Blumenkrantz b7cd7e5f18 remove disabled fps stuff from physics module
SVN revision: 83748
2013-02-07 13:19:55 +00:00
Mike Blumenkrantz e670bc2326 formatting, switch __UNUSED__ to EINA_UNUSED
SVN revision: 83747
2013-02-07 13:19:52 +00:00
Mike Blumenkrantz fc31710fff add some debugging functions for comp
SVN revision: 83746
2013-02-07 13:19:50 +00:00
Mike Blumenkrantz 321f2b4fa3 comp structs now public, remove comp struct accessor functions, add comp utility functions to simplify getting comp from an e_object
SVN revision: 83745
2013-02-07 13:19:47 +00:00
Mike Blumenkrantz 9fd79a5994 remove container comp check hack
SVN revision: 83744
2013-02-07 13:19:45 +00:00
Mike Blumenkrantz 7f35677bc0 e_manager_new now creates compositors for new managers instead of creating them all at once
SVN revision: 83743
2013-02-07 13:19:36 +00:00
Mike Blumenkrantz 13a3f968ec add "vmware" class to mapping disable keywords
ticket #1057


SVN revision: 83734
2013-02-07 11:43:36 +00:00
Mike Blumenkrantz bf0348f133 remove unused timer variable, reduce e_grabinput calls slightly with some reordering
SVN revision: 83733
2013-02-07 10:51:10 +00:00
Mike Blumenkrantz 053c841f52 unbreak winlist focus changing
SVN revision: 83731
2013-02-07 10:36:01 +00:00
Mike Blumenkrantz f047d606bc fix unused var warning
SVN revision: 83725
2013-02-07 09:25:50 +00:00
Mike Blumenkrantz 2a0ef6c396 add edit button to window remembers config dialog
ticket #789


SVN revision: 83724
2013-02-07 09:23:29 +00:00
Mike Blumenkrantz 3b94f5f39e formatting
SVN revision: 83722
2013-02-07 08:42:31 +00:00
Cedric BAIL a17844935b e: enable preload for edje in e_widget_preview.
SVN revision: 83720
2013-02-07 08:41:15 +00:00
Mike Blumenkrantz a4ef12329e add config option for remembering filemanager windows globally instead of per-directory
ticket #1982


SVN revision: 83718
2013-02-07 08:20:42 +00:00
Carsten Haitzler 5aaeebde0b fix/improve clock module date/time change detection. :)
SVN revision: 83717
2013-02-07 08:14:03 +00:00
Mike Blumenkrantz 3851bd2ba3 fix stringshare use in e_remember
SVN revision: 83716
2013-02-07 08:08:21 +00:00
Mike Blumenkrantz 25e3f657e3 cosmetically change some types in e_border
SVN revision: 83713
2013-02-07 08:02:52 +00:00
Mike Blumenkrantz 258e384ca9 clean up config for fileman window remembers, finishing a job that I started last month
SVN revision: 83711
2013-02-07 07:50:28 +00:00
Mike Blumenkrantz 16e1ac105e hmmm small update to previous commit which preserves functionality of related efm API call while still providing fix for icon cache update event
SVN revision: 83686
2013-02-06 15:02:27 +00:00
Mike Blumenkrantz 714611a0da fix efm cache listener to only activate (once) on icon update instead of desktop update since this is the only one which will matter, also only update the icon image instead of the entire thing
SVN revision: 83684
2013-02-06 14:54:23 +00:00
Mike Blumenkrantz a072a15edd fix no-warp mode winlist usage
ticket #asdfuser


SVN revision: 83683
2013-02-06 13:55:38 +00:00
Mike Blumenkrantz 8516d933bf add conf2 options for recently added config options
SVN revision: 83682
2013-02-06 13:21:44 +00:00
Mike Blumenkrantz e3953ba1db fix startup error scenario where module dialog could be opened before module startup and result in empty contents
SVN revision: 83680
2013-02-06 13:11:52 +00:00
Mike Blumenkrantz fea54b3d31 ensure that E_EVENT_MODULE_INIT_END is always sent even if no modules are loaded
SVN revision: 83679
2013-02-06 13:11:08 +00:00
Mike Blumenkrantz 637f539c9d move "allow windows above fullscreen" option to window display dialog
ticket #2216


SVN revision: 83676
2013-02-06 11:19:59 +00:00
Mike Blumenkrantz d13c7cc1e4 don't show layouts in xkb gadget menu if option to disable xkb layout changing is enabled
SVN revision: 83675
2013-02-06 10:56:24 +00:00
Mike Blumenkrantz 893b867070 add option for disabling all keyboard layout changes
SVN revision: 83674
2013-02-06 10:51:54 +00:00
Mike Blumenkrantz 7846f013c9 reformat xkbswitch config dialog
dear q66,

using scopes randomly does not increase the happiness of readers

sincerely,
your pal,
mike


SVN revision: 83673
2013-02-06 10:30:28 +00:00
Mike Blumenkrantz 6bd4c8547d some cosmetic changes to backlight config code so it doesn't look as crazy
SVN revision: 83672
2013-02-06 10:00:26 +00:00
Mike Blumenkrantz 2b4451bab8 convert a bunch of modules to new check widget disable api
SVN revision: 83671
2013-02-06 09:58:41 +00:00
Mike Blumenkrantz 2f828589bb added e_widget_on_disable_hook_set
SVN revision: 83670
2013-02-06 09:34:53 +00:00
Mike Blumenkrantz 1231a2e453 formatting
SVN revision: 83667
2013-02-06 09:11:53 +00:00
Mike Blumenkrantz 7c4da3e843 convert more winlist and focus dialog widgets to use new check disable api
SVN revision: 83666
2013-02-06 09:11:33 +00:00
Mike Blumenkrantz 74bffcb02e check widget disable list functions now apply disabled state on adding new items
SVN revision: 83665
2013-02-06 09:09:07 +00:00
Mike Blumenkrantz ab4d534d88 disable winlist pointer warp options when disable_all_pointer_warps is enabled
SVN revision: 83664
2013-02-06 08:57:58 +00:00
Mike Blumenkrantz 4e2880280f remove unnecessary callbacks from winlist config dialog
SVN revision: 83663
2013-02-06 08:51:34 +00:00
Mike Blumenkrantz 4141291c4b set disables for pointer warp options in config dialog when disable_all_pointer_warps is enabled
SVN revision: 83662
2013-02-06 08:45:34 +00:00
Mike Blumenkrantz 72aa96c65b add e_widget_check_widget_disable_on_* api for automatically enabling/disabling widgets without needing to add more callbacks
SVN revision: 83661
2013-02-06 08:44:52 +00:00
Mike Blumenkrantz ea684db564 move e_bindings allocation to after we're sure we need it so we don't leak those precious 20 bytes of memory
SVN revision: 83660
2013-02-06 08:36:59 +00:00
Mike Blumenkrantz 1059b382e3 flip order of check widget functions to be less infuriating
SVN revision: 83658
2013-02-06 08:19:42 +00:00
Mike Blumenkrantz f76af85149 fix another binding upgrade bug
SVN revision: 83656
2013-02-06 07:49:45 +00:00
Mike Blumenkrantz 6773c911b6 unify all pointer warping code to rely on e_border_pointer_warp_to_center functions
SVN revision: 83636
2013-02-05 15:15:04 +00:00
Mike Blumenkrantz 700ba27f5f add frame for advanced->focus policy options for consistency
SVN revision: 83634
2013-02-05 14:24:34 +00:00
Mike Blumenkrantz fcd92901fc winlist_warp_speed->pointer_warp_speed
pointer warp options consolidated into their own tab in focus settings


SVN revision: 83633
2013-02-05 14:22:54 +00:00
Mike Blumenkrantz d7c52deb98 merge all bindings dialogs into single module: conf_bindings
configs have been updated to load correct module and modapi version has been bumped to invalidate old modules


SVN revision: 83632
2013-02-05 14:03:11 +00:00
Mike Blumenkrantz ec87e69908 add yet another pointer warp option: disable all warps
ticket #asdfuser


SVN revision: 83629
2013-02-05 13:33:49 +00:00
Mike Blumenkrantz 41759238cd a much requested feature: drag-only edge bindings
ticket #281


SVN revision: 83628
2013-02-05 13:13:33 +00:00
Mike Blumenkrantz 6f2737928d fix bindings wipe bug that crept in a day or two ago
SVN revision: 83622
2013-02-05 10:42:27 +00:00
Mike Blumenkrantz 488e37c140 fix edge flipping after dragging to an invalid flip edge containing a shelf
ticket #1701


SVN revision: 83618
2013-02-05 08:55:23 +00:00
Mike Blumenkrantz b42c0591a9 reduce blocking during apps dialog load; this is still not great
SVN revision: 83614
2013-02-05 07:51:50 +00:00
Mike Blumenkrantz 9c0150c7ff rename e_eap_editor files to e_desktop_editor...this makes much more sense
SVN revision: 83602
2013-02-04 14:00:43 +00:00
Mike Blumenkrantz e6c16299bc standardize the macros used in desktop editor, fix some null check failures
SVN revision: 83601
2013-02-04 13:58:47 +00:00
Mike Blumenkrantz 62ae68b344 move around init for e_bindings a little to handle case of people eventually updating from E17->E18
SVN revision: 83596
2013-02-04 12:12:12 +00:00
Mike Blumenkrantz afd92c9394 fix button toggling in personal apps dialog
SVN revision: 83594
2013-02-04 11:59:02 +00:00
Mike Blumenkrantz f4841a5750 fix list update on deletion of personal app launcher
SVN revision: 83592
2013-02-04 11:50:30 +00:00
Mike Blumenkrantz a1425546f3 make xkb parsing a tiny bit more safe
ticket #2180


SVN revision: 83591
2013-02-04 11:44:52 +00:00
Mike Blumenkrantz 9bcaf51cc0 no point in trying all this fancy shelf moving/resizing/pruning, we redo all shelves on container resize no matter what
SVN revision: 83590
2013-02-04 11:21:56 +00:00
Mike Blumenkrantz 9560536c11 add a handy macro for notifying users of config updates in log
SVN revision: 83589
2013-02-04 10:48:00 +00:00
Mike Blumenkrantz d1be1fc8bb add profile types to config so it will be possible to determine what type of config the user started with
SVN revision: 83588
2013-02-04 10:45:51 +00:00
Mike Blumenkrantz ac9d6f6027 a really horrendous commit to fix a typo in the xkb changes last week which caused config to be saved wrong
no configs were harmed in the making of this


SVN revision: 83586
2013-02-04 10:14:57 +00:00
Mike Blumenkrantz 93478999a3 add support for edje files in filepreview widget
SVN revision: 83585
2013-02-04 09:09:15 +00:00
Mike Blumenkrantz 01257a8acc optimize use of edje_file_collection_list in various e things, also remove erroneous changelog/news entries
SVN revision: 83584
2013-02-04 08:38:46 +00:00
Mike Blumenkrantz 324af69e29 ensure same name is used for config edd as type in systray
SVN revision: 83583
2013-02-04 08:26:02 +00:00
Mike Blumenkrantz d32d679f56 add macro E_CONFIG_DD_FIND to wrap related function and keep namespace consistent
SVN revision: 83582
2013-02-04 08:24:30 +00:00
Mike Blumenkrantz 66b451229e From: zehortigoza@profusion.mobi (Jose Souza)
Subject: [PATCH] e systray: Add configuration dialog to enable/disable xembed support


SVN revision: 83580
2013-02-04 08:18:21 +00:00
Chidambar Zinnoury 965ab80819 e music-control: add check-changed.
Bonus: some unused lovin’.


SVN revision: 83573
2013-02-02 13:16:56 +00:00
Mike Blumenkrantz 95209aa915 save bindings config immediately after transferring to ensure it doesn't get lost
SVN revision: 83570
2013-02-02 09:01:16 +00:00
Mike Blumenkrantz b6359e9607 "No listable items" in Navigate menu is now clickable
SVN revision: 83564
2013-02-01 12:56:52 +00:00
Mike Blumenkrantz aa0e82dda6 fix behavior of up/down keys in efm when typebuf is visible
SVN revision: 83560
2013-02-01 12:39:39 +00:00
Mike Blumenkrantz 907d4fa211 it's much more likely that someone encountering a binding upgrade situation will be on a desktop and thus want the standard profile as a consolation prize after all their bindings are wiped
SVN revision: 83558
2013-02-01 12:31:05 +00:00
Mike Blumenkrantz dce9dcab42 binding dialogs are now able to reset bindings to the system profile file defaults (currently uses "standard" since we have no parenting/typing system for profiles)
ticket #2204


SVN revision: 83557
2013-02-01 12:27:07 +00:00
Mike Blumenkrantz f97f3cdb2d ffs this free macro needs to get fixed to not fail here
SVN revision: 83555
2013-02-01 11:56:36 +00:00
Mike Blumenkrantz ceda4b3012 fix leak in e profile list dbus method
SVN revision: 83552
2013-02-01 11:46:46 +00:00
Mike Blumenkrantz 43692b40ee fix weird crash which started happening when efm windows were deleted after shutdown somehow...probably e18 change-related
SVN revision: 83551
2013-02-01 11:39:19 +00:00
Mike Blumenkrantz 813496a865 track config edds, add e_config_descriptor_find() for retrieving them
SVN revision: 83550
2013-02-01 11:31:59 +00:00
Mike Blumenkrantz 226ec15f2d fix eina_list_last_data_get detection for e
SVN revision: 83548
2013-02-01 11:05:38 +00:00
Mike Blumenkrantz 4ad2b363ed add functions for freeing binding config structs
SVN revision: 83545
2013-02-01 10:35:33 +00:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Mike Blumenkrantz abe45b31c1 fix some hash magic fails in temp module
SVN revision: 83543
2013-02-01 09:57:10 +00:00
Mike Blumenkrantz 3fa4115633 same xkb typo in another place
SVN revision: 83540
2013-02-01 08:24:22 +00:00
Mike Blumenkrantz 9c847e9d7f fix xkb crash
SVN revision: 83539
2013-02-01 07:48:19 +00:00
Shinwoo Kim 7e75c9232b [access] use well defined variable again
SVN revision: 83538
2013-02-01 04:21:03 +00:00
Shinwoo Kim 165db3bfa7 [access] use well defined variable
SVN revision: 83537
2013-02-01 04:13:12 +00:00
Mike Blumenkrantz 57933c9d02 giant rollup commit fixing all xkb issues
tickets #1799, #2082


SVN revision: 83531
2013-01-31 17:50:45 +00:00
Mike Blumenkrantz a4d35ff86c fix flag reduce case for when name has no / character
SVN revision: 83530
2013-01-31 17:24:31 +00:00
Mike Blumenkrantz 98bb1620f7 make one of the xkb functions less stupid
SVN revision: 83526
2013-01-31 16:07:45 +00:00
Mike Blumenkrantz 1b6904e063 efm now ignores .part file changes
ticket #2120


SVN revision: 83524
2013-01-31 15:26:11 +00:00
Mike Blumenkrantz 8fd587ff92 fix navigation using symlinks in some cases
ticket #2032


SVN revision: 83522
2013-01-31 14:56:08 +00:00
Mike Blumenkrantz 0949e8ea63 fix window autoraise triggering from pointer_slide
ticket #2183


SVN revision: 83507
2013-01-31 10:58:27 +00:00
Mike Blumenkrantz 6dc0f1f64e delete gadget evas objects on delete to prevent crash on restart now that comp is merged into core
SVN revision: 83505
2013-01-31 10:53:50 +00:00
Mike Blumenkrantz 8b8bcfd41e clarify pointer_slide config option text in config dialog....
SVN revision: 83503
2013-01-31 10:31:39 +00:00
Shinwoo Kim 5a3ca7df1d [access] save configuration value immediately
SVN revision: 83473
2013-01-30 10:22:32 +00:00
Miculcy Brian bb375592d3 IBar fixes when using other sources than 'default'.
SVN revision: 83442
2013-01-29 16:33:16 +00:00
Carsten Haitzler 1d1015ec84 fix window unmap event handling with synthetic unmaps - only really an
issue during manageing (startup) of a border - race condition. may
misee hides. this fixes it but needs efl 1.8. :/



SVN revision: 83420
2013-01-29 08:25:24 +00:00
Mike Blumenkrantz c123546657 fix link drop into sidebar when dragging between items
ticket #2232


SVN revision: 83414
2013-01-29 07:44:57 +00:00
Carsten Haitzler 2b7de105c7 quick improvement of bluez4 gadget icon... :)
SVN revision: 83366
2013-01-27 06:50:42 +00:00
Jihoon Kim 4647b5d053 e17/physics: fix build warning
SVN revision: 83342
2013-01-26 04:04:33 +00:00
Mike Blumenkrantz 8ceef0e216 bump year in about dialog
SVN revision: 83300
2013-01-24 14:02:29 +00:00
Mike Blumenkrantz a57d11f111 use handler list macro when creating manager handlers
SVN revision: 83292
2013-01-24 10:48:11 +00:00
Mike Blumenkrantz fc67e4810c comp no longer disables and reenables on startup from detecting the container window with nocomp_fs enabled
SVN revision: 83209
2013-01-24 08:41:25 +00:00
Mike Blumenkrantz 47162b2c2a module loading now enforces priority for user directories; at some point we should probably figure out how to set up a priority list for /usr/lib vs /usr/local/lib and such
SVN revision: 83206
2013-01-24 08:16:10 +00:00
Mike Blumenkrantz cdf4fb7950 unbreak eeze mount detection/compile (spankies for demarchi), remove last bits of hal mount support from configure
SVN revision: 83204
2013-01-24 07:59:28 +00:00
Carsten Haitzler a7049f3c0f how about we dont make pulse stop working? yes - the unlikely leak
fix.. made it stop :(



SVN revision: 83201
2013-01-24 06:31:08 +00:00
Mike Blumenkrantz 88ea7b1e96 conf2 option ctx now stores update text to allow ignoring repeated updates, also remove tags from search lists when aliases are added
SVN revision: 83179
2013-01-23 14:58:54 +00:00
Mike Blumenkrantz 2792afd090 reduce number of loops required to iterate when updating conf2 option ctx from text
SVN revision: 83178
2013-01-23 14:50:18 +00:00
Mike Blumenkrantz 1ea8697846 fix list remove typo in conf2 option matching which should speed up matching process considerably
SVN revision: 83177
2013-01-23 14:22:53 +00:00
Mike Blumenkrantz 6f3db35204 more strcase*->str* from last conf2 option commit
SVN revision: 83175
2013-01-23 14:19:27 +00:00
Mike Blumenkrantz 81f5da0e32 lowercase conf2 ctx text at start to speed up text searches
SVN revision: 83174
2013-01-23 14:18:00 +00:00
Mike Blumenkrantz 2fad65f8df don't list conf2 match tags for a ctx if they're tags already added to the ctx for the purpose of matching
SVN revision: 83173
2013-01-23 14:16:01 +00:00
Mike Blumenkrantz feb662019e fix stringshare usage when applying conf2 string option
SVN revision: 83167
2013-01-23 12:20:00 +00:00
Mike Blumenkrantz 95b4651803 unify conf2 button signal code, improve overlay button logic
SVN revision: 83164
2013-01-23 11:13:36 +00:00
Mike Blumenkrantz b3a9880971 fix conf2 bug where buttons would erroneously be toggled when selecting an option which could not produce an overlay
SVN revision: 83160
2013-01-23 11:06:30 +00:00
Mike Blumenkrantz d4f30b24ad fix possible null deref in e_sys when debugging
SVN revision: 83157
2013-01-23 10:53:26 +00:00
Mike Blumenkrantz 68e8bae442 fix possible null deref in desktop editor
SVN revision: 83155
2013-01-23 10:50:29 +00:00
Christopher Michael f9a3a22e9e Fix leak as reported by zmike.
- Add support for AltGr key in E_Kbd_Buf_Key
 - Fix e_kbd_buf_layout_key_add to also take in altgr as a param.

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

SVN revision: 83153
2013-01-23 10:38:46 +00:00
Mike Blumenkrantz 0183b727d0 fix path setting in import dialog
SVN revision: 83151
2013-01-23 10:35:57 +00:00
Mike Blumenkrantz 3456c9dff2 fix small leak in illume2 policy config
SVN revision: 83149
2013-01-23 10:27:33 +00:00