Commit Graph

4301 Commits

Author SHA1 Message Date
Carsten Haitzler 523dadc323 oops. i was on drugs that day. wrong call (right parameters!)
good catch



SVN revision: 37178
2008-10-26 22:44:57 +00:00
Sebastian Dransfeld ad2ffb8d7d Remove unused variables.
SVN revision: 37177
2008-10-26 20:50:21 +00:00
Sebastian Dransfeld ea5245d2f3 Add comment about wrong code usage.
SVN revision: 37176
2008-10-26 20:50:09 +00:00
Sebastian Dransfeld 40ba4982d1 No need to use fprintf to print a simple string.
SVN revision: 37175
2008-10-26 20:49:55 +00:00
Sebastian Dransfeld 871999bfd3 Correct sign on variable.
SVN revision: 37174
2008-10-26 20:49:44 +00:00
Sebastian Dransfeld 27849f76d6 Correct usage of e_util_dialog_show.
SVN revision: 37173
2008-10-26 20:49:32 +00:00
Sebastian Dransfeld f8b9241dd8 Remove unused functions.
SVN revision: 37172
2008-10-26 20:49:21 +00:00
Sebastian Dransfeld b7f9207772 Correct usage of e_util_dialog_show.
SVN revision: 37171
2008-10-26 20:49:10 +00:00
Sebastian Dransfeld c29bd72eb0 No need to create string before showing error message.
SVN revision: 37170
2008-10-26 20:48:57 +00:00
Sebastian Dransfeld 6dc64c5559 Correct callback for eina_hash_foreach.
SVN revision: 37169
2008-10-26 20:48:44 +00:00
Carsten Haitzler 99658450a6 sort profiles.
SVN revision: 37121
2008-10-26 09:11:49 +00:00
Carsten Haitzler 20fd541692 and now wizard is pretty much required. functionalyl its almost all there.
just the init of ibar/fileman favorites is the old untar code moved to
wizard. icons for all profiels are nto done yet - doing. broung some
backgrounds back - small .edj files though.



SVN revision: 37119
2008-10-26 09:04:05 +00:00
Gustavo Sverzut Barbieri acd223581c Enforce step limit while resizing windows with keyboard.
Patch by Ivan.


SVN revision: 37108
2008-10-26 02:04:47 +00:00
Carsten Haitzler 96b6bd54dc allow for explicitly selecting the system menu file - and tell efreet about
it, save/restore it etc. etc. and wizard page to ask for it. note: missing
norma config dialog to select this too!



SVN revision: 37099
2008-10-25 15:18:48 +00:00
Carsten Haitzler d04a4c70d8 support flag icons.. and add them.
SVN revision: 37093
2008-10-25 08:53:44 +00:00
Gustavo Sverzut Barbieri e5c4d62fd4 Set member_{add,del} to NULL.
SVN revision: 37091
2008-10-25 03:13:33 +00:00
Carsten Haitzler d09de3a59a instant edit --
SVN revision: 37012
2008-10-23 04:49:52 +00:00
Carsten Haitzler b79fb7422a enable instant_edit (pesss and hold for 1 second to drag around)
SVN revision: 37009
2008-10-23 00:55:21 +00:00
Carsten Haitzler 307d52edfd major changes!!!
init splash now merged with theme - default theme has both. saves space on
disk and just in the end is cleaner. can still select spash separately - but
now themes should provide splashes. you can have just splash files in the
theme dir - but won't be much good for full themes.

default theme now is b&w - all moved over and building. it's now default.
default splash is just default theme etc. etc.

this may cause some problems - so i'd just check your settigns and maybe
re-selct your init splash as it may not exist anymore or be found and thus a
blank splash until u fix it in config.

hmm... there is a bug thoug - i think fileman related. will check. missing
something in theme.



SVN revision: 37006
2008-10-23 00:32:48 +00:00
Jaime Thomas ae3fde694a Keyboard resizing should still respect max/min size.
SVN revision: 37005
2008-10-22 23:15:32 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL c79dc9d9d6 Remove macro provided by Eina.
SVN revision: 36863
2008-10-20 16:34:59 +00:00
Chidambar Zinnoury 1ecc76d8b9 OK, in doubt, calculate dimensions anyway and call resize func after that. Some modules expect them to be filled so that they can "correct" them.
This will fix all of them.


SVN revision: 36851
2008-10-20 12:18:37 +00:00
Chidambar Zinnoury 57c6606f50 We may want to use the about icon for the about menu item.
SVN revision: 36839
2008-10-20 07:52:22 +00:00
Chidambar Zinnoury f651545665 One less segfault! Deleting gadcon was calling many other things, and ended up recreating hide_animator, so delete it before timers and animators are deleted.
SVN revision: 36838
2008-10-20 07:40:14 +00:00
Carsten Haitzler 534bac9233 desklock silliness with login box geometry fixed.
make about ands theme about use object dialog windows. save code and
centralise.
make object windows be able to accept shaped and borderless hints.



SVN revision: 36836
2008-10-20 06:50:57 +00:00
Carsten Haitzler 406fefafe4 was using this for debugging. keep it there for future reference. didn't know
we had such malloc hooks! i might consider using these in future!



SVN revision: 36831
2008-10-20 03:30:22 +00:00
Carsten Haitzler 4cee7b5711 oh yeah. handle sizing right.
SVN revision: 36818
2008-10-19 14:15:23 +00:00
Chidambar Zinnoury edc86d39cc For the moment, when try to select an header, loop over next elements until we find a non-header, if not, loop over previous ones, and select found element. Useful for me dialogs where we remove elements.
SVN revision: 36814
2008-10-19 13:34:47 +00:00
Chidambar Zinnoury d052870ff0 Correct gadcon popup dimensions computation.
SVN revision: 36806
2008-10-19 10:41:50 +00:00
Carsten Haitzler 06bd864ab2 fix theme about to use max size.. properly. and calc min size too.
SVN revision: 36799
2008-10-19 04:23:04 +00:00
Chidambar Zinnoury 4a85950f88 Add preview of desktops' background on main menu's desktop selector.
Yes, I know, this one is purely for eye-candiness, but there was some empty space only waiting for us to fill it... :D


SVN revision: 36792
2008-10-18 18:43:09 +00:00
Chidambar Zinnoury 3c52fef509 Sorry, forgot to cut some line at 80 chars and to remove some dead come prior to committing. Won't happen anymore.
SVN revision: 36791
2008-10-18 17:33:56 +00:00
Chidambar Zinnoury 38618af648 Some modifications to modules configuration:
- add icons to types;
- add support for dynamic types: if an unknown X-Enlightenment-ModuleType is encountered:
  - a new type is created,
  - its name is pretty printed (well, only first char is upper-cased),
  - check if enlightenment/name icon exists, and use it if so;
- when listing, search among all types and not only pre-defined ones.

This closes trac #98 reported by Thanatermesis.


SVN revision: 36780
2008-10-18 15:19:39 +00:00
Chidambar Zinnoury 3a30678b4a Fix segfault happening with ilist when multi-selection is being used: selectraise value should be always retrieved as it is used on both cases.
Closes trac bug #90, reported by Toma.  


SVN revision: 36771
2008-10-18 06:27:33 +00:00
Carsten Haitzler 51bceda65d remove tlist - really... hardly used. dubiously usefl as ilist does it just
with added icons. use the icons anyway. less theme and code to maintain.



SVN revision: 36768
2008-10-18 05:21:05 +00:00
ptomaine 32d4a6fcb5 EFM: fix slave process from segfaulting.
SVN revision: 36759
2008-10-17 15:30:32 +00:00
Chidambar Zinnoury 072e310296 Update config list widget minimum size when adding an object.
SVN revision: 36744
2008-10-17 08:05:48 +00:00
Chidambar Zinnoury db29ae495b Don't expand labels in border properties window.
SVN revision: 36693
2008-10-15 19:17:43 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Cedric BAIL 9e02df4fef Correctly include eina and fix pkg-config description.
SVN revision: 36667
2008-10-15 10:03:45 +00:00
Chidambar Zinnoury 6de31a6163 id_del was never called for gadcon clients, so call it after shutdown. Report and help for testing done by stefzekiller <stefzekiller@gmail.com>.
Moreover, remove some new compiler warning.


SVN revision: 36661
2008-10-14 16:22:52 +00:00
Cedric BAIL d2f7e4da0d Make e depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36627
2008-10-13 16:00:58 +00:00
Chidambar Zinnoury 7096b7fb18 Space key was not grabbed, preventing it from being used to select widgets in dialogs.
SVN revision: 36603
2008-10-12 22:28:11 +00:00
toma a3c3d2c23f Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
2008-10-12 06:04:26 +00:00
Chidambar Zinnoury 26b566f721 Fix height with scaling enabled.
SVN revision: 36585
2008-10-11 13:56:36 +00:00
Chidambar Zinnoury 6de2497c81 Fix compiler warnings.
SVN revision: 36584
2008-10-11 13:55:01 +00:00
Chidambar Zinnoury e14f2b745e Remove maximum size settings so that previews are expanded.
SVN revision: 36582
2008-10-11 08:19:31 +00:00
Chidambar Zinnoury 4bcf26a0a5 Remove segfault when color picking dialog was closed with border close button.
SVN revision: 36472
2008-10-06 07:11:18 +00:00
Chidambar Zinnoury 3ba1e1c6bd Check for desktop entries' non-emptiness before using them (no check for name as I eexpect them to always be non-empty).
SVN revision: 36471
2008-10-06 05:55:53 +00:00
Carsten Haitzler 1d3533c12a add option to disable cursor and diasble the idle cursor anim.
SVN revision: 36313
2008-09-29 14:01:30 +00:00
Gustavo Sverzut Barbieri cd2f6c6d44 keyboard move/resize no accept modifiers.
* Control: value * 2
 * Alt: value / 2



SVN revision: 36302
2008-09-28 23:29:21 +00:00
Gustavo Sverzut Barbieri 77e8ea0a36 Keyboard move/resize: show popup when action begins and hide it on timeout.
* Popup is now displayed when the action begins instead of the first move.
 * Popup is hidden when timeout expires.



SVN revision: 36301
2008-09-28 23:06:14 +00:00
ptomaine d76e4749de EFM: try to fix a problem with large files on 32-bit systems.
SVN revision: 36286
2008-09-28 10:25:14 +00:00
Carsten Haitzler c9c7aef72e add auto-scrolloption to dialogs (place content in scrolled viw).
SVN revision: 36268
2008-09-26 17:00:32 +00:00
Carsten Haitzler cb1b7a84ea and match both text to be smaller.
SVN revision: 36255
2008-09-25 14:16:30 +00:00
Carsten Haitzler b02211b01a reduce text.
SVN revision: 36254
2008-09-25 14:15:16 +00:00
ptomaine 4a68e74291 Do not quit if we're waiting for an error response.
SVN revision: 36251
2008-09-25 12:52:25 +00:00
Carsten Haitzler 091cc41f88 shorter text for disable
SVN revision: 36237
2008-09-25 04:47:27 +00:00
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Carsten Haitzler 0b625413e9 fix remember to actually rememebr skip* stuff and save it
SVN revision: 36227
2008-09-25 01:01:07 +00:00
Carsten Haitzler b00a1375f5 fix rememebr box to actually match basic/advanced and even be consistent with
basic with "everything" flags.



SVN revision: 36226
2008-09-25 00:40:56 +00:00
Carsten Haitzler ce1dc55d7b usscaling factor in some places - like icons in config panel, fileman and
shelf sizes. can be put in so so so many other places.



SVN revision: 36212
2008-09-24 13:47:10 +00:00
Carsten Haitzler 071ba50d45 e now supports scaling based on screen dpi (or on a custom scaling factor you
can select yourself as a user). also any scaling either calculated from dpi
or set by the user is limited to the min/max values a user can impose (thus
even if you have very low dpi, e doesn't go below a scaling factor you set -
eg 1.0 or 0.5, and same for upscaling).

this should

1. keep all the people who want scalable UI's happy (enable scaling).
2. make e able to (if u want) to adapt to pretty much any dpi screen and
selectively scale just what u want it to.
3. allw you - the user, to be the final controller of just how much to scale
- if you like scaling but think it scales too much - then limit it or set
your own.

right now this will onyl work if your theme supports it... the b&w one does
(mostly). so try that and test. other bits of e need to adapt to this too
(shelf, icon sizes, etc. etc.) as they are not done via edje but code sets
them.



SVN revision: 36211
2008-09-24 13:29:16 +00:00
ptomaine 6a7be50f33 Make e_fm_op.h look like other headers.
SVN revision: 36180
2008-09-23 11:27:34 +00:00
ptomaine 363ef244b8 Typebuf feature for ilist: type in several chars and an item with
a matching label would be selected. Kinda like EFM's typebuf. Does 
not show what you type, since I think it's useless here. If you hit
Esc or wait 3 seconds, the buffer would be cleared. Understands 
wildcards and is case-insensitive. Useful to dig through applications
or bindings list. If you feel like this does not fit here, go ahead 
and revert.


SVN revision: 36168
2008-09-22 13:29:34 +00:00
ptomaine d8b75480be Remove useless strdups.
SVN revision: 36160
2008-09-22 10:19:12 +00:00
ptomaine 2f90f227ea Avoid using '/media/' as mount point.
Fixes http://trac.enlightenment.org/e/ticket/19


SVN revision: 36158
2008-09-22 07:20:22 +00:00
Gustavo Sverzut Barbieri 8408de28cf New features to enable setting 'changed' status of config dialogs.
This callback will make it easier for dialogs to filter if the status
is really changed or if it's back to original values without having to
listen individually to each children widget (we cannot hook into the
parent since e_config_dialog already does that).



SVN revision: 36154
2008-09-21 17:08:30 +00:00
Gustavo Sverzut Barbieri c6f9ec6ece Enable manual set of configuration dialogs as changed.
For some dialogs, it's better to let the dialogs themselves choose if
they're modified or not. Default behavior is backward compatible.



SVN revision: 36152
2008-09-21 16:21:25 +00:00
Carsten Haitzler d13180f665 fix e_box fill/expand.
SVN revision: 36143
2008-09-21 08:25:53 +00:00
Gustavo Sverzut Barbieri a0fa5ad51e e/actions: remove ugly '{Move,Resize} with keyboard".
Use the regular 'Move' or 'Resize' actions, define go_key.



SVN revision: 36135
2008-09-20 16:20:16 +00:00
Gustavo Sverzut Barbieri 51cefe3402 e/border: make keyboard move and resize actions configurable.
No GUI for that yet, but it's already exported in e_config so one can
write such in future.



SVN revision: 36134
2008-09-20 15:53:28 +00:00
Carsten Haitzler 2fe970f02a fix gadcon popups across multiple zones.
SVN revision: 36120
2008-09-20 05:16:49 +00:00
Carsten Haitzler bd470ac03d illogict - patch. lefty mouse etc.
- e-config-pointer_mapping_support.patch: and actually use that on
Enlightenment



SVN revision: 36114
2008-09-20 02:23:51 +00:00
Carsten Haitzler 112412f7c3 illogict patch for dpms
- e-config-dpms_correct.patch: correct default values for DPMS timeouts



SVN revision: 36112
2008-09-20 02:16:01 +00:00
Carsten Haitzler fbd7fa6a17 remove debugging i added to fix dnd.
SVN revision: 36104
2008-09-19 23:59:29 +00:00
Carsten Haitzler 2d9dd3ea37 fix dnd for desktop - if you have multiple zones! remove printf's too. lots
of noisiness in e.



SVN revision: 36103
2008-09-19 23:58:07 +00:00
Carsten Haitzler d0a7731bbb remvoe printfs's
SVN revision: 36094
2008-09-19 09:47:00 +00:00
Carsten Haitzler 0b0dfa93a7 and - that vlc fullscreen bug. found. fixed. but vlc's x11 code is really
nasty. does some utterly evil things. should i send off some suggestions to
them? (like 1. dont reparent the window in xcommon.c line 217, dont play with
wm focus policies in xcommon.c line 2269 - just dont send the
_NET_ACTIVE_WINDOW, you shouldnt' need to (wm should make the focus be
correct itself and wm's that don't should get a freindly reminder from users
when they dont remain consistent with focus policy), and then... xcommon.c
2317 remove the do {} while loop - i can think of many reasons the wm may
choose not to map your client window (yet - or ever), so this will never work
"reliably" always. just put in an XSync(p_vout->p_sys->p_display, False);
instead to force the x pipe to flush and do everything you asked before
returning control to the code and thus avoiding any badaccess stuff from x).



SVN revision: 36093
2008-09-19 09:44:07 +00:00
ptomaine 3ed5aa5e05 Fix drag'n'drop on desktop.
SVN revision: 36043
2008-09-17 11:16:01 +00:00
Carsten Haitzler d315a607af get geometry form edje - not obj. deferred calc bork bork
SVN revision: 36039
2008-09-17 06:29:16 +00:00
Carsten Haitzler 46c3d9017e remove some printf's
SVN revision: 36036
2008-09-17 06:03:00 +00:00
Carsten Haitzler 8150904ad8 add a widget resize to min size call - convenience. tnx k-s for the oopsie
catch!



SVN revision: 36035
2008-09-17 05:58:46 +00:00
Gustavo Sverzut Barbieri 26b444f0d8 Fix e_widget hierarchy.
e_widget_resize_object_set() gets the SUB (child) object as the second
parameter, it's named "sobj", but it's being used as the SMART
(parent) object with evas_object_smart_member_add(), so hierarchy was
all swapped.



SVN revision: 36034
2008-09-17 05:22:08 +00:00
Carsten Haitzler 4b969ed2fc been hacking... umm. config dialog additions.
SVN revision: 36033
2008-09-17 02:21:00 +00:00
Gustavo Sverzut Barbieri ba3e4fc00d Move and Resize using keyboard.
These new shortcuts will trigger move and resize modes that are
interactive using keyboard. Use arrows to move or resize (left/top =
shrink, right/bottom = enlarge), presse Escape to abort, Return or
mouse click or timeout to confirm.

This should work like WindowMaker or Kwin.

TODO:
 - add customizable thresholds.
 - figure out what to do with the old action "Move" and "Resize",
   they're really useless for keyboard, just works with mouse.




SVN revision: 36010
2008-09-16 00:11:26 +00:00
Gustavo Sverzut Barbieri 35b67bef0b e_border_resize() now updates the popup.
SVN revision: 35986
2008-09-14 20:31:03 +00:00
Carsten Haitzler ebc2951140 fix hotspot in e17 - cedrics deferred edje stuff b0rked it! :(
SVN revision: 35959
2008-09-11 23:31:11 +00:00
Carsten Haitzler ef8675ec08 simplify thumbscroll a little.
SVN revision: 35940
2008-09-11 03:37:06 +00:00
Carsten Haitzler 7928f1a90f just a env var hack for playing with scaling.. for now.
SVN revision: 35938
2008-09-11 03:27:34 +00:00
Gustavo Sverzut Barbieri 69da6216c5 Delete the correct callback.
Actually none of these delete were required, but since we're doing
them, do it right.



SVN revision: 35934
2008-09-10 18:58:18 +00:00
Carsten Haitzler bfc017e352 fix focus set loop.
SVN revision: 35928
2008-09-10 12:42:39 +00:00
Carsten Haitzler bba85a440b just testing.
SVN revision: 35923
2008-09-10 06:40:24 +00:00
Gustavo Sverzut Barbieri 0e2b1e4dab New version of _e_editable_text_insert, fixed.
Old version was bogus because unicode and char length were not updated
if the buffer was large enough, the usual case.



SVN revision: 35921
2008-09-10 05:47:13 +00:00
Carsten Haitzler a7f5e2f6ce commented out.. scale testing!
SVN revision: 35915
2008-09-10 04:34:42 +00:00
Carsten Haitzler c68b53e9ca removed editable change - breaks entering text!
SVN revision: 35914
2008-09-10 04:33:57 +00:00
Gustavo Sverzut Barbieri 23d69e088b Fix various invalid memory access problems with _e_editable_text_insert
Patch by Helder Ribeiro:

   Hi people,

   I found a couple errors in the function _e_editable_text_insert.

   - when copying from the old string (n bytes) to the new one (m > n
   bytes) it was writing garbage into the new one (copying m bytes from
   old);
   - when memsetting the old string with 0's (part of extra security
   measure for password entry) it was writing m 0's into old, therefore
   writing past old's boundary, into unreserved memory;
   - a couple checks for NULL were missing.




SVN revision: 35911
2008-09-10 02:44:49 +00:00
Gustavo Sverzut Barbieri 18966c828b Add calculate callback to Evas_Smart_Class.
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.



SVN revision: 35860
2008-09-07 01:25:49 +00:00
Carsten Haitzler 5c27fc21a0 useless evas_list_free()'s
SVN revision: 35835
2008-09-05 02:12:41 +00:00