Carsten Haitzler
c75b63a482
evas -> use mempool for many objects and things. but.. disable it for
...
now. use old calloc+free thing for 1.0 and enable mpool for 1.1. this
is just done in advance but disabled for some testing purposes looking
for some bugs.
SVN revision: 55006
2010-11-26 10:01:18 +00:00
Vincent Torri
a636dab74d
declare alloca()
...
SVN revision: 55003
2010-11-26 08:06:19 +00:00
Vincent Torri
d07b011ca8
move Ecore_File.h inclusion to the source file
...
SVN revision: 55002
2010-11-25 23:52:57 +00:00
Vincent Torri
42f57e9fc3
put alloca declaration after config.h
...
SVN revision: 55001
2010-11-25 23:48:59 +00:00
Gustavo Sverzut Barbieri
32c3f22f70
oops, forgot some machine output.
...
SVN revision: 55000
2010-11-25 23:22:50 +00:00
Gustavo Sverzut Barbieri
038b682a04
welcome edje_external_inspector.
...
this tool is similar to edje_inspector as it uses similar command line
and output formats, but instead of acting upon EDJ compiled files, it
will use edje EXTERNAL module providers (/usr/lib/edje/modules/*),
being able to list modules and their registered types.
it is quite useful to know which parameters are exposed, their types
and default value (--detail=terse) and also mode information such as
flags, min/max/step/accepted/denied and other valuable information
(--detail=all).
as usual it accepts globs to filter input. example usage:
{{{
shell$ edje_external_inspector -t '*anch*'
module {
name: "elm";
friendly_name: "Elementary";
types {
type {
name: "elm/anchorblock";
params {
string: "style" "default";
string: "text" "some text";
}
}
type {
name: "elm/anchorview";
params {
string: "style" "default";
string: "text" "some text";
}
}
}
}
shell$ edje_external_inspector --type='*anch*'
module {
name: "elm";
friendly_name: "Elementary";
types {
type {
name: "elm/anchorblock";
params {
string: "style" "default";
string: "text" "some text";
}
}
type {
name: "elm/anchorview";
params {
string: "style" "default";
string: "text" "some text";
}
}
}
}
shell$ edje_external_inspector --detail=all 'emo*'
module {
name: "emotion";
friendly_name: "Emotion";
types {
type {
name: "emotion";
label: "Emotion";
params {
choice: "engine" "xine"; /* flags: REGULAR, choices: "xine" "gstreamer" */
string: "file"; /* flags: REGULAR */
bool: "play" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
double: "position" "0"; /* flags: REGULAR */
bool: "smooth_scale" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
double: "audio_volume" "0.9"; /* flags: REGULAR */
bool: "audio_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
int: "audio_channel" "0"; /* flags: REGULAR */
bool: "video_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
int: "video_channel" "0"; /* flags: REGULAR */
bool: "spu_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
int: "spu_channel" "0"; /* flags: REGULAR */
int: "chapter" "0"; /* flags: REGULAR */
double: "play_speed" "1"; /* flags: REGULAR */
double: "play_length" "0"; /* flags: REGULAR */
}
}
}
}
}}}
SVN revision: 54999
2010-11-25 23:16:56 +00:00
helen
750d360c97
evas_object_image_file_set can receives null to unset
...
Passing null to the second parameter is the only way to unset
the file, so it should not have EINA_ARG_NONNULL to the file parameter
SVN revision: 54998
2010-11-25 19:41:59 +00:00
helen
c508b793d5
eina_array_data_set can receives null to unset
...
Passing null to the second parameter is the only way to unset the data,
so it should not have EINA_ARG_NONNULL to the data parameter
SVN revision: 54997
2010-11-25 19:38:45 +00:00
Sebastian Dransfeld
71b3b7f19b
TODO++
...
SVN revision: 54996
2010-11-25 19:08:08 +00:00
helen
be33a14270
Missing include in eina_inlist.c
...
Including eina_log.h in eina_inlist.c
Removing warning:
warning: implicit declaration of function ‘EINA_LOG_ERR’
If you do not include it, and compile eina with safety checks disabled,
Evas and Elementary will not find the EINA_LOG_ERR symbol when
compiling
SVN revision: 54995
2010-11-25 19:00:59 +00:00
Cedric BAIL
db4e12ca36
* eet: add EET_DATA_DESCRIPTOR_ADD_VAR_ARRAY_STRING.
...
SVN revision: 54989
2010-11-25 15:59:46 +00:00
Sebastian Dransfeld
14f8c7b24f
TODO++--
...
SVN revision: 54976
2010-11-25 09:41:08 +00:00
Sebastian Dransfeld
ffee0081c7
Keep all queried themes in hash
...
The previous logic would create a fake theme object in
efreet_icon_find_theme_check() if we didn't find the theme. Later in
efreet_icon_theme_dir_scan_all() we would delete this theme, and then
segv. As the user hopefully wont query for a bunch of non existing
themes, and each theme object is fairly small, keep all in hash.
SVN revision: 54975
2010-11-25 09:04:49 +00:00
Sebastian Dransfeld
e8e0615c08
only inherit hicolor if theme is valid
...
SVN revision: 54974
2010-11-25 09:04:39 +00:00
Sebastian Dransfeld
19e3d5ee33
Make icon test work without theme installed
...
SVN revision: 54973
2010-11-25 09:04:19 +00:00
Sebastian Dransfeld
6be2628e97
revert, name.internal is always set
...
SVN revision: 54965
2010-11-24 21:34:21 +00:00
Sebastian Dransfeld
58f3f4f363
check if name.internal exists
...
SVN revision: 54964
2010-11-24 21:31:24 +00:00
Sebastian Dransfeld
748f2423b1
only listen if icon cache is enabled
...
SVN revision: 54963
2010-11-24 21:29:35 +00:00
Sebastian Dransfeld
04f61e115b
we need to monitor each theme dir too
...
xdg-icon-resource creates and deletes a file called
.xdg-icon-resource-dummy in each dir.
SVN revision: 54962
2010-11-24 21:18:56 +00:00
Sebastian Dransfeld
cfe7ae6528
listen for IN_ATTRIB and IN_CLOSE_WRITE
...
use IN_ATTRIB|IN_CLOSE_WRITE instead of IN_MODIFY. Now we get changes if
attributes change, and only event when a user closes a changed file.
IN_MODIFY will trigger an event each time a write is flush'ed.
SVN revision: 54961
2010-11-24 21:15:52 +00:00
Sebastian Dransfeld
d09a0965c5
print buf, not file
...
SVN revision: 54960
2010-11-24 21:15:36 +00:00
Sebastian Dransfeld
58fe7c7261
print all inotify events
...
SVN revision: 54959
2010-11-24 21:15:20 +00:00
Sebastian Dransfeld
9b4886777f
right func to check for dir
...
SVN revision: 54958
2010-11-24 21:15:04 +00:00
Sebastian Dransfeld
54ec9cec67
listen to changes for icon dirs
...
SVN revision: 54957
2010-11-24 21:10:52 +00:00
Sebastian Dransfeld
8f7c47480d
use convenience macro
...
SVN revision: 54954
2010-11-24 20:52:12 +00:00
Sebastian Dransfeld
fabda0d559
reorder code
...
SVN revision: 54953
2010-11-24 20:51:48 +00:00
Sebastian Dransfeld
b6a8ffb13d
remove unneeded code
...
SVN revision: 54949
2010-11-24 19:37:01 +00:00
Vincent Torri
ba3c69df53
fix mouse event on Win XP, should be fixed on Win CE
...
SVN revision: 54938
2010-11-24 17:04:03 +00:00
Iván Briano
111f4b85ad
Use mempools to create parts
...
SVN revision: 54933
2010-11-24 15:26:54 +00:00
Sebastian Dransfeld
76bf6bc471
And always return
...
SVN revision: 54931
2010-11-24 11:30:12 +00:00
Sebastian Dransfeld
48471479e8
low prio for cache creation
...
SVN revision: 54930
2010-11-24 10:44:16 +00:00
Sebastian Dransfeld
7083a3f774
formatting
...
SVN revision: 54929
2010-11-24 10:33:49 +00:00
Sebastian Dransfeld
1f83aecc41
Always return before error handler
...
SVN revision: 54928
2010-11-24 10:33:40 +00:00
Sebastian Dransfeld
b645d20ab2
fix memleak and use realpath directly
...
SVN revision: 54927
2010-11-24 10:33:30 +00:00
Sebastian Dransfeld
cc981aba4d
remove printf
...
SVN revision: 54926
2010-11-24 09:37:56 +00:00
Sebastian Dransfeld
213be68ade
Only update if file has known extension
...
SVN revision: 54925
2010-11-24 09:37:46 +00:00
Sebastian Dransfeld
3fab0c44cb
actually change file, as we don't listen to attrib
...
SVN revision: 54924
2010-11-24 09:37:35 +00:00
Mike Blumenkrantz
e8ae0da271
fix compile
...
SVN revision: 54917
2010-11-24 02:40:54 +00:00
Mike Blumenkrantz
b9588a913f
fix conditional
...
SVN revision: 54916
2010-11-24 02:40:46 +00:00
Sebastian Dransfeld
263745797e
Listening for changes is private for desktop
...
SVN revision: 54911
2010-11-23 21:54:01 +00:00
Sebastian Dransfeld
620121501f
Don't close active desktop cache
...
SVN revision: 54910
2010-11-23 21:35:32 +00:00
Sebastian Dransfeld
d6cd4ae87d
always init cache
...
SVN revision: 54908
2010-11-23 21:16:19 +00:00
Sebastian Dransfeld
f557446b92
NULL pointers after deletion
...
SVN revision: 54907
2010-11-23 21:15:55 +00:00
Sebastian Dransfeld
3a0be239f9
And compile without ICON_CACHE
...
SVN revision: 54905
2010-11-23 20:26:50 +00:00
Sebastian Dransfeld
e2c6e11724
move cache file handling from desktop to cache
...
SVN revision: 54901
2010-11-23 20:14:13 +00:00
Sebastian Dransfeld
69e2339c4f
remove unused variables
...
SVN revision: 54900
2010-11-23 20:13:40 +00:00
Cedric BAIL
90b57c2ed0
* ecore: improve speed by reusing pipe and allocated structure.
...
SVN revision: 54896
2010-11-23 18:32:17 +00:00
Cedric BAIL
6f5333d336
* ecore: small cleanup.
...
SVN revision: 54893
2010-11-23 16:52:18 +00:00
Sebastian Dransfeld
38bad7fac0
catch term, not int
...
SVN revision: 54892
2010-11-23 16:50:16 +00:00
Sebastian Dransfeld
5db48201ce
trap sigint
...
SVN revision: 54891
2010-11-23 16:49:46 +00:00
Mike Blumenkrantz
6bed064f60
revert this for crankypants
...
SVN revision: 54888
2010-11-23 14:46:12 +00:00
Sebastian Dransfeld
7e584e6293
ecore is handled in main
...
SVN revision: 54887
2010-11-23 13:30:51 +00:00
Sebastian Dransfeld
15a241534c
touch an update file on completion
...
SVN revision: 54886
2010-11-23 13:30:39 +00:00
Sebastian Dransfeld
f6cb6541e3
rename fd to clarify usage
...
SVN revision: 54885
2010-11-23 13:30:17 +00:00
Mike Blumenkrantz
24703f1433
I'm tired of you, ecore_getopt. now you get the hammer.
...
SVN revision: 54863
2010-11-23 11:10:41 +00:00
Mike Blumenkrantz
a1c347ecd5
more correctly fix no-option parsing to still parse when no non-arg options are found
...
SVN revision: 54862
2010-11-23 10:56:50 +00:00
Mike Blumenkrantz
c6732ad9cc
fix bug where getopt_parse returns argc as the first nonopt argument when there are no nonopt arguments
...
SVN revision: 54861
2010-11-23 10:36:15 +00:00
Mike Blumenkrantz
4a3a740a3a
fix bug where getopt_parse returns 1 when there are no args
...
SVN revision: 54860
2010-11-23 10:25:58 +00:00
Vincent Torri
73aad0242d
whitespace --
...
SVN revision: 54856
2010-11-23 07:38:46 +00:00
P Purkayastha
fad048f1d2
From: P Purkayastha <ppurka@gmail.com>
...
Subject: Re: [e-users] eina: sandbox violation on emerge
On 11/21/2010 12:14 AM, P Purkayastha wrote:
> Hi,
> it seems eina is triggering a sandbox violation on emerge. Essentially
> it tries to remove a file present in / while installing. Seems to be
> something new added in revision r54731:
>
http://trac.enlightenment.org/e/changeset/54731/trunk/eina/src/modules/mp
> The build log is attached.
Replacing the $(controllerdir) with $(DESTDIR)$(controllerdir) makes
portage happy, and the installation succeeds:
cd "$S/src/modules/mp"
find . -name Makefile.am -exec sed -i -e '/rm -f
\$(controllerdir)/s/\$/\$(DESTDIR)\$/' {} \;
SVN revision: 54853
2010-11-23 07:05:43 +00:00
Gustavo Sverzut Barbieri
bc143bf7ad
oops, and the configure.ac
...
SVN revision: 54848
2010-11-22 23:27:14 +00:00
Gustavo Sverzut Barbieri
d964e8e5cb
welcome edje_inspector.
...
This tool inspects a binary EDJ file and dumps group names, part
names, parts, programs, externals, images, fonts and global data of
it. The output is in both human readable (edc-like) and machine
readable (easily parseable with shell scripts).
It allows filtering of groups, parts and programs names using glob
expressions (fnmatch). Also allows filtering of parts/prgrams that are
marked with "api:".
My idea is to later change elementary-generator to use this tool and
generate code for any Edje file, generating stub code for windows and
layouts marked with names "elm/win/*" and "elm/layoyt/application/*",
exposing parts marked as "api:". It would be much more helpful and
extensible than the current generator that is based on pre-defined C
code.
SVN revision: 54846
2010-11-22 23:24:44 +00:00
Mike Blumenkrantz
a5157e4a03
fix calloc usage
...
SVN revision: 54841
2010-11-22 23:04:45 +00:00
Gustavo Sverzut Barbieri
999737f657
add missing edit method: edje_edit_font_path_get()
...
SVN revision: 54836
2010-11-22 22:07:41 +00:00
Gustavo Sverzut Barbieri
1c9b6a174b
keep the same order so eet serialization works properly.
...
Fonts should be the same as Edje_Font_Directory_Entry as it's
serialized using the same eet descriptor, so the fields should match
their order.
SVN revision: 54835
2010-11-22 22:05:03 +00:00
Sebastian Dransfeld
86eb1f3367
TODO++
...
SVN revision: 54834
2010-11-22 21:31:35 +00:00
Sebastian Dransfeld
2762d8ba37
Always emit icon cache update event
...
If file starts with icon_ and ends with .cache, we have a new icon
cache, emit event.
SVN revision: 54833
2010-11-22 21:30:43 +00:00
Sebastian Dransfeld
7b68d53abc
fix fallback icon searching
...
SVN revision: 54831
2010-11-22 20:51:34 +00:00
Sebastian Dransfeld
d959bab700
Only remove from existing list
...
SVN revision: 54830
2010-11-22 20:51:20 +00:00
Sebastian Dransfeld
09aed7876d
close cache file after 60 seconds of inactivity
...
SVN revision: 54829
2010-11-22 20:51:05 +00:00
Sebastian Dransfeld
bdb6cdffd0
read fallback icon from cache
...
SVN revision: 54828
2010-11-22 20:50:46 +00:00
Sebastian Dransfeld
c36317f77c
do ecore_init, so ecore_time_get works
...
SVN revision: 54827
2010-11-22 20:50:32 +00:00
Sebastian Dransfeld
5c4adef911
And use right error handler
...
SVN revision: 54826
2010-11-22 20:50:09 +00:00
Sebastian Dransfeld
997158486a
ecore_file is init'ed in base
...
SVN revision: 54825
2010-11-22 20:49:52 +00:00
Sebastian Dransfeld
12550e7b58
init ecore_file in base
...
And add missing ecore_*shutdown() in shutdown
SVN revision: 54824
2010-11-22 20:49:22 +00:00
Sebastian Dransfeld
3624014340
Remove common included header
...
SVN revision: 54823
2010-11-22 20:49:08 +00:00
Sebastian Dransfeld
44264c2d8f
Add ecore headers to private header
...
Used everywhere
SVN revision: 54822
2010-11-22 20:48:55 +00:00
Sebastian Dransfeld
7ad68afff2
Don't add a new public header
...
SVN revision: 54821
2010-11-22 20:48:41 +00:00
Sebastian Dransfeld
d2b2019675
We always need to to the tasks in init on init
...
SVN revision: 54820
2010-11-22 20:48:24 +00:00
Sebastian Dransfeld
3c6ce92aa4
remove erronous chars
...
SVN revision: 54819
2010-11-22 20:47:14 +00:00
Gustavo Sverzut Barbieri
dd19bf1205
fix screensaver events, /me spanks raster (r53942)
...
SVN revision: 54791
2010-11-22 14:27:43 +00:00
Cedric BAIL
c9b34768ef
* evas: remove useless header.
...
SVN revision: 54790
2010-11-22 14:19:08 +00:00
Sebastian Dransfeld
862412f11d
rename
...
SVN revision: 54789
2010-11-22 14:16:58 +00:00
Sebastian Dransfeld
bbf23d8ab2
rename
...
SVN revision: 54788
2010-11-22 14:16:48 +00:00
Sebastian Dransfeld
64f366ee77
TODO++
...
SVN revision: 54787
2010-11-22 14:16:38 +00:00
Sebastian Dransfeld
8a9a0bbc15
TODO++
...
SVN revision: 54786
2010-11-22 14:16:29 +00:00
Sebastian Dransfeld
9941eba9d6
check for NULL
...
SVN revision: 54785
2010-11-22 14:16:19 +00:00
Sebastian Dransfeld
87baeb631b
Execute cache creator and listen for changes
...
SVN revision: 54784
2010-11-22 14:16:09 +00:00
Sebastian Dransfeld
04d52dcd86
cache update is a generic event
...
SVN revision: 54783
2010-11-22 14:15:59 +00:00
Sebastian Dransfeld
537f3fd258
include Ecore.h
...
SVN revision: 54782
2010-11-22 14:15:50 +00:00
Sebastian Dransfeld
a16314cd88
init ecore in main init
...
SVN revision: 54781
2010-11-22 14:15:40 +00:00
Sebastian Dransfeld
93429120f9
If only one path, only check extension
...
SVN revision: 54780
2010-11-22 14:15:30 +00:00
Carsten Haitzler
1c34083001
lets... use our return value shall we? <- THATS the missing icons bug
...
i was telling you about!
SVN revision: 54776
2010-11-22 09:47:36 +00:00
Carsten Haitzler
dab3599578
now we know it works - doc it.
...
SVN revision: 54765
2010-11-21 14:50:47 +00:00
Cedric BAIL
94ca4ee782
* eet: use eina configuration information correctly.
...
Patch from the OpenBSD team :
Fabien Romano <fabien@openbsd.org>
Jonathan Armani <armani@opensbd.org>
SVN revision: 54762
2010-11-21 11:07:50 +00:00
Cedric BAIL
5812f44f08
* eina: make -C doesn't exist on OpenBSD.
...
Patch from the OpenBSD team :
Fabien Romano <fabien@openbsd.org>
Jonathan Armani <armani@opensbd.org>
SVN revision: 54761
2010-11-21 11:03:53 +00:00
Cedric BAIL
8d85e48480
* eina: forgotten benchmark file.
...
Thanks to the OpenBSD team :
Fabien Romano <fabien@openbsd.org>
Jonathan Armani <armani@opensbd.org>
SVN revision: 54760
2010-11-21 10:58:57 +00:00
Cedric BAIL
0d5e9175bf
* eina: use available mempool.
...
Patch from the OpenBSD team :
Fabien Romano <fabien@openbsd.org>
Jonathan Armani <armani@opensbd.org>
SVN revision: 54759
2010-11-21 10:54:26 +00:00
Cedric BAIL
85a8b8834f
* eet: sync with eina efl_threads.m4.
...
Patch from the OpenBSD team :
Fabien Romano <fabien@openbsd.org>
Jonathan Armani <armani@opensbd.org>
SVN revision: 54758
2010-11-21 10:54:14 +00:00
Carsten Haitzler
c928276a8f
fix clicked when on hold set.
...
SVN revision: 54757
2010-11-21 06:28:13 +00:00