Commit Graph

71 Commits

Author SHA1 Message Date
Mike Blumenkrantz abff6f1427 conf2 and related subsystems were a fun and useful experiment, but this is not their time. removed.
see econf.git
2013-11-25 16:04:01 -05:00
Carsten Haitzler a1d1e40559 elm integration improvement - copy themes over, fix includes and null config
provide a config upgrade path to version 13 which nulls/frees out
theme config (save memory - but more housekeeping), and that also
copeis ofer all files in ~/.e/e/themes to ~/.elementary/themes so you
don't lose themes you personally have and deletes the old e theme dir
if this succeeds.

also remove all #includes of Elementary.h and Emotion.h from single c
files as they are requirements now and in e.h

also remove theme path vars and code as theme path is no longer used.
2013-11-01 15:53:05 +09:00
Carsten Haitzler 4b4a51d189 elm theme use - use elementary only for themes and remove e's own theme
now e only uses elementary's theme. this is to stop the bitrot and
forking of e's theme vs the unified elm theme that has everything for
e in it already. this obviously makes elm a requirement of e18 on, and
this also notes that emotion is always in efl these days, so its no
longer an option, and ecore-imf is no longer used as edje does the
entires now itself. in future it'll all be elm.

this is a major unification point for themes for elm and e. this will
need some testing, but everything seems to work day-to-day, but theme
selector is untested.

this also removes the theme selector for splash as that is now simply
unified with the same theme as everything else.
2013-10-31 23:36:22 +09:00
Mike Blumenkrantz 6e33f33c59 rename comp border edje groups from e/comp/* to e/comp/border/* 2013-04-15 08:39:16 +01:00
Carsten Haitzler 819fa7c948 have a theme fallback in preview so it works right.
SVN revision: 80904
2012-12-13 23:33:29 +00:00
Carsten Haitzler 1a891cf8a3 lets be awesome ... and make the theme preview.. look a lot more like
a REAL PREVIEW OF A THEME!



SVN revision: 80834
2012-12-13 12:27:03 +00:00
Mike Blumenkrantz dd20b3c07d wallpaper and theme dialogs now resizable
ticket #1950


SVN revision: 80582
2012-12-10 08:23:08 +00:00
Mike Blumenkrantz ccba023d9a don't throw garbage error on missing e/desktop/background group for theme dialog
SVN revision: 80304
2012-12-06 07:44:00 +00:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz 362531b082 Dear all,
I'm attaching a patch for some minor bugs in the e17.
 Please take a look at attached patch.

 01. missing E_FREE(inst)
     File: src/bin/e_exec.c: 347
     Function: _e_exec_cb_exec

 02. missing null check
     File: src/bin/e_fm.c: 10173
     Function: _e_fm_error_dialog
     I'm not sure, but all other codes always check the return
     value of e_fm2_op_registry_entry_get except here.

 03. missing free(slave)
     File: src/bin/e_fm_ipc.c: 804
     Function: _e_fm_ipc_slave_run

 04. eina_list_remove after free
     File: src/bin/e_fm/e_fm_ipc.c :1325
     Function: _e_fm_ipc_cb_fop_trash_idler

 05. invalid check for _udisks_del, it might be _udisks_chg.
     File: src/bin/e_fm/e_fm_main_udisks.c : 162
     Function: _e_fm_main_udisks_test

 06. uninitialized gx and gy values
     File: src/bin/e_gadcon_popup.c: 172
     Function: _e_gadcon_popup_position
     These could be changed in e_gadcon_client_geometry_get
     if gcc->o_base is null.

 07. unnecessary code 'evas = e_win_evas_get(dia->win)'
     File: src/bin/e_import_config_dialog.c: 456
     Function: e_import_config_dialog_show

 08. missing free(sizes)
     src/bin/e_randr_11_serialization.c: 136
     Function: _11_try_restore_configuration()

 09. unnecessary variable output_info
     File: src/bin/e_randr_12.c: 560
     Function: _output_property_change_event_cb

 10. eina_list_remove after free
     File: src/bin/e_randr_12_serialization.c : 357
     Function: _12_serialized_setup_update

 11. no check of the return value of symlink.
     File: src/bin/e_widget_fsel.c: 84
     Function: _e_wid_fsel_favorites_add

 12. no evr->var check before comparing string values
     File: src/modules/conf_applications/e_int_config_defapps.c: 432
     Function: _basic_apply

 13. missing error message or check return value of edje_file_group_exists
     File: src/modules/conf_theme/e_int_config_theme.c: 333
     Function: _open_test_cb
     Anyway, I've added e_util_dialog_show if failed. Is it okay?

 14. missing index range check
     File: src/modules/gadman/e_mod_config.c: 153
     Function: _cb_config
     It could read negative array index, because return value of
     e_widget_ilist_selected_get might be negative.

 BR,
 Gwanglim


SVN revision: 80020
2012-12-03 07:54:07 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Mike Blumenkrantz c4c1d43cec ss ref here
SVN revision: 78450
2012-10-25 12:24:29 +00:00
Mike Blumenkrantz 90299ad93b this was clearly wrong, not sure how I didn't catch it sooner
SVN revision: 78448
2012-10-25 11:50:38 +00:00
Mike Blumenkrantz e7f840ddc0 completely remove exchange support since this is no longer supported/available
SVN revision: 76957
2012-09-21 10:16:28 +00:00
Mike Blumenkrantz fc0b124beb fix theme sorting in advanced dialog
ticket #1367


SVN revision: 75613
2012-08-23 10:32:07 +00:00
Mike Blumenkrantz 6ea8835011 disable click renaming in theme, wallpaper, desklock wallpaper, and fwin sidebar file lists
SVN revision: 75013
2012-08-08 11:55:50 +00:00
Mike Blumenkrantz 688eea87dd hugely improve the load times of the theme selector by staggering the preloading of all available themes with eio when the dialog loads instead of trying to load them all at once later
this should completely eliminate the previous behavior of locking e completely during load of theme list, but does NOT fix the same locking which still occurs when loading lots of file icons; some edje eio helpers are required for this :/


SVN revision: 74390
2012-07-25 12:38:56 +00:00
Christopher Michael 88151604ed E (conf_theme): Fix formatting of if statement.
SVN revision: 74389
2012-07-25 12:18:31 +00:00
Mike Blumenkrantz 64e08bee54 theme config -> advanced now uses eio
SVN revision: 74388
2012-07-25 11:58:30 +00:00
Mike Blumenkrantz 726fadf214 simplify some string copying in theme config
SVN revision: 74379
2012-07-25 09:42:15 +00:00
Mike Blumenkrantz f5eb595a59 fix stringshare usage in theme config
SVN revision: 74378
2012-07-25 09:20:33 +00:00
Mike Blumenkrantz f19d0eeaba formatting
SVN revision: 73128
2012-07-02 08:09:17 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Hannes Janetzek 415384fb82 e17: show theme preview, workaround http://trac.enlightenment.org/e/ticket/822
SVN revision: 63284
2011-09-08 09:39:22 +00:00
Hannes Janetzek 7207434188 e17/cont_theme: formatting
SVN revision: 62918
2011-08-28 13:28:12 +00:00
Hannes Janetzek 49910d95f5 e17/conf_theme: show preview
SVN revision: 62917
2011-08-28 13:25:56 +00:00
Hannes Janetzek 4f65b168d9 e17: reveal next selected item after delete in key and mousebindings
get ilist_cound before use in loops, when commands are queued it will be counted each time.


SVN revision: 57793
2011-03-16 09:38:46 +00:00
Hannes Janetzek c83350c141 e17:conf_theme: get ilist count first. it's expensive you know. this would have workaround the issue with infinite loop/no reaction on clear all items.
SVN revision: 57790
2011-03-16 08:29:13 +00:00
Christopher Michael f62f7278a0 Add UNUSED where needed.
SVN revision: 56674
2011-02-03 17:10:01 +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 121f40d86f Revert and re-apply badnull patch
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.




SVN revision: 51650
2010-08-26 01:34:13 +00:00
Cedric BAIL 9529a46ad3 * e: cleanup code.
SVN revision: 51568
2010-08-23 12:01:03 +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
Christopher Michael 2c20883ad3 Add UNUSED where needed.
SVN revision: 51417
2010-08-19 17:12:56 +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 a9bf975e7b export less
SVN revision: 45455
2010-01-22 20:28:39 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Christopher Michael ff96a40305 Fix all this config window class mess once and for all. Now using the config
registry path for window class correctly in that when the module(s) shut
down, the will kill the dialogs.



SVN revision: 44191
2009-12-04 22:37:18 +00:00
Christopher Michael 4042dda53a Use proper config dialog window class, so that when the module gets
unloaded, any existing dialogs are killed. This stops a crash that was
happening if the module was unloaded while the dialog was shown.



SVN revision: 44153
2009-12-03 03:41:24 +00:00
Carsten Haitzler fba7f5ecf7 fix code - they never showed the parent smarts! amazing it worked!
SVN revision: 43919
2009-11-23 13:21:01 +00:00
Hannes Janetzek 91211ef9c4 reopen fileman and dialog windows after restart of e.
- modules using e_configure_registry_add must be modified to 
  use registry path as window class for this to work
- fileman now uses e_remember to remember position instead of 
  handling it separately
- added option to window remember for remembering dialogs and 
  fileman windows automatically


SVN revision: 42607
2009-09-21 20:36:35 +00:00
Hannes Janetzek a551323a28 e/src/modules:
- cast ints to pointer correctly
- remove unused variables
- #if 0 unusued code
- fix some function declarations for callbacks 


SVN revision: 42210
2009-09-03 16:32:48 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Gustavo Sverzut Barbieri 23d3ff38d9 Use new eina_list_search_sorted_near_list.
Match new api.

By: Tiago Rezende Campos Falcão



SVN revision: 41626
2009-08-06 22:35:45 +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 613db34144 * e_int_config_theme: Use more eina macro, remove some memory leak,
reduce memory allocation and memory comparison.


SVN revision: 39552
2009-03-18 16:52:49 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Davide Andreoli 2904ca6d46 ICON: enlightenment/themes -> preferences-desktop-theme
SVN revision: 39373
2009-03-04 23:53:28 +00:00
Davide Andreoli 696e9a7449 * Use the new Exchange Smart Object in the E17 theme dialog (if exchange is installed)
SVN revision: 38037
2008-12-09 02:25:48 +00:00