Commit Graph

107 Commits

Author SHA1 Message Date
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
Carsten Haitzler d8c635f964 more stringshare work
SVN revision: 18816
2005-12-03 15:39:25 +00:00
andyetitmoves 2f655c348d minor fix: add spaces to error messages
SVN revision: 18814
2005-12-03 15:00:44 +00:00
stffrdhrn 97fd4f7d87 Suggestion from Ramkumar
- Do not set LANGUAGE either


SVN revision: 18813
2005-12-03 12:53:02 +00:00
stffrdhrn 15d712ed4a Try to fix logic for setting locales when NULL is passed, This shoud satisfy
the needs of both Mathieu and andyetitmoves.
- Get lang from env vars
- If we were passed NULL do not set any env vars


SVN revision: 18809
2005-12-03 05:56:10 +00:00
stffrdhrn a917f4f7f4 Comments Cleaning:
- Todo--
- Todo++


SVN revision: 18789
2005-12-02 19:20:48 +00:00
stffrdhrn 9c10f7cfb2 Locale list udpate
- Only list valid locales


SVN revision: 18788
2005-12-02 19:05:12 +00:00
stffrdhrn 14742e0076 Clean up and enhanse language setting code.
- Add better directory search function
- Add ability to use locale aliases
- Add ability to validate locale by checking against "locale -a" output
- Fix up the locale list function ( now it is a little more simple )


SVN revision: 18787
2005-12-02 18:47:46 +00:00