Commit Graph

5390 Commits

Author SHA1 Message Date
Mike Blumenkrantz 625de7ceed fix unused warnings
SVN revision: 55867
2011-01-05 05:49:49 +00:00
Mike Blumenkrantz 2b140621a8 and lo, there was udisks mounting support. maybe.
SVN revision: 55865
2011-01-05 05:46:33 +00:00
Mike Blumenkrantz 71a495e686 whoops, forgot to include headers for udisks/eeze
SVN revision: 55864
2011-01-05 05:46:07 +00:00
Mike Blumenkrantz c554a3740d add enum for operation type to volumes
SVN revision: 55863
2011-01-05 05:44:29 +00:00
Mike Blumenkrantz 6221397e99 fix annoying comparison is always true warning
SVN revision: 55862
2011-01-05 05:39:30 +00:00
Mike Blumenkrantz 080f88407c fix control reaches end of non-void function warnings as requested by errorfindinghorns
SVN revision: 55860
2011-01-05 04:35:19 +00:00
Carsten Haitzler d9184e351d on free of list.. set list ptr to null tnx. :)
SVN revision: 55859
2011-01-05 03:14:34 +00:00
Mike Blumenkrantz 86b8db565c add some type detections for upcoming udisks/eeze support
SVN revision: 55857
2011-01-04 22:02:53 +00:00
Mike Blumenkrantz 0041b7d1ef ecrustified for formatting
SVN revision: 55856
2011-01-04 20:19:04 +00:00
Lucas De Marchi 546f8d20c3 Fix exit values
Exit status is a value between 0 and 255.



SVN revision: 55846
2011-01-04 15:29:50 +00:00
Mike Blumenkrantz 7bae8bd89b move e_fm_main_dbus*->e_fm_main_hal* again (I know I'm hilarious with my constant name changes)
implement hooks for udisks/eeze mount code to grab later
enlightenment_fm doesn't take any args, so error if any are specified
current priority is hal->udisks->eeze for mounting (only hal is implemented/enabled at present)


SVN revision: 55836
2011-01-04 02:17:40 +00:00
Mike Blumenkrantz c6b9ec3408 okay, this should work a bit better as a generated header now
SVN revision: 55835
2011-01-04 02:13:18 +00:00
Mike Blumenkrantz 1d16b37f4e correctly init e_hal here only when it is used as the device backend
SVN revision: 55834
2011-01-04 02:11:41 +00:00
Carsten Haitzler bbd14d2d3a try and avoid a segv if info is null on ret.
SVN revision: 55828
2011-01-03 15:49:51 +00:00
Carsten Haitzler ab3e4d2f1b dont access null cf in gcc.
SVN revision: 55827
2011-01-03 15:37:49 +00:00
Carsten Haitzler 51a5581c2e and actually complain when mv's fail too - and abort writes.
SVN revision: 55812
2011-01-03 04:52:48 +00:00
Carsten Haitzler 9dd44d1c6c more comments.
SVN revision: 55811
2011-01-03 04:44:29 +00:00
Carsten Haitzler 5afba4ed16 and disable other engines in choices. software only one left.
SVN revision: 55810
2011-01-03 04:41:57 +00:00
Carsten Haitzler 6b58638772 actually handle errors on all mv's of old config revs
SVN revision: 55809
2011-01-03 04:41:05 +00:00
Carsten Haitzler 7cf01e8430 why did you turn off config versioning devilhorns? back on!
SVN revision: 55808
2011-01-03 04:33:31 +00:00
Carsten Haitzler 098e678825 well well - e wasnt handling all of eet's errors. fixed. at least it's
picking up my permission denined error now.



SVN revision: 55807
2011-01-03 04:28:53 +00:00
Mike Blumenkrantz 6e9e8a38d5 simplify a couple stringshare instances
SVN revision: 55804
2011-01-03 01:54:01 +00:00
Mike Blumenkrantz e4759bdb05 ecrustified for formatting
SVN revision: 55803
2011-01-03 01:49:41 +00:00
Mike Blumenkrantz 4b3d9644d0 add autogeneration to e_fm disk types header along with autoconf macros to allow installation of eeze-specific efm header
this change is essentially cosmetic for now


SVN revision: 55801
2011-01-03 01:24:15 +00:00
Christopher Michael 645ad54f55 Add traps in toolbar widget to make sure obj & wd are valid.
Add traps in e_fwin to make sure we have a toolbar before trying to
operate on it.



SVN revision: 55792
2011-01-01 15:51:09 +00:00
Christopher Michael 71d8f97aff Add some missing checks to make sure Gadcon Container and Gadcon
Clients are valid before we try using them.



SVN revision: 55789
2010-12-31 16:51:25 +00:00
Peter van de Werken 565303e0f3 Modified patch.
From: Peter van de Werken <pwerken-e@a-eskwadraat.nl>
Only add a separator if there is something to separate.



SVN revision: 55780
2010-12-30 13:44:39 +00:00
Sebastian Dransfeld 20c9e5113a access is a global name
SVN revision: 55775
2010-12-29 19:49:05 +00:00
Sebastian Dransfeld c662c53827 realpath is a global name
SVN revision: 55774
2010-12-29 19:48:47 +00:00
Sebastian Dransfeld 5d1a946cd8 since we do strlen, no need to strcpy
SVN revision: 55773
2010-12-29 19:48:34 +00:00
Sebastian Dransfeld 48bb9f207f fix signed warning
SVN revision: 55772
2010-12-29 19:48:15 +00:00
Christopher Michael 030d286d24 Only call ecore_file_file_get once.
SVN revision: 55770
2010-12-29 16:48:23 +00:00
Christopher Michael 27819e0780 Add missing UNUSED where needed.
SVN revision: 55769
2010-12-29 16:42:46 +00:00
Miculcy Brian 31a2c96319 did broke e restart, now should work again... :)
SVN revision: 55768
2010-12-28 22:17:51 +00:00
Miculcy Brian b4f46bc259 make --help work correctly again
SVN revision: 55764
2010-12-27 20:59:14 +00:00
Lucas De Marchi c77ad75e83 Fix desklock
Revert r55711!

discomfitor: SPANK! SPANK! SPANK!



SVN revision: 55762
2010-12-27 16:17:12 +00:00
Mike Blumenkrantz fcfdf2a6f6 apparently this was too hard to read for k-s ;)
SVN revision: 55742
2010-12-23 18:06:43 +00:00
Mike Blumenkrantz 74782f2e5c fix explicit check to actually be the correct one, and use type instead of variable for sizeof
SVN revision: 55741
2010-12-23 17:50:48 +00:00
Mike Blumenkrantz e2af5fd862 I am super tired this morning :/
SVN revision: 55740
2010-12-23 17:33:16 +00:00
Mike Blumenkrantz 7da2c81f01 fix sizeof use, thanks to kim woelders
SVN revision: 55739
2010-12-23 16:47:05 +00:00
Mike Blumenkrantz 2e4b8b9901 add explicit null check (for hahas?)
SVN revision: 55728
2010-12-23 00:41:19 +00:00
Mike Blumenkrantz 2e647df117 make this more portable in case the number of states changes in the future, also outdent and make function params more explicit
SVN revision: 55727
2010-12-23 00:36:53 +00:00
Mike Blumenkrantz e82e4a3f2b again with the tabs!!!!
SVN revision: 55726
2010-12-23 00:28:49 +00:00
Mike Blumenkrantz d3bcd46f2b avoid garbage deref
SVN revision: 55725
2010-12-23 00:24:16 +00:00
Mike Blumenkrantz d9f8fbefd4 avoid using garbage values for z{x,y,w,h}; FIXME!!!
SVN revision: 55724
2010-12-22 23:36:46 +00:00
Mike Blumenkrantz a8f324517f I don't even know what to say about the formatting in this file except that it was terrible. ecrustified.
SVN revision: 55723
2010-12-22 23:32:42 +00:00
Mike Blumenkrantz ecf3a65a09 move if{} block into another if{} block to avoid null deref
SVN revision: 55715
2010-12-22 23:05:47 +00:00
Mike Blumenkrantz 633de9d48d avoid null deref
SVN revision: 55714
2010-12-22 23:05:14 +00:00
Mike Blumenkrantz 5ec802d8ba again with the tabs! ecrustified!
SVN revision: 55713
2010-12-22 23:02:00 +00:00
Mike Blumenkrantz bd9200c460 avoid two null derefs
SVN revision: 55712
2010-12-22 22:55:55 +00:00
Mike Blumenkrantz f97f4f5d60 avoid null deref
SVN revision: 55711
2010-12-22 22:54:22 +00:00
Mike Blumenkrantz 7f55007159 avoid null deref
SVN revision: 55710
2010-12-22 22:53:30 +00:00
Mike Blumenkrantz aa202802e4 just set to 0 instead of subtracting to 0
SVN revision: 55703
2010-12-22 22:39:53 +00:00
Mike Blumenkrantz 76b1e1805f someone is using an editor that has tabs. stop it.
ecrustified.


SVN revision: 55702
2010-12-22 22:36:13 +00:00
Mike Blumenkrantz d795ae2e34 hooray idempotence! no wait, not hooray.
SVN revision: 55699
2010-12-22 22:26:53 +00:00
Sebastian Dransfeld 2ca0ca709a prevent recursive deletion
SVN revision: 55689
2010-12-21 09:42:31 +00:00
Sebastian Dransfeld 394e0868fa copy theme to user dir
SVN revision: 55688
2010-12-21 09:42:19 +00:00
Sebastian Dransfeld e9bfb04e12 copy backgrounds to e dir
SVN revision: 55686
2010-12-21 09:26:43 +00:00
Sebastian Dransfeld 4d602b28e9 Listen for icon theme changes
SVN revision: 55683
2010-12-21 08:42:30 +00:00
Mike Blumenkrantz fc220557e7 comment out annoying debug printf
SVN revision: 55513
2010-12-12 15:39:41 +00:00
Sebastian Dransfeld 79534e3bdb free right event handlers
SVN revision: 55402
2010-12-09 09:18:58 +00:00
Christopher Michael 1ebb13c4a8 Adjust min sizes of ilist and textblock so that Modules dialog fits
nicely into 240x320 (without these changes, the toolbar is partially
obscured by illume indicator).



SVN revision: 55132
2010-12-02 08:05:52 +00:00
Miculcy Brian aee4aff7dc Fix geometry for maximized windows when using shelfs on specified desktops.
SVN revision: 55081
2010-11-30 11:10:22 +00:00
Carsten Haitzler 1943305019 ok - always kepe black win. need for illume. just make 1x1 when not
used.



SVN revision: 55078
2010-11-30 09:21:23 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Gustavo Sverzut Barbieri c5642870c3 do not abuse _init(), provide _update() method instead.
SVN revision: 54794
2010-11-22 15:21:24 +00:00
Gustavo Sverzut Barbieri d374b7ccb8 utility to query for fullscreen in current/all zones.
keeping local count of borders is too error prone, instead query
it. Right now the count is being done for the current zone only, I
guess this is the best policy.



SVN revision: 54793
2010-11-22 15:21:17 +00:00
Gustavo Sverzut Barbieri 07f4fc0cd3 desklock_init() should be called only once, poller does the job.
SVN revision: 54792
2010-11-22 15:21:06 +00:00
Carsten Haitzler d484062996 1. only make zone black win+canvas if/when needed (btw - can still do
better and only create what is needed to surround the fullscreen
window if it cant be fullscren and needs a black border).
2. set bg color of root to black - e has its own bg anyway.



SVN revision: 54748
2010-11-20 16:18:58 +00:00
Christopher Michael 4b7b3742c8 Remove 'declared' function that was never defined.
SVN revision: 54558
2010-11-15 06:15:42 +00:00
Mike Blumenkrantz f80e5cee0b null pointer to fix resolution switching crash
SVN revision: 54526
2010-11-12 23:59:35 +00:00
Sebastian Dransfeld 32a8f5160d Fix dnd working with reference coords.
SVN revision: 54383
2010-11-09 21:14:38 +00:00
Sebastian Dransfeld 0bae6927e5 After drop, we are no longer entered
SVN revision: 54382
2010-11-09 21:14:19 +00:00
Sebastian Dransfeld 139507ef51 event coords shoudl be reference coords
The receivers work in reference coords, so normalizing on the drop
handler is meaningless.

SVN revision: 54381
2010-11-09 21:13:56 +00:00
Sebastian Dransfeld 3d1a299e06 Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Sebastian Dransfeld 2a048b5005 gadcon helper functions
SVN revision: 54348
2010-11-08 20:11:45 +00:00
Sebastian Dransfeld af68b736a2 Don't override the drop handlers area
SVN revision: 54327
2010-11-08 14:05:19 +00:00
Sebastian Dransfeld 8f1e82d9f9 TODO++
SVN revision: 54326
2010-11-08 14:05:08 +00:00
Sebastian Dransfeld 0e4e3b9e22 o_frame is the complete area for gadcon
SVN revision: 54324
2010-11-08 12:46:37 +00:00
Sebastian Dransfeld c5e189ecbd Remove pointless cache
SVN revision: 54321
2010-11-08 09:04:59 +00:00
Sebastian Dransfeld f0afd63652 We might loose move/resize ref
Keep a local ref and be sure that we keep our object

SVN revision: 54275
2010-11-07 12:34:40 +00:00
Sebastian Dransfeld 3678c820b9 Really cancel move/resize
SVN revision: 54274
2010-11-07 12:34:29 +00:00
Sebastian Dransfeld 48e98291bd Only focus parent if on current desk
SVN revision: 54273
2010-11-07 11:05:04 +00:00
Sebastian Dransfeld b4f9160c09 Remove duplicate code
We always hide border before border del, so we shouldn't be focused here

SVN revision: 54272
2010-11-07 11:04:53 +00:00
Sebastian Dransfeld c12fafe377 Cleanup revert focus
SVN revision: 54271
2010-11-07 08:21:14 +00:00
Sebastian Dransfeld b047d83d7a Set focus when we delete the border
_e_border_cb_window_hide is not necessary called in the right order for
internal windows

Fixes #485 part 1

SVN revision: 54244
2010-11-06 19:35:35 +00:00
Sebastian Dransfeld 7867b41c98 Don't allow NULL id
This fixes #567

SVN revision: 54243
2010-11-06 18:13:57 +00:00
Sebastian Dransfeld ea2d3ab0eb Cleanup icon up handling
It seems that originally the "selected" event wasn't to be fired on dirs
during single click. This makes it impossible for fwin to open a new
window when single clicking a dir, so some ugly hacks has been added.
"The right fix (tm)" is to always emit "selected", even on dirs, and let
the listener decide what to do with the file.

SVN revision: 54229
2010-11-06 15:15:21 +00:00
Sebastian Dransfeld 889876d851 Only call "selected" on dirs
This fixes bug #593

SVN revision: 54228
2010-11-06 14:44:37 +00:00
Sebastian Dransfeld 552a0ad0f2 use new fdo e_icon
SVN revision: 54195
2010-11-05 18:54:56 +00:00
Sebastian Dransfeld 70059bc37e Make sure we have a _xdnd object
If someone sends us a drop even though we didn't accept it, this will
segv.

SVN revision: 54194
2010-11-05 18:46:13 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Sebastian Dransfeld b02fbd8dd1 __UNUSED__ last!
SVN revision: 54192
2010-11-05 18:40:05 +00:00
Sebastian Dransfeld 91636a30f5 init handlers in main loop, after efreet init
SVN revision: 54185
2010-11-05 15:37:02 +00:00
Sebastian Dransfeld 83bcd95d83 Simplify efreet cleanup code
SVN revision: 54184
2010-11-05 15:36:53 +00:00
Sebastian Dransfeld c76328248e Reorder
SVN revision: 54183
2010-11-05 15:36:41 +00:00
Sebastian Dransfeld a355da7bf8 Since we don̈́t grab, don't ungrab
This should help on some focus problems, please test

SVN revision: 54181
2010-11-05 13:48:28 +00:00
Sebastian Dransfeld 5c5e1b82e6 Remove file_set commands
Use fdo icons in e_icon directly instead

SVN revision: 54178
2010-11-05 13:11:41 +00:00
Sebastian Dransfeld 1ba2fd77a0 Set fdo icon directly in e_icon
This makes it simple to find the right icon size for current view size

SVN revision: 54177
2010-11-05 13:11:31 +00:00
Mike Blumenkrantz 264cedf728 fixes from JaMa for filename truncation
SVN revision: 54140
2010-11-03 23:30:52 +00:00