Gustavo Sverzut Barbieri
0b231e99ce
Add CHOICES to EXTERNAL support.
...
Choices are useful to represent enumerations and restricted set of
elements to user. Usually this is displayed in hoversel/comboboxes.
SVN revision: 47570
2010-03-29 21:51:40 +00:00
Sebastian Dransfeld
3db40c0d97
efreet: fix strdup + stringshare
...
SVN revision: 47568
2010-03-29 20:14:43 +00:00
Sebastian Dransfeld
434759396a
efreet: use efreet_desktop_new, not get
...
As we free the desktop in the same func, use uncached version
SVN revision: 47567
2010-03-29 20:11:12 +00:00
Sebastian Dransfeld
68d33e8c59
efreet: TODO++
...
SVN revision: 47566
2010-03-29 20:10:26 +00:00
Gustavo Sverzut Barbieri
1bb3339188
another useful function
...
SVN revision: 47564
2010-03-29 19:32:45 +00:00
Gustavo Sverzut Barbieri
4981652e8c
set ecore_app arguments, edje external will use it to init elm_init()
...
SVN revision: 47563
2010-03-29 18:45:18 +00:00
Gustavo Sverzut Barbieri
acadc5e210
export useful function.
...
SVN revision: 47562
2010-03-29 18:44:42 +00:00
Iván Briano
a5c6fd883d
More safety removing stuff from lists
...
SVN revision: 47554
2010-03-29 07:13:35 +00:00
Iván Briano
202d3765cf
Use safe macros to walk the lists when we may remove something from it
...
SVN revision: 47553
2010-03-29 07:03:36 +00:00
Carsten Haitzler
5f309b5d9f
actually fix evas event cb leak for good. work ast smart desc leak.
...
SVN revision: 47552
2010-03-29 05:03:25 +00:00
Carsten Haitzler
46e1d8a866
fix small leak - cannvas callbacks not cleaned.
...
SVN revision: 47551
2010-03-29 02:40:49 +00:00
Sebastian Dransfeld
6d0651d4f2
efreet: Only update cache files if changed
...
SVN revision: 47546
2010-03-28 20:46:27 +00:00
Sebastian Dransfeld
13b51829ae
efreet: TODO--
...
SVN revision: 47545
2010-03-28 20:36:47 +00:00
Sebastian Dransfeld
44aea1a452
efreet: Remove unneeded flag
...
SVN revision: 47544
2010-03-28 20:36:37 +00:00
Sebastian Dransfeld
c37ca95819
efreet: Remove unneeded flag
...
SVN revision: 47543
2010-03-28 20:36:26 +00:00
Sebastian Dransfeld
5e33a5798f
Remove unneeded TOOD
...
SVN revision: 47542
2010-03-28 20:36:11 +00:00
Sebastian Dransfeld
c7dc3a221d
efreet: Only read data from disk when modified
...
SVN revision: 47539
2010-03-28 19:31:37 +00:00
Sebastian Dransfeld
d504b34ac3
efreet: fix old cache deletion
...
SVN revision: 47538
2010-03-28 19:31:26 +00:00
Sebastian Dransfeld
d075ee43c2
efreet: Always run cache update on init
...
SVN revision: 47537
2010-03-28 19:31:14 +00:00
Sebastian Dransfeld
d8bde974e6
efreet: Add variable to prevent cache update
...
SVN revision: 47536
2010-03-28 18:54:25 +00:00
Rui Seabra
b5c3618813
New file.
...
SVN revision: 47535
2010-03-28 18:46:57 +00:00
Rui Seabra
a6d3bede42
Support example files.
...
SVN revision: 47534
2010-03-28 18:33:49 +00:00
Vincent Torri
9ed7f52215
remove unneeded semi-colon
...
SVN revision: 47529
2010-03-28 12:24:10 +00:00
Vincent Torri
7bd971f3ae
include Evil.h for vc++
...
SVN revision: 47528
2010-03-28 08:43:53 +00:00
Vincent Torri
dbb9cf4df7
add guards around the inclusion of config.h
...
SVN revision: 47527
2010-03-28 08:36:55 +00:00
Brett Nash
d267122d9e
Always mark object as dirty after a map_change.
...
Otherwise doesn't handle UV or colour changes. It's a bit heavy handed, but
it's a lot easier.
SVN revision: 47526
2010-03-28 05:40:42 +00:00
Mathieu Taillefumier
4c00d5e175
from: Mathieu Taillefumier <mathieu.taillefumier@fys.uio.no>
...
fix configure check for libpng14.
SVN revision: 47524
2010-03-28 02:10:37 +00:00
Sebastian Dransfeld
cfc96c36ad
efreet: TODO++
...
SVN revision: 47520
2010-03-27 20:58:45 +00:00
Sebastian Dransfeld
3806dd7a2c
efreet: Track old caches
...
SVN revision: 47519
2010-03-27 20:53:52 +00:00
Sebastian Dransfeld
17df443aeb
efreet: use uncached call so we read from disk
...
SVN revision: 47516
2010-03-27 20:03:45 +00:00
Sebastian Dransfeld
fa732e43f6
efreet: fix function name
...
SVN revision: 47515
2010-03-27 19:58:54 +00:00
Sebastian Dransfeld
053190d2f4
sync cache reload between desktop and util
...
SVN revision: 47513
2010-03-27 19:58:33 +00:00
Sebastian Dransfeld
45f4c540d5
efreet_util_init gone
...
SVN revision: 47511
2010-03-27 19:58:02 +00:00
Sebastian Dransfeld
534519db27
init util alongside rest of efreet
...
Used to be separate as util had different requirements than base efreet,
and util had high memory usage. No longer the case.
SVN revision: 47510
2010-03-27 19:57:47 +00:00
Sebastian Dransfeld
a870815d90
print dangling references
...
SVN revision: 47509
2010-03-27 19:57:33 +00:00
Vincent Torri
90b73e50a9
quartz -> cocoa renaming
...
SVN revision: 47508
2010-03-27 19:01:31 +00:00
Vincent Torri
88882132c3
remove unused files
...
SVN revision: 47507
2010-03-27 18:32:03 +00:00
Vincent Torri
c77c8c6cb3
more quartz -> cocoa renaming
...
SVN revision: 47506
2010-03-27 18:28:50 +00:00
Gustavo Sverzut Barbieri
71d603c360
new program action PARAM_COPY, awesome crazy stuff! :-)
...
Edje got a new program action called PARAM_COPY in the form:
action: PARAM_COPY "src_part" "src_param" "dst_part" "dst_param";
This will copy the parameter "src_param" from part "src_part" to
parameter "dst_param" of part "dst_part".
So far so good, why the "crazy" in the first line? Because this also:
* do type conversion!
* set properties of native parts, not just EXTERNAL!
The type conversion allows one to get an integer and display that in a
text property, or get an string and convert into a float.
The set of native parts is quite simple, basically a map of Edje.h
edje_object_part_*_set(). With that one can set the string to be used
by a TEXT, or set drag page/step/size/value! (page/step increments are
not supported at the moment, if it is worth, they may be supported in
future).
Sample EDC:
{{{
// test.edc, compile with edje_cc and run with edje_player
externals {
external: "elm";
}
collections {
group { name: "main";
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "entry"; type: EXTERNAL;
source: "elm/scrolled_entry";
description { state: "default" 0.0;
rel2.relative: 1.0 0.5;
}
}
part { name: "display"; type: TEXT;
description { state: "default" 0.0;
color: 0 128 0 255;
rel1.relative: 0.0 0.5;
text { font: "Sans"; size: 16; }
}
}
programs {
program {
signal: "changed";
source: "entry";
action: PARAM_COPY "entry" "text" "display" "text";
}
}
}
}
}
}}}
SVN revision: 47500
2010-03-27 01:26:10 +00:00
Gustavo Lima Chaves
79449a8226
Off-by-one at debug?
...
SVN revision: 47492
2010-03-26 14:46:01 +00:00
Vincent Torri
2c91c3cf21
add colored log on Windows with the DOS console and MSYS
...
without rxvt emulation. It does not work with MSYS with
rxvt emulation. I don't know the status of the cygwin
terminal.
SVN revision: 47486
2010-03-26 08:08:52 +00:00
Vincent Torri
361446fafe
* src/lib/evil_string.c:
...
* src/lib/evil_string.h:
add strcasecmp wrapper for vc++
SVN revision: 47485
2010-03-26 08:05:02 +00:00
Vincent Torri
762313eff2
declare buddy init/shutdown functions it this
...
mempool is statically linked
SVN revision: 47484
2010-03-26 07:47:11 +00:00
Sebastian Dransfeld
e9552821a1
efreet: Rename util file first
...
Rename util file first as it is internal. change for system will happen
on desktop file
SVN revision: 47480
2010-03-26 06:16:19 +00:00
Sebastian Dransfeld
6990198493
Add comments
...
SVN revision: 47473
2010-03-26 05:33:37 +00:00
Sebastian Dransfeld
a86ec92bc9
Add listener for cache updates
...
SVN revision: 47471
2010-03-26 05:33:12 +00:00
Sebastian Dransfeld
7bbc5e82ba
Remove unneeded code
...
SVN revision: 47470
2010-03-26 05:33:00 +00:00
Sebastian Dransfeld
4e8ebec3f6
efreet_menu.c: Fix compiler warning
...
SVN revision: 47469
2010-03-26 05:29:15 +00:00
Carsten Haitzler
66881b93ee
password mode - dont allow selections
...
SVN revision: 47466
2010-03-26 04:42:39 +00:00
Carsten Haitzler
a3281c13be
fix markup insert to be the same as normal text entry code - except given
...
text markup.
SVN revision: 47465
2010-03-26 04:22:30 +00:00
Carsten Haitzler
79a950519d
fix insert markup. (prepend)
...
SVN revision: 47464
2010-03-26 04:21:16 +00:00
Carsten Haitzler
37743d378e
entry bug--
...
SVN revision: 47463
2010-03-26 03:57:22 +00:00
Gustavo Sverzut Barbieri
430d792e27
allow setting parameters from embryo!
...
SVN revision: 47459
2010-03-25 20:18:24 +00:00
Gustavo Sverzut Barbieri
cfecbc912b
Edje EXTERNAL API break, for good.
...
I'm now introducing a couple of goodies to make externals more useful,
they are:
* add: extra parameter with the part name. This may be used by
external objects to emit signals in the name of that part.
* param_set/param_get: set parameters at runtime, given their names
and types. This avoids requiring users to get the actual object and
call methods. This abstraction is also good because it let one uses
Elementary without even linking to it ;-) (this have limits, like
complex types are not supported). Right now this is just exposed
to C, but goal is to have it exposed in Embryo and Lua as well.
* translate: new method to translate previously strings that are
specified statically, such as the parameters names.
Four new functions got added to the Edje API:
* edje_object_part_external_object_get() so we don't have to abuse
edje_object_part_swallow_get()
* edje_object_part_external_param_set() and
edje_object_part_external_param_get() that call the external type's
functions.
* edje_external_param_type_str() to convert types to string and
provide nicer debugs :-)
TODO:
* expose external_param_set()/external_param_get() to Embryo and Lua.
SVN revision: 47456
2010-03-25 18:05:42 +00:00
Gustavo Sverzut Barbieri
49da44bf6f
convert some printfs to eina error.
...
SVN revision: 47451
2010-03-25 17:30:59 +00:00
Tiago Rezende Campos Falcao
ee58900290
Fix wrong names below<->above
...
SVN revision: 47446
2010-03-25 16:41:46 +00:00
Iván Briano
3f1e51e008
Dirty copy/paste to delete individual targets from a program
...
SVN revision: 47444
2010-03-25 11:19:46 +00:00
Carsten Haitzler
b0af679619
fix entry delete.
...
SVN revision: 47443
2010-03-25 08:17:51 +00:00
Tiago Rezende Campos Falcao
6556fa5273
above and below get
...
SVN revision: 47435
2010-03-24 19:21:03 +00:00
Cedric BAIL
3d27a7b9e4
* evas: improve thread rendering by moving image loading in worker thread.
...
SVN revision: 47434
2010-03-24 19:07:59 +00:00
Cedric BAIL
3059ecd31c
* evas: fix bug that impact performance of map.
...
TODO: Got the idea that we could spread the load of image data
on all proc instead of blocking on the main thread for that.
SVN revision: 47430
2010-03-24 16:51:51 +00:00
Cedric BAIL
1a51c662bf
* evas: make map work with threaded rendering.
...
SVN revision: 47429
2010-03-24 16:39:39 +00:00
Cedric BAIL
f715c8584d
* evas: fix uncertain lock. It's look like it improve perf here without breaking things.
...
SVN revision: 47428
2010-03-24 14:55:37 +00:00
Cedric BAIL
80901b0abe
* evas: fix build with thread rendering on and scale cache off.
...
SVN revision: 47427
2010-03-24 14:46:28 +00:00
Cedric BAIL
31d6a2e21c
* evas: remove lock during heavy computation.
...
FIXME: Still one at line 685, but don't know if it's safe to move it around.
TODO: Fix map support with threaded rendering.
SVN revision: 47426
2010-03-24 14:45:58 +00:00
Cedric BAIL
6549ab12ce
* evas: fix potential race condition with FT_Activate_Size and threaded rendering.
...
SVN revision: 47419
2010-03-24 11:07:37 +00:00
Cedric BAIL
e414c90820
* evas: fix fribidi race condition (perhaps not the right way) with thread rendering.
...
SVN revision: 47418
2010-03-24 11:06:54 +00:00
Cedric BAIL
34e4c55f37
* evas: Fix thread rendering issu with scalecache.
...
SVN revision: 47417
2010-03-24 11:06:02 +00:00
Iván Briano
c1b67b4798
Add function to check smart type based on pointer alone. Useful when we have access to the class used to create the object.
...
SVN revision: 47413
2010-03-24 08:43:39 +00:00
Gustavo Sverzut Barbieri
f96faf0b67
stop using rsvg_term()
...
given that rsvg seems to be causing random problems for those using
svg icons in E17, I consider Lennart's advice to stop using
rsvg_term() quite useful.
Yeah... not everybody does excellent reference counted module
init/shutdown... shame on you ;-) (/me looks at fontconfig and couple
of others as well).
References:
- http://0pointer.de/blog/projects/beware-of-rsvg-term
- https://bugzilla.gnome.org/show_bug.cgi?id=592100
SVN revision: 47403
2010-03-23 22:13:51 +00:00
Gustavo Sverzut Barbieri
9bf201e26e
add debugs and warnings to ecore_evas_new().
...
Sometimes it might be useful for the tester to detect the engine that
is being used.
SVN revision: 47391
2010-03-23 17:35:22 +00:00
Cedric BAIL
b834c82d50
* emotion: Fix configure report.
...
SVN revision: 47388
2010-03-23 12:04:48 +00:00
Carsten Haitzler
3cf6e2fde7
1. clean up egl better on context shutdown
...
2. clean up pprograms/shaders on shared shutdown
SVN revision: 47386
2010-03-23 09:55:02 +00:00
Vincent Torri
8126debb06
fix most compilation errors with vc++ (there are still a
...
problem with eina_log and output of the log messages:
STDERR_FILENO, STDOUT_FILENO and isatty())
fix some warnings and header files inclusion
update vcproj files
SVN revision: 47384
2010-03-23 06:41:17 +00:00
Vincent Torri
8358354e09
* declare variables at the beginning of the block
...
* minor formatting
SVN revision: 47383
2010-03-23 05:45:35 +00:00
Iván Briano
9570d2124c
Couple of things for Smart Objects
...
* Subclass macro now gets a different function to retrieve the parent class,
which should return a pointer to a fully set up class, instead of filling
up one passed to it.
* Add this functions and use them in SmartClippedObject and Box
* New function to check the type of a Smart object all over its hierarchy tree
SVN revision: 47379
2010-03-23 01:22:20 +00:00
Carsten Haitzler
68db2638fa
fix rect clip bug in gl engine - oops.
...
SVN revision: 47370
2010-03-22 09:55:50 +00:00
Carsten Haitzler
a0bd0a91b8
formatting.
...
SVN revision: 47369
2010-03-22 09:37:27 +00:00
Carsten Haitzler
a7b8c813a9
formatting.... fix.
...
SVN revision: 47368
2010-03-22 09:20:33 +00:00
Carsten Haitzler
17764a850d
fix bug when rendering not getting updates!
...
:)
SVN revision: 47365
2010-03-22 07:40:10 +00:00
Carsten Haitzler
264c2d5b1d
fix event count issue with feeding hold from callback
...
SVN revision: 47364
2010-03-22 07:04:04 +00:00
Carsten Haitzler
f2b1114521
actually... do canvas free.
...
SVN revision: 47362
2010-03-22 05:33:46 +00:00
Carsten Haitzler
eb4c4a29b3
actuallyu free gl context//terminate on last gl window gone.
...
SVN revision: 47361
2010-03-22 05:33:20 +00:00
Carsten Haitzler
e8d5b972b4
--enable-glib-integration-always <- option. can be disabled by
...
ecore_main_loop_glib_always_integrate_disable() before ecore_init()
SVN revision: 47360
2010-03-22 03:30:40 +00:00
Gustavo Sverzut Barbieri
11b1398008
allows basic interaction from automated scripts and signal/message debug.
...
SVN revision: 47347
2010-03-19 19:04:50 +00:00
Gustavo Sverzut Barbieri
2cdac2a9bd
edje_player gets in.
...
I almost rewrote it to be cleaner and use more modern technologies
such as box and ecore_evas_object_associate.
SVN revision: 47343
2010-03-19 16:19:50 +00:00
Gustavo Sverzut Barbieri
71a3bb5cfe
copy edje_player, it will be changed to use Ecore_Getopt and then enabled in compile...
...
SVN revision: 47341
2010-03-19 13:23:24 +00:00
Vincent Torri
43f88cb30d
Second part of the renaming 'quartz' -> 'cocoa'
...
API break. Not really important for now as that port
is in a very bad shape anyway
SVN revision: 47340
2010-03-19 06:57:47 +00:00
Vincent Torri
0b168c9813
First part of the renaming 'quartz' -> 'cocoa'
...
Quartz is the name of the graphic library
Cocoa is the Objective C API to build applications
I can't test this so maybe I have forgotten some
modifications to do. Please report any problem in
that thread
SVN revision: 47339
2010-03-19 06:48:08 +00:00
Vincent Torri
d1c0ea07fc
force gcc to use C preprocessor (otherwise the file extension (.edc) is
...
breaking that behavior)
SVN revision: 47338
2010-03-18 22:52:28 +00:00
Gustavo Sverzut Barbieri
8cdfb061dd
eet docs: next steps
...
SVN revision: 47337
2010-03-18 22:36:41 +00:00
Vincent Torri
80adafe5fc
add "Compiling" and "Installing" in TOC
...
SVN revision: 47332
2010-03-18 21:51:35 +00:00
Vincent Torri
640cd51bb5
typo
...
SVN revision: 47331
2010-03-18 21:49:02 +00:00
Vincent Torri
b1a89973df
add a table of content. "Next Steps" must be filled.
...
SVN revision: 47329
2010-03-18 21:32:34 +00:00
Vincent Torri
bb2462c3ab
Add eet examples documentation and update html doc menu to add 'Examples' tab.
...
Gustavo: documentation of examples should be added in examples.dox.
There is one page for each example in that file.
SVN revision: 47328
2010-03-18 21:09:13 +00:00
Gustavo Sverzut Barbieri
ea4e8a0abb
eet: mega doc update, still stuff to do.
...
* sync AUTHORS
* add couple of groups, and change head.html to include "Modules"
* Reorganize the Eet.h so header is better grouped and in an order
that makes sense to the reader (as Eet.h gives the modules/group
ordering).
SVN revision: 47327
2010-03-18 20:16:56 +00:00
Gustavo Sverzut Barbieri
db38ac7b30
use captial letter to follow the rest of the style.
...
SVN revision: 47325
2010-03-18 16:48:23 +00:00
Cedric BAIL
563eb442b1
* eet: make doc sync with our time.
...
SVN revision: 47323
2010-03-18 15:18:13 +00:00
Gustavo Sverzut Barbieri
7d3fc02680
Add missing authors, sync doxygen with AUTHORS file.
...
Any other author is missing?
SVN revision: 47320
2010-03-18 14:52:32 +00:00
Cedric BAIL
d1ce34964b
* ecore: Add memory statistic support. Set ECORE_MEM_STAT environment
...
variable to get them.
SVN revision: 47319
2010-03-18 14:43:39 +00:00