Commit Graph

11826 Commits

Author SHA1 Message Date
Cedric BAIL 5d663ce49b * eina, eet: fix coverage generation with newer lcov.
SVN revision: 55070
2010-11-29 18:40:26 +00:00
Cedric BAIL 46fd048e2c * eet: Improve speed of eet_data_read decoding. Mostly for array.
NOTE: with a major rewrite of the way array does the structure
	allocation/destruction it could be made much faster. That would
	improve speed for both edje file loading and efreet cache loading.
	But I will postpone that for after the release.


SVN revision: 55069
2010-11-29 18:38:24 +00:00
Cedric BAIL aaae4e223a * eina: eina_array_clean should be inlined from the beginning.
NOTE: to prevent ABI break, I added the old symbol in eina_abi.c.
	So binary/library using eina_array_clean should continue to work
	without any problem.


SVN revision: 55068
2010-11-29 18:32:30 +00:00
Tom Hacohen 92c16f8892 Evas textblock: Fixed a bug with inserting text before a <PS>.
SVN revision: 55064
2010-11-29 15:04:44 +00:00
Cedric BAIL 1413e6f3b7 * eet: improve speed for Eet_String users.
SVN revision: 55063
2010-11-29 14:04:16 +00:00
Cedric BAIL 7db2cb388c * efreet: improve speed of cache regeneration.
SVN revision: 55060
2010-11-29 13:17:33 +00:00
Mike Blumenkrantz 7b3463a3ef explicitly set eina error level, add a printf
10k fd test successfully passed! in 1.5 minutes :(


SVN revision: 55053
2010-11-29 07:07:16 +00:00
Mike Blumenkrantz 99fa106e8e null pointer to avoid partial free in rare cases
SVN revision: 55046
2010-11-29 00:13:52 +00:00
Mike Blumenkrantz 3c05a283b6 fix weird bug where fdh in a list could become null
SVN revision: 55044
2010-11-28 22:03:07 +00:00
Mike Blumenkrantz fd44ecf46c fix annoying printfs that should be ERRs
SVN revision: 55043
2010-11-28 21:51:07 +00:00
Cedric BAIL 8dceeeee5b efreet: probably fix windows build.
SVN revision: 55040
2010-11-28 10:05:52 +00:00
Sebastian Dransfeld ea8cd61f4e init count to 0
SVN revision: 55038
2010-11-27 21:51:07 +00:00
Sebastian Dransfeld caaf7ab25f formatting
SVN revision: 55037
2010-11-27 20:36:39 +00:00
Sebastian Dransfeld 0c8c2d3c9f 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
2010-11-27 20:36:27 +00:00
Sebastian Dransfeld 66e52e2829 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
2010-11-27 20:15:00 +00:00
Cedric BAIL 65e808c0af * efreet: Eet.h is needed by declaration in efreet_private.h.
SVN revision: 55034
2010-11-27 17:02:18 +00:00
Christopher Michael 8719a729ab Fix missing include <Ecore.h> for needed ecore functions
(ecore_time_get, ecore_exe_run, etc, etc).



SVN revision: 55027
2010-11-26 21:32:34 +00:00
Vincent Torri 57c6d1b2e0 fix efreet after the Windows commits
SVN revision: 55026
2010-11-26 20:48:50 +00:00
Rui Seabra 52dc7d7067 Adjusting rpm spec to a more current state of affairs.
SVN revision: 55025
2010-11-26 20:08:52 +00:00
Vincent Torri a3ffd27636 remove win7 code and fix other minor problems
SVN revision: 55023
2010-11-26 18:41:43 +00:00
Vincent Torri 126c3574c3 fix compilation on Windows
SVN revision: 55021
2010-11-26 17:05:16 +00:00
Cedric BAIL 756df73df7 * edje: strcpy could only go wrong.
SVN revision: 55020
2010-11-26 16:46:35 +00:00
Vincent Torri 95f36c0e18 more fixes, but needs to remove Windows 7 code, now...
SVN revision: 55019
2010-11-26 15:34:30 +00:00
Cedric BAIL a90e2e4aff * 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
2010-11-26 14:56:23 +00:00
Cedric BAIL fbfa54bc05 * eet: another forgotten improvement.
SVN revision: 55017
2010-11-26 14:45:15 +00:00
Cedric BAIL a453783e68 * eet: reduce memory used by Eet dictionary.
SVN revision: 55016
2010-11-26 14:40:53 +00:00
Vincent Torri 5c9cb60854 typo
SVN revision: 55015
2010-11-26 13:54:11 +00:00
Vincent Torri 6b4b7bc42d add native win32 thread support in ecore_thread. Not tested a lot at all.
SVN revision: 55014
2010-11-26 13:50:31 +00:00
Vincent Torri 883850c5ec on Windows, "C:" is not a directory, but a drive.
SVN revision: 55013
2010-11-26 13:47:51 +00:00
Sebastian Dransfeld b9c9af539a Check if dir exists before listening to it
SVN revision: 55008
2010-11-26 10:27:41 +00:00
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