Commit Graph

340 Commits

Author SHA1 Message Date
Carsten Haitzler 6cd17aec69 fix: removing list node from list WHILE walking list without using the
foreach_safe.. fix.. use foreach_safe.
2013-04-18 12:50:06 +09: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 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
Cedric BAIL ba93ddb0de e: efreet_menu_parse is not thread safe.
SVN revision: 83762
2013-02-08 07:15:54 +00:00
Mike Blumenkrantz 5237b25e34 unbreak 1.7 branch compile
SPANK SPANK SPANK JIHOOOOOOOOOOOOOOOOOOOOOOOON


SVN revision: 83142
2013-01-23 10:05:53 +00:00
Jihoon Kim 10960b39c9 e17: use eina_unicode_utf8_next_get instead of eina_unicode_utf8_get_next
SVN revision: 83141
2013-01-23 10:03:31 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz a428601f56 config submenu now sets "config" category
SVN revision: 82546
2013-01-10 10:27:08 +00:00
Mike Blumenkrantz bede9e08bf Desktop->Shelves menu now shows shelf names instead of orientations
ticket #2105


SVN revision: 82408
2013-01-08 11:32:46 +00:00
Igor Murzov 678645f3ac Better gettext usage in a few places
SVN revision: 82293
2013-01-05 22:54:51 +00:00
Mike Blumenkrantz 21bdf63d57 don't generate menu on startup, just cache it after the first one
SVN revision: 81561
2012-12-21 16:34:50 +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 43dca4ccd8 don't leak efreet menus!
SVN revision: 81338
2012-12-19 09:44:55 +00:00
Carsten Haitzler 47c5345f55 lets not make the buffer so small (256 chars). with utf8 this could be
as little as 42 letters... in theory.... :) 1024 is better.



SVN revision: 81318
2012-12-19 01:33:20 +00:00
Mike Blumenkrantz 747a446838 apparently efreet_menu_get() uses timers and such for some reason, sigh. back to threadless we go for this
SVN revision: 81239
2012-12-18 12:01:59 +00:00
Massimo Maiurana 6b330d0932 Translate the "Shelf <orientation>" message (patch from Igor Murzov)
SVN revision: 81052
2012-12-16 17:10:08 +00:00
Chidambar Zinnoury d2f9a1cc7d e main menu: remove parentheses and disable item when there are no elements.
SVN revision: 81030
2012-12-15 20:07:02 +00:00
Mike Blumenkrantz 251ee5a5d6 another pedantic and probably unneeded null check
SVN revision: 80837
2012-12-13 12:52:13 +00:00
Mike Blumenkrantz 3a82001c8b fix leak in client menu generation
SVN revision: 80836
2012-12-13 12:50:58 +00:00
Mike Blumenkrantz 6388913775 another pedantic and probably unneeded null check
SVN revision: 80835
2012-12-13 12:47:34 +00:00
Mike Blumenkrantz 503d7305db Dear all,
As I've said before, I'm attached a patch for minor bugs in the e17 again.
 Please take a look at attached patch.

 01. missing E_FREE(wev) if zone is null
     File: src/bin/e_actions.c: 1467
     Function: ACT_FN_GO_EDGE macro function
     null check of zone and wev, it would be better to separate them.

 02. dead code
     File: src/bin/e_configure.c: 338
     Function: _e_configure_efreet_desktop_update

 03. array buf might be overwritten by "buf[i] = '\0'"
     File: src/bin/e_eap_editor.c: 412
     Function: _e_desktop_edit_user_local_desktop_filename_generate

 04. missing null check
     File: src/bin/e_fm.c
     Function: e_fm2_icon_get: 2196
     It would be better to check ic->info.file in e_fm2_icon_get
     before passing to _e_fm2_file_is_edje because it doesn't check
     null pointer.

 05. array 'path' might be overwritten by "path[i + 1] = XXX"
     File: src/bin/e_fm.c: 4299
     Function: _e_fm2_uri_parse

 06. missing null check
     File: src/bin/e_fm_device.c: 468
     Function: e_fm2_device_mount_find
     If the null pointer is passed to e_fm2_device_mount_find,
     then it attempt to compare string using strncmp without null
     check.
     e.g., e_fm2_path_set
           -> real_path = _e_fm2_dev_path_map: this function could return null.
           -> sd->realpath = real_path;
           -> e_fm2_device_mount_find(sd->realpath)

 07. missing free(fstrip)
     File: src/bin/e_import_config_dialog.c: 34
     Function: _import_edj_gen

 08. missing _module_free(cfm)
     File: src/bin/e_int_config_modules.c: 530
     Function: _load_modules

 09. missing free(class) in for loop
     File: src/bin/e_int_menus.c: 1187
     Function: _e_int_menus_clients_add_by_class

 10. missing free(roots)
     File: src/bin/e_main.c: 1646
     Function: _e_main_screens_init
     Actually only e_win_init function could return 0.
     But I've added free to other codes for the consistency.

 11. missing null check of 'es->cfg'
     File: src/bin/e_shelf.c: 2583
     Function: _e_shelf_bindings_add
     'es->cfg' might be null. please look at e_shelf_position_calc.

 12. no ect->category check before comparing string values
     File: src/bin/e_theme.c: 387
     Function: e_theme_config_remove
     I'm not sure, but inner if block checks ect->category before
     deleting a string.

 13. missing E_FREE(wcb) in while loop
     File: src/bin/e_widget_ilist.c: 146
     Function: _queue_timer

 14. dereferencing freed pointer 'entry'
     File: src/modules/quickaccess/e_mod_quickaccess.c: 583
     Function: _e_qa_event_border_remove_cb

 15. missing E_FREE(trov)
     File: src/modules/tiling/e_mod_tiling.c: 3106
     Function: _do_transition_overlay

 Thanks & Regards,
 Gwanglim


SVN revision: 80231
2012-12-05 11:13:09 +00:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz 21c5355c18 remove menu fixme
SVN revision: 79946
2012-11-30 20:04:11 +00:00
Mike Blumenkrantz 49f4670d7b cached menus now listen to efreet cache update events
ticket #1888


SVN revision: 79883
2012-11-30 11:50:21 +00:00
Carsten Haitzler 7e8768ad5d add new about theme signals/text capabilities as per email - change 1
string - "Theme" -> "About Theme"



SVN revision: 79461
2012-11-20 01:41:33 +00:00
Mike Blumenkrantz 26b38be179 fix crash in menus
SVN revision: 79347
2012-11-15 15:01:19 +00:00
Mike Blumenkrantz c984977c20 prevent thread crash on startup; efreet does some non-threadsafe stuff, so we need to not be generating multiple menus simultaneously on init
SVN revision: 79344
2012-11-15 13:20:34 +00:00
Mike Blumenkrantz 9e4184cee1 thread-create favorite apps menu on startup since this will probably be a commonly used menu
SVN revision: 79328
2012-11-15 09:36:21 +00:00
Mike Blumenkrantz fbca1c1c83 zero the window menu caption buffer
SVN revision: 79272
2012-11-14 09:25:13 +00:00
Tom Hacohen 151e675cf2 E menu: Fix menu abbreviation.
Possibly not the fastest way to do it, but I really don't have the time to
do it now. I'm just doing it because it took me less time to fix it than
to handle all of Mike's bugging in PM and mails. ;P
Something is still broken in here, but I don't have time to deal with
it, if there's something broken please let me know or fix it yourself,
should be fairly easy.

SVN revision: 79189
2012-11-12 18:35:34 +00:00
Tom Hacohen e79ad1ed13 E menu: title abbrv is now less broken.
Still very broken.

SVN revision: 79188
2012-11-12 18:35:20 +00:00
Mike Blumenkrantz 9306965e13 fix client win list with long utf8 titles and length limits, also fix a related leak
ticket #1649


SVN revision: 78752
2012-11-01 09:18:50 +00:00
Mike Blumenkrantz 64fc140c78 patch from Deon Thomas to fix lost window warp behavior
ticket #1680


SVN revision: 78693
2012-10-31 08:44:50 +00:00
Mike Blumenkrantz c23cdad3b4 add widget playground dialog to main menu for easy access to testing e widgets in future
SVN revision: 78509
2012-10-26 08:33:02 +00:00
Mike Blumenkrantz 6134584e47 formatting for seb
SVN revision: 77880
2012-10-11 13:23:14 +00:00
Mike Blumenkrantz c094541aef patch from PrinceAMD which adds config options to warp lost windows back to center screen when enabled
video: http://dl.dropbox.com/u/7371269/lost_window_feature_2.ogv


SVN revision: 77878
2012-10-11 12:53:15 +00:00
Mike Blumenkrantz 0bf84a49b0 fix hard to trigger threaded menu crash
SVN revision: 77755
2012-10-10 12:09:35 +00:00
Mike Blumenkrantz c2077bb6c0 add desktop menu category
SVN revision: 77515
2012-10-05 09:01:45 +00:00
Mike Blumenkrantz 523597cdcb create default apps menu on init, don't free efreet menus on shutdown to prevent race condition triggered by people with superhuman menu navigation abilities
SVN revision: 76895
2012-09-20 08:57:36 +00:00
Mike Blumenkrantz cf3e5f811f reset app menu cache every time a successful lookup occurs
SVN revision: 76850
2012-09-19 10:22:33 +00:00
Mike Blumenkrantz 52c94bac89 app menus now generate themselves (top-most menu anyway) in threads to eliminate annoying stutter when scrolling through main menu
SVN revision: 76849
2012-09-19 10:15:03 +00:00
Mike Blumenkrantz b9c6264992 new shelf menu item now brings up the new shelf starter dialog
SVN revision: 76303
2012-09-07 12:45:40 +00:00
Mike Blumenkrantz 6015463fdf when no shelves are present, we just show the add shelf menu item
SVN revision: 76299
2012-09-07 12:03:23 +00:00
Carsten Haitzler 0eb043e8bf A -> a
SVN revision: 74971
2012-08-07 10:24:36 +00:00
Mike Blumenkrantz 8b70cf59a7 clicking Settings (the submenu) in the main menu now brings up the settings panel
SVN revision: 74863
2012-08-03 18:17:20 +00:00
Mike Blumenkrantz c3317861dd formatting
SVN revision: 74580
2012-07-30 10:50:50 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 3ed7397f04 unused--
SVN revision: 72086
2012-06-13 13:36:12 +00:00
Mike Blumenkrantz a739400aea fix abuse of e icons which caused a magic failure
SVN revision: 72075
2012-06-13 09:08:54 +00:00
Carsten Haitzler 55b8337d6e and fix up some more zone id/num disagreements.
SVN revision: 67988
2012-02-15 15:33:54 +00:00