Commit Graph

4520 Commits

Author SHA1 Message Date
Christopher Michael b530e3914a Formatting
SVN revision: 40272
2009-04-21 17:53:43 +00:00
Massimiliano Calamelli 9185371532 Fix compiler warnings about attribute warn_unused_result
SVN revision: 40264
2009-04-21 09:51:54 +00:00
Christopher Michael 7481612296 Formatting & whitespace removal
SVN revision: 40259
2009-04-21 02:07:06 +00:00
Christopher Michael 831356e1c9 Formatting
SVN revision: 40255
2009-04-20 21:37:45 +00:00
Gustavo Sverzut Barbieri 496d229e89 don't segfault, by lmunch
SVN revision: 40254
2009-04-20 20:57:02 +00:00
Christopher Michael 4bc2ca60b0 Put comment in correct place...just something I noticed while browsing.
SVN revision: 40250
2009-04-20 17:37:49 +00:00
Iván Briano 9dde4b37b2 White spaces
SVN revision: 40240
2009-04-19 20:18:36 +00:00
Gustavo Sverzut Barbieri c85b67c7c0 remove double-separator for non-resizable dialogs.
SVN revision: 40206
2009-04-19 06:32:28 +00:00
Gustavo Sverzut Barbieri 8b22937367 usability: sort menus, always keep same order.
maybe this is too much for a feature freeze phase, but this is
annoying for users, sometimes your menu looks one way, sometimes
another. Now it will always look the same, alphabetically ordered.

If it breaks anything before Monday revert!


SVN revision: 40205
2009-04-19 06:21:35 +00:00
Gustavo Sverzut Barbieri 3b733a2081 fix some problems with eina_hash usage.
SVN revision: 40204
2009-04-19 05:18:01 +00:00
Gustavo Sverzut Barbieri 69821ee547 proper cleanup on icon/edje failure.
SVN revision: 40201
2009-04-18 23:45:26 +00:00
Gustavo Sverzut Barbieri 84a4e7a5e5 ooops! my mistake with missing parenthesis around math!
SVN revision: 40200
2009-04-18 23:13:33 +00:00
Gustavo Sverzut Barbieri 855f5080af export function to get useful area of zone.
This should be used by other parts of e17, like window placement.


SVN revision: 40197
2009-04-18 21:44:21 +00:00
Gustavo Sverzut Barbieri 99eb6ec409 better way to calculate good window size.
Instead of blindly use 1/3 of zone, now it will account shelf sizes
and will try some proportions before giving up.



SVN revision: 40179
2009-04-18 18:16:02 +00:00
Gustavo Sverzut Barbieri a16a2e3d73 config modules now have better size.
it will now fit into 640x480 and also will look better since
horizontal size will be a bit bigger.



SVN revision: 40178
2009-04-18 18:14:03 +00:00
Gustavo Sverzut Barbieri 8638cc125a shelf style previews are now smaller
SVN revision: 40169
2009-04-18 14:03:31 +00:00
Carsten Haitzler 4ebb2f6385 -lm -- and printf--
SVN revision: 40168
2009-04-18 13:53:23 +00:00
Carsten Haitzler b592a9176f 1. fix thumb to not use preload thread - i spotted bugs. concurrency ones.
2. also write a sort id (harmless - doesnt affect anything). useful for...
sorting.




SVN revision: 40166
2009-04-18 13:52:24 +00:00
Gustavo Sverzut Barbieri ce2009b32b list of autohide-dependent widgets should not be global.
SVN revision: 40165
2009-04-18 13:47:29 +00:00
Gustavo Sverzut Barbieri c0365b4b2d shelf "shrink to contents" is not related to its size.
SVN revision: 40164
2009-04-18 13:43:05 +00:00
Gustavo Sverzut Barbieri 6c7e4540e2 shelf ignore mouse_out when going to children windows.
this solves an annoyance with systray: the bounce-on-mouse-over (mouse
over systray would make shelf hide, but after the animation starts the
shelf get mouse-in again and abort the hide, then starts again). But
it will introduce another annoyance: if systray open a menu and you
navigate to it, shelf will not get mouse-out event and thus will not
autohide.

I'm leaving this behavior as it is less annoying. I discussed a bit
with rasterman and solving this is not easy, we'd need to poll for
mouse position and query window tree, this would waste cpu and keep
timeout rate high, draining battery.



SVN revision: 40128
2009-04-17 04:56:54 +00:00
Gustavo Sverzut Barbieri 3aae39faec fix shelf autohide after changing its settings in advanced mode.
shelf should be hidden if it was recreated (restart == 1) and autohide
is set.



SVN revision: 40127
2009-04-17 03:15:27 +00:00
Gustavo Sverzut Barbieri b94960c645 fix shelf autohide on zone geometry changes.
when xrandr/xinerama changes zone (screen/output) geometry, the shelf
needs to update its hide_origin and also do hide animation if it was
hidden already.



SVN revision: 40126
2009-04-17 02:54:56 +00:00
Gustavo Sverzut Barbieri 9cc29ad360 fix bug when there is no file extension.
This was spotted by a segmentation faults on systems where sprintf()
don't handle NULL as "%s" (Solaris, BSDs), but it makes no sense to
lookup "*(null)" as extension on Linux either.

Reported by: mcalamell



SVN revision: 40120
2009-04-16 22:17:50 +00:00
Andreas Volz cf1e0172cf usability improvement
-> shrink and autohide widgets are only enabled if checks are set


SVN revision: 40117
2009-04-16 21:03:43 +00:00
Iván Briano e5478eb0e3 Don't leak.
SVN revision: 40100
2009-04-16 04:48:46 +00:00
Carsten Haitzler c5680c811c and handle premapped windows
SVN revision: 40075
2009-04-15 04:52:40 +00:00
Andreas Volz c72e584ebf theme enabled/disabled support for label widget
SVN revision: 40058
2009-04-14 21:18:16 +00:00
Gustavo Sverzut Barbieri e0040cefb9 major cleanup of path creation to $DATADIR and $HOME/.e/e
This cleanup replaces snprintf() usage with specific calls, they have
the benefit of being cleaner (so easier to grep), typing less and also
marginal speed up compared to the other (specially concat_static),
although those are rarely used in critical paths.

I'm testing it for some time and seems to not break anything, but let
me know of any problem. If you can review the patch and try to spot
incorrect names, please do.




SVN revision: 40014
2009-04-13 14:56:38 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Gustavo Sverzut Barbieri 886a0bca01 move batch directory creation to ecore_file.
as suggested by raster, this could be abstracted into ecore-file and
other applications could use it as well.



SVN revision: 39965
2009-04-11 07:10:12 +00:00
Carsten Haitzler 51eff88b13 allow for system startup .orders... not great - but simple.
SVN revision: 39963
2009-04-11 06:20:11 +00:00
Gustavo Sverzut Barbieri 689146ef39 Alternative version for those legacy systems without atfile-source
atfile source is posix 2008, but some legacy systems seems to not ship
with those, in that case use slower version.



SVN revision: 39958
2009-04-11 05:40:18 +00:00
Sergey Semernin 5c62d98898 From: Sergey Semernin <sergey.semernin@gmail.com>
In E_Dialog space key grabbed before than keydown event reach to entry widget
in E_Entry_Dialog.
Thus, I forced ungrab space key in e_entry_dialog_show constructor.
Moreover, I added escape key handling in _e_entry_cb_key_down callback.

I do not delete space key grub in E_Dialog, because, I think, it may be
usefull here, 
when we need selecting controls with space. Or not?




SVN revision: 39936
2009-04-10 14:21:36 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Gustavo Sverzut Barbieri 619ed37fed eina_stringshare_replace() gets in!
I was replicating this code in many places, it should go into eina itself.

It's the right way to change strings that you don't know are
stringshared before, since it will first add a reference and then
remove, making it impossible to have references to go 0 and string
being released before adding new references, fixing the following
possible problem:

   x = eina_stringshare_add("x");
   replace(x, x);

   then:
   incorrect_replace(const char **b, const char *a) {
      eina_stringshare_del(*b); /* reference gets to 0 */
      eina_stringshare_add(a); /* BUG!!! */
      *b = a;
   }




SVN revision: 39903
2009-04-08 18:25:02 +00:00
Christopher Michael 3836c7ba2b Remove erroneous widget_data_get call
SVN revision: 39902
2009-04-08 18:02:27 +00:00
Carsten Haitzler 9b244804e9 add a cmd-line opt to skip format test...
SVN revision: 39891
2009-04-08 08:30:13 +00:00
Daniel Kolesa d2975ac947 Make profiles working again. Thanks to Sachiel for the fix :)
SVN revision: 39889
2009-04-07 18:29:13 +00:00
Viktor Kojouharov 9a303630ae shorten some strings
SVN revision: 39886
2009-04-06 21:22:12 +00:00
Gustavo Sverzut Barbieri d68e3158cf minor speedups.
the e_main.c change might prove useful as it will minimize path
resolution a lot, something that is not that cheap, even more durin e
startup where disc is still spinning due other tasks
starting. HOWEVER, it might bring problems to those using pre
GLibC-2.4 (we're at 2.9 these days) and maybe people using Solaris or
BSD, let's see if they have any trouble.



SVN revision: 39880
2009-04-06 12:59:58 +00:00
Christopher Michael 9533dd4543 Formatting, Whitespace Removal, Remove useless return in one function,
Initialize variables to NULL.


SVN revision: 39872
2009-04-05 17:07:18 +00:00
Christopher Michael 794ef7748f Formatting
SVN revision: 39870
2009-04-05 16:58:49 +00:00
Carsten Haitzler cbe9342be3 for e_thumb.. use preload!
SVN revision: 39866
2009-04-05 03:49:16 +00:00
Davide Andreoli ffd353ac39 * E_Fwin:
Ctrl+w -> close the window
Ctrl+a -> select all



SVN revision: 39865
2009-04-05 00:26:31 +00:00
Christopher Michael 6d1cdc0e47 Remove silly return at end of function.
SVN revision: 39861
2009-04-04 19:40:00 +00:00
Carsten Haitzler 634485d2bc and properly hide windows that ask to be iconified on start!
SVN revision: 39853
2009-04-04 07:18:55 +00:00
Davide Andreoli 3553055573 Scale dialogs icons with e_scale
SVN revision: 39846
2009-04-03 22:05:18 +00:00
Gustavo Sverzut Barbieri 1532f064cb use scaled icon size.
SVN revision: 39843
2009-04-03 21:45:33 +00:00
Viktor Kojouharov 3805af7fcc files can now be dragged over destination files (not just subdirs). In that case, the source file will be sent to the directory that houses the dest file. No more seggies
SVN revision: 39829
2009-04-01 17:03:09 +00:00