Commit Graph

157 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
andyetitmoves 608a3e40f5 (e_intl_language_set) Fixed a bug when lang is NULL. The expected behaviour is
to restore the original environment variables. The code, after doing this, sets
back all the env vars to _e_intl_language. This fails when the different locale
env vars have different values.


SVN revision: 18766
2005-12-01 16:53:20 +00:00
stffrdhrn 26b69ad8bd - Clean up the best match function and make it work
- In e_path the user list should be before the default list
- Add a function to list all available locales wrapping "locale -a"


SVN revision: 18647
2005-11-26 11:44:02 +00:00
Carsten Haitzler 2551e897ed dont segv on empty bind param etc. matches. also a note for intle.
SVN revision: 18639
2005-11-25 04:10:54 +00:00
stffrdhrn b81b2c3044 E_Intl changes
- Hunt a path for message files


SVN revision: 18600
2005-11-22 13:28:10 +00:00
Emfox Zhou 9fd1fdf8b8 add zh_TW translation, thanks to Sam Xu.
SVN revision: 18491
2005-11-16 03:47:20 +00:00
sebastid bc0b703788 Don't use strlen to check emtpy string.
SVN revision: 18274
2005-11-04 09:20:00 +00:00
Carsten Haitzler 6890023f71 a scrollview smart plus gfx for it.
SVN revision: 18103
2005-10-29 11:51:19 +00:00
sebastid 4970ccc1e7 Remove unused variable.
Add return values.


SVN revision: 17809
2005-10-23 12:05:55 +00:00
stffrdhrn 60796f6c2a - Add new path for input method configuration files (may not needed?)
- Fix cs_CZ bug from Gori
- Scan input method path for configuration files
- Split e_intl startup/shutdown into things that need to be done first and
  things that need to be done later. This is better than throwing e_intl
  init code into various parts of the system.
- Add ipc to modify the input method path "input_methods"

TODO:
- Add some default configuration files


SVN revision: 17784
2005-10-23 04:56:51 +00:00
stffrdhrn dbf758eb78 - Add the ability for e_intl to shutdown the im exe during shutdown
- Also shutdown the old exe when switching IM's
- In e_main.c I have moved e_intl shutdown to before e_main_shutdown
  this is because e_intl needs to clean up its ecore stuff before ecore
  does it, maybe this is incorrect, let me know


SVN revision: 17757
2005-10-22 05:35:25 +00:00
stffrdhrn 1cb7757daa - Try to keep track of the input method exe
- Add error message if input method exe fails to launch


SVN revision: 17691
2005-10-20 00:12:07 +00:00
stffrdhrn c74d477ef7 - Change language_pack name to input_method_config, Language pack is going to
be somthing else
- Fix Some memory problems in e_intl
- Add methods for reading and writing the configuration from an Eet
- Add a program used for creating and editing the input method config


SVN revision: 17690
2005-10-19 23:34:17 +00:00
stffrdhrn acad00c68c fix memory problem with input_method listing
SVN revision: 17588
2005-10-16 02:40:13 +00:00
Carsten Haitzler 027e5afb18 shorne's intl work! :)
SVN revision: 17575
2005-10-15 10:49:54 +00:00
Carsten Haitzler e7de25fcbd norwegan!
SVN revision: 17563
2005-10-15 05:50:16 +00:00
sebastid 1a6f689285 The right way (tm)!
SVN revision: 17254
2005-10-06 23:47:03 +00:00
tsauerbeck 35429f3b55 don't free list data twice
SVN revision: 17246
2005-10-06 19:29:02 +00:00
Dan Sinclair 02a815f78a - remove config.h from e.h and put it into the .c files that need it.
e.h is an installed header so modules can be written outside the e tree.
  config.h isn't installed by e. so, if the module dosen't have a config.h
  and the local directory in their include path the build will fail.


SVN revision: 16719
2005-09-14 20:19:44 +00:00
sebastid 880a2f20e8 IF_FREE -> E_FREE
SVN revision: 16573
2005-09-05 15:24:07 +00:00
troback ff2e533923 Swedish added.
SVN revision: 16295
2005-08-23 07:20:25 +00:00
Carsten Haitzler 9e7cd72067 ok lots of things here...
1. e17 is now relocatable. the wm will determine its install prefix on the
fly when it is run. so you can use --prefix=/usr/local/e17 and just move the
base dir (/usr/local/e17) to anywhere you like at any later time and e will
adjust and find it. it still has built in fallbacks too so it will use the
compiled prefix as normal if its hunting and 2 checks dont pass.

2. edit mode for gadgets will work with alt+left click on a gadget and
instantly end when u lift the mouse. alst ctrl+alt+g will activate/deactivate
edit mode

3. borderless windows are not allowed to be shaded

4. shaded windows are not allowed to have their border changed

5. just have never seen the pager mess up bug - so until there is some way
of reproducing it or even knowing its still there - remove

6. autoraise timers should be fixed on focus changes

7. stickiness remembering works in the pager now on start of a remembered app


SVN revision: 15966
2005-07-31 06:22:31 +00:00
Carsten Haitzler 4a487d8c53 conservative governor support, sk intl support
SVN revision: 15903
2005-07-26 13:26:02 +00:00
Carsten Haitzler 6e73e8ff11 damn - um... patches from mailing list - fix patch with layer number. da.po -
waiting for da.po i can use.. etc :)


SVN revision: 15738
2005-07-12 03:53:56 +00:00
Carsten Haitzler 70163428b5 intl - use env vars if set. allow reset to env vars default
SVN revision: 15545
2005-06-27 13:24:56 +00:00
Carsten Haitzler d9ee0636e0 czech po
SVN revision: 15042
2005-05-31 22:59:31 +00:00
Carsten Haitzler 3bd72d9e10 fix intl
SVN revision: 14992
2005-05-28 17:05:50 +00:00
Carsten Haitzler a0bab24802 fix shaped windows - event loop
put some fixme's in for netwm.. too many round trips -especially on map


SVN revision: 14987
2005-05-28 13:22:15 +00:00
Carsten Haitzler 63cd002807 was wrokign on intl stuff but got distracted by optimising. will come back to
intl. optimised some code paths. e_place.c is evil. the smart place function
NEEDS speeding up. this may mean a re-think of how it works. not sure.


SVN revision: 14974
2005-05-28 05:03:27 +00:00
Carsten Haitzler 002173317c intl doesnt need that - must work on the ability to do language packs
prefix detection. this is the first step to making e17 itself re-locatable
(install anywhere)


SVN revision: 14857
2005-05-19 09:23:54 +00:00
Carsten Haitzler cce85ff7da explicitly use lang... and set lc_all if its set too..
SVN revision: 14573
2005-05-03 13:19:27 +00:00
Carsten Haitzler 14b320515c slovenian mapping done right
SVN revision: 14567
2005-05-03 08:14:45 +00:00
Carsten Haitzler e13f386abf you can change language on the fly by enlightenment_remote and it saves the
settings etc. lists available languages etc. etc. works nicely here...


SVN revision: 14566
2005-05-03 08:06:50 +00:00
Carsten Haitzler 5118e70689 it support1 :) and updates to other languages! :)
SVN revision: 14544
2005-05-02 06:48:38 +00:00
Carsten Haitzler f2d491584b slovenian!
SVN revision: 14515
2005-04-30 08:07:14 +00:00
Carsten Haitzler b950085e25 hungarian po
fix zh_CN probs
work on bindings code - add actions system framework. it's not ready for
sliding in yet as i need to fill out actions  but once i do i can slide the
current code across and then work on sliding keybindings in.


SVN revision: 14378
2005-04-26 15:06:06 +00:00
sebastid 19cba77f5b Dragging windows between desks work now.
SVN revision: 14326
2005-04-24 19:56:42 +00:00
Carsten Haitzler dd4a98045a polish translation.
updates to other languages
path strncpy
notes for e_theme work


SVN revision: 14287
2005-04-22 03:06:27 +00:00
Carsten Haitzler acd4137ae6 vandango's de!
todo bug...


SVN revision: 14253
2005-04-20 03:14:07 +00:00
Carsten Haitzler f32e3f7cff 1. bulgarian
2. start working on making sure e17 follows all of icccm at a minimum. -
   netwm will be next.


SVN revision: 14250
2005-04-19 13:42:08 +00:00
Carsten Haitzler b7804422b4 russian po :)
SVN revision: 14232
2005-04-19 03:19:18 +00:00
Carsten Haitzler 71ffa1b03f update TODO and language stuff
SVN revision: 14220
2005-04-18 07:15:48 +00:00
Carsten Haitzler 88f86a4453 spanish - for now it'll be the generic spanish until we have multipel spanish
translations... :)


SVN revision: 14206
2005-04-15 06:29:43 +00:00
Carsten Haitzler 72eb2e9bc9 wrap putenv... (and for remote_main just strudup - if we leak it doesnt
matter - it will not run for long :) )


SVN revision: 14195
2005-04-14 09:09:22 +00:00
Carsten Haitzler 3ced20074a no - u NEED to set the LNAG for gettext to use that lang - if u dont e can't
change its lang runtime. :) the problem is it gets inherited by child
processes... thus make it use the result of getenv to init... (a NULL retunr
will mean e tries to use en anyway)


SVN revision: 14193
2005-04-14 05:49:17 +00:00
sebastid b34711e5e3 Don't modify users env if the user already has LANG
SVN revision: 14192
2005-04-14 05:32:10 +00:00
Carsten Haitzler 86e8a43e71 more info in intl for people helping
SVN revision: 14190
2005-04-14 02:50:52 +00:00
sebastid 4d1a27c0da Fix norwegian
SVN revision: 14181
2005-04-13 19:49:35 +00:00
sebastid ca274ed40f Remove meaningless while loop
SVN revision: 14180
2005-04-13 19:47:25 +00:00
Carsten Haitzler 0939b44ff7 start of shaped client/border/menu support ... dropshaodw is SLOW with this.
SVN revision: 14173
2005-04-13 15:52:34 +00:00
sebastid e31e8c5290 French
SVN revision: 14166
2005-04-13 05:59:46 +00:00