Commit Graph

11809 Commits

Author SHA1 Message Date
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
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