Commit Graph

20 Commits

Author SHA1 Message Date
Christopher Michael 39b6588855 Revert exposing the try_restore_config function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

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

SVN revision: 81366
2012-12-19 14:21:44 +00:00
Mike Blumenkrantz 362531b082 Dear all,
I'm attaching a patch for some minor bugs in the e17.
 Please take a look at attached patch.

 01. missing E_FREE(inst)
     File: src/bin/e_exec.c: 347
     Function: _e_exec_cb_exec

 02. missing null check
     File: src/bin/e_fm.c: 10173
     Function: _e_fm_error_dialog
     I'm not sure, but all other codes always check the return
     value of e_fm2_op_registry_entry_get except here.

 03. missing free(slave)
     File: src/bin/e_fm_ipc.c: 804
     Function: _e_fm_ipc_slave_run

 04. eina_list_remove after free
     File: src/bin/e_fm/e_fm_ipc.c :1325
     Function: _e_fm_ipc_cb_fop_trash_idler

 05. invalid check for _udisks_del, it might be _udisks_chg.
     File: src/bin/e_fm/e_fm_main_udisks.c : 162
     Function: _e_fm_main_udisks_test

 06. uninitialized gx and gy values
     File: src/bin/e_gadcon_popup.c: 172
     Function: _e_gadcon_popup_position
     These could be changed in e_gadcon_client_geometry_get
     if gcc->o_base is null.

 07. unnecessary code 'evas = e_win_evas_get(dia->win)'
     File: src/bin/e_import_config_dialog.c: 456
     Function: e_import_config_dialog_show

 08. missing free(sizes)
     src/bin/e_randr_11_serialization.c: 136
     Function: _11_try_restore_configuration()

 09. unnecessary variable output_info
     File: src/bin/e_randr_12.c: 560
     Function: _output_property_change_event_cb

 10. eina_list_remove after free
     File: src/bin/e_randr_12_serialization.c : 357
     Function: _12_serialized_setup_update

 11. no check of the return value of symlink.
     File: src/bin/e_widget_fsel.c: 84
     Function: _e_wid_fsel_favorites_add

 12. no evr->var check before comparing string values
     File: src/modules/conf_applications/e_int_config_defapps.c: 432
     Function: _basic_apply

 13. missing error message or check return value of edje_file_group_exists
     File: src/modules/conf_theme/e_int_config_theme.c: 333
     Function: _open_test_cb
     Anyway, I've added e_util_dialog_show if failed. Is it okay?

 14. missing index range check
     File: src/modules/gadman/e_mod_config.c: 153
     Function: _cb_config
     It could read negative array index, because return value of
     e_widget_ilist_selected_get might be negative.

 BR,
 Gwanglim


SVN revision: 80020
2012-12-03 07:54:07 +00:00
Mike Blumenkrantz 5e4ccca27b fix e randr code to not block randr update events from other listeners and to properly delete poller on failure
SVN revision: 77739
2012-10-10 09:42:05 +00:00
Mike Blumenkrantz 46547f3e62 not sure what was going on here, but trying to double free what is now a null pointer is not a great choice
SVN revision: 75790
2012-08-28 13:26:51 +00:00
Mike Blumenkrantz 4f75c57c75 formatting
SVN revision: 75788
2012-08-28 12:41:17 +00:00
Mike Blumenkrantz 6cf3ad2b92 e logging -> eina logging
SVN revision: 72137
2012-06-14 13:42:02 +00:00
Mike Blumenkrantz 533aa60251 free existing randr monitor info before replacing it with a new one
leak--


SVN revision: 72067
2012-06-13 07:40:43 +00:00
Mike Blumenkrantz 7b654c6438 have to free the array pointer too!
leak--


SVN revision: 72066
2012-06-13 07:15:27 +00:00
Leif Middelschulte bdb66274c0 e_randr: Show "ask position" dialog, if ASK policy is used.
SVN revision: 71566
2012-05-30 19:16:58 +00:00
Leif Middelschulte d75b68ae78 Update common modes, when updating mode info
SVN revision: 69308
2012-03-13 19:58:06 +00:00
Sebastian Dransfeld 05bf07450c e: formatting
SVN revision: 69055
2012-03-08 11:37:54 +00:00
Leif Middelschulte 0e5f759b51 Do CRTC configuration/restoration in one step.
SVN revision: 68276
2012-02-22 15:42:07 +00:00
Leif Middelschulte 19dd99da42 Fix return values of non-void functions.
SVN revision: 68241
2012-02-22 00:02:58 +00:00
Leif Middelschulte 466b3c91c6 Improve init so it fails if the drivers dont really support RandRR.
SVN revision: 68238
2012-02-21 23:53:00 +00:00
Carsten Haitzler 32ac589897 fix e_randr eina log bitching when u dont have exisitng config!
SVN revision: 68208
2012-02-21 08:17:32 +00:00
Leif Middelschulte 82ef8253df Make policies work again.
SVN revision: 68171
2012-02-20 19:14:26 +00:00
Leif Middelschulte 9216647733 Notice when connection state changed.
SVN revision: 68170
2012-02-20 19:14:22 +00:00
Carsten Haitzler 923a0bc0b7 lets not segv shall we?
SVN revision: 68119
2012-02-19 07:36:01 +00:00
Leif Middelschulte b27aec4ad5 Refactoring e_randr, big time.
SVN revision: 68114
2012-02-18 16:49:07 +00:00