Tom Hacohen [Mon, 29 Nov 2010 15:04:44 +0000 (15:04 +0000)]
Evas textblock: Fixed a bug with inserting text before a <PS>.
SVN revision: 55064
Cedric BAIL [Mon, 29 Nov 2010 14:04:16 +0000 (14:04 +0000)]
* eet: improve speed for Eet_String users.
SVN revision: 55063
Cedric BAIL [Mon, 29 Nov 2010 13:17:33 +0000 (13:17 +0000)]
* efreet: improve speed of cache regeneration.
SVN revision: 55060
Mike Blumenkrantz [Mon, 29 Nov 2010 07:07:16 +0000 (07:07 +0000)]
explicitly set eina error level, add a printf
10k fd test successfully passed! in 1.5 minutes :(
SVN revision: 55053
Mike Blumenkrantz [Mon, 29 Nov 2010 00:13:52 +0000 (00:13 +0000)]
null pointer to avoid partial free in rare cases
SVN revision: 55046
Mike Blumenkrantz [Sun, 28 Nov 2010 22:03:07 +0000 (22:03 +0000)]
fix weird bug where fdh in a list could become null
SVN revision: 55044
Mike Blumenkrantz [Sun, 28 Nov 2010 21:51:07 +0000 (21:51 +0000)]
fix annoying printfs that should be ERRs
SVN revision: 55043
Cedric BAIL [Sun, 28 Nov 2010 10:05:52 +0000 (10:05 +0000)]
efreet: probably fix windows build.
SVN revision: 55040
Sebastian Dransfeld [Sat, 27 Nov 2010 21:51:07 +0000 (21:51 +0000)]
init count to 0
SVN revision: 55038
Sebastian Dransfeld [Sat, 27 Nov 2010 20:36:39 +0000 (20:36 +0000)]
formatting
SVN revision: 55037
Sebastian Dransfeld [Sat, 27 Nov 2010 20:36:27 +0000 (20:36 +0000)]
Stick with efreet formatting
efreet has it's own formatting, something like
"set ts=4 sw=4 sts=4 expandtab cino=(0W1st0". Please keep it like this,
or do the job to convert the whole lib to efl style.
SVN revision: 55036
Sebastian Dransfeld [Sat, 27 Nov 2010 20:15:00 +0000 (20:15 +0000)]
Rename efreet_icon_private.h to something better
efreet_icon_private.h should be private to external code interacting
with the icon cache, so name it efreet_cache_private.h and only include
Eet.h there.
SVN revision: 55035
Cedric BAIL [Sat, 27 Nov 2010 17:02:18 +0000 (17:02 +0000)]
* efreet: Eet.h is needed by declaration in efreet_private.h.
SVN revision: 55034
Christopher Michael [Fri, 26 Nov 2010 21:32:34 +0000 (21:32 +0000)]
Fix missing include <Ecore.h> for needed ecore functions
(ecore_time_get, ecore_exe_run, etc, etc).
SVN revision: 55027
Vincent Torri [Fri, 26 Nov 2010 20:48:50 +0000 (20:48 +0000)]
fix efreet after the Windows commits
SVN revision: 55026
Rui Seabra [Fri, 26 Nov 2010 20:08:52 +0000 (20:08 +0000)]
Adjusting rpm spec to a more current state of affairs.
SVN revision: 55025
Vincent Torri [Fri, 26 Nov 2010 18:41:43 +0000 (18:41 +0000)]
remove win7 code and fix other minor problems
SVN revision: 55023
Vincent Torri [Fri, 26 Nov 2010 17:05:16 +0000 (17:05 +0000)]
fix compilation on Windows
SVN revision: 55021
Cedric BAIL [Fri, 26 Nov 2010 16:46:35 +0000 (16:46 +0000)]
* edje: strcpy could only go wrong.
SVN revision: 55020
Vincent Torri [Fri, 26 Nov 2010 15:34:30 +0000 (15:34 +0000)]
more fixes, but needs to remove Windows 7 code, now...
SVN revision: 55019
Cedric BAIL [Fri, 26 Nov 2010 14:56:23 +0000 (14:56 +0000)]
* efreet: improve icon cache, increase speed and consume a little
more memory than previous version.
TODO: efreet_icon_cache_create could be speeded up if we did
reuse already generated theme instead when doing inherit work.
NOTE: Let me add a rant against Freedesktop standard. Walking
around 22731 paths for 3051 icons is insane and that's just for
one theme ! Maybe they could give me one SSD...
SVN revision: 55018
Cedric BAIL [Fri, 26 Nov 2010 14:45:15 +0000 (14:45 +0000)]
* eet: another forgotten improvement.
SVN revision: 55017
Cedric BAIL [Fri, 26 Nov 2010 14:40:53 +0000 (14:40 +0000)]
* eet: reduce memory used by Eet dictionary.
SVN revision: 55016
Vincent Torri [Fri, 26 Nov 2010 13:54:11 +0000 (13:54 +0000)]
typo
SVN revision: 55015
Vincent Torri [Fri, 26 Nov 2010 13:50:31 +0000 (13:50 +0000)]
add native win32 thread support in ecore_thread. Not tested a lot at all.
SVN revision: 55014
Vincent Torri [Fri, 26 Nov 2010 13:47:51 +0000 (13:47 +0000)]
on Windows, "C:" is not a directory, but a drive.
SVN revision: 55013
Sebastian Dransfeld [Fri, 26 Nov 2010 10:27:41 +0000 (10:27 +0000)]
Check if dir exists before listening to it
SVN revision: 55008
Carsten Haitzler [Fri, 26 Nov 2010 10:01:18 +0000 (10:01 +0000)]
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
Vincent Torri [Fri, 26 Nov 2010 08:06:19 +0000 (08:06 +0000)]
declare alloca()
SVN revision: 55003
Vincent Torri [Thu, 25 Nov 2010 23:52:57 +0000 (23:52 +0000)]
move Ecore_File.h inclusion to the source file
SVN revision: 55002
Vincent Torri [Thu, 25 Nov 2010 23:48:59 +0000 (23:48 +0000)]
put alloca declaration after config.h
SVN revision: 55001
Gustavo Sverzut Barbieri [Thu, 25 Nov 2010 23:22:50 +0000 (23:22 +0000)]
oops, forgot some machine output.
SVN revision: 55000
Gustavo Sverzut Barbieri [Thu, 25 Nov 2010 23:16:56 +0000 (23:16 +0000)]
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
helen [Thu, 25 Nov 2010 19:41:59 +0000 (19:41 +0000)]
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
helen [Thu, 25 Nov 2010 19:38:45 +0000 (19:38 +0000)]
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
Sebastian Dransfeld [Thu, 25 Nov 2010 19:08:08 +0000 (19:08 +0000)]
TODO++
SVN revision: 54996
helen [Thu, 25 Nov 2010 19:00:59 +0000 (19:00 +0000)]
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
Cedric BAIL [Thu, 25 Nov 2010 15:59:46 +0000 (15:59 +0000)]
* eet: add EET_DATA_DESCRIPTOR_ADD_VAR_ARRAY_STRING.
SVN revision: 54989
Sebastian Dransfeld [Thu, 25 Nov 2010 09:41:08 +0000 (09:41 +0000)]
TODO++--
SVN revision: 54976
Sebastian Dransfeld [Thu, 25 Nov 2010 09:04:49 +0000 (09:04 +0000)]
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
Sebastian Dransfeld [Thu, 25 Nov 2010 09:04:39 +0000 (09:04 +0000)]
only inherit hicolor if theme is valid
SVN revision: 54974
Sebastian Dransfeld [Thu, 25 Nov 2010 09:04:19 +0000 (09:04 +0000)]
Make icon test work without theme installed
SVN revision: 54973
Sebastian Dransfeld [Wed, 24 Nov 2010 21:34:21 +0000 (21:34 +0000)]
revert, name.internal is always set
SVN revision: 54965
Sebastian Dransfeld [Wed, 24 Nov 2010 21:31:24 +0000 (21:31 +0000)]
check if name.internal exists
SVN revision: 54964
Sebastian Dransfeld [Wed, 24 Nov 2010 21:29:35 +0000 (21:29 +0000)]
only listen if icon cache is enabled
SVN revision: 54963
Sebastian Dransfeld [Wed, 24 Nov 2010 21:18:56 +0000 (21:18 +0000)]
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
Sebastian Dransfeld [Wed, 24 Nov 2010 21:15:52 +0000 (21:15 +0000)]
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
Sebastian Dransfeld [Wed, 24 Nov 2010 21:15:36 +0000 (21:15 +0000)]
print buf, not file
SVN revision: 54960
Sebastian Dransfeld [Wed, 24 Nov 2010 21:15:20 +0000 (21:15 +0000)]
print all inotify events
SVN revision: 54959
Sebastian Dransfeld [Wed, 24 Nov 2010 21:15:04 +0000 (21:15 +0000)]
right func to check for dir
SVN revision: 54958
Sebastian Dransfeld [Wed, 24 Nov 2010 21:10:52 +0000 (21:10 +0000)]
listen to changes for icon dirs
SVN revision: 54957
Sebastian Dransfeld [Wed, 24 Nov 2010 20:52:12 +0000 (20:52 +0000)]
use convenience macro
SVN revision: 54954
Sebastian Dransfeld [Wed, 24 Nov 2010 20:51:48 +0000 (20:51 +0000)]
reorder code
SVN revision: 54953
Sebastian Dransfeld [Wed, 24 Nov 2010 19:37:01 +0000 (19:37 +0000)]
remove unneeded code
SVN revision: 54949
Vincent Torri [Wed, 24 Nov 2010 17:04:03 +0000 (17:04 +0000)]
fix mouse event on Win XP, should be fixed on Win CE
SVN revision: 54938
Iván Briano [Wed, 24 Nov 2010 15:26:54 +0000 (15:26 +0000)]
Use mempools to create parts
SVN revision: 54933
Sebastian Dransfeld [Wed, 24 Nov 2010 11:30:12 +0000 (11:30 +0000)]
And always return
SVN revision: 54931
Sebastian Dransfeld [Wed, 24 Nov 2010 10:44:16 +0000 (10:44 +0000)]
low prio for cache creation
SVN revision: 54930
Sebastian Dransfeld [Wed, 24 Nov 2010 10:33:49 +0000 (10:33 +0000)]
formatting
SVN revision: 54929
Sebastian Dransfeld [Wed, 24 Nov 2010 10:33:40 +0000 (10:33 +0000)]
Always return before error handler
SVN revision: 54928
Sebastian Dransfeld [Wed, 24 Nov 2010 10:33:30 +0000 (10:33 +0000)]
fix memleak and use realpath directly
SVN revision: 54927
Sebastian Dransfeld [Wed, 24 Nov 2010 09:37:56 +0000 (09:37 +0000)]
remove printf
SVN revision: 54926
Sebastian Dransfeld [Wed, 24 Nov 2010 09:37:46 +0000 (09:37 +0000)]
Only update if file has known extension
SVN revision: 54925
Sebastian Dransfeld [Wed, 24 Nov 2010 09:37:35 +0000 (09:37 +0000)]
actually change file, as we don't listen to attrib
SVN revision: 54924
Mike Blumenkrantz [Wed, 24 Nov 2010 02:40:54 +0000 (02:40 +0000)]
fix compile
SVN revision: 54917
Mike Blumenkrantz [Wed, 24 Nov 2010 02:40:46 +0000 (02:40 +0000)]
fix conditional
SVN revision: 54916
Sebastian Dransfeld [Tue, 23 Nov 2010 21:54:01 +0000 (21:54 +0000)]
Listening for changes is private for desktop
SVN revision: 54911
Sebastian Dransfeld [Tue, 23 Nov 2010 21:35:32 +0000 (21:35 +0000)]
Don't close active desktop cache
SVN revision: 54910
Sebastian Dransfeld [Tue, 23 Nov 2010 21:16:19 +0000 (21:16 +0000)]
always init cache
SVN revision: 54908
Sebastian Dransfeld [Tue, 23 Nov 2010 21:15:55 +0000 (21:15 +0000)]
NULL pointers after deletion
SVN revision: 54907
Sebastian Dransfeld [Tue, 23 Nov 2010 20:26:50 +0000 (20:26 +0000)]
And compile without ICON_CACHE
SVN revision: 54905
Sebastian Dransfeld [Tue, 23 Nov 2010 20:14:13 +0000 (20:14 +0000)]
move cache file handling from desktop to cache
SVN revision: 54901
Sebastian Dransfeld [Tue, 23 Nov 2010 20:13:40 +0000 (20:13 +0000)]
remove unused variables
SVN revision: 54900
Cedric BAIL [Tue, 23 Nov 2010 18:32:17 +0000 (18:32 +0000)]
* ecore: improve speed by reusing pipe and allocated structure.
SVN revision: 54896
Cedric BAIL [Tue, 23 Nov 2010 16:52:18 +0000 (16:52 +0000)]
* ecore: small cleanup.
SVN revision: 54893
Sebastian Dransfeld [Tue, 23 Nov 2010 16:50:16 +0000 (16:50 +0000)]
catch term, not int
SVN revision: 54892
Sebastian Dransfeld [Tue, 23 Nov 2010 16:49:46 +0000 (16:49 +0000)]
trap sigint
SVN revision: 54891
Mike Blumenkrantz [Tue, 23 Nov 2010 14:46:12 +0000 (14:46 +0000)]
revert this for crankypants
SVN revision: 54888
Sebastian Dransfeld [Tue, 23 Nov 2010 13:30:51 +0000 (13:30 +0000)]
ecore is handled in main
SVN revision: 54887
Sebastian Dransfeld [Tue, 23 Nov 2010 13:30:39 +0000 (13:30 +0000)]
touch an update file on completion
SVN revision: 54886
Sebastian Dransfeld [Tue, 23 Nov 2010 13:30:17 +0000 (13:30 +0000)]
rename fd to clarify usage
SVN revision: 54885
Mike Blumenkrantz [Tue, 23 Nov 2010 11:10:41 +0000 (11:10 +0000)]
I'm tired of you, ecore_getopt. now you get the hammer.
SVN revision: 54863
Mike Blumenkrantz [Tue, 23 Nov 2010 10:56:50 +0000 (10:56 +0000)]
more correctly fix no-option parsing to still parse when no non-arg options are found
SVN revision: 54862
Mike Blumenkrantz [Tue, 23 Nov 2010 10:36:15 +0000 (10:36 +0000)]
fix bug where getopt_parse returns argc as the first nonopt argument when there are no nonopt arguments
SVN revision: 54861
Mike Blumenkrantz [Tue, 23 Nov 2010 10:25:58 +0000 (10:25 +0000)]
fix bug where getopt_parse returns 1 when there are no args
SVN revision: 54860
Vincent Torri [Tue, 23 Nov 2010 07:38:46 +0000 (07:38 +0000)]
whitespace --
SVN revision: 54856
P Purkayastha [Tue, 23 Nov 2010 07:05:43 +0000 (07:05 +0000)]
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
Gustavo Sverzut Barbieri [Mon, 22 Nov 2010 23:27:14 +0000 (23:27 +0000)]
oops, and the configure.ac
SVN revision: 54848
Gustavo Sverzut Barbieri [Mon, 22 Nov 2010 23:24:44 +0000 (23:24 +0000)]
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
Mike Blumenkrantz [Mon, 22 Nov 2010 23:04:45 +0000 (23:04 +0000)]
fix calloc usage
SVN revision: 54841
Gustavo Sverzut Barbieri [Mon, 22 Nov 2010 22:07:41 +0000 (22:07 +0000)]
add missing edit method: edje_edit_font_path_get()
SVN revision: 54836
Gustavo Sverzut Barbieri [Mon, 22 Nov 2010 22:05:03 +0000 (22:05 +0000)]
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
Sebastian Dransfeld [Mon, 22 Nov 2010 21:31:35 +0000 (21:31 +0000)]
TODO++
SVN revision: 54834
Sebastian Dransfeld [Mon, 22 Nov 2010 21:30:43 +0000 (21:30 +0000)]
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
Sebastian Dransfeld [Mon, 22 Nov 2010 20:51:34 +0000 (20:51 +0000)]
fix fallback icon searching
SVN revision: 54831
Sebastian Dransfeld [Mon, 22 Nov 2010 20:51:20 +0000 (20:51 +0000)]
Only remove from existing list
SVN revision: 54830
Sebastian Dransfeld [Mon, 22 Nov 2010 20:51:05 +0000 (20:51 +0000)]
close cache file after 60 seconds of inactivity
SVN revision: 54829
Sebastian Dransfeld [Mon, 22 Nov 2010 20:50:46 +0000 (20:50 +0000)]
read fallback icon from cache
SVN revision: 54828
Sebastian Dransfeld [Mon, 22 Nov 2010 20:50:32 +0000 (20:50 +0000)]
do ecore_init, so ecore_time_get works
SVN revision: 54827
Sebastian Dransfeld [Mon, 22 Nov 2010 20:50:09 +0000 (20:50 +0000)]
And use right error handler
SVN revision: 54826