Carsten Haitzler
d02f25e1ff
whover did table and box support forgot:
...
1. table to have min.h/v ability like box
2. to ACTUALLY implement box h/v (and well of course implement
tableh/v too)
this basically fixes this working at all and completes the feature to
table too.
SVN revision: 59960
2011-06-04 15:58:02 +00:00
Carsten Haitzler
1b7ff0248e
CEDIRC: SEGV CAUSING BUG. go to e17 font settings -> advanced
...
and sewt a font for menu item.. or menu title. segv. (try it under
falgrind) the members list in the hash is garbage when its trying to
remove a member. double heck your changes and test :)
SVN revision: 59902
2011-06-02 15:21:21 +00:00
Carsten Haitzler
eda52d527f
epp -> fix macro expansion error with:
...
#define B(y) y
#define C(x) B(+x)
C(9876543210)
SVN revision: 59868
2011-06-01 13:16:14 +00:00
Leandro Pereira
8be447ef4e
[Edje] Make sure ed->members isn't NULL when freeing an Edje object.
...
SVN revision: 59853
2011-05-31 18:27:28 +00:00
Cedric BAIL
f64e71a19c
edje: refactoring.
...
SVN revision: 59851
2011-05-31 17:02:58 +00:00
Cedric BAIL
995527500a
edje: improve speed when deleting text member class.
...
SVN revision: 59850
2011-05-31 16:51:48 +00:00
Tom Hacohen
380351b5d3
Edje entry: Make sure we append at the end.
...
SVN revision: 59810
2011-05-30 12:02:54 +00:00
Tom Hacohen
f79afe5e85
Edje min_size: Updated edje_object_size_min_restricted_calc's docs.
...
SVN revision: 59806
2011-05-30 08:59:56 +00:00
Carsten Haitzler
41121f7379
make epp strip dos \r's from dos-like \r\n
...
SVN revision: 59799
2011-05-30 06:37:44 +00:00
Carsten Haitzler
abbf3767c5
back out freeze/thaw on edje entry.. seems to have some side effects
...
with entry in gnelist ... i wonder why... for how, back out.
SVN revision: 59798
2011-05-30 05:37:59 +00:00
Tom Hacohen
8b2ccb3dee
Edje min_size_calc: Fix detection of textblock.
...
SVN revision: 59785
2011-05-29 14:28:01 +00:00
Tom Hacohen
69e89c2666
Revert commit 59732
...
Read my comment in the email, and we even talked about it on irc. The
current call to "mainloop iterate" is hacky, Jihoon is already working
on an alternative solution.
SVN revision: 59734
2011-05-27 11:16:05 +00:00
Jihoon Kim
4ad4fadb35
From: Jihoon Kim <jihoon48.kim@samsung.com>
...
When elm_entry_entry_set() is called, the preedit text in the entry should
be cleared. ATM, it doesn’t works so.
This patch will resolve this problem.
When ecore_imf_context_reset() is called, the preedit text in the immodule
will be committed by calling ‘ecore_imf_context_commit_event_add()’.
ecore_imf_context_commit_event_add puts the event in ecore event queue, so
it will be processed in the idle state of ecore loop.
According to this mechanism, commit text is inserted later, so I use
‘ecore_main_loop_iterate();’ for inserting the commit string instantly.
SVN revision: 59732
2011-05-27 10:46:51 +00:00
Carsten Haitzler
66aef5074f
add use of freeze+thaw for improvement in out-there scenarios.
...
SVN revision: 59730
2011-05-27 10:32:53 +00:00
Boris Faure
d661cee5e2
edje: remove trailing spaces
...
SVN revision: 59555
2011-05-20 16:41:16 +00:00
Tom Hacohen
f13ec69e34
Edje entry: Don't emit cursor,changed when not needed.
...
This includes setting the text and setting cursor position to the already
set position.
SVN revision: 59531
2011-05-19 12:08:29 +00:00
Tom Hacohen
70665bc1c5
Edje entry: Fix warnings.
...
SVN revision: 59521
2011-05-19 09:00:22 +00:00
Tom Hacohen
85ac9b3059
Edje entry: Remove the useless calls to "update_from_curs".
...
We don't really need or use the coordinates anywhere, we just saved them
and worked hard on maintaining them, but didn't really use them.
Now we only calculate them in the one specific case where we actually
need them. This speeds things up and also means the layouting may not be
called in some cases when there's no need to layout.
SVN revision: 59520
2011-05-19 08:38:42 +00:00
Vincent Torri
105a261d5b
Edje: fix Windows printf format
...
SVN revision: 59511
2011-05-18 16:11:31 +00:00
Cedric BAIL
4903fe8e2d
edje: prevent buffer overrun when using multiple *.
...
SVN revision: 59510
2011-05-18 15:13:18 +00:00
Tom Hacohen
134a6af626
Edje entry: Don't emit 'curosr,changed' when appended using a different curosr.
...
SVN revision: 59494
2011-05-18 10:08:03 +00:00
Tom Hacohen
d66ec4a1e8
Edje min_restricted_calc: Fix the fallback calc to calc more correctly.
...
Ok was shared between width and height and in the error, and in the error
case we don't reset maxw and maxh; This caused maxw and maxh to be added
a couple of times even when not needed. This would cause weird sizing.
SVN revision: 59450
2011-05-16 14:09:08 +00:00
Carsten Haitzler
87ec659bc6
use the ecore pos map call for edje as opposed to do it yourself. this
...
also opens up new position mappings like factored accel/decel/sin,
divis, bounce and spring! :) documentation provided.
SVN revision: 59449
2011-05-16 13:16:34 +00:00
Raoul HECKY
1594c4d07e
Fix embryo code creation. Add newline after each function. It avoid lines to be too long for embryo_cc.
...
SVN revision: 59448
2011-05-16 12:16:54 +00:00
Tom Hacohen
30847d0bdc
Edje text: Added edje_object_part_text_append.
...
SVN revision: 59407
2011-05-15 15:57:38 +00:00
Tom Hacohen
e20db04ef0
Edje entry: Use the new textblock _format_list_get in anchors_get.
...
SVN revision: 59326
2011-05-11 10:19:01 +00:00
Tom Hacohen
0ea73e70f7
Edje text: fix issue with ellipsis causing text to disappear.
...
Thanks to Brian Wang for the report.
SVN revision: 59305
2011-05-09 17:23:03 +00:00
Tom Hacohen
811fde2504
Edje entry: Speed up anchor calculation.
...
SVN revision: 59285
2011-05-09 08:40:15 +00:00
Tom Hacohen
397acdd837
Edje min_calc: Don't print the 4000x4000 err when there's a textblock.
...
SVN revision: 59112
2011-05-02 10:20:20 +00:00
Tom Hacohen
31d4f2699b
Edje size_min_restricted_calc: Hopefully fixed textblock handling.
...
SVN revision: 59010
2011-04-28 15:29:50 +00:00
Jihoon Kim
3d2d5eb51d
From: Jihoon Kim <jihoon48.kim@samsung.com>
...
Subject: [E-devel] [PATCH] bug fix : preedit text was commited when
shift key was pressed
ATM, preedit text is commited when shift key is pressed.
This patch file is for solving this bug.
SVN revision: 58887
2011-04-25 05:57:49 +00:00
Jihoon Kim
ac33622354
From: Jihoon Kim <imfine98@gmail.com>
...
Subject: [E-devel] [PATCH] bug fix in : "cursor, changed" signal is
not emitted when the content of entry is removed
I found the bug that "cursor,changed" signal is not emitted when the content
of entry is removed.
Let's assume the cursor position is equal to 10.
In this situation, elm_entry_entry_set(en, "") is called.
The content of entry is removed and the cursor position is equal to 0, but
"cursor,changed" signal is not emitted.
This patch is for solving this problem.
In addition, it lets the input method module know the cursor position using
ecore_imf_context_cursor_position_set API
in case that _edje_entry_set_cursor_{start, end} is called.
(Raster: actually it should always emit changed. not check pos at all.
technically pos could be the same BUT cursor moved on screen due to a
reformat). :)
SVN revision: 58886
2011-04-25 05:36:58 +00:00
Carsten Haitzler
51b25f8c52
use new eina prefix finder.
...
SVN revision: 58850
2011-04-24 07:36:15 +00:00
Carsten Haitzler
bd0461b6d8
those env vars per bin/lib/data dir should expliccitly give the dir
...
SVN revision: 58847
2011-04-24 02:45:58 +00:00
Daniel Juyung Seo
1cdcceff91
Edje Edje.h: Removed trailing whitespaces.
...
SVN revision: 58615
2011-04-13 08:10:35 +00:00
Carsten Haitzler
0b0d51c5cf
add text effect shadow direction support.
...
SVN revision: 58548
2011-04-11 12:08:03 +00:00
Christopher Michael
7c682a3ee2
Edje: Edje_Text: Don't segfault on _edje_text_part_on_del if there is
...
not 'part'
Don't ask me how I found this one, but it happened :/ so trap for
valid part before trying to use it.
SVN revision: 58516
2011-04-09 05:48:47 +00:00
Carsten Haitzler
6d9bd1f9b7
and dont handle escape if in string
...
SVN revision: 58511
2011-04-09 02:59:28 +00:00
Carsten Haitzler
917a0ac7b2
if we find a \ inside a macro parameter... handle it as an escape and
...
skip it giving the next char verbatim.
SVN revision: 58510
2011-04-09 02:49:19 +00:00
Carsten Haitzler
a3d58eaddf
provide better parser output on error.
...
SVN revision: 58508
2011-04-09 02:35:01 +00:00
Carsten Haitzler
dfd9ceb122
cleanup h a bit.
...
SVN revision: 58480
2011-04-08 08:00:28 +00:00
Carsten Haitzler
5cb52a006b
missed some doxy
...
SVN revision: 58479
2011-04-08 07:52:46 +00:00
Carsten Haitzler
5829d373c9
doxy -> .h
...
SVN revision: 58478
2011-04-08 07:45:46 +00:00
Carsten Haitzler
56b3584912
wrn--
...
SVN revision: 58471
2011-04-08 05:53:49 +00:00
Daniel Juyung Seo
fc986c7683
Edje edje_smart.c: Fixed formatting. Removed trailing white spaces.
...
SVN revision: 58466
2011-04-08 00:30:40 +00:00
Daniel Juyung Seo
0c29d7d307
Edje Edje.h: Fixed formatting. Removed trailing whitespaces.
...
SVN revision: 58465
2011-04-07 23:57:06 +00:00
Cedric BAIL
e25e933b32
edje: prevent file format break with trunk.
...
SVN revision: 58433
2011-04-07 12:34:18 +00:00
Daniel Juyung Seo
87271e150e
Edje edje_entry.c: Fixed formatting. Patch by Jihoon Kim
...
<jihoon48.kim@samsung.com>
SVN revision: 58370
2011-04-06 01:20:59 +00:00
Carsten Haitzler
9d89abb915
edje_cc now only will use epp. makes for consistent output on all
...
platforms since we ship our own cpp.. err.. epp. :)
SVN revision: 58315
2011-04-04 08:30:02 +00:00
Daniel Juyung Seo
e085bfac30
Edje Edje.h: Removed trailing whitespaces.
...
SVN revision: 58292
2011-04-03 09:29:40 +00:00
Carsten Haitzler
ae08dc6fc3
selection now works too.
...
SVN revision: 58209
2011-03-30 12:20:51 +00:00
Carsten Haitzler
bcacff3111
now cursor setting works with newly valigned textbllocks. selection
...
next.
SVN revision: 58207
2011-03-30 12:18:21 +00:00
Carsten Haitzler
51a9855952
valign applied to tetxblock parts. yay!
...
SVN revision: 58203
2011-03-30 11:43:22 +00:00
Carsten Haitzler
3620950f7c
fix expansions in macors starting with - losing the - :) jeff! :)
...
happiness?
SVN revision: 58177
2011-03-29 11:56:51 +00:00
Carsten Haitzler
2d58f21d30
provide edje_player with the ability to set scale factor on cmd-line
...
and use keys to control it during display.
SVN revision: 58170
2011-03-29 03:27:23 +00:00
Brett Nash
6894af9d5e
Edje: (trivial) Put the clipper/evas pointer in the base structure.
...
I say trivial in the sense it has no functional changes, however it's a large
patch. Recommendation from Gustavo.
SVN revision: 58080
2011-03-25 03:21:07 +00:00
Christopher Michael
0651665be0
Edje: Revert those changes ... seems to break edj building for some
...
reason...
SVN revision: 58078
2011-03-24 22:15:07 +00:00
Christopher Michael
49bc9d8ee1
Edje:EPP: Comment out unused goto line. Fix (some) formatting (but
...
needs more fixing as the formatting in this is just horrible).
SVN revision: 58074
2011-03-24 20:25:17 +00:00
Christopher Michael
fd3d76b220
Edje: Remove unused variable & fix formatting.
...
SVN revision: 58073
2011-03-24 20:22:16 +00:00
Carsten Haitzler
9e4cc63a93
minor change -> dont return void. no chlog
...
SVN revision: 58064
2011-03-24 07:58:00 +00:00
Brett Nash
ca8d8cbf3f
Edje: Start using smart clipper in some places.
...
This makes proxy work for edje. This shoudl be a good thing.
SVN revision: 58055
2011-03-24 03:12:42 +00:00
Brett Nash
8c2df9fc33
Edje: Minor: Reorder args to make it compatible with smart_clipper
...
SVN revision: 58054
2011-03-24 03:12:39 +00:00
Vincent Torri
e0ff04b83e
Edje: Fix epp binary detection on Windows
...
SVN revision: 57961
2011-03-22 07:30:57 +00:00
Brett Nash
4c7200cc6a
Edje: remove pointless call to _edje_fetch
...
Also tag edje_fetch as pure... since it's pretty clean.
SVN revision: 57960
2011-03-22 05:32:21 +00:00
Vincent Torri
eeb6d1dcc6
fix compilation of epp on Windows, plus minor formatting
...
SVN revision: 57947
2011-03-21 23:04:35 +00:00
Boris Faure
7b2fb4cba2
epp: fix line numbering
...
SVN revision: 57936
2011-03-21 15:55:06 +00:00
Carsten Haitzler
1768db6934
epp output -> dont add extra spaces for macros! damnit! :)
...
SVN revision: 57929
2011-03-21 09:22:27 +00:00
Carsten Haitzler
40df8b5428
remove old code not used anymore
...
SVN revision: 57928
2011-03-21 03:00:33 +00:00
Carsten Haitzler
7f35e847f5
use proper prefix finding for epp.
...
SVN revision: 57927
2011-03-21 02:47:23 +00:00
Carsten Haitzler
b7cf738b7f
edje_decc only use edje_cc.
...
SVN revision: 57891
2011-03-19 07:20:33 +00:00
Mike Blumenkrantz
eacea7d679
use return 0 on success exit
...
SVN revision: 57855
2011-03-18 18:58:12 +00:00
Tom Hacohen
6317f922e5
Edje part-text: Updated docs.
...
SVN revision: 57733
2011-03-14 09:19:05 +00:00
Cedric BAIL
c4bc2c6435
edje: limited support of proxy for edje inspector and edje edit.
...
SVN revision: 57727
2011-03-13 15:41:12 +00:00
Cedric BAIL
c8874ff8bd
edje: oops, fix stupid edje_cc bug preventing compilation of most theme.
...
SVN revision: 57699
2011-03-11 23:03:46 +00:00
Cedric BAIL
d0810de637
edje: add PROXY part.
...
example:
collections {
group {
name: "main";
parts {
part {
name: "sub1";
type: GROUP;
source: "sub1";
description {
rel1.relative: 0.5 0.5;
rel2.relative: 1.0 1.0;
}
}
part {
name: "pro2";
type: PROXY;
description {
rel1.relative: 0.0 0.5;
rel2.relative: 0.5 1.0;
source: "sub1";
color: 255 0 0 128;
map {
on: 1;
smooth: 1;
rotation {
z: 30;
}
}
}
}
}
}
group {
name: "sub1";
parts {
part {
name: "rect";
type: RECT;
description {
rel1.relative: 0.0 0.0;
rel2.relative: 0.5 0.5;
color: 255 0 0 255;
map {
on: 1;
smooth: 1;
rotation {
z: -30;
}
}
}
}
part {
name: "pro1";
type: PROXY;
description {
rel1.relative: 0.5 0.0;
rel2.relative: 1.0 0.7;
color: 128 128 0 128;
source: rect;
}
}
}
}
}
SVN revision: 57694
2011-03-11 17:46:29 +00:00
Cedric BAIL
4b4e194be2
edje: correctly propagate event recursivly with existing and non existing part.
...
NOTE: I don't backport it yet as I would like some test before doing so.
SVN revision: 57678
2011-03-10 17:27:55 +00:00
WooHyun Jung
0786e6c1bf
From: WooHyun Jung <wh0705.jung@samsung.com>
...
Fix missing clicked signal from entry.
SVN revision: 57663
2011-03-10 10:12:32 +00:00
Tom Hacohen
086d199799
Edje: Bumped EDJE_FILE_MINOR for the previous size_range changes.
...
SVN revision: 57412
2011-02-28 13:27:15 +00:00
Cedric BAIL
0f3157854f
edje: let's release the hand brake and run faster !
...
SVN revision: 57411
2011-02-28 13:25:46 +00:00
Tom Hacohen
7bf5ba8a7b
Edje text: Added size_range to limit the font size range.
...
This lets you limit the allowed sizes of the TEXT part (font sizes) to
a specific range. This is especially useful in combination with the
"fit" property.
SVN revision: 57395
2011-02-27 18:09:03 +00:00
Tom Hacohen
54f4d4bf2f
Edje text: Fixed a bug with fit_x and cleaned everything up.
...
There was a bug that cause bad sizing (by 1pt) when fit was set, this is
now fixed.
Furthermore, for some reason we had a loop although we already jumped
to the last value right at the start. That didn't make any sense,
so I removed that as well.
SVN revision: 57394
2011-02-27 18:09:00 +00:00
Tom Hacohen
7a66e72df5
Edje entry: Added edje_object_part_text_cursor_pos_get/set.
...
This adds the ability to control the text position of an edje_entry.
Patch by Jihoon Kim.
SVN revision: 57365
2011-02-27 10:25:22 +00:00
Cedric BAIL
c54cc95085
edje: fix signal comming from box/table part.
...
Thanks to the report by Jonathan "Watchwolf" Atton.
SVN revision: 57299
2011-02-24 14:41:08 +00:00
Mike Blumenkrantz
d60c6a85da
Subject: Re: [E-devel] E SVN: discomfitor trunk/edje/src/bin
...
Date: Wed, 23 Feb 2011 20:25:38 +0100 (CET)
On Wed, 23 Feb 2011, Mike Blumenkrantz wrote:
> vtorri! help!!!! :(
try the attached patch
Vincent
SVN revision: 57284
2011-02-23 20:30:14 +00:00
Mike Blumenkrantz
5677e35855
whoops
...
SVN revision: 57272
2011-02-23 19:07:13 +00:00
Mike Blumenkrantz
4c8d7c1268
fix install dir
...
SVN revision: 57254
2011-02-23 06:32:20 +00:00
Mike Blumenkrantz
299e2d9208
edje: change epp installdir
...
SVN revision: 57252
2011-02-23 02:51:32 +00:00
Cedric BAIL
1a2574ee77
edje: fix propagation of recursive events.
...
SVN revision: 57248
2011-02-22 18:09:19 +00:00
Mike Blumenkrantz
c7d4e15087
edje now uses (and installs if not previously found) epp as its default C preprocessor, providing consistent output across all platforms and allowing edje_cc to run on windows (vtorri!!)
...
fallbacks exist to use old behavior if epp fails.
SVN revision: 57210
2011-02-21 08:04:44 +00:00
WooHyun Jung
4274d39f03
From: WooHyun Jung <wh0705.jung@samsung.com>
...
Subject: RE: [E-devel] One bug in _edje_key_down_cb func (in
edje_entry.c)
I found one bug in _edje_key_down_cb func (in edje_entry.c)
When I input "Backspace" in an entry object, _signal_cursor_chagned_func(in
elm_entry.c) is not called.
This is because the following code in _edje_key_down_cb func (in edje_entry.c)
is not called.
if ((evas_textblock_cursor_compare(tc, en->cursor)) && (!cursor_changed))
_edje_emit(ed, "cursor,changed", rp->part->name);
Why not called ? Because ~ evas_textblock_cursor_compare(tc, en->cursor)
returns 0.
(i.e. old cursor and current cursor have the same position information)
I think old cursor should keep its position without any updating.
But in evas_textblock_cursor_char_delete() func, called by _backsapce func
(in edje_entry.c) -
old cursor's postion is updated as the current position.
SVN revision: 57199
2011-02-21 05:53:23 +00:00
Daniel Juyung Seo
d125dcecb1
Edje edje_entry.c: Removed trailing whitespaces. Patch by Jihoon Kim <jihoon48.kim@samsung.com>
...
SVN revision: 57198
2011-02-21 01:48:41 +00:00
Carsten Haitzler
9430a1f89a
add an ellipsis alias.
...
SVN revision: 57159
2011-02-19 12:37:12 +00:00
Cedric BAIL
546dba4856
* edje: fix case with recursive alias.
...
With that patch Enki should be working well and all
application using alias for part in edje should be fine
too.
SVN revision: 56899
2011-02-10 12:27:15 +00:00
Cedric BAIL
80aae072ef
* edje: fix invalid memory access by edje alias code.
...
Reported by Jonathan Atton "Watchwolf".
SVN revision: 56810
2011-02-08 14:11:47 +00:00
Tom Hacohen
0232df9168
Edje mirrored-mode: Fixed compilation warning.
...
SVN revision: 56672
2011-02-03 10:16:48 +00:00
Tom Hacohen
68943e9890
Edje text: Use the ellipsis char instead of 3 dots.
...
SVN revision: 56670
2011-02-03 08:55:40 +00:00
Cedric BAIL
c69291f586
* edje: prevent unitialized text to go outside of this function.
...
SVN revision: 56650
2011-02-02 16:03:22 +00:00
Tom Hacohen
7404a67e5d
Edje: Fixed the docs of mirrored mode to include starting version.
...
SVN revision: 56647
2011-02-02 09:03:43 +00:00
Tom Hacohen
5e33a75553
Edje: Added mirrored mode. Mirrored mode is used for UI-mirroring. It lets you mirror edje objects automatically (it also sends signals to the .edc code so you can do tweaks if you want), no need to create a special theme just for rtl layouts.
...
This is controlled by the two added API functions.
The changes in Elementary that utilize these functions will be committed soon.
SVN revision: 56635
2011-02-01 13:26:49 +00:00
Carsten Haitzler
e13a158ef4
(minor) don't need 2 struct members anymore. mem use--
...
SVN revision: 56622
2011-02-01 09:13:23 +00:00
Tom Hacohen
b6d5d47482
Edje text: Added support for auto-alignment. Text alignment with x=-1.0 means auto.
...
SVN revision: 56548
2011-01-30 10:46:39 +00:00
Tom Hacohen
b34172c91e
Edje entry: Added cursor_mode to edje to toggle between UNDER (efl/terminal) and BEFORE (gtk/rest of the world) cursor modes.
...
SVN revision: 56547
2011-01-30 10:46:33 +00:00
Cedric BAIL
45652e5da5
* edje: finally fix everything !
...
SVN revision: 56286
2011-01-24 13:29:17 +00:00
Carsten Haitzler
998ffa4094
fix test min AND max bool flags to work right again. :)
...
SVN revision: 56280
2011-01-24 10:35:34 +00:00
Carsten Haitzler
e70188c5a2
"...PLEASE TEST ASAP AND REPORT TO ME: cedric.bail@free.fr !..."
...
you broke everything in e17 with this - evry apps window bottom half
is back now! i'll rever for now and let you re-apply the patch locally
and do some testing to find out what you broke with evry in trying to
fix this other bug. :)
SVN revision: 56259
2011-01-22 02:36:57 +00:00
Cedric BAIL
93d5b87e0a
* edje: fix bug when targetting external, table and box items
...
reported by yoz and watchwolf.
WARNING: IT SHOULD BE JUST A FIX, TRIED AND TESTED, BUT COULD
BREAK YOUR APPS, PLEASE TEST ASAP AND REPORT TO ME:
cedric.bail@free.fr !
SVN revision: 56241
2011-01-20 13:03:09 +00:00
Carsten Haitzler
7ea15062de
warning--
...
SVN revision: 56184
2011-01-16 08:09:47 +00:00
Carsten Haitzler
2ba6051649
more return fixes. clang reports.
...
SVN revision: 56173
2011-01-16 04:13:37 +00:00
Carsten Haitzler
567d9037fe
type part gradient shouldnt cause an abort! just ignore it!
...
SVN revision: 56172
2011-01-16 04:11:47 +00:00
Carsten Haitzler
05f1fe2820
more dead statement -> unused conversion.
...
SVN revision: 56171
2011-01-16 04:10:45 +00:00
Carsten Haitzler
c3db629e55
more cases of default return etc.
...
SVN revision: 56170
2011-01-16 04:08:49 +00:00
Carsten Haitzler
fa77855b53
more clang warnings-- (double returns as default case always returns
...
anyway - make it fall thru to default return)
SVN revision: 56169
2011-01-16 04:08:09 +00:00
Carsten Haitzler
953380ed93
disable dead code
...
SVN revision: 56168
2011-01-16 04:05:30 +00:00
Carsten Haitzler
b118d95efd
use unused instead of dead code to silence warnings
...
SVN revision: 56167
2011-01-16 04:00:50 +00:00
Carsten Haitzler
650bfd0923
clang found an issue with freeing custom states. fix.
...
SVN revision: 56166
2011-01-16 03:59:53 +00:00
Carsten Haitzler
cf137667f4
use unused instead of dead code to get rid of warnings
...
SVN revision: 56165
2011-01-16 03:56:41 +00:00
Carsten Haitzler
6faa8b3554
warning--
...
SVN revision: 56164
2011-01-16 03:31:05 +00:00
Carsten Haitzler
94ce85a68f
oops fix had a bug - fix. :)
...
SVN revision: 56163
2011-01-16 03:28:24 +00:00
Carsten Haitzler
9b5626015e
space++
...
SVN revision: 56162
2011-01-16 03:25:15 +00:00
Carsten Haitzler
52a44ac2b7
fix leak - eet_list arrya return must be freed.
...
SVN revision: 56161
2011-01-16 02:46:34 +00:00
Carsten Haitzler
c44d8d7668
fix some clang and ptential warnings
...
SVN revision: 56160
2011-01-16 02:14:45 +00:00
Carsten Haitzler
6e54a6d85c
handle no partname in embryo api.
...
SVN revision: 56157
2011-01-16 02:01:28 +00:00
Carsten Haitzler
8c6932d5e9
prep for 1.0 -> edje_convert no longer needed/used. if you havent
...
converted by now... too late. thats pre 1.0 - history.
SVN revision: 56156
2011-01-16 01:57:46 +00:00
Carsten Haitzler
eeae28d198
ummm... also remove unused vars if u are going to remove the other
...
unused code.
SVN revision: 56154
2011-01-16 01:57:06 +00:00
Mike Blumenkrantz
20a92cd4f7
avoid trying to fwrite to an unopened file
...
SVN revision: 56140
2011-01-15 19:53:11 +00:00
Mike Blumenkrantz
9e6ff792cd
revert last, must have been high
...
SVN revision: 56139
2011-01-15 19:47:02 +00:00
Mike Blumenkrantz
767b0c52ad
more correctly shut gcc warnings up
...
SVN revision: 56138
2011-01-15 19:46:13 +00:00
Mike Blumenkrantz
2c0ef4b08a
#if0 out some unimplemented stuff
...
SVN revision: 56137
2011-01-15 19:44:17 +00:00
Carsten Haitzler
29f40fc1fa
ooh silly! remove the list item, not head! as intended. fix.
...
SVN revision: 55979
2011-01-07 10:52:19 +00:00
Carsten Haitzler
148a945f5c
1. fix potential bug in processing messages on a specific object where
...
it could be deleted by callbacks
2. fix edje message process to only process messages from that obj - a
bit complex as we need restart stuff too to handle the list becoming
invalid.
SVN revision: 55973
2011-01-07 08:07:32 +00:00
Vincent Torri
588c29451b
better include of headers
...
SVN revision: 55820
2011-01-03 08:11:36 +00:00
Vincent Torri
49815da5c9
fix a bit doxy
...
SVN revision: 55819
2011-01-03 08:10:33 +00:00
Iván Briano
f64f4930e9
FOCUS_OBJECT takes a part as target
...
SVN revision: 55556
2010-12-14 17:18:31 +00:00
Vincent Torri
b600427f5d
gaurd ecore_imf functions
...
SVN revision: 55550
2010-12-14 07:05:52 +00:00
Vincent Torri
19a8a07a63
missing one _Bool -> Eina_Bool
...
SVN revision: 55549
2010-12-14 06:20:55 +00:00
Vincent Torri
c69cd7ec27
use size_t when it does not hurt
...
SVN revision: 55548
2010-12-14 06:19:30 +00:00
Vincent Torri
aad53ed90d
do not include some headers if vc++ is used
...
SVN revision: 55547
2010-12-14 05:56:46 +00:00
Vincent Torri
5d0305be13
use Eina_Bool instead of _Bool for consistency
...
SVN revision: 55546
2010-12-14 05:49:46 +00:00
Vincent Torri
3aedf59c9b
declare variables at the beginning of the block
...
SVN revision: 55545
2010-12-14 05:42:25 +00:00
Vincent Torri
8f3ad6ed15
DSO problem: math functions are used in edje_cc
...
SVN revision: 55443
2010-12-10 07:59:48 +00:00
Vincent Torri
78a75afd7b
first step toward DSO solution. see ticket #644
...
SVN revision: 55431
2010-12-09 18:39:08 +00:00
Iván Briano
45e2237dcf
List and allow to fetch pre-processing errors when compiling Embryo scripts.
...
SVN revision: 55359
2010-12-07 19:06:53 +00:00
Iván Briano
014d9e424c
NULL out focused part when clearing the remnants of a gone Edje
...
SVN revision: 55330
2010-12-06 13:50:51 +00:00
Carsten Haitzler
4a55d2bda4
if we aren't looking for a glob... why do we go alloc a possible
...
massive pattern match thing.. if you have a LOOOOOOOOOOT of collection
entries... that can be a big set.
SVN revision: 55316
2010-12-06 07:49:00 +00:00
Carsten Haitzler
540b51cf69
maybe fix del ref 0 string then add it back with same handle?
...
SVN revision: 55264
2010-12-05 03:12:34 +00:00
Cedric BAIL
5ef394f0bd
* edje: SPANK ! SPANK ! SPANK !
...
fprintf should always specify a format.
SVN revision: 55213
2010-12-03 18:21:56 +00:00
Cedric BAIL
d5d953a533
* edje: remove c++ comment also.
...
SVN revision: 55209
2010-12-03 17:55:02 +00:00
Cedric BAIL
561114732b
* edje: improve portability and simplify code.
...
SVN revision: 55198
2010-12-03 16:41:38 +00:00
Iván Briano
76b47e14d2
twinkle twinkle little fix...
...
SVN revision: 55185
2010-12-03 14:00:04 +00:00
Iván Briano
aac41d6ff0
Edje_Edit has been taught the basics of Embryo scripting.
...
It is possible now to call a recompile of the script, which if it doesn't
fail, will also update the running Embryo VM. Saving the object, when opened
from a file compiled with a sufficiently new edje_cc (early this week, I think), will generate the source including the scripts in their right place.
It's still missing a proper report of errors during the script build, but that will come later.
SVN revision: 55160
2010-12-02 18:20:34 +00:00
Iván Briano
3f6ada804f
Make edje_cc store script source snippets (only embryo now) in the generated file.
...
Yeah... yeah... we are on a freeze and we aren't supposed to be doing things like this, but it's not change anything other than allow edje_edit to know about scripts in order to not screw them up when modifying a file.
SVN revision: 55088
2010-11-30 15:37:20 +00:00
Cedric BAIL
d3e3b86e29
* edje: the most simple and usefull case of alias convertion
...
wasn't implemented at all. Should be working now, please test
all your code that relly on "part1:part2[index]:sig" behaviour.
SVN revision: 55086
2010-11-30 13:09:03 +00:00
Tom Hacohen
d3b5301bbd
Edje entry: Fixed bug with preedit string. The text was committed to the current cursor position instead of the preedit cursor position (which may be different if you click the mouse somewhere in the tetx). Patch by Jihoon Kim.
...
SVN revision: 55080
2010-11-30 11:06:22 +00:00
Cedric BAIL
756df73df7
* edje: strcpy could only go wrong.
...
SVN revision: 55020
2010-11-26 16:46:35 +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
Iván Briano
111f4b85ad
Use mempools to create parts
...
SVN revision: 54933
2010-11-24 15:26:54 +00:00
Gustavo Sverzut Barbieri
d964e8e5cb
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
2010-11-22 23:24:44 +00:00
Gustavo Sverzut Barbieri
999737f657
add missing edit method: edje_edit_font_path_get()
...
SVN revision: 54836
2010-11-22 22:07:41 +00:00
Gustavo Sverzut Barbieri
1c9b6a174b
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
2010-11-22 22:05:03 +00:00
Carsten Haitzler
c928276a8f
fix clicked when on hold set.
...
SVN revision: 54757
2010-11-21 06:28:13 +00:00
Andreas Volz
f6b5aa850a
allow to edje_object_part_external_param_set/edje_object_part_external_param_get with internal objects too. Currently implemented support for EDJE_PART_TYPE_TEXT and EDJE_PART_TYPE_TEXTBLOCK and param "text".
...
SVN revision: 54727
2010-11-19 22:50:33 +00:00
Gustavo Sverzut Barbieri
e4d70b8f89
missing consts...
...
SVN revision: 54578
2010-11-16 08:18:12 +00:00
Tom Hacohen
2f30d52b93
Edje entry: Fix support mouse down/up/move filter events.
...
Passing the correct data to _edje_entry_imf_event_delete_surrounding_cb and _edje_entry_imf_retrieve_surrounding_cb
Fix indentation.
Patch by Jihoon Kim.
SVN revision: 54365
2010-11-09 13:36:52 +00:00
Carsten Haitzler
125e86c661
fix valgrind complaint - definite bug waiting to happen there - remvoe
...
the list item u are walking! bad!
SVN revision: 54361
2010-11-09 09:44:39 +00:00
Jihoon Kim
a69afcfb91
From: Jihoon Kim <jihoon48.kim@samsung.com>
...
Entry widget has not processed the key event of keypad such as KP_Left,
KP_Right, KP_Home, KP_End, and so on.
In this patch, those key events is processed.
SVN revision: 54359
2010-11-09 07:54:13 +00:00
Cedric BAIL
c45e906f7f
* edje: disable some os related syscall in lua script.
...
SVN revision: 54102
2010-11-02 13:43:54 +00:00
Iván Briano
3d6e44bd91
And as discussed on IRC, for the sake of API consistency (and we'll eventually need it), also del_full() for the text filters.
...
And since I'm there, some documentation.
SVN revision: 54003
2010-10-29 18:15:09 +00:00
Iván Briano
db43f575ef
B-B-B-B-BETA BREAKER!
...
As for Evas callbacks, let's have a del_full() version for the Edje signals.
SVN revision: 53997
2010-10-29 17:14:55 +00:00
Cedric BAIL
2ee5adb4f8
* edje: remove white space.
...
SVN revision: 53864
2010-10-25 12:39:10 +00:00
Cedric BAIL
b086f94813
* edje: remove possible case of segv on low mem.
...
SVN revision: 53863
2010-10-25 12:38:04 +00:00
Carsten Haitzler
7c835c0efb
aaaah more bad cedric ... eh? :)
...
SVN revision: 53794
2010-10-23 03:51:12 +00:00
Tom Hacohen
aecc018012
Edje entry: Fixed _edje_entry_imf_event_delete_surrounding_cb to actually delete, which it wasn't doing. Patch by Jihoon Kim.
...
SVN revision: 53709
2010-10-21 08:23:45 +00:00
Tom Hacohen
7c586714ef
Edje entry: Init preedit_len on focus out. Rename 'composition' to 'preedit' in the preedit handling. Patch by Jihoon Kim.
...
SVN revision: 53651
2010-10-20 10:34:26 +00:00
Davide Andreoli
de610ab738
fix "doc", also get_state() exists
...
SVN revision: 53549
2010-10-18 00:09:07 +00:00
Tom Hacohen
958b6c7569
Edje entry: Fixed a memory leak. Removed an unwanted selection clear, and renamed preedit strings functions to have a more adequate name. - Patch by Jihoon Kim.
...
SVN revision: 53390
2010-10-14 07:50:32 +00:00
Tom Hacohen
96185ffaf5
Edje entry: removed some unwanted commented out code.
...
SVN revision: 53306
2010-10-12 14:13:22 +00:00
Cedric BAIL
26ba1c03e3
* edje: fix signal comming from aliased part.
...
I needed to bump minor file format version, but it will only
change behaviour for people using alias for part and they
couldn't use the signal emitted by them.
SVN revision: 53305
2010-10-12 13:26:18 +00:00
Tom Hacohen
ed83a01ea0
Edje text: Fix text cutting (esipsis) with non-english. evas_object_text_last_up_to_pos returns index, not byte-index.
...
SVN revision: 53304
2010-10-12 12:22:43 +00:00
Leandro Pereira
dd5b79eff6
edje: Add get_part_id() to exported Embryo functions.
...
This allows one to calculate a part number in runtime and and use it with
other functions, like get_state() and set_state().
SVN revision: 53277
2010-10-11 21:26:43 +00:00
Gustavo Sverzut Barbieri
15f8b5101d
show group name when it is auto-discovered as well.
...
SVN revision: 53264
2010-10-11 15:10:34 +00:00
Carsten Haitzler
997acfa3a5
focus objcet we play
...
SVN revision: 53260
2010-10-11 08:30:17 +00:00
Carsten Haitzler
e95ad0f97c
bah - removed snprintf.
...
SVN revision: 53259
2010-10-11 07:31:12 +00:00
Carsten Haitzler
f1ec894769
fix inlined fonts again.
...
SVN revision: 53258
2010-10-11 07:24:46 +00:00
Davide Andreoli
80e0de0e19
Remove the doxy-inlined lua example in favor of a cleaner @include
...
from the examples/ folder.
Also expose all the examples to doxygen, you can now browse
them all from the generated docs.
SVN revision: 53211
2010-10-08 21:14:31 +00:00
Gustavo Sverzut Barbieri
7ac13f931f
better log.
...
* lower case domain names;
* binaries use their own color (EDJE_CC_DEFAULT_LOG_COLOR)
* log messages do not take multiple lines, it's annoying. The colors
should call your attention already.
* the ever annoying "did you forgot fixed: 1 1;" message that used to
consume 3 lines is now bit more descriptive and uses a single line.
SVN revision: 53178
2010-10-08 00:24:22 +00:00
Iván Briano
631aa54545
Cheking if start.layout is set before using it.
...
When evas_object_show is called with a elm_layout object before resizing
it the layout function is called before edje calc function, so the start
layout is not yet set.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 53144
2010-10-07 14:45:57 +00:00
Cedric BAIL
b61340ea1a
* edje: remove not needed code and fix issue when removing child.
...
SVN revision: 53143
2010-10-07 14:14:02 +00:00
Tom Hacohen
0579401cb3
Edje entry: Fixed the hack that was used in edje_entry for drawing anchors (the hack was there because of a bug in textblock which is now fixed).
...
SVN revision: 53107
2010-10-06 18:23:01 +00:00
Boris Faure
545ea3a1a4
edje: improve doc
...
SVN revision: 53004
2010-10-03 21:21:58 +00:00
Mike Blumenkrantz
2c1c6f633d
add big FIXME for fixme
...
SVN revision: 52978
2010-10-02 08:22:48 +00:00
Mike Blumenkrantz
52ad489422
this is the WRONG fix for compiled-in edj font issues. it does, however, temporarily fix the problem until someone who knows what they're doing comes along
...
SVN revision: 52977
2010-10-02 07:42:01 +00:00
Carsten Haitzler
57d15d3ef8
actually hook in filter callbacks - have 2 types and pass in enum to
...
each as to what text they are seeing to filter. fix up other typdef
uses.
SVN revision: 52975
2010-10-02 03:34:00 +00:00
Iván Briano
be56560d7d
Fix animators, don't run the program twice.
...
SVN revision: 52953
2010-10-01 17:10:37 +00:00
Iván Briano
2233302716
Fix having api keyword in parts, that is, don't have edje_cc segfault if there is one.
...
SVN revision: 52952
2010-10-01 16:49:31 +00:00
Carsten Haitzler
f394a88dca
set EDJE_SELF_FEED_DEBUG if u want to know abotu self-feeding edje
...
signals/messages
SVN revision: 52943
2010-10-01 06:59:48 +00:00
Carsten Haitzler
3d87542724
proper error output from script running (embryo).
...
SVN revision: 52942
2010-10-01 06:53:16 +00:00
Leandro Pereira
9dc21add3a
edje_cc: Don't dereference a NULL pointer on badly-formed .edj files.
...
(Should have been on r52931.)
SVN revision: 52932
2010-09-30 21:37:49 +00:00
Leandro Pereira
fcfaebe1e3
edje_cc: Bail out on descriptions without a state.
...
Also, don't dereference a NULL pointer on badly-formed .edj files.
SVN revision: 52931
2010-09-30 21:31:00 +00:00
Leandro Pereira
0e7da3e783
edje_cc: Fix typos
...
SVN revision: 52930
2010-09-30 21:16:38 +00:00