Commit Graph

143 Commits

Author SHA1 Message Date
Carsten Haitzler 1f5abd1886 note valgrind wrongness and reduce exe ecit event handling complexity 2013-11-03 21:04:13 +09:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz d6b83ff15e don't return blank locale parts
SVN revision: 81340
2012-12-19 09:52:14 +00:00
Mike Blumenkrantz 3577ddfff2 fix e_intl_locale_parts_combine() usage to handle locales without regions
SVN revision: 81241
2012-12-18 12:10:33 +00:00
Mike Blumenkrantz 37a539bf80 simplify string lowercasing in intl post-init
SVN revision: 81235
2012-12-18 11:10:00 +00:00
Mike Blumenkrantz 77d578451c fix retrieving locale parts if region is not present
SVN revision: 81233
2012-12-18 11:04:00 +00:00
Mike Blumenkrantz 8f1f764359 don't leak on iterate in intl path searching
SVN revision: 80831
2012-12-13 11:58:06 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Vincent Torri d1577525fa E: fix locale on OpenBSD. Maybe other OS need similar fixes
Patch by Maxime Villard (rustyBSD)

SVN revision: 75434
2012-08-19 18:20:54 +00:00
Sebastian Dransfeld b8f848697f Revert "e: Don't require svn to build"
This reverts commit 29a2a6f8e17fc991e0ea33bb8a1f920f32b0f504.

E already requires svn efl

SVN revision: 72822
2012-06-25 18:45:02 +00:00
Sebastian Dransfeld 9cb9e9cccc e: Don't require svn to build
SVN revision: 72821
2012-06-25 18:26:12 +00:00
Sebastian Dransfeld 6170dc4c14 efreet: Improve language reset
efreet.c: Reset parsed locale, and force a reparse of LANG env
efreet_cache.c: Close desktop cache so we reopen cache with correct
language

SVN revision: 72817
2012-06-25 17:12:35 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Chidambar Zinnoury ded0b195fa e i18n: When the user uses the system default localization, he may have different values set for each LC_ variable.
He may, for instance, want to have messages in English and dates in French. Let Enlightenment handle that by not setting everything to the LANG value.


SVN revision: 72232
2012-06-16 12:10:03 +00:00
Mike Blumenkrantz 466ff0bed4 reset efreet cached dirs on locale change
SVN revision: 72107
2012-06-14 07:39:08 +00:00
Mike Blumenkrantz 95fdf49738 formatting
SVN revision: 72103
2012-06-14 06:56:56 +00:00
Mike Blumenkrantz 9a1b59641a allocating 0 bytes: stay classy e
SVN revision: 64883
2011-11-07 22:29:29 +00:00
Tom Hacohen 1bb452f841 E locale: Fix Ibar, for some reason it fixes Ibar.
It doesn't seem to cause any issues, so whatever, I'm fine with that.

SVN revision: 62654
2011-08-21 09:39:55 +00:00
Tom Hacohen 98d28ca983 E intl: Set LANG instead of LC_ALL when setting language.
Also, don't force all the locale sections to be the same, let the user
override LC_* however he likes.

SVN revision: 62649
2011-08-21 08:29:04 +00:00
Carsten Haitzler e61c8c2a88 and lets have lang settings work by unsetting lang and language too if
set.



SVN revision: 62622
2011-08-20 05:16:42 +00:00
Carsten Haitzler d9137f2b49 no - LC_ALL. not LANG.
SVN revision: 62620
2011-08-20 05:11:12 +00:00
Tom Hacohen 44e8755513 E locale: Set LANG, not LC_ALL when setting locale.
SVN revision: 62558
2011-08-18 07:41:20 +00:00
Carsten Haitzler 8b464f5c4a complete work for xim support in e - so e sets up env vars right.. and
scim, uim and iimf are set to use xim compat modules for ecore.



SVN revision: 61794
2011-07-27 07:01:18 +00:00
Tom Hacohen 17357357c5 Revert "Revert "revert local changes - tasn doent seem to be any happier.""
Actually, as Sachiel pointed out, I'm not really happier.
This reverts commit 61048.

SVN revision: 61049
2011-07-05 11:47:39 +00:00
Tom Hacohen 241b27fd8d Revert "revert local changes - tasn doent seem to be any happier."
It does make me happier!
This reverts commit 61044.

SVN revision: 61048
2011-07-05 11:41:53 +00:00
Carsten Haitzler 44163246bf revert local changes - tasn doent seem to be any happier.
SVN revision: 61044
2011-07-05 11:20:56 +00:00
Carsten Haitzler 71bdb93fba convert UTF-8 -> utf8 and vice-versa if locale validation says the
system uses another utf8 definition.



SVN revision: 60815
2011-06-29 13:24:19 +00:00
Michael BOUCHAUD 07b1816f7e e: use LANG if LC_ALL is not defined
SVN revision: 59837
2011-05-31 09:50:56 +00:00
Carsten Haitzler a8744bd1c5 more intel todo items
SVN revision: 58277
2011-04-02 14:21:22 +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
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