Commit Graph

10752 Commits

Author SHA1 Message Date
Mike Blumenkrantz 7d4c5d556b should probably init eio at some point...
SVN revision: 74727
2012-08-01 11:34:06 +00:00
Carsten Haitzler b836353ae8 patch from rustyBSD.
SVN revision: 74725
2012-08-01 09:33:01 +00:00
Mike Blumenkrantz 2dd460106c remove old/deprecated non-async file listing
SVN revision: 74724
2012-08-01 09:05:35 +00:00
Carsten Haitzler 12d1de00e1 clean up whole bunch of potential memory errors in e_fm.c
SVN revision: 74723
2012-08-01 09:00:22 +00:00
Mike Blumenkrantz 821f1f4a6d add debug printf to help with hunting #1057
SVN revision: 74722
2012-08-01 08:55:51 +00:00
Mike Blumenkrantz cf93408f94 enable dnd for favorites panel in sidebar
SVN revision: 74721
2012-08-01 08:51:31 +00:00
Mike Blumenkrantz 1280fd2364 fix efm dnd with list view
SVN revision: 74720
2012-08-01 08:49:04 +00:00
Mike Blumenkrantz 837e220d75 also optimize _e_fm2_icon_first_selected_find
SVN revision: 74718
2012-08-01 08:03:37 +00:00
Mike Blumenkrantz 10580953e4 optimize _e_fm2_icon_desel_any()
SVN revision: 74717
2012-08-01 08:01:38 +00:00
Mike Blumenkrantz 810b9282f5 add function for deselecting all selected icons in fm object
SVN revision: 74716
2012-08-01 08:00:21 +00:00
Mike Blumenkrantz f554fe4955 prevent fwin filemanager objects from losing focus, also comment out some printfs
SVN revision: 74715
2012-08-01 07:52:17 +00:00
Mike Blumenkrantz 73728b0262 e widget focus stealing should respect can_focus = false
SVN revision: 74714
2012-08-01 07:49:55 +00:00
Mike Blumenkrantz 51ce8b4519 menus now realize their items using idlers to improve responsiveness when loading large/complex menus
SVN revision: 74713
2012-08-01 07:08:06 +00:00
Mike Blumenkrantz 63bf816513 fix rare crash with files submenus
SVN revision: 74712
2012-08-01 06:58:54 +00:00
Mike Blumenkrantz 941f6f9607 fileman windows now have a sidebar (which can be disabled in the fileman settings)
indirectly fixes ticket #1231


SVN revision: 74656
2012-07-31 13:31:35 +00:00
Mike Blumenkrantz 506b9ad8e6 whoops forgot this was a list of icons, not icon infos. unbreak!
SVN revision: 74654
2012-07-31 13:18:24 +00:00
Mike Blumenkrantz 89cdac7771 simplify e_fm2_selected_list_get
SVN revision: 74653
2012-07-31 13:09:05 +00:00
Mike Blumenkrantz 5488f9f047 when deleting an icon, we want to remove it from the selected list -- not add it
SVN revision: 74652
2012-07-31 13:07:54 +00:00
Carsten Haitzler bc3741963e and fix my desktop folder fix.. to not make Desktop- :)
SVN revision: 74645
2012-07-31 11:07:33 +00:00
Carsten Haitzler 9d02bd6282 and make labels basic.
SVN revision: 74639
2012-07-31 10:42:52 +00:00
Carsten Haitzler 78cb275b28 remove shadow option - this is handled by styles anyway, and make a
basic vs advanced cfg dialog for people unable to cope with settings
widgets. :)



SVN revision: 74637
2012-07-31 10:25:20 +00:00
Mike Blumenkrantz 68b11c3a2c fix manual xsettings selection
SVN revision: 74636
2012-07-31 10:22:35 +00:00
Mike Blumenkrantz 428b9a138a revert xsettings reverts
SVN revision: 74635
2012-07-31 10:22:13 +00:00
Carsten Haitzler c98fe5be14 please don't break Desktop-1/2 ec. for multi-screen. thanks. :)
SVN revision: 74634
2012-07-31 09:50:27 +00:00
Mike Blumenkrantz 3b2587d064 only delete gadcon stuff from a shelf if it isn't a dummy
SVN revision: 74633
2012-07-31 09:48:02 +00:00
Mike Blumenkrantz 873febc02b dummy shelves don't need to be a gadcon site, also properly export prototype
SVN revision: 74631
2012-07-31 09:43:10 +00:00
Mike Blumenkrantz 8b52aa054d delete files submenus when no items are present
SVN revision: 74630
2012-07-31 09:19:50 +00:00
Mike Blumenkrantz a53e9a2fe1 turns out we don't need realpath, so don't bother saving it
SVN revision: 74629
2012-07-31 09:18:33 +00:00
Mike Blumenkrantz c760aad6b2 actually apply menu title changes when they occur
SVN revision: 74628
2012-07-31 09:11:23 +00:00
Carsten Haitzler 5e8595269b actually rever allt he way back to before the stringshare commit as it
only worked then on restart not on login. xsettings works again.



SVN revision: 74627
2012-07-31 09:11:04 +00:00
Mike Blumenkrantz e7c7be6b1a replace FREE with E_FREE for consistency, use E_FREE instead of free
SVN revision: 74626
2012-07-31 09:06:26 +00:00
Carsten Haitzler dc4d2d73c8 revert stringshare changes by zmike - they break xsettings support. it
works again now i revert these.



SVN revision: 74625
2012-07-31 09:05:39 +00:00
Mike Blumenkrantz ffdf9b4b8a Files menu only shows directories
SVN revision: 74623
2012-07-31 08:26:42 +00:00
Mike Blumenkrantz 3b037bdefd fileman no longer annoys the crap out of me by forgetting my desktop icon view mode
SVN revision: 74622
2012-07-31 08:04:22 +00:00
Mike Blumenkrantz 73299c6d12 gtk bookmarks are now submenus in Files menu, also fix longstanding leak there
SVN revision: 74621
2012-07-31 07:47:38 +00:00
Mike Blumenkrantz d318c8a789 Files menu submenus now properly display mime icons and image previews
SVN revision: 74620
2012-07-31 07:38:42 +00:00
Chidambar Zinnoury ed4325d510 e utils: don't store signed integers in unsigned arrays.
This will make file previews use better sized icons.


SVN revision: 74598
2012-07-30 20:30:26 +00:00
Mike Blumenkrantz 4033f4c720 whoops, forgot to use zone geom for saving gadget sizes as well as placing them
SVN revision: 74593
2012-07-30 15:14:57 +00:00
Mike Blumenkrantz cfb4c8e0ca add an extra / here to ensure the path gets set correctly; fixes relative navigation with special directories like desktop
SVN revision: 74592
2012-07-30 14:26:25 +00:00
Mike Blumenkrantz 52a5c2c729 passing a path along with "desktop" device to efm should allow you to navigate relative to your desktop directory. now it does
SVN revision: 74591
2012-07-30 14:25:36 +00:00
Mike Blumenkrantz ddde1f3dc9 a difficult feature request that's only somewhat working: the Files menu now expands infinitely into directories
ticket #cedric


SVN revision: 74590
2012-07-30 14:05:13 +00:00
Mike Blumenkrantz 524a6da1f7 on e menu thaw, redraw the menu; this may work better as an idler
SVN revision: 74589
2012-07-30 14:04:07 +00:00
Mike Blumenkrantz d456775996 allow submenus to call their activation functions if they exist
SVN revision: 74588
2012-07-30 13:40:30 +00:00
Mike Blumenkrantz 7caeaff237 not sure why we're searching menu items twice here
SVN revision: 74587
2012-07-30 13:30:08 +00:00
Mike Blumenkrantz 925f78c003 missing const
SVN revision: 74586
2012-07-30 13:01:09 +00:00
Mike Blumenkrantz eada1e1347 add utility function for efm to map a dev+path into an actual path
SVN revision: 74585
2012-07-30 12:29:07 +00:00
Mike Blumenkrantz 362c037f20 also don't leak in the fix I committed
SVN revision: 74584
2012-07-30 12:10:31 +00:00
Mike Blumenkrantz f1b1f584d0 this was bad and only coincidental that it worked.
SVN revision: 74583
2012-07-30 11:56:38 +00:00
Mike Blumenkrantz d706d72905 add const to param
SVN revision: 74582
2012-07-30 11:55:43 +00:00
Mike Blumenkrantz b6496d7aa8 add Files item to efm ctxmenu
ticket #1230


SVN revision: 74581
2012-07-30 11:48:28 +00:00
Mike Blumenkrantz c3317861dd formatting
SVN revision: 74580
2012-07-30 10:50:50 +00:00
Mike Blumenkrantz 7cf1434f32 oh gadman, you so crazy. don't set gadget size based on MANAGER dimensions, that's not even close to accurate!
SVN revision: 74579
2012-07-30 10:38:31 +00:00
Carsten Haitzler 16a1f42f14 provide scratch button to start from scratch at the wizard. :)
SVN revision: 74578
2012-07-30 10:36:32 +00:00
Mike Blumenkrantz 416f69ef48 fix e_sys mount exit codes and only compile eeze mount parts when eeze mount is enabled
SVN revision: 74577
2012-07-30 10:28:25 +00:00
Mike Blumenkrantz 0727364db1 fix unused warns when no mount backends enabled
SVN revision: 74575
2012-07-30 10:26:05 +00:00
Mike Blumenkrantz d84cdfe4f7 move eeze init check higher up so prefix doesn't leak
SVN revision: 74573
2012-07-30 10:17:03 +00:00
Mike Blumenkrantz c956092990 e_sys now fails to perform any mount-related activity if there is even the slightest amount of monkey business occurring. orangutans and chimpanzees are included.
SVN revision: 74571
2012-07-30 10:13:06 +00:00
Mike Blumenkrantz 80f17bbcff don't try to delete mount points from e_fm anymore
SVN revision: 74570
2012-07-30 10:11:41 +00:00
Mike Blumenkrantz caa9f1b42b eeze is now back to mounting to /media/$devnode using noexec and nodev, also we now send an error message in another failure case
SVN revision: 74567
2012-07-30 10:01:49 +00:00
Carsten Haitzler dcf8b6c339 fix up e_exec to respect the terminal=true flag on desktops ... so
finally that htop menu entry works. :)



SVN revision: 74550
2012-07-30 06:13:07 +00:00
Carsten Haitzler 0b91025ba2 somehow... something broke shelf position on my 2nd disply. fix it!
SVN revision: 74549
2012-07-30 03:46:34 +00:00
Chidambar Zinnoury f852ae99ef e module shot: use correct icon.
SVN revision: 74548
2012-07-29 18:49:31 +00:00
Chidambar Zinnoury 5c5fef141a e i18n: add a new macro (NP_) to mark plural strings for translation.
SVN revision: 74547
2012-07-29 17:06:19 +00:00
Chidambar Zinnoury 8470559f18 e widget deskpreview: revamp previews size computation.
This prevents previews from going out of the widget for some combinations.


SVN revision: 74546
2012-07-29 17:04:15 +00:00
Carsten Haitzler b8239bef36 also remove volume icon dups on startup. :(
SVN revision: 74544
2012-07-29 11:10:45 +00:00
Carsten Haitzler d10f72eff5 get rid of duiplicate device icons with eeze+eeze-scanner+mount etc.
as i see both dev/sdX and dev/sdX1 as devices. delete the parent ones
if child partitions exist.



SVN revision: 74543
2012-07-29 10:30:00 +00:00
Christopher Michael d885235ebc E: Fix default shelf size.
Currently, for existing shelf sizes, we calculate against e_scale so
the default size of 40 should be adjusted against e_scale also.



SVN revision: 74535
2012-07-28 15:32:50 +00:00
Christopher Michael d9060b15d6 E: Format shelf code for 80 columns so I can hunt this bugger I am
seeing.



SVN revision: 74534
2012-07-28 15:20:08 +00:00
Christopher Michael b9508baa0e E: Fix uninitialized variable warning
SVN revision: 74532
2012-07-28 15:00:49 +00:00
Cedric BAIL f44867c7e1 e: don't forget fclose.
Patch suggested by rustyBSD <rustyBSD@gmx.fr>.

NOTE: a better solution would be to use Eina_File and eina_file_map_lines.


SVN revision: 74531
2012-07-28 14:29:26 +00:00
Mike Blumenkrantz 14386604f4 warn--
SVN revision: 74513
2012-07-27 16:10:37 +00:00
Mike Blumenkrantz 71ce826982 e_gadcon_client_find now takes an optional gadcon param to speed it up where possible
SVN revision: 74512
2012-07-27 16:10:06 +00:00
Mike Blumenkrantz 66d61b1778 trivial gadman cleanup
SVN revision: 74510
2012-07-27 16:02:44 +00:00
Mike Blumenkrantz 7a0babcfbe remove some unnecessary checks and a legacy bug in gadman
SVN revision: 74509
2012-07-27 15:49:51 +00:00
Mike Blumenkrantz 250ea631d2 fix gadman placement of multiple clients of same class, also fix shadow warning
SVN revision: 74508
2012-07-27 15:41:58 +00:00
Mike Blumenkrantz 4ffafd3313 ensure gadcon class is populated before trying to create a client for it
SVN revision: 74507
2012-07-27 15:30:36 +00:00
Mike Blumenkrantz adfa2b1db1 only find fileman action if necessary
SVN revision: 74493
2012-07-27 14:02:34 +00:00
Mike Blumenkrantz 1980833a09 use e_shelf_style_set() when creating a new shelf; duplication--
SVN revision: 74492
2012-07-27 13:46:06 +00:00
Mike Blumenkrantz f990c4d738 greatly simplify gadcon populate idler
SVN revision: 74491
2012-07-27 13:18:25 +00:00
Mike Blumenkrantz 997c9030b9 fix gadman list refresh crash
SVN revision: 74490
2012-07-27 13:15:26 +00:00
Mike Blumenkrantz bca06d1574 fix small leak in xsettings init
SVN revision: 74489
2012-07-27 13:11:44 +00:00
Mike Blumenkrantz df03a272e5 remove useless checks on gcc name
SVN revision: 74488
2012-07-27 12:29:55 +00:00
Mike Blumenkrantz 5db9d9fb00 change gadcon waiting classes list to a hash in order to remove some strcmps
SVN revision: 74487
2012-07-27 12:26:41 +00:00
Mike Blumenkrantz 36872afc13 ensure that gadman checks for the client class in populated classes before requesting a populate; this should never ever be necessary
SVN revision: 74486
2012-07-27 12:08:52 +00:00
Mike Blumenkrantz 5a6e5ec964 make client class population gadcon-specific so we don't end up populating every gadcon site with 500 client classes if they're only used on a single shelf
SVN revision: 74485
2012-07-27 10:54:00 +00:00
Mike Blumenkrantz 3d2b75b3de pass gadcon cc through to gadman_gadget_place() when available instead of searching through the list for it
SVN revision: 74484
2012-07-27 10:52:53 +00:00
Mike Blumenkrantz f473e943ee ensure gadman gadget is not already in waiting list before adding
SVN revision: 74479
2012-07-27 09:29:59 +00:00
Mike Blumenkrantz 5070653af2 add debug timing info for gadcon idler populates
SVN revision: 74478
2012-07-27 09:28:25 +00:00
Mike Blumenkrantz 81cbce9d96 log error and fail when attempting to register a nameless gadcon client class to prevent massive failure later
it is once again a good time to update


SVN revision: 74477
2012-07-27 08:46:04 +00:00
Mike Blumenkrantz 8b0c1eaefe fix gcc populates to actually set all necessary variables and prevent config from being wiped; fixes gadman gadgets randomly disappearing and probably a lot of other unnoticed bugs
SVN revision: 74476
2012-07-27 08:42:16 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz eddf43a8cd make gadman try to place gadgets if the client class is loaded after the gadget
this is NOT a good time to update.


SVN revision: 74473
2012-07-27 08:19:01 +00:00
Mike Blumenkrantz f08e7423f2 make gadcon class function pointers require const as they should, add new custom populate request function, consolidate gcc populate code
compile warnings are being cleaned up next


SVN revision: 74472
2012-07-27 08:17:32 +00:00
Mike Blumenkrantz 92a8b3d652 move some gadman functions to be static
SVN revision: 74471
2012-07-27 07:22:57 +00:00
Mike Blumenkrantz 18f8444c86 when a gadman gadget is detected without any stored geometry settings, move and resize it to something reasonable so it can be changed by the user, and also pop a dialog to notify
SVN revision: 74470
2012-07-27 07:02:47 +00:00
Mike Blumenkrantz 2850c28167 add more startup timing info for non-debug builds so people can see what the real startup time of e is
SVN revision: 74469
2012-07-27 06:43:14 +00:00
Mike Blumenkrantz 5389c8a964 forgot to deregister client class from populated list
SVN revision: 74445
2012-07-26 14:13:49 +00:00
Mike Blumenkrantz 68b44ce619 more gadman fixes to not store the actual gcc pointer
SVN revision: 74444
2012-07-26 14:00:20 +00:00
Mike Blumenkrantz 14b109ac78 fix gadcon crashing when enabling/disabling modules
SVN revision: 74443
2012-07-26 13:59:41 +00:00
Mike Blumenkrantz 812abd7c1d actually I don't know wtf I was thinking with 74438, I was clearly a misguided genius in the code that I removed in this commit; fixes adding new gadgets and also speeds up the process greatly
SVN revision: 74441
2012-07-26 13:00:15 +00:00
Mike Blumenkrantz a9107599de gadman now tracks gadgets by the config instead of the gadget object, should prevent crashes if a gadget is ever repopulated
SVN revision: 74440
2012-07-26 12:48:11 +00:00
Mike Blumenkrantz f8b1dbf2e3 add function for finding a gadcon client from its config
SVN revision: 74439
2012-07-26 12:41:41 +00:00
Mike Blumenkrantz 512f48014c not sure what I was thinking here, no need to repopulate a gadcon when client class is populated
SVN revision: 74438
2012-07-26 12:41:01 +00:00
Mike Blumenkrantz ec019bae91 only populate custom gadcons with the gadgets that are actually loaded in the gadcon: huge speedup
SVN revision: 74433
2012-07-26 11:05:39 +00:00
Mike Blumenkrantz c2b2d7e5ad registering a gadcon client class no longer immediately tries to populate the class; we now populate classes only when a gadget for the class is loaded to further reduce the initial loading clusterfuck
SVN revision: 74432
2012-07-26 10:34:40 +00:00
Mike Blumenkrantz aac8262b02 fix return value for e_main_ts()
SVN revision: 74431
2012-07-26 10:24:10 +00:00
Mike Blumenkrantz bb711a6526 e_main_ts() now returns the elapsed time since the last call
SVN revision: 74429
2012-07-26 09:10:51 +00:00
Mike Blumenkrantz 0f09ff1e46 change delayed module idler to idle enterer to increase responsiveness during startup
SVN revision: 74426
2012-07-26 08:38:32 +00:00
Mike Blumenkrantz de3dda2d03 back to printfs for e startup
SVN revision: 74425
2012-07-26 08:25:12 +00:00
Mike Blumenkrantz c2ad72cf6b add e_main_ts() to provide a facility for debugging time spent on certain activities in main loop
SVN revision: 74423
2012-07-26 08:21:52 +00:00
Mike Blumenkrantz a72afa83fc shave 0.2s off xsettings init with aggressive use of timers and idlers
SVN revision: 74422
2012-07-26 08:02:27 +00:00
Mike Blumenkrantz bd6e61c6c8 also no need for calloc here
SVN revision: 74418
2012-07-26 07:11:43 +00:00
Mike Blumenkrantz d3f8ffeb61 some minor optimizations for _e_font_fontconfig_name_parse() as well as realloc failure handling
SVN revision: 74417
2012-07-26 07:08:22 +00:00
Mike Blumenkrantz 7fd07d8712 formatting
SVN revision: 74416
2012-07-26 06:49:35 +00:00
Mike Blumenkrantz 325aaa82ad fix module error dialog text to make more sense
SVN revision: 74415
2012-07-26 06:47:12 +00:00
Mike Blumenkrantz 9762c491a1 use strbuf for authors list in about dialog
SVN revision: 74394
2012-07-25 14:07:57 +00:00
Mike Blumenkrantz 226d5904f2 add const
SVN revision: 74393
2012-07-25 14:07:09 +00:00
Mike Blumenkrantz 576a55f32a formatting
SVN revision: 74392
2012-07-25 14:00:21 +00:00
Mike Blumenkrantz 9f869183c2 desk (un)lock apps -> screen (un)lock apps for consistency
SVN revision: 74391
2012-07-25 13:54:49 +00:00
Mike Blumenkrantz 688eea87dd hugely improve the load times of the theme selector by staggering the preloading of all available themes with eio when the dialog loads instead of trying to load them all at once later
this should completely eliminate the previous behavior of locking e completely during load of theme list, but does NOT fix the same locking which still occurs when loading lots of file icons; some edje eio helpers are required for this :/


SVN revision: 74390
2012-07-25 12:38:56 +00:00
Christopher Michael 88151604ed E (conf_theme): Fix formatting of if statement.
SVN revision: 74389
2012-07-25 12:18:31 +00:00
Mike Blumenkrantz 64e08bee54 theme config -> advanced now uses eio
SVN revision: 74388
2012-07-25 11:58:30 +00:00
Mike Blumenkrantz 55294aab4a flesh out ilist header api with prepend and relative inserts
SVN revision: 74384
2012-07-25 10:39:16 +00:00
Mike Blumenkrantz 726fadf214 simplify some string copying in theme config
SVN revision: 74379
2012-07-25 09:42:15 +00:00
Mike Blumenkrantz f5eb595a59 fix stringshare usage in theme config
SVN revision: 74378
2012-07-25 09:20:33 +00:00
Mike Blumenkrantz cc6d298edd strcmp using freed pointers is bad, mmmmmk? xsettings ui now selects the currently used theme if it is known
SVN revision: 74377
2012-07-25 09:15:27 +00:00
Mike Blumenkrantz f45c212c42 fix stringshare usage in xsettings (wtf), ensure that config theme name, when set, is stringshared
SVN revision: 74376
2012-07-25 09:13:45 +00:00
Mike Blumenkrantz 62dc4cf2b2 add internal config entry for current netwm theme whenever we set it
SVN revision: 74375
2012-07-25 09:01:05 +00:00
Mike Blumenkrantz 6fc6bb1660 xsettings now uses eio when looping through directories
SVN revision: 74374
2012-07-25 07:48:19 +00:00
Mike Blumenkrantz d7f9ff7551 e now requires eio; this commit intentionally split from any code changes
SVN revision: 74373
2012-07-25 07:41:21 +00:00
Eric Schuele 5767b4d2ac Increase MaxAcceleration for mouse control from 10 to 30. A value of ten is still quite unusable on my VM.
SVN revision: 74361
2012-07-25 00:34:44 +00:00
Mike Blumenkrantz 904e298809 fix typebuf in efm to properly handle relative directory switching from arbitrary devices
SVN revision: 74354
2012-07-24 11:37:02 +00:00
Mike Blumenkrantz a88fbfacec fix fsel usage of e widget api
SVN revision: 74352
2012-07-24 10:00:42 +00:00
Mike Blumenkrantz feabf28230 amazingly useless new feature: fpreview widget now displays directory previews as....file manager widgets!
SVN revision: 74351
2012-07-24 09:49:49 +00:00
Mike Blumenkrantz e51cf14d4f fix amazingly subtle e widget bug which crashed e whenever a subwidget of one object was set to be the subwidget of another object
SVN revision: 74350
2012-07-24 09:46:33 +00:00
Mike Blumenkrantz a563339dd3 add prepend/repack functions for e_widget_list
SVN revision: 74347
2012-07-24 08:20:57 +00:00
Mike Blumenkrantz eee502bd24 filepreview widget seems to work okay now with >48px icons
SVN revision: 74345
2012-07-24 07:15:05 +00:00
Mike Blumenkrantz 4dc9ba50fe fix renaming files directly on the desktop canvas without a popup
ticket #117


SVN revision: 74318
2012-07-23 09:26:49 +00:00
Mike Blumenkrantz 9c86078ab5 fix evas magic failure in entry dialog from unnecessary/broken smart cb del during free
SVN revision: 74317
2012-07-23 09:20:11 +00:00
Mike Blumenkrantz 0a2c8ea044 formatting
SVN revision: 74316
2012-07-23 09:12:51 +00:00
Mike Blumenkrantz 5bb05f5864 prevent fileman typebuf from activating while renaming files
SVN revision: 74307
2012-07-23 07:58:52 +00:00
Carsten Haitzler 644a1c39f4 patch from PrinceAMD to use date+time for shot filename.
SVN revision: 74306
2012-07-23 07:18:52 +00:00
Christopher Michael 7f9afaa54e E: Remove unused variable in image_add_from_file. Add trap in case
calloc fails when trying to alloc widget_data.



SVN revision: 74301
2012-07-22 15:39:48 +00:00
Christopher Michael 184e904c64 E: Add unused to missing function.
params is unused for app_new_instance_go.



SVN revision: 74300
2012-07-22 15:37:14 +00:00
Christopher Michael 6152d0be40 E_FM: Remove unused variables and fix formatting for 80 columns.
SVN revision: 74299
2012-07-22 15:35:23 +00:00
Christopher Michael 636e6af10f E: Minor formatting fixes.
SVN revision: 74298
2012-07-22 14:49:01 +00:00
Leif Middelschulte bc5b594dda Add 'Exec new instance of focused app' action for consistent tabbing
SVN revision: 74297
2012-07-22 14:44:13 +00:00
Chidambar Zinnoury 907ea06deb e battery: don't report battery as charging when it obviously isn't.
On my laptop, when the travel (second) battery is finished discharging, its status is being reported as Unknown. As its charging rate is zero, stop pretending it's charging.


SVN revision: 74296
2012-07-22 13:39:16 +00:00
Vincent Torri 72c6b4e4a3 E17: fix race condition when copying a file
during the copy, the file can be accessed by users.
See http://cwe.mitre.org/data/definitions/689.html
So we apply the access rights after the creation of
the dest file.

Patch by Maxime Villard


SVN revision: 74284
2012-07-21 18:20:19 +00:00
Vincent Torri 6b430e4489 E17: fix typo
Patch by Maxime Villard


SVN revision: 74281
2012-07-21 18:02:07 +00:00
Vincent Torri 435a620992 check if the name has a 'file' part
SVN revision: 74266
2012-07-21 13:53:54 +00:00
Vincent Torri 4d0cfed7b9 whitespaces--
SVN revision: 74265
2012-07-21 13:51:04 +00:00
Vincent Torri 7e40b5f15a E17: symlink fixes
when copying symlinks, it creates a symlink to the
destination but with the name of the pointed file/folder.

It causes problems, ex: we can't copy two symlinks
pointing to the same file, because they will have the
same name.

Also when copying, if it's a link, we fill the destination
in the struct task, then, after we check overwrite with
_e_fm_op_handle_overwrite()

Here is a patch which corrects this.

Patch by Maxime Villard (rustyBSD), modified a bit by me (add 2 free() + formatting)


SVN revision: 74264
2012-07-21 13:48:35 +00:00
Carsten Haitzler 58be84aa8e dont look for socket file - just connect to see if eeze scanner is
ther. no need for delay as we are polling anyway to try run it every N
polls (i reduced to 8 as once it runs it no longer polls).



SVN revision: 74262
2012-07-21 09:11:39 +00:00
Mike Blumenkrantz 3476abe5a4 add strdupa/strndupa definitions for vtorri
SVN revision: 74260
2012-07-21 07:24:03 +00:00
Carsten Haitzler 7ac8b4fd31 that is bad code as rusty says - though fix it a different way.
SVN revision: 74252
2012-07-20 14:40:19 +00:00
Mike Blumenkrantz db0049e248 desklock now properly supports ctrl+a for those times when you know you mistyped your password
SVN revision: 74246
2012-07-20 13:30:58 +00:00
Mike Blumenkrantz b1a1902995 add some basic window manipulation methods to enlightenment_remote + e
ticket #201


SVN revision: 74242
2012-07-20 12:40:28 +00:00
Mike Blumenkrantz 1b8ebb097a I suppose this is a better way to ensure all the configs get properly updated, also remove the related FIXME
SVN revision: 74234
2012-07-20 10:53:33 +00:00
Mike Blumenkrantz 56ba623839 make changes to toolbar and click mode take effect immediately in existing efm windows
SVN revision: 74233
2012-07-20 10:49:08 +00:00
Mike Blumenkrantz 280cf2a008 simply return when a filemanager's config is re-set instead of crashing
SVN revision: 74231
2012-07-20 10:41:09 +00:00
Mike Blumenkrantz 11b99c6513 fileman's "Use Single Click" option now toggles a global config option which is picked up by fileselector widgets, also added a menu item to the right click efm menu to toggle this on a case-by-case basis
ticket #663


SVN revision: 74230
2012-07-20 10:25:02 +00:00
Mike Blumenkrantz c48e60963a I accidentally the whole fileman when toolbar was enabled. I am shamefaced.
SVN revision: 74229
2012-07-20 10:16:08 +00:00
Mike Blumenkrantz 2179306800 fix some cases where zone/shelf handling was wrong and would lead to shelves being shown when they shouldn't
ticket #862


SVN revision: 74225
2012-07-20 09:37:15 +00:00
Mike Blumenkrantz 53a0131428 some genius made it so that the fm widget in a fileman window would only be resized if there was a toolbar. this is now fixed, and files will once again display in efm without a toolbar
SVN revision: 74224
2012-07-20 09:04:55 +00:00
Christopher Michael e816b7b432 Formatting.
SVN revision: 74222
2012-07-20 08:58:35 +00:00
Mike Blumenkrantz a427ed3e82 add e_util_size_debug_set() to allow easier size debugging of objects in e
SVN revision: 74221
2012-07-20 08:54:14 +00:00
Mike Blumenkrantz 67db80b0bb fix efm typebuf globbing to work for trailing globs
SVN revision: 74219
2012-07-20 08:41:32 +00:00
Mike Blumenkrantz fa0e811cc8 fix tab completion and repeated typebuf navigation when using relative directories
SVN revision: 74218
2012-07-20 08:25:23 +00:00
Mike Blumenkrantz fe3f5c44e9 fix efm typebuf navigation when using relative directories instead of absolute paths, also fix tab completion
SVN revision: 74217
2012-07-20 08:15:50 +00:00
Mike Blumenkrantz f780d740ce prevent infinite looping while loading directory props in efm
SVN revision: 74214
2012-07-20 07:59:13 +00:00
Mike Blumenkrantz d199c58904 finally kill off the last of the e_icon_object_set uses;
this function was being abused in 100% of cases to do something other than the intended use of just setting an evas image into an e_icon. I've added e_icon_edje_object_set which is the edje version and will, hopefully, make things more clear and avoid confusion in the future
e_widget_image now calls the proper e_icon functions and is far less likely to trigger a magic failure


SVN revision: 74213
2012-07-20 07:52:53 +00:00
Mike Blumenkrantz 10907a3b10 set edje flag in e_icon for edje objects instead of always using strcmp to check
SVN revision: 74210
2012-07-20 07:26:16 +00:00
Mike Blumenkrantz f66e16178c in general, any time e_icon_object_set is used, it's wrong. e_icon doesn't handle these cases and fails in every case other than the initial _set() call.
SVN revision: 74209
2012-07-20 06:53:52 +00:00
Mike Blumenkrantz 3b3403b127 remove wildcard refs in efm typebuf on hide
SVN revision: 74208
2012-07-20 06:44:59 +00:00
Mike Blumenkrantz 5a42012102 more typebuf fixes for "favorites" in efm
SVN revision: 74207
2012-07-20 06:31:41 +00:00
Mike Blumenkrantz 50d1c1b5ee also prevent typebuf changes on "favorites" widgets
SVN revision: 74206
2012-07-20 06:27:27 +00:00
Carsten Haitzler 1d5f246de1 fix fm exec application remembering. :)
SVN revision: 74203
2012-07-20 04:48:59 +00:00
Carsten Haitzler 23296b46ec after figuring out why my deskotp didnt screnblank... massively
simplify blanking/dpms etc. dialogs. just 1 timert. enabled
dpms/screensaver/the workjs. no interval settable. dpms always turned
on when screensaver is. dpmb dialog now only does backlight. added
checkbox to see current presentation mode status.



SVN revision: 74201
2012-07-20 03:57:32 +00:00
Mike Blumenkrantz 3c10733774 "when I was a boy, all the file managers did glob matching with their typebufs, and they could do it uphill both ways in the snow! barefoot!"
-rasterman (18 July 2012)


SVN revision: 74190
2012-07-19 13:40:11 +00:00
Mike Blumenkrantz 75e7cf10d0 delete physics windows from hash when border is deleted
ticket #1187


SVN revision: 74189
2012-07-19 13:22:22 +00:00
Mike Blumenkrantz 0a99276b73 ensure focus is set when moving a window across zones
SVN revision: 74188
2012-07-19 13:15:33 +00:00
Mike Blumenkrantz 9872898794 fix fullscreen window moving using pager/bindings
ticket #1181


SVN revision: 74187
2012-07-19 13:13:23 +00:00
Mike Blumenkrantz c2ac400f8c ecore-x changes for shot module "because devilhorns said so"
SVN revision: 74185
2012-07-19 13:00:50 +00:00
Mike Blumenkrantz 5467c60cf6 fix window shots to work correctly all the time
SVN revision: 74183
2012-07-19 12:45:05 +00:00
Mike Blumenkrantz 1d6199f9d7 add space handling, also make enter key actually save shots
SVN revision: 74178
2012-07-19 10:31:34 +00:00
Mike Blumenkrantz 141acd2ae4 long-awaited, much-requested feature: shot module now takes shots of windows
*available from border menu
*binding action also available


SVN revision: 74177
2012-07-19 10:02:26 +00:00
Mike Blumenkrantz c11ff67cff forgot that we do data param first in callbacks...
SVN revision: 74173
2012-07-19 09:19:06 +00:00
Mike Blumenkrantz 85931fc15a add mechanism for injecting entries into border menus
SVN revision: 74172
2012-07-19 09:05:34 +00:00
Mike Blumenkrantz 224521a152 properly set and change the title of border properties depending on which properties are being viewed
SVN revision: 74171
2012-07-19 08:48:16 +00:00
Mike Blumenkrantz d28d38e068 border properties dialog now looks much nicer and doesn't take up the whole screen
SVN revision: 74170
2012-07-19 08:44:39 +00:00
Mike Blumenkrantz e979dce925 prevent focus on entry widgets in window properties dialog
SVN revision: 74169
2012-07-19 08:30:26 +00:00
Mike Blumenkrantz face60a774 use new efm widget clipper externalizer to make the overlay span both efm widgets so that longer paths would not be clipped when typing in the typebuf
SVN revision: 74167
2012-07-19 08:17:54 +00:00
Mike Blumenkrantz 7f6de8b710 add method for setting the efm widget overlay clip to an external clipper
SVN revision: 74164
2012-07-19 08:16:42 +00:00
Gustavo Sverzut Barbieri d4a047f967 enlightenment welcomes elementary.
Now it's possible to do elm_win_add() from your e_modules and use all
elementary features instead of painful e_widgets.

We should consider this experimental, but after e17 is out we should
start to convert dialogs and such to elementary, eventually
deprecating e_widgets and the theme duplication.

NOTE: requires r74156 with elementary patch.

I'll send an email to the list with a simple patch to skel module to
demo this.



SVN revision: 74157
2012-07-19 04:39:25 +00:00
Mike Blumenkrantz c232ceb5b0 fix window remembers dialog to display current (correct) remember settings instead of making up random values
ticket #808


SVN revision: 74074
2012-07-18 14:11:43 +00:00
Mike Blumenkrantz 6a3fd97047 basic border remember mode defines are now actually the modes that they represent; no functional changes
SVN revision: 74071
2012-07-18 13:44:58 +00:00
Mike Blumenkrantz 3fc103e155 also raise+focus border selection dialog if already present
SVN revision: 74070
2012-07-18 13:25:38 +00:00
Mike Blumenkrantz 3818e258f3 when a locks/remembers setting window is already open, raise+focus it when trying to open the dialog again instead of doing nothing
SVN revision: 74068
2012-07-18 13:21:53 +00:00
Mike Blumenkrantz a8a90dda49 formatting
SVN revision: 74067
2012-07-18 13:02:43 +00:00