Commit Graph

40 Commits

Author SHA1 Message Date
Mike Blumenkrantz b1c5983d72 revert some changes to e font that broke things; the hunt for #1284 begins
SVN revision: 74998
2012-08-08 08:33:33 +00:00
Mike Blumenkrantz bd6e61c6c8 also no need for calloc here
SVN revision: 74418
2012-07-26 07:11:43 +00:00
Mike Blumenkrantz d3f8ffeb61 some minor optimizations for _e_font_fontconfig_name_parse() as well as realloc failure handling
SVN revision: 74417
2012-07-26 07:08:22 +00:00
Mike Blumenkrantz 7fd07d8712 formatting
SVN revision: 74416
2012-07-26 06:49:35 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +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
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 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 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
Sebastian Dransfeld d3fe458ab8 formatting
SVN revision: 33993
2008-03-12 10:05:19 +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
Stafford Mitchell Horne 922208c066 Overhaul for font configuration (hope people like it)
* Added Preview for font
 * Basic is really basic (sets up all classes in one go)
 * Ability to use font scaling (Normal, Smal, Big)


SVN revision: 29836
2007-05-03 23:19:40 +00:00
Stafford Mitchell Horne cca951359d Working on font selector:
* Changed basic config so we can easily select Font/Style
  * Advanced is broken (Will be replaced)


SVN revision: 29369
2007-04-05 11:59:10 +00:00
Viktor Kojouharov c59cb3debe when disabling a font class, it will make all the affected parts use their default settings for the text, instead of visually having no change.
SVN revision: 27559
2006-12-24 10:30:57 +00:00
Stafford Mitchell Horne ba3f5839ea Use evas API to get font list
* new api is much faster
 * may be a bit of a hack the way I get the evas (anyone have another way?)
 * I guess I am an author (now that I have fulfilled my dodgy code quota)


SVN revision: 22417
2006-04-30 11:54:04 +00:00
Stafford Mitchell Horne afdd5b0686 Add Font Configuration Dialog, and...
* Added some e_widget api for handy things (Toggling checks, Setting Entry Text...)
 * Fixed some compiler warnings
 * TODO : Font hinting and this new font dialog should be merged, Also, need
   To add font fallbacks configuration to this dialog


SVN revision: 21655
2006-04-01 09:24:56 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler a3d5f5c28d a lot more use of stringshare.
SVN revision: 18823
2005-12-04 12:03:59 +00:00
Carsten Haitzler d8c635f964 more stringshare work
SVN revision: 18816
2005-12-03 15:39:25 +00:00
stffrdhrn b81b2c3044 E_Intl changes
- Hunt a path for message files


SVN revision: 18600
2005-11-22 13:28:10 +00:00
sebastid 10df2cc9b1 Nameing convention.
SVN revision: 17036
2005-09-28 17:36:35 +00:00
sebastid 18bec70092 Recalc border on font change.
Don't call an iterator next.


SVN revision: 16166
2005-08-14 22:22:17 +00:00
Carsten Haitzler d59acfc65f this is VERY evil - VERY evil. but its the sanest solution other than code
generation tools (scripts etc.) for generating wads of repetitive code
easily, and keeping the codec higher level logic per ipc call in 1 place.


SVN revision: 15026
2005-05-31 03:01:53 +00:00
Carsten Haitzler 4c7b29de44 shush shush
SVN revision: 14959
2005-05-26 12:38:53 +00:00
Carsten Haitzler 242e7b4744 shorne's patch
SVN revision: 14861
2005-05-20 03:09:44 +00:00
Carsten Haitzler 9f7013f03e key bindings... um.. kinda... work...
SVN revision: 14505
2005-04-29 19:42:19 +00:00
Carsten Haitzler b6cbce1fbd efd shoudl be null
SVN revision: 14488
2005-04-29 10:48:07 +00:00
Carsten Haitzler 0e19b0e71d 1. better chinese font - it screws up japanese though. grrr. lets talk about
language packsg where a lang pack can ship with/set up a font (add it to the
list) and set up locale properly using ipc and a bit of code etc. - well
eventually.


SVN revision: 14433
2005-04-28 06:27:25 +00:00
sebastid 24c062baa0 E style.
SVN revision: 14290
2005-04-22 06:31:48 +00:00
Carsten Haitzler 374d09d00b shorne's cleanups
SVN revision: 14288
2005-04-22 04:25:51 +00:00
sebastid d6f9d054e2 config.h is in e.h
remove some compiler warnings with __UNUSED__


SVN revision: 14168
2005-04-13 06:03:50 +00:00
Carsten Haitzler 8b39a9b2bb dont die if u dont rm your cfg
SVN revision: 14078
2005-04-03 01:52:16 +00:00
Carsten Haitzler cc72cca1b8 the rest of shorne's font stuff
SVN revision: 14077
2005-04-02 17:11:04 +00:00