Commit Graph

34 Commits

Author SHA1 Message Date
Christopher Michael 0e7182af38 Continue in for loop if no size data is found for a font. This traps a
weird seggy I found.



SVN revision: 51919
2010-09-06 03:35:15 +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 5205ae87bf Add UNUSED where needed.
SVN revision: 51419
2010-08-19 17:16:06 +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
Sebastian Dransfeld a9bf975e7b export less
SVN revision: 45455
2010-01-22 20:28:39 +00:00
Christopher Michael ff96a40305 Fix all this config window class mess once and for all. Now using the config
registry path for window class correctly in that when the module(s) shut
down, the will kill the dialogs.



SVN revision: 44191
2009-12-04 22:37:18 +00:00
Christopher Michael a807f56a96 Fix a few more config dialog window class problems.
SVN revision: 44160
2009-12-03 04:22:29 +00:00
Hannes Janetzek 91211ef9c4 reopen fileman and dialog windows after restart of e.
- modules using e_configure_registry_add must be modified to 
  use registry path as window class for this to work
- fileman now uses e_remember to remember position instead of 
  handling it separately
- added option to window remember for remembering dialogs and 
  fileman windows automatically


SVN revision: 42607
2009-09-21 20:36:35 +00:00
Hannes Janetzek 056218932e whitespace cleanup
SVN revision: 42425
2009-09-11 21:24:02 +00:00
Hannes Janetzek f041ffe7ea e17: use toolbook for advanced settings
- imo one should make an 'all fonts' and 'custom fonts' tab and remove advanced/basic settings


SVN revision: 42424
2009-09-11 21:07:51 +00:00
Hannes Janetzek a551323a28 e/src/modules:
- cast ints to pointer correctly
- remove unused variables
- #if 0 unusued code
- fix some function declarations for callbacks 


SVN revision: 42210
2009-09-03 16:32:48 +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
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
Viktor Kojouharov 9a303630ae shorten some strings
SVN revision: 39886
2009-04-06 21:22:12 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Cedric BAIL c979b3f9d5 * e_widget_ilist_add now expect a stringshare.
SVN revision: 39447
2009-03-11 15:13:42 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +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 18ffc85264 Fix foreach callback.
SVN revision: 37228
2008-10-27 11:09:07 +00:00
Sebastian Dransfeld f4043040d7 Fix sort callback.
SVN revision: 37221
2008-10-27 10:46:43 +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
Chidambar Zinnoury 7728fffb70 In advanced fonts config dialog, add the fallbacks config list to the framelist after all widgets have be added to it.
SVN revision: 36745
2008-10-17 08:08:31 +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
toma 4a16cd4191 Bit of an API break for themes. The icon to tell you something is set is now enlightenment/check and not enlightenment/e. This gives a more logical display that something is set. Ive added the changed to blingbling too to maintain an icon in that spot. Other themes will need to create an icon called e/icon/enlightenment/check to get this working. It is used in the Adv theme selector, profiles, colours, fonts and language.
SVN revision: 36142
2008-09-21 07:43:46 +00:00
Eric Schuele f68c271dd4 Per devilhorns, this commit does:
- Adds new desktop font font_class: desktop_icon
 - whitespace and formatting changes

If you don't see the font changes on the desktop, you may need to restart e.


SVN revision: 34053
2008-03-18 19:59:52 +00:00
Christopher Michael cf508ad07b fixes for recent evas_hash changes.
actual add func proto for the evas_hash_foreach callback function.


SVN revision: 33733
2008-02-12 06:02:17 +00:00
Christopher Michael 1f7e8e7611 Simplify Fonts Advanced dialog code a bit.
Dialog Resize looks/works better now.


SVN revision: 32992
2007-12-05 02:08:54 +00:00
Christopher Michael be9f2dc275 Better resizing. Fix some formatting issues.
Dialog still needs work.


SVN revision: 32988
2007-12-04 22:44:55 +00:00
Sebastian Dransfeld ad3761c9bd Fix warnings.
SVN revision: 30963
2007-07-24 18:47:26 +00:00
Christopher Michael 24eab9731b If we don't reassign a value to either tc->font or style, then be sure to
set them to NULL. This fixes bug #120.


SVN revision: 30914
2007-07-20 08:11:39 +00:00
Carsten Haitzler ca263be347 move more config dialogs to modules.
SVN revision: 30640
2007-07-07 15:44:01 +00:00