Commit Graph

51 Commits

Author SHA1 Message Date
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +00:00
Mike Blumenkrantz cf3762ba28 not sure what the point of this is, so away with it!
SVN revision: 64880
2011-11-07 22:18:34 +00:00
Sebastian Dransfeld 25c30ef7a7 E: Show correct path in error message.
SVN revision: 62477
2011-08-15 08:23:33 +00:00
Sebastian Dransfeld 93682ec523 E: Only chdir if path not empty
SVN revision: 62476
2011-08-15 08:23:17 +00:00
Carsten Haitzler 1e52c5a5ae 1. handle chdir errors gracefully with error disply
2. on error DONT KEEP STRIPPING PATH TO EMPTY!



SVN revision: 59773
2011-05-29 05:09:50 +00:00
Miculcy Brian be91e17b7d e: Fix segfault if no desktop file present.
SVN revision: 59702
2011-05-26 12:03:04 +00:00
Mark-Willem Jansen 54d7870c61 patch from From: Mark-Willem Jansen <markwillem@hotmail.com>
use desktop file path field for cwd.



SVN revision: 59701
2011-05-26 10:27:21 +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
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Carsten Haitzler 7cf8ebbed3 bah! brokne inst matching.. e literally lost all inst's! fixed.
SVN revision: 51936
2010-09-07 08:53:34 +00:00
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael 6e4b7513cb Revert PATH_MAX change there...PATH_MAX may not be long enough.
SVN revision: 51364
2010-08-18 21:49:48 +00:00
Christopher Michael c4075dfaed Add UNUSED
Use PATH_MAX.



SVN revision: 51362
2010-08-18 21:41:27 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Lucas De Marchi c426218dfe Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Carsten Haitzler 60b35967de gl vsync smoother tear-free rendering on desktop (nvidia though only - i am
in no mood to figure out the convoluted vsync stuff for every linux gl drvier
out there!)



SVN revision: 46158
2010-02-14 03:57:43 +00:00
Carsten Haitzler c42497848b fix long-standing bug in exe exit handling! ugh...
SVN revision: 46123
2010-02-13 02:47:21 +00:00
Carsten Haitzler ca49f2dcbf config to turn off exec fail dialog
SVN revision: 45544
2010-01-25 07:38:48 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Christopher Michael c837af137b Don't NULL out exe here (this was causing a lot of quiet errors wrt
ecore_exe_pid_get because inst->exe was NULL).



SVN revision: 44267
2009-12-07 23:55:01 +00:00
Carsten Haitzler 50b38677d5 inst->exe is null if exe exited. it will be deleted by ecore, so cant keep it
around.



SVN revision: 43405
2009-11-02 02:51:21 +00:00
Christopher Michael b5a060523e Formatting.
SVN revision: 43313
2009-10-27 17:42:45 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Hannes Janetzek b3c2986d55 e_exec: wait for openoffice to come an grab its icon
SVN revision: 42066
2009-08-28 08:37:07 +00:00
Christopher Michael b0a07a8ac6 Use E_FREE for things created with E_NEW.
Formatting & Whitespace Removal


SVN revision: 41442
2009-07-19 20:26:10 +00:00
Hannes Janetzek 315133303e e17 exehist: do not add file params to exhist
SVN revision: 41268
2009-07-07 17:38:42 +00:00
Cedric BAIL c82f19e052 * e: Remove all reference to Evas_Data and move to Eina_Bool.
SVN revision: 41080
2009-06-17 13:46:54 +00:00
Gustavo Sverzut Barbieri f6af66808f do not segv on executables that return non-zero.
if an executable returns non-zero a dialog will be present with
information, if it was a .desktop file, then it would use the "Name"
field to name the log and all.

However, the .desktop reference was deleted and the dialog would use a
bogus pointer. Now we take a reference insidethe dialog and just
release it on dialog deletion.

Found by manio, fix by me.



SVN revision: 40987
2009-06-09 16:45:59 +00:00
Davide Andreoli fc66fc7c73 More icon renamed, for more info look at default.edc (around line 22650). I'm keeping there a mapping between e old names and fdo ones.
SVN revision: 39374
2009-03-05 02:39:50 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +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
Sebastian Dransfeld 6dc64c5559 Correct callback for eina_hash_foreach.
SVN revision: 37169
2008-10-26 20:48:44 +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 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
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 d0a7731bbb remvoe printfs's
SVN revision: 36094
2008-09-19 09:47:00 +00:00
Carsten Haitzler 423ed21f61 add new ecore_Exe control calls (interrupt and quit) and dont ertror dialog
on all exits of apps (sigint/quit/.term can be ignored i think).


SVN revision: 35246
2008-07-29 22:07:19 +00:00
Carsten Haitzler f6a2d93ced use e_exec in action for exec. debugging printfs tew.
SVN revision: 33990
2008-03-12 07:31:13 +00:00
Carsten Haitzler 2df5c4159c gee.. um.. software-16 support in e17 - but beware! buggy buggy buggy. do not
use this unless you wish to have much pain :)

ummm... scrollframe thumb scroll has some heuristics on it to work better -
exec returns exec handles...


SVN revision: 33794
2008-02-20 04:12:59 +00:00
Christopher Michael f9bb9fdf5a Add __UNUSED__ to evas_hash_foreach function.
SVN revision: 33720
2008-02-09 22:48:28 +00:00
Christopher Michael f723e3499c Fix function protos & functions for recent Evas_Hash changes to remove
compiler warnings.
Fix some formatting in e_font.


SVN revision: 33719
2008-02-09 22:41:30 +00:00
Carsten Haitzler e1b6e17c1a disable tracking of stdout/err for now.
SVN revision: 31491
2007-08-25 07:39:57 +00:00
Christopher Michael fde266b92a Check that we have a valid exe before calling ecore_exe_free. See bug #122
for more information.
Fix some formatting issues.


SVN revision: 31093
2007-07-30 19:37:30 +00:00
Sebastian Dransfeld c0e8135c40 More desktop ref/free.
SVN revision: 30994
2007-07-26 12:38:18 +00:00
Sebastian Dransfeld 2eb1d715df Fix instance handling.
SVN revision: 29847
2007-05-04 15:55:46 +00:00
Sebastian Dransfeld 47ad22217e Convert borders to efreet.
SVN revision: 29131
2007-03-25 17:23:49 +00:00
Sebastian Dransfeld ecde038c84 convert ibar to E_Order
SVN revision: 29099
2007-03-25 10:16:05 +00:00
Sebastian Dransfeld 173ffd1d54 TODO++
SVN revision: 29051
2007-03-24 21:28:14 +00:00
Sebastian Dransfeld 4b63e1672c convert app code to exec code.
SVN revision: 29049
2007-03-24 21:23:48 +00:00