Commit Graph

51 Commits

Author SHA1 Message Date
Carsten Haitzler 031e868b65 efm min - copy in nul byte terminator so be sure
coverity was not happy with this but it's harmless to copy that extra
nul byte... so do it

fix CID 1403950
2019-08-06 14:53:59 +01:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz baed804727 argh, another case of someone making callbacks with the data param last! fix fix! ABI borked again!
SVN revision: 76663
2012-09-14 10:52:08 +00:00
Mike Blumenkrantz 916fd8e183 fix e_fm2_mime_handler_mime_handlers_get() to return const like it should and fix usages to prevent freeing handlers. whoever wrote this initially should come over here so I can deliver spankies.
SVN revision: 75767
2012-08-28 08:54:54 +00:00
Mike Blumenkrantz 4c783428c4 formatting
SVN revision: 75762
2012-08-28 08:19:46 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +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 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
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +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
Gustavo Sverzut Barbieri 84a4e7a5e5 ooops! my mistake with missing parenthesis around math!
SVN revision: 40200
2009-04-18 23:13:33 +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
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 10396e6085 Use strlcpy
SVN revision: 37237
2008-10-27 12:34:35 +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
Christopher Michael d6d08445e2 Cleanup e_bg & e_theme nicely by removing globs.
Tell compiler about more unused hash params in e_fm_mime.c


SVN revision: 32090
2007-10-16 11:07:52 +00:00
Christopher Michael 5b40685c3f Tell compiler that hash is unused in this function.
SVN revision: 32089
2007-10-16 09:15:30 +00:00
Christopher Michael 857b0904f8 Append to the currect hash.
Fix some comments.


SVN revision: 32088
2007-10-16 09:11:43 +00:00
Christopher Michael ce97665b00 Fix returns for evas_hash_modify (which returns a pointer to the old data,
not a pointer to the hash).


SVN revision: 32085
2007-10-16 04:10:03 +00:00
codewarrior f3b6e167e9 Add e_fm2_mime_handler_test() to run a mime handler's internal test funciton
When as right click an icon, we need to run the test function to determine of
context entries need to go into the menu or not. (previously, only the glob /
mime check was being done)


SVN revision: 32080
2007-10-15 12:35:56 +00:00
Christopher Michael 15672179f7 Init some vars to NULL.
Minor formatting fixes.


SVN revision: 32075
2007-10-14 18:20:49 +00:00
Christopher Michael 511e3c1b8a Add context menu for setting themes from efm.
Fix e_fm_mime returns.


SVN revision: 32070
2007-10-14 17:31:27 +00:00
codewarrior 98d70425c2 Append the individual handlers to the list of handlers, not the list as a
whole.


SVN revision: 32067
2007-10-14 15:25:57 +00:00
codewarrior e9a0d97c04 Rename from fm / Fm to fm2 / Fm2 to stay consistent with code.
Change glob get function to do glob matching.


SVN revision: 32066
2007-10-14 15:17:32 +00:00
codewarrior c1601cdc69 Add functions to get list of handlers for glob and mime.
Add function sto call all handlers for a mime / glob.


SVN revision: 32064
2007-10-14 14:12:03 +00:00
Christopher Michael f196a8b159 Add mime/glob _del functions.
SVN revision: 32062
2007-10-14 13:39:39 +00:00
codewarrior 9ffb9ddab7 Add data pointers to test / action callbacks.
Add function to call a handler.


SVN revision: 32061
2007-10-14 12:59:26 +00:00
Christopher Michael 3304ad77d4 Add a mime_handler_free function.
SVN revision: 32060
2007-10-14 12:45:23 +00:00
Christopher Michael fa0b655a80 Some very minor formatting fixes.
Use evas_stringshare, not strdup.
Init some evas_lists to NULL.


SVN revision: 32059
2007-10-14 12:36:08 +00:00
codewarrior 7722513648 Skeleton code for upcoming context sensitive menus in EFM. This does nothing
and should be disregarded right now. (=


SVN revision: 32058
2007-10-14 12:22:52 +00:00
Christopher Michael 30523002c2 Some minor formatting fix before I start the mime handlers code :)
SVN revision: 32044
2007-10-12 08:17:40 +00:00
Sebastian Dransfeld ad3761c9bd Fix warnings.
SVN revision: 30963
2007-07-24 18:47:26 +00:00
Carsten Haitzler 22d4a7d9b9 nick's patches to use efreet_mime. seem to work fine.
SVN revision: 30856
2007-07-16 14:33:25 +00:00
Carsten Haitzler 7f38a7be33 make mime type loads more correct and efficient
SVN revision: 27064
2006-11-12 03:08:48 +00:00
Carsten Haitzler 378f823149 fix list remove. add cache flush. use it.
SVN revision: 26937
2006-11-04 02:31:53 +00:00
sebastid 1251802479 Don't strdup homedir
SVN revision: 26026
2006-09-22 19:55:11 +00:00
Carsten Haitzler d8ae790466 no - xpm is not requried to be supported. this is an auto-icon choice based
on mime type that is specific to e and how it chooses icons for file types -
i would love to see xpm die a slow horrible death. i have been hoping for its
death since i first started enlightenment back in 1996. anything i can do to
ease its way into its grave - i am happy to do. that means not supporting it
for things that are e specific and where we are not required to.


SVN revision: 26014
2006-09-22 03:51:17 +00:00
David Walter Seikel 132301b911 .xpm are allowed for icons to.
SVN revision: 26011
2006-09-22 02:07:41 +00:00
sebastid 87846017d6 Remove unused label.
SVN revision: 26007
2006-09-21 20:08:11 +00:00
Carsten Haitzler 8c9abfcdc5 there is now a mime type ->? icon mapping that can work in many ways... hooray
SVN revision: 25874
2006-09-16 11:35:54 +00:00
Carsten Haitzler 853ee8330d add more mime type locations - but this is bad - where do we stop?
SVN revision: 24911
2006-08-19 15:18:00 +00:00
Carsten Haitzler 9a2ccd1e64 case insensitive match.
SVN revision: 24895
2006-08-19 02:00:14 +00:00
sebastid 71194399af Fix return value.
Fix pointer advance.


SVN revision: 24419
2006-08-06 02:15:14 +00:00