Commit Graph

5963 Commits

Author SHA1 Message Date
Savio Sena 4e6825d6ac eolian-cxx: Removed Wshadow warnings.
Summary:
Removes Wshadow warnings by prepending/appending radices to
the target variables and parameters.

Reviewers: felipealmeida

CC: cedric

Differential Revision: https://phab.enlightenment.org/D1118
2014-07-04 20:04:32 -03:00
Cedric BAIL 380115c025 evas: update Windows backend to use the software generic interface. 2014-07-04 16:07:52 +02:00
Daniel Kolesa 9f17b08dfb eolian: warning fix 2014-07-04 14:51:05 +01:00
Cedric BAIL 14d22c5a08 evas: migrate GL_X11 to use more infrastructure of software_generic. 2014-07-04 15:11:22 +02:00
Cedric BAIL 289b3691b0 evas: add more infrastructure to software_generic backend to be ready for GL_X11 migration. 2014-07-04 15:11:22 +02:00
Cedric BAIL 4be4991315 evas: rename Evas_GL_X11_Window to Outbuf. 2014-07-04 15:11:22 +02:00
Cedric BAIL ab6dd99ed8 evas: add support for merging redraw area across multiple frame with different logic. 2014-07-04 15:11:22 +02:00
Cedric BAIL 35648c09be evas: remove unused include that can lead to problematic include on some platform. 2014-07-04 15:11:22 +02:00
Cedric BAIL c4aa53bef0 evas: make DDraw backend use more software generic. 2014-07-04 15:11:22 +02:00
Cedric BAIL 38117f9a25 evas: Make GDI backend use more software generic infrastructure. 2014-07-04 15:11:22 +02:00
Cedric BAIL 0fdf8fab3a evas: simplify Wayland_SHM backend to use software generic infrastructure. 2014-07-04 15:11:22 +02:00
Cedric BAIL e4a4304dc4 evas: simplify DRM backend to use Software generic infrastructure more. 2014-07-04 15:11:22 +02:00
Vorobiov Vitalii 325d760c55 edje_edit: adding code generation for map functions
Summary:
After changing edj file with edje_edit functions which deals
with map, it require to regenerate source code including map block
with all changes.

Reviewers: cedric, Hermet, seoz, raster

Reviewed By: Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1105
2014-07-04 21:25:56 +09:00
Vorobiov Vitalii 75d65aef9c edje_edit: fixing -Wshadow compile warning with edje_edit_access_set
Summary:
There was -Wshadow compile warning with edje_edit_access_set
and one of it's param called access.
Changed it's name to avoid such annoying warning

Reviewers: Hermet, raster, cedric, seoz

Reviewed By: Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1106
2014-07-04 21:22:35 +09:00
Vorobiov Vitalii 2b31945f5e edje_edit: adding @since 1.11
Summary:
Adding @since 1.11 for all edje_edit function which
were added after 1.10 release and before 1.11.

@fix

Reviewers: cedric, Hermet, seoz, raster

Reviewed By: Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1108
2014-07-04 21:11:56 +09:00
ChunEon Park dad74f7455 evas/gl - removed redundant shader masking code. 2014-07-04 21:10:20 +09:00
Carsten Haitzler ad8957c708 fix xcb as well as xlib - match altgr conflict fix
this matches c21120ec96 conflict fix
section (not the rest). T1273 fix
2014-07-04 18:07:15 +09:00
Carsten Haitzler c21120ec96 this fixes crazy french altgr setups that confuse binding masks
this fixes T1273 - @fix
2014-07-04 18:02:10 +09:00
Carsten Haitzler 1eaf26989b evas - gl common - fix drop of image on cache hit in gl engine images
@fix - this fixes a leak (reference count leak)
2014-07-04 12:26:16 +09:00
Daniel Kolesa 84451db638 eolian: have eolian_all_classes_list_get instead of eolian_class_names_list_get 2014-07-03 22:12:31 +01:00
Jérémy Zurcher a7dfaef215 Revert "ecore: animator use eo_add() instead of eo_add_custom()"
mmhhmm, missing @ Constructor tag, bad for the bindings,
maybe we must split animator and timeline into 2 classes,
maybe support callback hot swaping ...

This reverts commit ec4ffb86d6.
2014-07-03 23:05:57 +02:00
Jérémy Zurcher ec4ffb86d6 ecore: animator use eo_add() instead of eo_add_custom()
Summary:
- use defauld constructor instead of custom one.
- we don't allow construction of an animator with a NULL callback function,
  this is checked in overriden eo_finalize.
- we don't support changing this callback once the object is created,
  such calls will call ERR() and return.

see 46a78e8c and f92e5d50 for eo_add_custom() -> eo_add() details

Reviewers: tasn

Reviewed By: tasn

CC: cedric

Differential Revision: https://phab.enlightenment.org/D1113
2014-07-03 22:33:15 +02:00
Savio Sena 1ede3cc69f autotools: Removed duplicate from src/Makefile.am. 2014-07-03 13:54:54 -03:00
Igor Gala 6fbcf48fe0 edje: Edje-Edit: edje_edit_state_map_on_xet()
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set flag which enables mapping for the part.
Default is 0.
@feature

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1051
2014-07-03 19:37:16 +09:00
Andrii Kroitor d8316bcc07 Edje_Edit: added clean save function
Summary:
This save function removes all unnecessary string from internal eet
distionary in .edj file. Needed after removing some objects from edje_object
e.g. groups, parts, limits etc.

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1090
2014-07-03 19:23:11 +09:00
Kateryna Fesyna f0f5c393d0 edje_edit: fix edc code generation for image fill tipe parameter and PLAY_SAMPLE and PLAY_TONE actions.
Summary: This commit fixes edc code generation for image fill tipe parameter and PLAY_SAMPLE and PLAY_TONE actions.

Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1091
2014-07-03 18:54:37 +09:00
Jérémy Zurcher 46a78e8c9d eo: constructor tests do not use eo_add_custom(..)
as stated in f92e5d50, instead of using eo_add_custom() thus a custom
constructor and maybe overriding the default constructor to block it,

   - use the default constructor to build the object
   - add calls to eo_add(), to initialize the object
     eo_add(class, parent, val_a_set(1), val_b_set(2), ... );
   - override eo_finalize to validate the object and if needed,
     use eo_error_set(obj) to abort object construction
2014-07-03 10:44:15 +02:00
Vorobiov Vitalii 2447bc3556 edje_edit: Add edje_edit_state_map_point_color functions.
Summary:
Add two main functions for working with map colors of part vertexes/points:
- edje_edit_state_map_point_color_get
- edje_edit_state_map_point_color_set

@feature

Reviewers: seoz, raster, cedric, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1086
2014-07-03 17:27:53 +09:00
Maksym Volodin 8b66dc0e7c edje_edit: Add edje_edit_part_item_position_get/set.
Summary: Edje_edit_part_item_position_set/get operates with column/row part`s item position, only for "TABLE" type part.

Reviewers: seoz, raster, cedric, Hermet, reutskiy.v.v

CC: reutskiy.v.v, cedric, c

Differential Revision: https://phab.enlightenment.org/D1078
2014-07-03 17:15:10 +09:00
Vorobiov Vitalii 2155e8a3fb edje_edit: Add edje_edit_part_item_aspect_mode functions.
Summary:
Add two main functions for TABLE and BOX part items:
- edje_edit_part_item_aspect_mode_get
- edje_edit_part_item_aspect_mode_set

Also add support to generate source code of changed aspect mode for an item

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1075
2014-07-03 16:59:16 +09:00
Andrii Kroitor 8c74a8fbb0 Edje_Edit: added API for group.limits
Summary:
added functions:
edje_edit_group_limits_vertical_list_get
edje_edit_group_limits_vertical_add
edje_edit_group_limits_vertical_del
edje_edit_group_limits_horizontal_list_get
edje_edit_group_limits_horizontal_add
edje_edit_group_limits_horizontal_del
edje_edit_limits_list_free

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1073
2014-07-03 16:54:44 +09:00
Felipe Magno de Almeida 30df128be5 eldbus-cxx: Implementation of eldbus C++ API
Summary:
Applications can:

  void method_callback(void* data, const Eldbus_Service_Interface* iface,
                       const Eldbus_Message* message);
  struct { ... } data_struct;

  Eldbus_Method methods[] =
   {
     "method1", ELDBUS_ARGS("b", "bool"), ELDBUS_ARGS("b", "bool"), ELDBUS_METHOD_FLAG_HAS_DATA
     , (Eldbus_Method_Cb)&method_callback, &data_struct
   };

   And method_callback will be called with data parameter pointing to data_struct global object.

Also, Eldbus-cxx supports registering an interface passing a lambda or
function object as method. For example:

  edb::service_interface iface = edb::service_interface_register
    (c, path, interface
     , es::method("SendStringAndBool"
                  , [expected_string, expected_bool] (std::string const& n, bool b
                                                      , bool* out)
                  {
                    std::cout << "Running SendStringAndBool" << std::endl;
                    ck_assert(n == expected_string);
                    ck_assert(b == expected_bool);
                    *out = b;
                    return n;
                  }
                  , es::ins<std::string, bool>("string", "bool")
                  , es::outs<std::string, bool>("string", "bool")
                  )
    );

When a request for "SendStringAndBool" with the proper signature is
called, executes the lambda and replies with the return value and
its bool* out parameter value.

Reviewers: cedric, woohyun, raster

CC: savio, cedric

Differential Revision: https://phab.enlightenment.org/D1052
2014-07-03 16:28:23 +09:00
Igor Gala ddac21534f edje: Edje-Edit: edje_edit_state_map_perspective_xet()
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set  part's name which is used as 'perspective point'
for giving a part '3d look'.
@feature

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1047
2014-07-03 16:23:15 +09:00
Jean-Philippe Andre b0df307927 Evas gl: Add support for S3TC textures
Add support for DXT1, DXT3 and DXT5 textures (4 formats in total).

@feature Add support for S3TC textures if the GPU supports them
2014-07-03 15:36:22 +09:00
Jean-Philippe Andre 81929e3404 Evas: Complete DDS loader with direct S3TC data load
This requires block flip (could be repeat, but flip is just as fast).
2014-07-03 11:37:48 +09:00
Jean-Philippe Andre 79ed3c4516 Evas DDS: Implement support for DXT4 and DXT5 2014-07-03 11:37:48 +09:00
Jean-Philippe Andre d9d0ff2088 Evas DDS: Implement decoding of DXT2 and DXT3 2014-07-03 11:37:48 +09:00
Jean-Philippe Andre 18e969f644 Evas DDS: Implement DXT1 to RGBA decoding 2014-07-03 11:37:48 +09:00
Jean-Philippe Andre 8c8a4d37f9 Evas DDS: Start implementing DDS file loader
This implement the header read.
2014-07-03 11:37:48 +09:00
Jean-Philippe Andre c424153867 Evas: Add DDS image file loader
@feature: Add a Micrsoft DirectDraw Surface file loader
2014-07-03 11:37:48 +09:00
Jean-Philippe Andre e239f8f4de Evas loaders: Add new format definitions for S3TC 2014-07-03 11:37:48 +09:00
Jean-Philippe Andre 644de1f93f Evas gl: Remove hack around CompressedTexImage2D
A compressed texture should be created with glCompressedTexImage2D
only, and not with glTexImage2D (This returns GL_INVALID_VALUE).
2014-07-03 11:37:48 +09:00
Jean-Philippe Andre b0f353cc38 Evas gl: Fix texture allocation (missing Y offset)
I saw some GL error messages (with the GLERR() macro activated),
that were caused by GL_INVALID_VALUE.

For some (many) textures, tex->y was 0 but since we now use a 2D
atlas (rectangle allocator), the first row of pixels should be
repeated. This caused uploads to Y = tex->y - 1 = -1, which is
invalid.
2014-07-03 11:37:48 +09:00
Jean-Philippe Andre a2de0a0bc9 Evas: Support duplicated borders in surface alloc
Now, the evas loader is supposed to advertise the actual border
size in case of compressed texture formats.

The only case where the border was non zero was ETC formats,
from the TGV loader, so I think we don't need to keep the
previous behaviour (auto-calculate borders for ETC).
2014-07-03 11:37:48 +09:00
Jean-Philippe Andre 2b191b3c51 Evas loader: Introduce border param 2014-07-03 11:37:47 +09:00
Daniel Kolesa 8c80b1a7f4 eolian: rename the log domain 2014-07-03 01:50:47 +01:00
Daniel Kolesa a621692fdd eolian: use eina logging for error messages 2014-07-03 01:48:00 +01:00
Daniel Kolesa 61da74bc42 eolian: print error line with a caret 2014-07-03 00:30:39 +01:00
Daniel Kolesa 8d902a4820 eolian: keep track of column better 2014-07-03 00:14:28 +01:00
Daniel Kolesa 55e5e71593 eolian: use eina API 2014-07-03 00:05:16 +01:00