Commit Graph

4418 Commits

Author SHA1 Message Date
Jonathan Atton 06e0157912 revert relative and use_relative
SVN revision: 39050
2009-02-16 22:32:34 +00:00
Gustavo Sverzut Barbieri ca8587a631 Oops, fix some bugs introduced with past commits.
SVN revision: 39032
2009-02-16 00:28:51 +00:00
Gustavo Sverzut Barbieri 815441ef2e e_fm: remember directory settings.
e_fm2_custom_file now remembers directory settings, it will save 
position on screen (horizontal and vertical pan percentage), view mode, 
icon size, if to remember ordering and if it should show hidden files.

There is a menu option to remove these settings and inherit settings 
from parent.



SVN revision: 39031
2009-02-15 23:09:09 +00:00
Gustavo Sverzut Barbieri b6e158989f Remove some warnings I introduced with past commits.
SVN revision: 39029
2009-02-15 17:06:49 +00:00
Gustavo Sverzut Barbieri df17ed3ca2 Minor refactor of interfaces, split code and menu callbacks.
Let's make real code interfaces to take a single Evas_Object and menu 
items callbacks should call them.



SVN revision: 39028
2009-02-15 15:25:27 +00:00
Gustavo Sverzut Barbieri 73ed3f89b3 keyboard shortcuts: ^X, ^C and ^V now works.
http://trac.enlightenment.org/e/wiki/Release



SVN revision: 39027
2009-02-15 14:50:30 +00:00
Gustavo Sverzut Barbieri 68461812b1 DONE: fm2 "delete" key needs to... delete.
http://trac.enlightenment.org/e/wiki/Release



SVN revision: 39026
2009-02-15 14:31:09 +00:00
Viktor Kojouharov 6866042369 exec priority configuration
SVN revision: 38952
2009-02-05 13:32:24 +00:00
Carsten Haitzler a03639d55f battery config.... better!
SVN revision: 38920
2009-02-03 12:45:38 +00:00
Carsten Haitzler ca0d7dfcfc profile config now offers reset and is spruiced up to be like the wizard one
supportign the profile.desktop descriptions and icons.



SVN revision: 38872
2009-02-01 01:32:09 +00:00
Carsten Haitzler c1b68e32b2 by popular request - reboot.
SVN revision: 38868
2009-01-31 23:57:32 +00:00
Carsten Haitzler 7576e5a311 move ilist widget filling to a idler... defers a chunk of work to idle time
over a period of time keeping e interactive and usable.



SVN revision: 38836
2009-01-29 06:29:36 +00:00
Gustavo Sverzut Barbieri 740a12d498 Fix by Luis Felipe, Clang errors.
SVN revision: 38816
2009-01-27 17:57:49 +00:00
Massimo Maiurana de865bea3a this way modules categories are really translated
SVN revision: 38763
2009-01-24 21:53:51 +00:00
Massimo Maiurana 57180ee9ac adding some strings to i18n and updating it.po and de.po
SVN revision: 38761
2009-01-24 18:47:07 +00:00
Hannes Janetzek 887264eed4 added e_gadcon_locked_set: with this gadgets can lock the gadcon from
vanishing, like with e_shelf_locked_set. gadcon providers set their own lock 
function with e_gadcon_util_lock_func_set, which is called by 
e_gadcon_locked_set.


SVN revision: 38759
2009-01-24 14:09:37 +00:00
Carsten Haitzler 145fc680ff shorten system action text - simpler. also fix actiosn to be system.
SVN revision: 38698
2009-01-22 20:54:26 +00:00
Carsten Haitzler fd8cb46a11 syscon -> labels!
SVN revision: 38695
2009-01-22 05:41:33 +00:00
Carsten Haitzler a65708abbd clean up wiz
SVN revision: 38694
2009-01-22 04:42:16 +00:00
Gustavo Sverzut Barbieri 1bfaf61168 Re-break gadcon so everything works correctly.
according to raster e_gadcon_canvas_zone_geometry_get() was supposed
to return zone-relative coordinates, but it was implemented
incorrectly and everything now depends on absolute coordinates, so
let's keep it absolute.



SVN revision: 38589
2009-01-15 01:02:32 +00:00
handyande 61801ee22d Fixup compile / link errors with OSX, still having a small issue with the batter module linking, but getting there
SVN revision: 38570
2009-01-13 16:30:37 +00:00
Gustavo Sverzut Barbieri 78c70d7f94 fix sting bugs with e_fm and fileman.
* simplify eina_stringshare usage with _eina_stringshare_replace();
 * do not modify the string in stringshare as in e_fm2_parent_go();
 * use custom_theme_content instead of custom_theme in e_fm2_custom_theme_content_set().

Hopefully this will break nothing, but further analysis if it's
leaking strings in the stringshare should be done.



SVN revision: 38559
2009-01-12 19:52:35 +00:00
Gustavo Sverzut Barbieri f3c5819ff3 gadcon: fix bugs reported by llvm clang static analyser.
Some cases like not having o_base and o_frame are impossible, but I
added the cheap "else return;" just to keep it quiet. But some cases
were really bugs and were fixed.



SVN revision: 38556
2009-01-12 18:31:49 +00:00
Gustavo Sverzut Barbieri b776893961 Remove useless check, flag functions as not receiving NULL.
Caught by CLang, these functions will never receive NULL, so no point
in testing that.



SVN revision: 38555
2009-01-12 17:40:09 +00:00
Gustavo Sverzut Barbieri 9dc52497b2 oops, just lock shelf if configured to do so.
SVN revision: 38535
2009-01-10 14:17:42 +00:00
Gustavo Sverzut Barbieri 4ae928cf1a gadcon popup should lock shelf.
It's nasty to have shelf auto-hided when you have a popup like mixer
or battery warning, so gadcon popups will now lock shelf while they're
visible.

Developers can go back to old behaviour setting the appropriate flag
with e_gadcon_popup_shelf_lock_set().



SVN revision: 38530
2009-01-10 07:35:53 +00:00
Gustavo Sverzut Barbieri af9c9c7df0 e_shelf: lock whenever its menu is active.
Anytime shelf appends its submenu, it will lock shelf so it's not
hidden automatically. Unlock happens as soon as the menu item is
deleted.



SVN revision: 38529
2009-01-10 07:09:45 +00:00
Gustavo Sverzut Barbieri 05402668aa e_menu: recursively delete children menus.
e_menu had this behaviour that submenus were not deleted
automatically, relying on the parent menu to hook to post_deactivate
and then delete them.

This was good because maybe you don't want to delete these children,
you might want to reuse them sometime.

But it ended that nobody was using this feature, and worse: most use
cases were failing to delete these children, causing memory leak.

This commit changes the default behaviour and thus remove all the
existing code that was replicating such work. If one want the old
behavior, just call e_menu_item_submenu_set(mi, NULL) and it will be
unbounded from the parent.

If you experience any problems with that, try adding some printf()
before _e_menu_free() and _e_menu_item_free() and print some relevant
information like m->category and m->header.title or mi->label in order
to figure out the problematic menu.



SVN revision: 38528
2009-01-10 07:02:32 +00:00
Gustavo Sverzut Barbieri 6ff4dd8387 Action to show shelf.
It's so annoying have to move mouse to screen border in order to show
shelfs. This way we can do a key bindings to do so.

One can use glob (uses fnmatch) to limit shelves by name.


SVN revision: 38527
2009-01-10 04:20:06 +00:00
Cedric BAIL f40d7a1047 Early init eina, should fix #114.
SVN revision: 38500
2009-01-08 10:58:55 +00:00
rephorm 1d5e47c995 Allow immediate saving when creating a new icon and don't delete the image file when hitting OK.
SVN revision: 38486
2009-01-07 02:41:20 +00:00
Carsten Haitzler 6beedeeda2 only use evdir.. if its there.
SVN revision: 38478
2009-01-06 07:55:03 +00:00
Carsten Haitzler 32f6b5c391 this apparently fixes some fullscreen maximising issues
SVN revision: 38461
2009-01-05 13:07:19 +00:00
Carsten Haitzler 602727dd8e allow check widget to have a file path for icon.
SVN revision: 38460
2009-01-05 12:55:19 +00:00
Carsten Haitzler 5a86551e76 fix things that broke after utils moved to lib/e/subdir
SVN revision: 38418
2009-01-02 11:19:06 +00:00
Carsten Haitzler 0c41ae041e move internal binaries to subdir - patch from albin
SVN revision: 38414
2009-01-02 01:08:14 +00:00
Cedric BAIL d068510da3 Remove warning generated when requesting data from hash without key.
SVN revision: 38347
2008-12-29 12:40:49 +00:00
Cedric BAIL 5a75b84524 Calling e_object_del will make an attempt to remove object from actions
hash. So do it later.


SVN revision: 38189
2008-12-17 16:36:12 +00:00
Cedric BAIL c15693083e Remove __UNUSED__ as it doesn't make sense here.
SVN revision: 38188
2008-12-17 16:17:08 +00:00
Cedric BAIL be8de8a554 Create the hash anyway as we are about to add something to it. This will remove
some warning about eina_hash_population on NULL hash.


SVN revision: 38187
2008-12-17 16:14:10 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Carsten Haitzler 580e7b68c9 avoid o_box being null by creating early.
SVN revision: 38081
2008-12-10 10:48:42 +00:00
Carsten Haitzler c39847eb5e fix double-manage of windows on start!
SVN revision: 38040
2008-12-09 05:16:52 +00:00
Gustavo Sverzut Barbieri ebcb9f85a7 build infra improvements.
* configure.ac:
   - require C99 compiler;
   - disable F77 and CXX checks;
   - per-binary (program) flags, reduce linkage;
   - every module can be optionally compiled;
 * src/bin:
   - Makefile.am: per-binary libs, reduce linkage;
   - just add LIBS to LDADD and LIBADD, not LDFLAGS!
   - e_sys_main.c: rewrite using proper eina, avoid linking with evas.
 * src/modules:
   - just add LIBS to LDADD and LIBADD, not LDFLAGS!
   - every module can be optionally compiled;



SVN revision: 38009
2008-12-08 01:39:33 +00:00
Carsten Haitzler 81c91f034a char is used for numeric values... thus should be explicitly signed!
SVN revision: 37991
2008-12-07 21:57:11 +00:00
Gustavo Sverzut Barbieri 1d214683a9 e_fm2: view mode is back!
As I suspected it was not error on my code. At the end it was just a
missing theme.

For now I just aliased default to desktop, but I guess it's better to
come with something else transparent so we can see our
wallpaper. Themers?!

PS: for Illume I think it makes sense to have that menu, but for
desktop it does not, maybe we should add more flags to turn off just
view mode selection and keep icon size? Or just turn off lists... or
just let the user choose, there are many strange users out there, one
might like it.



SVN revision: 37983
2008-12-07 13:53:25 +00:00
Carsten Haitzler f4afa96251 gtk and qt have bizarrely wrong logic. for every configure request they
EXPECT a configurenotify to match. this is wrong. wm's are free to ignore
configurerequests if they liek - and dont have to thus send
configurenotifies...



SVN revision: 37922
2008-12-04 10:07:16 +00:00
Viktor Kojouharov c35a5edffd one too many breaks
SVN revision: 37917
2008-12-03 22:21:17 +00:00
Carsten Haitzler 99be358466 mark it with a comment
SVN revision: 37900
2008-12-02 03:46:50 +00:00
Carsten Haitzler c42fa8aa76 unfortunately disable.. breaks! need to find exactly why and fix though...
SVN revision: 37897
2008-12-02 02:29:50 +00:00
Gustavo Sverzut Barbieri 4ee50ae10c Dynamic change of icon size in EFM.
Still not persistent.


SVN revision: 37875
2008-12-01 04:38:27 +00:00
Gustavo Sverzut Barbieri ff06c79462 Enable changing view mode for a single directory.
So far no icon size changes, just mode between Grid Icons, Custom
Icons and List, one can choose to go back to default (global) setting.

TODO:
 - select icon size when !list
 - save state using e_fm_custom
 - child directory should inherit parent settings



SVN revision: 37873
2008-12-01 03:29:45 +00:00
Gustavo Sverzut Barbieri 365ac21772 Oops, compare just prefix!
SVN revision: 37864
2008-11-30 05:49:52 +00:00
Gustavo Sverzut Barbieri 7e1caa6740 enlightenment_fm_open to open directories from command line.
This command line tool will make it easier to open directories from
command line, instead of calling
   enlightenment_remote -exec-action fileman "PATH"

It has the advantage of being much simpler and smaller and also
resolving the realpath for you.

If there is no such action "fileman" (ie: module is not loaded), then
it will return failure. To implement this I had to change the
-exec-action so it returns a boolean (it will report that value with
enlightenment_remote as well).




SVN revision: 37861
2008-11-30 02:12:52 +00:00
Christopher Michael 8010e152c1 If syscon module is not loaded (since it's broken right now), then we don't
need an additional separator at the bottom of the menu.



SVN revision: 37858
2008-11-29 18:47:29 +00:00
Gustavo Sverzut Barbieri d141f3e0d4 add const to char* of enlightenment_remote.
not that important, but should send more stuff to read-only section of elf.



SVN revision: 37846
2008-11-28 22:02:42 +00:00
Chidambar Zinnoury 4d2001bed6 While selecting using rubberband on file manager, select also when text is contained, not only icon.
SVN revision: 37844
2008-11-28 21:06:28 +00:00
Chidambar Zinnoury 884b9821ae Add e_exehist_del, that permits to remove an element from saved history.
SVN revision: 37828
2008-11-27 19:05:59 +00:00
Carsten Haitzler 16b2dc8697 make extra syscon actions able to be disabled.
illume disables its extra syscon actiosn when they are not appropriate
fix next/prev window list buttons to really keep a logical order going
correctly.



SVN revision: 37813
2008-11-27 01:50:00 +00:00
Carsten Haitzler 6cf459572f make extra actions work. use them from illume.
SVN revision: 37811
2008-11-26 12:54:23 +00:00
Carsten Haitzler 3c66ab8d7a fix config upgrade for syscon.
SVN revision: 37807
2008-11-25 23:43:00 +00:00
Carsten Haitzler 5a29e1f6b5 syscon module added - provides a system entry in main menu (build in one gone
now). syscon has a poup with buttons (configurale) that offer all the
logout/reboot etc. stuff. also able to extend with more items or inline them
into the theme too.

not complete. need config for being able to extend the syscon popup (and use
it) and no gui config for configuring what should appear and how it should
look. possibly theme should have custon elements for the ones curently using
button + icon look. also no keyboard control.



SVN revision: 37797
2008-11-25 08:05:58 +00:00
Chidambar Zinnoury b2e3737024 Add support for home and end keys to toolbar widget.
SVN revision: 37791
2008-11-24 20:59:59 +00:00
Viktor Kojouharov 8087cda39d E_EVENT_POWERSAVE_UPDATE for the masses
cpufreq auto-changes the governor depending on the powersave mode


SVN revision: 37788
2008-11-24 08:32:34 +00:00
Christopher Michael 74841f4441 Formatting fixes. Still a lot more here to fix :(
SVN revision: 37753
2008-11-22 21:39:35 +00:00
Nicholas Hughart 5355946552 Fix a bug that was deleting a directory when you moved it into itself.
SVN revision: 37743
2008-11-22 08:48:36 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Christopher Michael 2abed1f91d Formatting & Whitespace removal.
SVN revision: 37731
2008-11-21 20:14:30 +00:00
Carsten Haitzler 620a5f8989 auto-resize windows up from min size to 1/3rd of screen.
SVN revision: 37729
2008-11-21 13:40:56 +00:00
Chidambar Zinnoury f2c1a4806f Detect which direction to scroll the scrollframe when using mouse wheels according to the wheel being used and available scrollbars.
Add some unused flags for parameters.


SVN revision: 37724
2008-11-21 06:05:51 +00:00
Nicholas Hughart 6dd2364494 A little shuffling around and ilist is a bit nicer with thumbscroll. If I broke it at all, let me know. I believe I tested everything though.
SVN revision: 37723
2008-11-21 05:36:08 +00:00
Carsten Haitzler 5f36b417b2 add Sans font test.
SVN revision: 37722
2008-11-21 04:35:26 +00:00
Carsten Haitzler 5b50a2b89e * shortening config category titles.
* remove illume custom config dialog - use normal one
* add toolbar used in config dialog. will be used for more. makes ui more
  compact and flexible.
* make dialog windows optionally ALWAYS be "normal windows".
* config module exports a config gadget now - illume doesnt need it anymore



SVN revision: 37721
2008-11-21 03:59:30 +00:00
Carsten Haitzler f8fc0ae092 change default engine for illume.
make config tke defaults from config FILES (system copies of your profile, or
"standard")



SVN revision: 37717
2008-11-20 09:01:23 +00:00
Viktor Kojouharov 529b2ec37e this api doc seems to have been misplaced
SVN revision: 37679
2008-11-16 20:35:25 +00:00
Chidambar Zinnoury 773ebeaca6 Seggie-- when trying to remove a non-existant task (eg. when mounting, no task is created).
SVN revision: 37670
2008-11-16 11:53:02 +00:00
Christopher Michael 25102ccbcb Fix lots of nasty formatting problems & remove whitespace.
SVN revision: 37667
2008-11-15 19:44:31 +00:00
Carsten Haitzler 224d32e1ae disable feeds in popup - its the same window! how did this all of a sudden
start happening now?.... hmmmm..



SVN revision: 37649
2008-11-15 05:12:31 +00:00
Carsten Haitzler f35d682414 leak--!
SVN revision: 37645
2008-11-15 01:26:20 +00:00
Carsten Haitzler e36e5ade27 fix restart! mouse bindings broken! manage windows and use config before
config loaded!



SVN revision: 37619
2008-11-14 10:53:03 +00:00
Carsten Haitzler a76420657d patches - see mail.
SVN revision: 37618
2008-11-14 10:22:57 +00:00
Gustavo Sverzut Barbieri caa4973a89 powersave todo: reduce timer precision.
SVN revision: 37613
2008-11-13 21:32:05 +00:00
Davide Andreoli aa81eeee74 * Forgot a file in a previous commit, sorry for the inconvenience :(
SVN revision: 37612
2008-11-13 21:09:15 +00:00
Gustavo Sverzut Barbieri 2fa4afd3a1 desklock start locked.
Command line and configuration option to have Enlightenment to start
with desklock, so we can avoid a login manager and still be safe, but
everything will be loaded and you get a better user experience.



SVN revision: 37605
2008-11-13 20:39:13 +00:00
Davide Andreoli 1a5b14aa48 * Now gadman place the gadget when E say so, and not only on startup.
SVN revision: 37594
2008-11-12 01:14:18 +00:00
Davide Andreoli fa648a9e48 * make E aware of the existance of gadman as a gadcon. This solve some module load/unload issues
SVN revision: 37575
2008-11-10 15:47:25 +00:00
Chidambar Zinnoury 81ee6c4da7 Reorganise config list elements more logically.
SVN revision: 37568
2008-11-09 18:23:20 +00:00
Davide Andreoli 2699ee7a4c * Add in the gadman right-click menu the ability to choose the orientation of the gadget
* Fix Ibar to handle new orient param

SVN revision: 37464
2008-11-05 03:12:45 +00:00
ptomaine 75af5ecbe7 EFM: Make use of eina_stringshare_ref().
SVN revision: 37460
2008-11-04 17:12:01 +00:00
Gustavo Sverzut Barbieri 2d0f06ef7f Add and use eina_stringshare_ref().
This is a faster "add", if we know we're using a shared string we know
the node without any need to search it, just increment reference and
exit.



SVN revision: 37458
2008-11-04 16:25:12 +00:00
ptomaine 1c58b0e196 EFM: Make a copy of the dev argument, since eina_stringshare_del is called on
ic->sd->dev inside e_fm2_path_set() before anything is done and, thus, pointer
is no more valid.


SVN revision: 37457
2008-11-04 15:54:38 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +00:00
Chidambar Zinnoury 3ec28b3664 Make DnD work when shelf is set to be on the desktop (below everything).
SVN revision: 37445
2008-11-03 21:47:32 +00:00
Carsten Haitzler 17ff6255a1 thomas fix for single click dirs
SVN revision: 37436
2008-11-03 08:56:16 +00:00
Carsten Haitzler 7c13349808 make e_start run dbus-launch - if that fails, fall back.
SVN revision: 37433
2008-11-03 07:34:44 +00:00
Carsten Haitzler e9b740c27d use the loop_time - better synced anim timepoints and less overhead on
gettimeofday :)



SVN revision: 37393
2008-11-02 02:36:10 +00:00
Carsten Haitzler 6dc63105c8 use priority set call
SVN revision: 37390
2008-11-02 01:29:15 +00:00
Carsten Haitzler 098b1c50bf add next/prev app buttons, fix slipwin to expand all the way and have window
icons. remvoe junk code too.



SVN revision: 37352
2008-10-31 06:31:42 +00:00
Carsten Haitzler 6e69d89c40 try and make intl more forgiving of encoding-free locales (assume encoding
works?)



SVN revision: 37272
2008-10-28 13:32:21 +00:00
Carsten Haitzler e5b58cdf3a profide a fso icon override for hdd's to use theme icon and code to use it.
SVN revision: 37266
2008-10-28 07:48:16 +00:00