Commit Graph

19125 Commits

Author SHA1 Message Date
Bruno Dilly 2a7949dd53 ephysics: fix ball theme group
SVN revision: 77671
2012-10-09 19:59:08 +00:00
Gustavo Sverzut Barbieri 4786babcc8 Improve xdg-user-dirs documentation.
EVERYBODY writing software, particularly applications, read this
documentation and the links below so you can make your software
compliant:

 * http://0pointer.de/blog/projects/tmp.html where to store files and
   sockets to be secure and portable.
 * http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html



SVN revision: 77669
2012-10-09 18:43:33 +00:00
Gustavo Sverzut Barbieri 753f334e73 Support user directories $XDG_PICTURES_DIR, $XDG_VIDEOS_DIR,
$XDG_DOWNLOAD_DIR, $XDG_TEMPLATES_DIR, $XDG_PUBLICSHARE_DIR,
$XDG_DOCUMENTS_DIR and $XDG_MUSIC_DIR.



SVN revision: 77668
2012-10-09 18:17:33 +00:00
Gustavo Sverzut Barbieri 6368cfbbc2 cleanup macros.
eina_stringshare_replace() does a nice job.

EINA_LIST_FREE() always exit with empty (NULL) list.



SVN revision: 77667
2012-10-09 17:55:34 +00:00
Gustavo Sverzut Barbieri 4cd60a96e1 Add $XDG_RUNTIME_DIR support.
SVN revision: 77666
2012-10-09 17:52:21 +00:00
José Roberto de Souza fe34dc2b72 edbus: Remove edbus_real_method
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77656
2012-10-09 15:23:25 +00:00
José Roberto de Souza 90ee430ce5 edbus: Fix example of double container
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77655
2012-10-09 15:23:13 +00:00
Daniel Juyung Seo 188ce7d9e1 eobj .gitignore: Added .gitignore.
SVN revision: 77646
2012-10-09 14:28:47 +00:00
Mike McCormack fbdbbab4ef evas: Fix casts
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77641
2012-10-09 11:59:44 +00:00
Mike McCormack 2d2b04a735 elf: Ignore build output in git
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77636
2012-10-09 11:24:14 +00:00
Christopher Michael 3c6e2fabf3 Fix typo (a period != a comma) ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77633
2012-10-09 09:51:21 +00:00
Sebastian Dransfeld 9f188af2d8 edbus: check if DBUS_TYPE_UNIX_FD exists
SVN revision: 77629
2012-10-09 08:47:59 +00:00
Sebastian Dransfeld 83e1c68da5 edje: remove unused variable
SVN revision: 77623
2012-10-09 08:28:07 +00:00
Sebastian Dransfeld f438ce3bcb ecore_con_socks: split version check from cast
SVN revision: 77622
2012-10-09 08:27:55 +00:00
Sebastian Dransfeld e5dc5ce162 ecore_con: make buf correct type
Should be the same as the return type from eina_binbuf_string_get

SVN revision: 77621
2012-10-09 08:27:38 +00:00
Sebastian Dransfeld ec837db229 evas: Use char for memory pointer arithmetic
SVN revision: 77618
2012-10-09 07:51:08 +00:00
Cedric BAIL 457b240434 evas: do less request to eo.
SVN revision: 77617
2012-10-09 07:49:07 +00:00
Christopher Michael 16e6b9fce5 Wrong to declare "ret" as Eina_Bool and than cast it to an int.
pointer.inside is unsigned char.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77615
2012-10-09 07:35:08 +00:00
Daniel Zaoui 2f4abd93bc Second fix for Wayland Egl. Sorry devilhorns for the inconvenience.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 77612
2012-10-09 07:05:37 +00:00
Daniel Zaoui c4cb0584ed Fix for Wayland. Thank for devilhorns.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 77611
2012-10-09 06:49:57 +00:00
Daniel Zaoui daf219ca21 Evas_Object_Box compilation. Thanks to devilhorns and onefang
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 77610
2012-10-09 06:34:49 +00:00
Tom Hacohen 589ae339d9 Evas image: Fix compilation for David Seikel.
Weird that it works here. I guess the type of va_list is different for you.

Anyhow, you are right, that's an issue, thanks.

SVN revision: 77609
2012-10-09 06:02:05 +00:00
Carsten Haitzler 272c408713 fix build bork becase of eo.
SVN revision: 77607
2012-10-09 03:01:28 +00:00
Cedric BAIL 9d29878e9d evas: fix JackDaniel's bork.
SVN revision: 77606
2012-10-09 02:51:19 +00:00
Tom Hacohen 44a43bb8ce Eo: Added -DNDEBUG by default.
SVN revision: 77605
2012-10-09 02:11:36 +00:00
Daniel Zaoui a01418aff8 eo: changes made for the support of the Eo concept
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 77604
2012-10-09 01:58:41 +00:00
Bruno Dilly 9ac7594b3a ephysics: fix sandbox shutdown
SVN revision: 77598
2012-10-08 22:47:28 +00:00
Bruno Dilly 18433ec343 ephysics: fix sandbox material callback
SVN revision: 77597
2012-10-08 22:47:19 +00:00
Bruno Dilly 1d5fbc9850 ephysics: print sandbox error msgs correctly
SVN revision: 77596
2012-10-08 22:47:11 +00:00
Bruno Dilly 0955e6258c ephysics: cosmetic clean up on sandbox code
Respect 80 cols, remove extra blank lines and blank spaces.



SVN revision: 77595
2012-10-08 22:46:58 +00:00
Bruno Dilly f5f0427c9b ephysics: fix make distcheck
SVN revision: 77594
2012-10-08 22:46:50 +00:00
Bruno Dilly 5e2b7efe13 ephysics: separate test and sandbox themes
SVN revision: 77593
2012-10-08 22:46:29 +00:00
Ricardo de Almeida Gonzaga 8bd4f13b0d ephysics: initial commit to sandbox
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77592
2012-10-08 22:46:19 +00:00
Leandro Dorileo e084960cf3 EPhysics: dragging body test
New test where the user can drag a body around the world by grabbing
and dragging.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77585
2012-10-08 18:01:06 +00:00
Bruno Dilly 3db5bdd771 ephysics: re-activate body when velocity is set
SVN revision: 77584
2012-10-08 18:00:55 +00:00
Eduardo Lima (Etrunko) 8a014153d4 Wayland_SHM: Add listener to frame callback
This is the method necessary to synchronize Wayland and Evas rendering, similar
to vblank sync that is used in X11. This solves the Wayland SHM render issues
(tearing effect) without the need to add double buffering to the engine.

In a near future, the SHM implementation will feature double (or triple)
buffering and this syncrhonization mechanism will be changed to be optional.

Patch based on the work started by Robert Bradford on ticket #1280
http://trac.enlightenment.org/e/ticket/1280

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77580
2012-10-08 14:22:17 +00:00
Eduardo Lima (Etrunko) 352926829e Ecore_Evas: Share code between SHM and EGL
implementations

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77579
2012-10-08 14:09:53 +00:00
Vincent Torri e505eb5584 evas svg loader: update to latest esvg API
SVN revision: 77561
2012-10-07 21:10:37 +00:00
Sebastian Dransfeld 89d1fdb265 ecore_wayland: Remove unneeded header
Already included by ecore_wl_private.h

SVN revision: 77548
2012-10-06 17:10:58 +00:00
Sebastian Dransfeld b111a5046e ecore_wayland: Make modifiers correctly at once
SVN revision: 77546
2012-10-06 15:58:27 +00:00
Bruno Dilly 227ef6982e ephysics: add valgrind suppression file
stop complaining about fontconfig and libz stuff



SVN revision: 77541
2012-10-05 15:41:10 +00:00
Sebastian Dransfeld a91fd04ead ecore_wayland: Use correct modifier flags
Events should use ECORE_EVENT_MODIFER_* flags...

SVN revision: 77534
2012-10-05 13:46:35 +00:00
Cedric BAIL 433803e3dc ecore: let's try another approach thanks to Guillaume Friloux.
SVN revision: 77533
2012-10-05 13:07:14 +00:00
Cedric BAIL d308248e4c ecore: properly reschedule call to curl.
SVN revision: 77524
2012-10-05 10:17:18 +00:00
Sung Park 52e4090f92 Added Debug feature for Evas GL's GL APIs. It can be set with
EVAS_GL_API_DEBUG=1 and when it is set, all the GL calls will check
if make_current has been properly called.  Also, it'll check if all
the GL calls are called within the Pixel Getter function for Direct
Rendering option.


SVN revision: 77522
2012-10-05 10:03:37 +00:00
Christopher Michael eb9cbc76a0 Add missing __UNUSED__
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77519
2012-10-05 09:10:52 +00:00
Christopher Michael 08891484b5 Fix function declaration for native_window_destroy in EVGL_Interface
structure (returns an int, not a pointer to int).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77518
2012-10-05 09:09:37 +00:00
Sung Park 6ce22db846 Removed unnecessary typedef of GLchar. It was reported by rusty with
issues on OpenBSD/NetBSD Not sure why it was left there, but fixed now. 


SVN revision: 77507
2012-10-05 07:00:28 +00:00
Daniel Juyung Seo 517843dc7c evas Evas.h: Added more documentation for users. Spotted by Seoghyun Kang.
SVN revision: 77499
2012-10-05 06:35:12 +00:00
Sebastian Dransfeld 248fb9b2d9 ecore-x: expose ecore_x_selection_converter_text
Needed to convert COMPOUND_TEXT

SVN revision: 77477
2012-10-04 23:18:18 +00:00
Bruno Dilly aa484b1411 ephysics: update TODO
remove some done tasks



SVN revision: 77472
2012-10-04 22:40:58 +00:00
Bruno Dilly c6e04869ea ephysics: don't send a msg per sub step
Only send one msg at the end of the simulation step.



SVN revision: 77471
2012-10-04 22:40:52 +00:00
Bruno Dilly 14459c4d74 ephysics: add heavy test to check threads work
Simulate 600 small balls.

Ok, it's not so huge, but I've tested to add a sleep on step simulation
on bullet. Things looks to be working just fine.



SVN revision: 77470
2012-10-04 22:40:46 +00:00
Bruno Dilly d6d51d86f8 ephysics: fix typos on docs
SVN revision: 77469
2012-10-04 22:40:35 +00:00
Leandro Dorileo 8079624030 EPhysics: soft body test
Soft Body Test, add smart soft bodies in the list for exclusion.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77468
2012-10-04 22:40:29 +00:00
Leandro Dorileo 252643a33b EPhysics: add cloth support
This patch introduces the cloth support. Auxiliary API's for setting
full anchors, cloth nodes anchors and so on is also introduced. Few
other issues concerning soft body and cloth transform, has been worked
to fit the cloth support needs.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77467
2012-10-04 22:40:16 +00:00
Leandro Dorileo 1cb8f6fc0c EPhysics: multi point deformation
This patch introduces support for multi point deformation mapping,
it's wrapped with an evas smart object to handle multiple slices.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77466
2012-10-04 22:40:07 +00:00
Bruno Dilly da4c5234f2 ephysics: use new ELM_POLICY_EXIT
To make sure windows will be properly deleted at shutdown.



SVN revision: 77465
2012-10-04 22:39:59 +00:00
Bruno Dilly 7d994cc8e6 ephysics: don't try to lock on internal delete
SVN revision: 77464
2012-10-04 22:39:53 +00:00
Bruno Dilly 7fe038a1c8 ephysics: add test for materials
SVN revision: 77463
2012-10-04 22:39:47 +00:00
Bruno Dilly 0bdec67255 ephysics: support body material
Using material_set it will be easier to set density, friction
and restitution to a body, simulating properties of the selected
material.



SVN revision: 77462
2012-10-04 22:39:42 +00:00
Bruno Dilly f0b85f701d ephysics: add some material constants
Pre-defined values of some properties, as density, friction and
restitution.

Ricardo researched these values on the following sources:

http://www.matbase.com/
http://www.matweb.com/
http://physics.info/density/
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=616
http://www.woodweb.com/knowledge_base/Wood_Handbook.html
http://www.engineershandbook.com/Tables/frictioncoefficients.htm
http://www.engineeringtoolbox.com/friction-coefficients-d_778.html
http://hypertextbook.com/facts/2006/restitution.shtml

Since they diverge a lot, he calculated an average value.



SVN revision: 77461
2012-10-04 22:39:35 +00:00
Bruno Dilly 748cfbe2f4 ephysics: support density
SVN revision: 77460
2012-10-04 22:39:29 +00:00
Bruno Dilly b52d2ed85e ephysics: add define to infinite mass
Also check for invalid values on mass set.



SVN revision: 77459
2012-10-04 22:39:10 +00:00
Bruno Dilly 7b7bef6087 ephysics: delete all worlds on exit
sure, it won't work until externals init / shutdown mess is fixed.



SVN revision: 77458
2012-10-04 22:38:58 +00:00
Bruno Dilly 6181303ab5 ephysics: no need to delete all the bodies on test
data del

It's already done when deleting the world.



SVN revision: 77457
2012-10-04 22:38:17 +00:00
Bruno Dilly a3eda42485 ephysics: add a log domain usage counter
This way we assure eina log will be working until the last
thread ends.



SVN revision: 77456
2012-10-04 22:38:11 +00:00
Bruno Dilly 9668304291 ephysics: use multiple threads
Use a mainloop thread and one thread per world dedicated to simulation.

It's using ecore threads, out of the pool.

For now there are still some locks when trying to change physics
elements properties while a simulation is going on, but soon it will
have a queue of properties to be applied after a simulation step, so
it won't lock.



SVN revision: 77455
2012-10-04 22:38:06 +00:00
Leandro Dorileo cfdd39c2d7 ephysics: free overlap filter callback
This patch makes sure the overlap filter callback instance is removed
on world removal.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77454
2012-10-04 22:38:00 +00:00
Ricardo de Almeida Gonzaga 62f7b42c3b ephysics: updated authors.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77453
2012-10-04 22:37:54 +00:00
Ricardo de Almeida Gonzaga 45c3c60ea3 ephysics: add some references to technical terms.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77452
2012-10-04 22:37:47 +00:00
Ricardo de Almeida Gonzaga fcea4e820a ephysics: add a new example doc: EPhysics Logo -
ephysics_logo.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77451
2012-10-04 22:37:40 +00:00
Ricardo de Almeida Gonzaga bd9c06c5f5 ephysics: add a new example doc: Rotating Forever -
test_rotating_forever.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77450
2012-10-04 22:37:25 +00:00
Vincent Torri 607eb7d0de Ecore_con: update ecore_con_eet headers. Should make it compiling on Windows (not tested)
SVN revision: 77444
2012-10-04 17:04:38 +00:00
Stefan Schmidt 383af77fce ecore_con: No need to check for the for the same flag two times.
I did not do changelog, news or backport here as it has zero effect on the
functionality. Just makes the code easier to udnerstand and read. If you think
it needs to be done neverless howl and let me know what you actually want in
it. :)

SVN revision: 77441
2012-10-04 14:56:22 +00:00
Christopher Michael 3b0804e195 Remove unused variables.
SVN revision: 77425
2012-10-04 10:43:07 +00:00
Mike Blumenkrantz c3fd0444b1 fix some efreet docs
SVN revision: 77412
2012-10-04 08:55:51 +00:00
Cedric BAIL 3d8678ab86 ecore: add ecore_x_input_raw_select and friends.
SVN revision: 77404
2012-10-04 05:56:59 +00:00
Christopher Michael 67fa000e09 Ecore: Update ChangeLog for Daniel's patch.
SVN revision: 77402
2012-10-04 05:51:12 +00:00
Christopher Michael 492eb02253 Ecore_X (xcb): Patch from Daniel Willmann to fix the type used for
calloc of randr_output_change event.



SVN revision: 77401
2012-10-04 05:49:28 +00:00
Cedric BAIL add842257d eio: Fix possible memory corruption in eio_eet_data_read_cipher()
Patch by Daniel Willmann <d.willmann@samsung.com>


SVN revision: 77392
2012-10-04 01:46:03 +00:00
Cedric BAIL d6f61a6b4f eina: Fixes typo and removes redundant duplicate code.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77391
2012-10-04 01:42:15 +00:00
Eduardo Lima (Etrunko) eb12c75f33 Wayland_SHM: Remove unused 'debug' field
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77376
2012-10-03 16:31:04 +00:00
Eduardo Lima (Etrunko) c76d15436b Wayland_SHM: Remove unecessary initialization
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77375
2012-10-03 16:30:45 +00:00
Eduardo Lima (Etrunko) 4c750dfd37 Ecore_Evas: Cleanup unused function prototypes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77374
2012-10-03 16:30:37 +00:00
Eduardo Lima (Etrunko) 536114dd46 Ecore_Evas: Fix Wayland engine includes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77373
2012-10-03 16:30:28 +00:00
Mike Blumenkrantz 8501f2111a probably the best commit I'll ever make: evas_object_del() now takes NULL parameter without bitching
SVN revision: 77344
2012-10-03 06:59:20 +00:00
Cedric BAIL 94978e3079 ecore: Fix memory allocation size in ecore_thread_feedback()
Patch by Daniel Willmann <d.willmann@samsung.com>


SVN revision: 77340
2012-10-03 05:55:32 +00:00
Lucas De Marchi 63e697d752 edbus: Improve doc of name_owner_changed_callback_add()
Explain the reason for the extra flag on this function.



SVN revision: 77339
2012-10-02 21:42:02 +00:00
José Roberto de Souza de5d201e7e edbus: Add flag to name_owner_changed_callback_add to
allow initial call

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77338
2012-10-02 21:41:58 +00:00
José Roberto de Souza c2e818bd3f edbus: Call callback if already have a unique id when
another callback is added

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77337
2012-10-02 21:41:53 +00:00
Luis Felipe Strano Moraes 4be3f1e204 edbus: Fix typos
Patch by: Luis Felipe Strano Moraes <luis.strano@gmail.com>



SVN revision: 77335
2012-10-02 21:02:16 +00:00
Flavio Vinicius Alvares Ceolin 2bb2e95271 edje_codegen: Fixing a small problem with programs
Generating code even when there is no signal and/or source
in a program with SIGNAL_EMIT action.



SVN revision: 77330
2012-10-02 17:37:48 +00:00
Stefan Schmidt 27e48050d4 edje_entry: Fix mem leak and get rid of useless calloc here.
We could leak here if the next condition is true. And more important we calloc
in just 6 lines below again. From the log it seems this was just not catched
in a rewrite of this part of the code.

SVN revision: 77319
2012-10-02 12:53:54 +00:00
Stefan Schmidt cea45580e0 eeze/sensor: Remove handle_get() test for Eeze_Sensor as it gone from the code.
SVN revision: 77318
2012-10-02 12:53:48 +00:00
Christopher Michael 5824001bef Ecore_X (xcb): Revert previous screensaver commit.
NB: I was misinformed...apparently it did Not cut down the usage.



SVN revision: 77312
2012-10-02 12:13:32 +00:00
Christopher Michael f209467e08 Ecore_X: We don't need to listen for Cycle events here. These raise
when the screensaver cycle interval passes. That is not what we are
interested in here. We only need to know when the screensaver
activates/deactivates.

NB: This cuts cpu usage down incredibly when screensavers are set with
a short timeout.



SVN revision: 77310
2012-10-02 12:08:58 +00:00
Stefan Schmidt 7032a54a09 eeze/sensor: Fix big memleak that happened on every eeze use.
Really free the list with sensor modules when shutting down. No idea how I
dropped that as I found it in one old local version I had. Thanks to Mike
for the notice and valgrind for the tooling.

Also make sure we don't corrupt the list before we can free it.

SVN revision: 77291
2012-10-02 08:47:54 +00:00
Stefan Schmidt 13110e7610 eeze/sensor: Free the hash table on shutdown. Leak--
Some bigger leak is still going on there with the module unloading. I swear that
was all non-leaking before. I had valgrind on it. :)

SVN revision: 77290
2012-10-02 08:47:50 +00:00
Stefan Schmidt 0d2fcf9837 eeze/sensor: Update documentation.
Updating the docs in the header as well as some more comments in the code itself.

SVN revision: 77289
2012-10-02 08:47:45 +00:00