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
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
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
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
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
999737f657
add missing edit method: edje_edit_font_path_get()
...
SVN revision: 54836
2010-11-22 22:07:41 +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
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
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
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
Gustavo Sverzut Barbieri
d93ac79c38
Dynamic choices in edje EXTERNALS.
...
Sometimes the options can just be known during runtime, like available
video engines for emotion.
This goes in now as it will avoid further API breaks, so before Edje 1.0
SVN revision: 52874
2010-09-29 03:01:17 +00:00