Commit Graph

114 Commits

Author SHA1 Message Date
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
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +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
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
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 384a49358f Fix compiler warnings when E is compiled without gettext.
SVN revision: 49775
2010-06-21 02:17:58 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +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 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
Carsten Haitzler bf37a93c2e more leak--!
SVN revision: 39646
2009-03-23 10:19:13 +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
Carsten Haitzler 6e69d89c40 try and make intl more forgiving of encoding-free locales (assume encoding
works?)



SVN revision: 37272
2008-10-28 13:32:21 +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
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
Sebastian Dransfeld 312dad0a8f Fix warning.
SVN revision: 32263
2007-10-31 19:48:00 +00:00
Stafford Mitchell Horne 812cdbf305 Very bad, localization seems to have been broken for months.
SVN revision: 32003
2007-10-07 13:01:50 +00:00
Christopher Michael 7657b3bffa Lots of formatting fixes. There may still be more needed in this file.
Do not print errs on C locale during shutdown.


SVN revision: 31840
2007-09-28 16:36:13 +00:00
Stafford Mitchell Horne 54ab7f0d3c Long waiting commit
* Break out intl data. Reduces the size of e_imc
 * Add Dbus ipc replacement
 * Elightenment Dbus API can be extended by modules (Example: msgbus_lang)


SVN revision: 31803
2007-09-25 14:26:36 +00:00
Peter Wehrfritz a6553c1a58 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Sebastian Dransfeld 39e228c73a Formatting.
SVN revision: 29448
2007-04-08 21:00:30 +00:00
Sebastian Dransfeld b150b36b93 Formatting.
SVN revision: 29008
2007-03-24 12:55:30 +00:00
Stafford Mitchell Horne ae453dc42a Update IMC changes which have been sitting around
* Icon is available for IMCs with setup_exec
 * Setup options available
 * Disable IMC available


SVN revision: 28130
2007-01-27 05:30:33 +00:00
Carsten Haitzler 29b6afd096 1. remove ld_lib_path from all things e17 executes EXCEPT its own specific
tools.
2. custom screensaver patches


SVN revision: 27628
2006-12-29 02:56:26 +00:00
Stafford Mitchell Horne 577618bf99 If finally go around to adding the advanced conf dialog for input methods.
* Note: input methods are stored as full path now, meaning most people have to update their configs


SVN revision: 27492
2006-12-17 11:24:59 +00:00
Stafford Mitchell Horne 51fb982087 Change and Optimizations to locale parsing
* remember parse results
 * combine results only when needed (rarely)
 * parse results use Stringshare


SVN revision: 27134
2006-11-16 14:25:22 +00:00
metrics f8dc34e26f Fix segv in strcmp when locale_cs_canonic is NULL.
SVN revision: 27033
2006-11-09 23:17:06 +00:00
Stafford Mitchell Horne 01b499b4fa Cleanup the locale parsing code.
* doesn't canonicalize for BSD machines
 * makes matching logic a little cleaner
 * added a few more comments


SVN revision: 26955
2006-11-05 05:09:55 +00:00
Stafford Mitchell Horne 067238e7af Try to select the correct current locale in the dialog. Need to get the
scroll bars to go to the right place also now.


SVN revision: 26146
2006-09-25 15:35:38 +00:00
Stafford Mitchell Horne 310fb5c67b Add language selection dialog, A bit of work still required but this is a good
start.


SVN revision: 25996
2006-09-21 10:58:42 +00:00
sebastid be3475b1c8 Formatting.
SVN revision: 24989
2006-08-21 15:06:11 +00:00
sebastid 77d906ac26 Formatting
SVN revision: 24988
2006-08-21 15:05:27 +00:00
Stafford Mitchell Horne f689c8ed1e Fix eet file descriptor leak of imc's
SVN revision: 22452
2006-05-04 01:34:32 +00:00
stffrdhrn 7bc863478e Add language alias caching
* use alias cache when getting language for e_app display
 * fix memory for alias hash getting freed at the wrong time


SVN revision: 21254
2006-03-13 13:51:22 +00:00
e-taro 84df4075a1 Make E_Apps support LANG value like [zh_TW], [ja] etc.
(exposing shorne's useful _e_intl_locale_canonic_get function for this)
----------------------------------------------------------------------
src/bin/e_apps.c src/bin/e_intl.c src/bin/e_intl.h CVS:
----------------------------------------------------------------------


SVN revision: 21140
2006-03-09 14:50:12 +00:00
stffrdhrn e419556c40 Cleanups, bug fixes (intl, ipc_handlers, fileman)
* Dont segv when sending invalid path to e_remote
 * Add public codec function to .h file
 * Intl Error message cleanup
 * Only set env variables once the locales have been validated
 * Setup gettext for env locale if no locale configured in e
 * Comments and local var cleanups in fileman


SVN revision: 20755
2006-02-23 15:17:52 +00:00
stffrdhrn 48d18c7535 Few stale memory plugs and cleanups:
* Free the e_app callback for e_border on shutdown
 * Free the prefix strings on shutdown
 * Make better intl errors
 * Worthless function commenting
 * Comment for disabled shutdown unroll (Why is it disabled?)


SVN revision: 20689
2006-02-21 15:00:10 +00:00
stffrdhrn c61ba650a9 Fix mem leak in search function:
- When searching always free the clean_file if it exists, its just used at
   search time.


SVN revision: 20526
2006-02-16 21:08:43 +00:00
Carsten Haitzler 6f5e4ef0af 1. move thngs to dialogs from the e_error ones. fileman files are left - they
have a lot of work to go to be done well (ie work that e_app does to read
stdout/err shoudl be here too - or we need to eventually virtualise this)
2. stop self-feeding scan loop :)


SVN revision: 20425
2006-02-13 06:32:26 +00:00
rephorm 128627e095 lameness--
SVN revision: 20231
2006-02-03 14:51:18 +00:00
David Walter Seikel fe96145090 More ecore_exe naming break'n'fix. Should be all done now.
SVN revision: 19832
2006-01-15 11:27:19 +00:00
David Walter Seikel f102024cfa Minor API breakage and fixage.
SVN revision: 19757
2006-01-13 06:38:44 +00:00
Carsten Haitzler ebf9cca1ed ok - turn off visibility stuff for e -0 for some reason just the dropshadow
module has problems with memcpy and memset... but its identical to everything
else and i dont see why it doesnt work and others do... weird.


SVN revision: 19679
2006-01-10 04:23:43 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Christopher Michael a928a79d88 Add parens around truth value to quiet compiler warnings.
SVN revision: 19367
2005-12-29 14:00:00 +00:00
stffrdhrn ff4d281126 Fix some problems with validation.
- Validation function now canonicalizes the "locale -a" output
- Searching for locale directory now canonicalizes the path files


SVN revision: 18897
2005-12-07 17:09:02 +00:00
Carsten Haitzler 796db6c2ef handle stringshare for imc's
SVN revision: 18824
2005-12-04 12:28:34 +00:00