Sebastian Dransfeld
30c305288f
Fix problem with orig_path and rp
...
We have orig_path, it is set by rp. Only problem is that it was set
after efreet_desktop_read so the error handler would work as it should.
Wrong solution. So now we set orig_path to NULL, so we always can free
rp.
SVN revision: 46880
2010-03-04 21:54:33 +00:00
Vincent Torri
9328392a28
include Ecore.h before ecore_private.h
...
SVN revision: 46879
2010-03-04 21:39:21 +00:00
Tiago Rezende Campos Falcao
c9cdddd683
Removing seg fault. By Fidencio
...
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 46877
2010-03-04 20:40:59 +00:00
Tiago Rezende Campos Falcao
16b4338a5d
Adding edje_object_parts_extends_calc, to calc the geometry used by parts
...
SVN revision: 46876
2010-03-04 20:40:54 +00:00
Carsten Haitzler
abd231ccf0
REVERT!!!! you broke evas build.
...
evas_object_textblock.c: In function ‘_nodes_next_merge’:
evas_object_textblock.c:380: error: ‘Evas_Object_Textblock_Node’ has no member named ‘len’
SVN revision: 46874
2010-03-04 16:22:28 +00:00
Mikhail Gusarov
a4157cbc2a
Insert more comments into _format and simplify if() logic as we go
...
SVN revision: 46873
2010-03-04 15:51:30 +00:00
Mikhail Gusarov
a5a07377f6
evas_textblock: Make maxascent/maxdescent variables local.
...
They are used in single function, so don't keep them in structure.
As a side-effect rework _layout_line_advance for better readability.
SVN revision: 46872
2010-03-04 15:02:10 +00:00
Mikhail Gusarov
4d49bef2fd
Evas_Textblock: store 'cursor' in the 'cursors' list to ease cursors handling
...
Some copy-pasted code removed as a result.
SVN revision: 46871
2010-03-04 15:02:02 +00:00
Mikhail Gusarov
cf68311687
evas_textblock: Get rid of code duplication in _nodes_adjacent_merge
...
SVN revision: 46870
2010-03-04 15:01:51 +00:00
Cedric BAIL
d790cbfd00
* evas: Now an object will only receive once the same event.
...
Previously, due to propagation to parent, an event could have
been received more than once by an object. This triggered
strange behaviour in edje for example where you could receive
mouse,down,1 signal many time for one swallowed object.
This patch is a fix for that problem, I hope it doesn't break
anything (e17 and elementary_test run fine here, but report
any break related to events please).
SVN revision: 46869
2010-03-04 14:48:21 +00:00
Cedric BAIL
ae586e291e
* edje: Only register callback once for external.
...
SVN revision: 46868
2010-03-04 14:44:20 +00:00
Vincent Torri
f84d37e9f0
no need to set want_ecore_con to yes for darwin and generic OS
...
SVN revision: 46864
2010-03-04 08:21:21 +00:00
Vincent Torri
491389a7ee
ecore_con not ready for Windows yet
...
SVN revision: 46863
2010-03-04 08:19:26 +00:00
Carsten Haitzler
33ec010a36
errrr - how about we have a orig_path for a new desktop file eh? there's a
...
brilliant idea!
SVN revision: 46859
2010-03-04 01:00:06 +00:00
Sebastian Dransfeld
76d630dcc0
TODO
...
SVN revision: 46848
2010-03-03 22:11:06 +00:00
Sebastian Dransfeld
22a691b5e9
Assign rp to orig_path after last goto error
...
This will fix the double free problem
SVN revision: 46841
2010-03-03 20:13:13 +00:00
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