Commit Graph

9218 Commits

Author SHA1 Message Date
Sebastian Dransfeld 7a07bed86c Clarify difference between _get and _new
efreet_desktop_get for long living cached structs, efreet_desktop_new
for shortlived non cached.

SVN revision: 46840
2010-03-03 19:42:38 +00:00
Vincent Torri 3648f0ed3e the 4th parameter should not be NULL, not the 3rd
patch by Lionel Orry


SVN revision: 46837
2010-03-03 17:25:07 +00:00
Sebastian Dransfeld afb2a67c50 Create func to get name for cache dirs file
SVN revision: 46834
2010-03-03 12:29:09 +00:00
Sebastian Dransfeld 755e118e2c Allow non existing cache file
SVN revision: 46833
2010-03-03 12:28:59 +00:00
Sebastian Dransfeld b5e9acd3da formatting
SVN revision: 46832
2010-03-03 12:28:49 +00:00
Sebastian Dransfeld a1205c588c rename function
SVN revision: 46831
2010-03-03 12:28:40 +00:00
Sebastian Dransfeld 4b25daa441 Open cache files with O_EXCL
SVN revision: 46830
2010-03-03 12:28:30 +00:00
Sebastian Dransfeld d07a67ad63 Store unknown .desktop file dirs
SVN revision: 46829
2010-03-03 12:28:21 +00:00
Sebastian Dransfeld c196b7d701 -1 as default fd value
SVN revision: 46828
2010-03-03 12:28:11 +00:00
Sebastian Dransfeld 0903581396 Don't close fd, will be done in error handler
SVN revision: 46827
2010-03-03 12:27:32 +00:00
Christopher Michael 4177422a6b Temporary stop-gap for E17 crashing when Applications menu is trying to
show.

(I know, not an ideal fix, but I don't know the code well enough...and
this is better than everyone's desktop dying.)



SVN revision: 46810
2010-03-03 02:24:26 +00:00
Sebastian Dransfeld 6d10aea822 Use realpath to clean path
SVN revision: 46801
2010-03-02 20:07:41 +00:00
Cedric BAIL f880806ff2 * evas: Fix update of textblock when style change.
SVN revision: 46786
2010-03-02 14:53:27 +00:00
Mikhail Gusarov 3e0ce16056 Document evas_object_textblock_replace_char_{get,set}
SVN revision: 46785
2010-03-02 14:00:45 +00:00
Sebastian Dransfeld 317f0a427e Various
- lock as soon as possible
- don't truncate old cache, just unlink before create empty file

SVN revision: 46783
2010-03-02 11:26:31 +00:00
Carsten Haitzler e5d2bea7ec oops! screen 0 not 1!
SVN revision: 46779
2010-03-02 08:06:37 +00:00
Carsten Haitzler a94701bfce also dont need itt.
SVN revision: 46772
2010-03-02 03:20:17 +00:00
Carsten Haitzler 0c17cdc62c dont need itt here either. llvm shhh
SVN revision: 46771
2010-03-02 03:19:00 +00:00
Carsten Haitzler eac0351854 ok - dont need itt at all - will make llvm quieter, but in this case it was
wrong.



SVN revision: 46770
2010-03-02 03:15:33 +00:00
Carsten Haitzler 6ef032a9e5 fix possiblre unaligned access issue - doesnt actually happen... but in
theory could.



SVN revision: 46769
2010-03-02 02:48:56 +00:00
Carsten Haitzler 1075ed2ce1 and complain if it fails. at least u will know :)
SVN revision: 46768
2010-03-02 02:31:16 +00:00
Carsten Haitzler d99307b828 theoretical bug (crash) if realloc fails - but if it fails, we will leak,
so... it only moves to be another bug.



SVN revision: 46767
2010-03-02 02:30:03 +00:00
Carsten Haitzler c7d15e868a hmm llvm complaining -b ut again - i think its bogus. i just added an init of
count to 0 just in case thats what was tripping it up (as it didnt accoutn
for the for loop)



SVN revision: 46766
2010-03-02 02:25:33 +00:00
Carsten Haitzler 422bf813d4 theoraticel bug - llvm report. wouldnt actually happen if api used right.
SVN revision: 46765
2010-03-02 02:14:39 +00:00
Carsten Haitzler 70c60370ca ok use calloc - but.. i think llvm is wrong for:
http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-46715/evas/2010-03-01-1/report-wLmp95.html#EndPath

i can't see how that can be garbage.



SVN revision: 46764
2010-03-02 02:10:48 +00:00
Carsten Haitzler 07a9e63cb4 missing call if gl enigne not built.
SVN revision: 46763
2010-03-02 01:43:45 +00:00
Carsten Haitzler 0226ebda94 fmatting.
SVN revision: 46758
2010-03-02 01:07:32 +00:00
Gustavo Sverzut Barbieri 144e732a24 remove spurious \n for eina_log messages.
SVN revision: 46756
2010-03-02 00:39:37 +00:00
Gustavo Sverzut Barbieri 6a6ad0f603 silent rules, and disable c++/fortran/java checkers.
SVN revision: 46754
2010-03-02 00:36:41 +00:00
Gustavo Sverzut Barbieri 9345b211b0 fix llvm/clang and gcc errors.
NOTE: mixing write() and fprintf() to the same descriptor (stderr,
      done by ERR()), will likely cause problems :-/



SVN revision: 46753
2010-03-02 00:34:40 +00:00
Sebastian Dransfeld d99f80aff7 Fix compiler warnings
Found when compiling with --enable-tests and --enable-coverage

SVN revision: 46746
2010-03-01 21:43:59 +00:00
Sebastian Dransfeld a15116ecae Check if file_id exists
SVN revision: 46745
2010-03-01 21:43:49 +00:00
Sebastian Dransfeld 59691e5660 Remember all paths, to avoid duplicates
SVN revision: 46744
2010-03-01 21:43:37 +00:00
Vincent Torri bf8b3ce2a3 add unit test and coverage framework, and trivial tests
SVN revision: 46742
2010-03-01 21:05:17 +00:00
Vincent Torri 1b9235aa1f fix autotools stuff
SVN revision: 46737
2010-03-01 20:16:15 +00:00
Sebastian Dransfeld 8b0e9907b6 Empty cache is probable, so don't check for it
SVN revision: 46736
2010-03-01 19:58:23 +00:00
Sebastian Dransfeld 9eda1bb218 TODO++
SVN revision: 46731
2010-03-01 19:05:59 +00:00
Sebastian Dransfeld cadc12f955 Create new cache in a tmp file
SVN revision: 46730
2010-03-01 19:05:49 +00:00
Sebastian Dransfeld f2273a3f51 use PATH_MAX to define buffer size
in snprintf on the buffer PATH_MAX is used, so also use it to define
buffer size

SVN revision: 46729
2010-03-01 19:05:37 +00:00
Sebastian Dransfeld b88fa404ad truncate old cache so we don't read cached values
SVN revision: 46727
2010-03-01 18:42:24 +00:00
Sebastian Dransfeld f72d4f9342 Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Cedric BAIL cf5a3517b9 * eina: Add eina_list_data_set.
SVN revision: 46724
2010-03-01 17:46:15 +00:00
Carsten Haitzler a67d080b06 some internalling of symbols and formatting
SVN revision: 46702
2010-03-01 16:17:11 +00:00
Carsten Haitzler bfd8514063 fix calloc with negative values - missing size set initially!
SVN revision: 46701
2010-03-01 15:51:22 +00:00
Gustavo Sverzut Barbieri 61f65ae20a Allow user to redefine the default logging level used by
EINA_LOG_ERR(), EINA_LOG_DBG() and other macros.

This will help us to avoid the cumbersome work of having to define the
local macros. I still find the 3-letter macros handy, but we are not
forced to use them now.

I did a small modification to keep the EINA_LOG_DOMAIN_GLOBAL and use
a different symbol for the define, it is EINA_LOG_DOMAIN_DEFAULT. The
documentation was updated to highlight the 2 usage scenario and care
that must be used.


By: Peter Johnson <tam@hiddenrock.com>



SVN revision: 46700
2010-03-01 15:08:40 +00:00
Carsten Haitzler 3b71758aea fix some more possible bad callocs
SVN revision: 46699
2010-03-01 15:03:13 +00:00
Carsten Haitzler f2f8e579b7 leak--
SVN revision: 46698
2010-03-01 14:50:56 +00:00
Mikhail Gusarov b0b1fa40fa edje: Document several puzzling Edje_External_Type callbacks
SVN revision: 46697
2010-03-01 14:41:49 +00:00
Carsten Haitzler 2f1ffe9863 fix ... negative calloc... hrrrm
SVN revision: 46696
2010-03-01 14:37:37 +00:00
Carsten Haitzler 8bd17b0d1d fix links to include xrender link
SVN revision: 46695
2010-03-01 14:22:31 +00:00