platform/core/uifw/dali-toolkit.git
9 years agoTextView - Fixes cursor position while typing Right To Left text. 08/28008/5 accepted/tizen_3.0.2014.q3_common tizen_3.0.2014.q3_common accepted/tizen/common/20140925.172059 submit/tizen_common/20140925.141856 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
Victor Cebollada [Wed, 24 Sep 2014 08:12:59 +0000 (09:12 +0100)]
TextView - Fixes cursor position while typing Right To Left text.

Change-Id: Ia3e8c4f997910da68140c015aaac838363ca78b8
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years ago(Buttons) Ensure all button classes are informed when they are disconnected from... 27/28027/3
Adeel Kazmi [Wed, 24 Sep 2014 12:50:15 +0000 (13:50 +0100)]
(Buttons) Ensure all button classes are informed when they are disconnected from the stage

Change-Id: Id1c720dee217bfd2a81b2647c2a8227351fc3616

9 years agoReadd function that was only used in Debug Mode 34/28034/3
Adeel Kazmi [Wed, 24 Sep 2014 14:14:23 +0000 (07:14 -0700)]
Readd function that was only used in Debug Mode

Function removed as it wasn't being use in release mode but it is actually being used in debug mode.

Added debug guards around it so that it compiles in both modes.

Change-Id: If8b5905351a21165df992c1f82d23201ebdbf4eb

9 years agoMerge "Completely remove use of Adaptor class" into tizen
Kimmo Hoikka [Wed, 24 Sep 2014 13:45:46 +0000 (06:45 -0700)]
Merge "Completely remove use of Adaptor class" into tizen

9 years agoRemove unused functions 12/28012/1
Yury Usishchev [Tue, 23 Sep 2014 10:12:09 +0000 (14:12 +0400)]
Remove unused functions

Change-Id: I91799f10ad84983e0a0e722e8605fc275b51d583
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
9 years agoCompletely remove use of Adaptor class 07/28007/2
Adeel Kazmi [Wed, 24 Sep 2014 08:37:48 +0000 (09:37 +0100)]
Completely remove use of Adaptor class

- Remove unnecessary check for Adaptor in TextInput
- Remove unnecessary check for Adaptor in StyleManager
- Remove LocalizedControlFactory
- Update Automated Tests
- Update Build

Change-Id: I75552cbdede5d5b6c67b735125ba0388820976e2

9 years ago(TextInput) Don't show grab handle when edit modes starts until actually needed 63/27963/1
Agnelo Vaz [Mon, 22 Sep 2014 17:01:44 +0000 (18:01 +0100)]
(TextInput) Don't show grab handle when edit modes starts until actually needed

Change-Id: I9e2a4bd8a9ea0768c03ea1a725294fb6e96d01fe
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years ago(TextInput) Double tap on whitespace gives selection options not cut or copy 62/27962/1
Agnelo Vaz [Fri, 19 Sep 2014 10:49:40 +0000 (11:49 +0100)]
(TextInput) Double tap on whitespace gives selection options not cut or copy

Change-Id: Idaf77f6e19e055f8192cabe36068897200ea0311
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years ago(TextInput) Reposition cursor anchor point from centre to left 61/27961/2
Agnelo Vaz [Fri, 19 Sep 2014 14:13:20 +0000 (15:13 +0100)]
(TextInput) Reposition cursor anchor point from centre to left

Change-Id: Iea086abc2180f22585c7a455108eb852d600008a
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years ago(Control) Ensure background-color blends fully with the control color 11/27811/3
Adeel Kazmi [Fri, 19 Sep 2014 10:02:15 +0000 (11:02 +0100)]
(Control) Ensure background-color blends fully with the control color

Change-Id: I361c9452b814b6aeb407ba2d99155606ab4aad0d

9 years agoTextView - Right to left implementation. 63/27863/1
Victor Cebollada [Sat, 20 Sep 2014 11:34:21 +0000 (12:34 +0100)]
TextView - Right to left implementation.

Fixes text edition when deleting or replacing characters.
Sets direction information (right or left) to each character in the TextView's layout info table.
Fixex an out of range crash in TextInput when moving the cursor position.

Change-Id: I7ee7a49d4716e92cebc0eec9a6c61a95922952cf
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoTextView - Right to Left implementation. 50/27450/10
Victor Cebollada [Wed, 10 Sep 2014 14:58:06 +0000 (15:58 +0100)]
TextView - Right to Left implementation.

* Text and style is stored in the paragraph instead inside the character.
* If a paragraph has bidirectional text, it stores the
  minimum common data needed to reorder a line.
* Before creating text-actors, text-view reorders
  the bidirectional text, keeping the logical order.

Change-Id: Iff9c7e9223eb9c9a7d15b1e41cc6dc2f47096aa0
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoAdded documentation on texture-atlas creation, texture-compression and 00/27700/8
Nick Holland [Wed, 17 Sep 2014 13:53:05 +0000 (14:53 +0100)]
Added documentation on texture-atlas creation, texture-compression and
created a seperate page for performance-tips ( was hidden in performance profiling
before).
Also included the DALi exporter script for TexturePacker

Change-Id: I247be3d665ebd93ef6e70f88246346b98688dec2

9 years agoMerge "(AutomatedTests) Synchronise TestGLAbstraction" into tizen
Kimmo Hoikka [Thu, 18 Sep 2014 17:49:45 +0000 (10:49 -0700)]
Merge "(AutomatedTests) Synchronise TestGLAbstraction" into tizen

9 years agoMerge "(TextInput) Cursor is not moved to start of word when selecting text." into...
Paul Wisbey [Thu, 18 Sep 2014 15:59:19 +0000 (08:59 -0700)]
Merge "(TextInput) Cursor is not moved to start of word when selecting text." into tizen

9 years agoMerge "(TextInput) Allow whitespace to be considered a word when using cut and paste...
Paul Wisbey [Thu, 18 Sep 2014 15:59:11 +0000 (08:59 -0700)]
Merge "(TextInput) Allow whitespace to be considered a word when using cut and paste" into tizen

9 years agoMerge "(TextInput) Moving selection handles when word selected does not de-select...
Paul Wisbey [Thu, 18 Sep 2014 15:59:03 +0000 (08:59 -0700)]
Merge "(TextInput) Moving selection handles when word selected does not de-select current word" into tizen

9 years agoDALi Version 1.0.9 56/27756/1 dali_1.0.9
Kingsley Stephens [Thu, 18 Sep 2014 14:03:05 +0000 (15:03 +0100)]
DALi Version 1.0.9

Change-Id: Ib9b9992e0c01c79c403483920cf6b7917b9b040d

9 years ago(AutomatedTests) Synchronise TestGLAbstraction 50/27750/1
Adeel Kazmi [Thu, 18 Sep 2014 13:31:23 +0000 (14:31 +0100)]
(AutomatedTests) Synchronise TestGLAbstraction

Change-Id: Iaac4650a8d885426a59267cacfcb2d8af8f2c936

9 years ago(ScrollView) Remove unused functions 27/27727/1
Adeel Kazmi [Thu, 18 Sep 2014 09:12:02 +0000 (10:12 +0100)]
(ScrollView) Remove unused functions

Change-Id: I68fe5bbd7e996c1c6403f630d20f4f405930afc9

9 years ago(TextInput) Cursor is not moved to start of word when selecting text. 36/27636/1
Agnelo Vaz [Mon, 15 Sep 2014 09:44:21 +0000 (10:44 +0100)]
(TextInput) Cursor is not moved to start of word when selecting text.

Change-Id: I3be87209f5a119fcb9548831061cc3e891fa7e22
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years ago(TextInput) Allow whitespace to be considered a word when using cut and paste 35/27635/1
Agnelo Vaz [Thu, 11 Sep 2014 16:05:19 +0000 (17:05 +0100)]
(TextInput) Allow whitespace to be considered a word when using cut and paste

Change-Id: If2357e20d46c87ba3ce27ade944b7a9b973b4802
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years ago(TextInput) Moving selection handles when word selected does not de-select current... 34/27634/1
Agnelo Vaz [Thu, 11 Sep 2014 16:02:17 +0000 (17:02 +0100)]
(TextInput) Moving selection handles when word selected does not de-select current word

Change-Id: I94b1b363992197ae52ba507318d12c73caf14815
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoTextView - Reduces the size of the character layout. 87/27587/1
Victor Cebollada [Tue, 16 Sep 2014 08:25:17 +0000 (09:25 +0100)]
TextView - Reduces the size of the character layout.

* Character's height and advance stores the same values than size -> height and advance removed.
* Character's gradient info stores a color (Vector4) two points (Vector2) and an alpha value (float)
  These parameters are only used for some text-actors when the text is faded-out.
  A new GradientInfo structure has been added and the character only stores a pointer to that struct,
  which is NULL if is not needed.

Change-Id: Iaa09a5a384ed43722fd703ff659459196019fff9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoTextView - Rename Line to Paragraph. 62/27462/3
Victor Cebollada [Fri, 12 Sep 2014 15:22:54 +0000 (16:22 +0100)]
TextView - Rename Line to Paragraph.

For right to left text it's important have clearly defined what is a
paragraph and what is a line as text must be reordered for every line
and not the whole paragraph.

Change-Id: I7a71638a6d4b54d01f257ad34756475114e1ffee
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoMerge "Remove deprecated SetRemoveTime API" into tizen accepted/tizen/common/20140916.140256 submit/tizen_common/20140916.094545
Adeel Kazmi [Mon, 15 Sep 2014 15:38:01 +0000 (08:38 -0700)]
Merge "Remove deprecated SetRemoveTime API" into tizen

9 years agoRemove deprecated SetRemoveTime API 36/27536/2
Paul Wisbey [Mon, 15 Sep 2014 13:52:44 +0000 (14:52 +0100)]
Remove deprecated SetRemoveTime API

[problem]      Deprecated API is still being used
[cause]        ItemView legacy code
[solution]     Remove code

Change-Id: Ia1741882e1e42d5ca957370d9721f473104ce621

9 years ago(Builder) Ensure all alpha functions can be used 25/27525/2
Adeel Kazmi [Mon, 15 Sep 2014 10:33:11 +0000 (11:33 +0100)]
(Builder) Ensure all alpha functions can be used

We did not have a mapping from a name to the alpha function for several of the alpha functions
that DALi supports. This has now been added.

Change-Id: I424a20f5469cc20397dc5a61112e7510f9e1c0b7

9 years ago(Build) Ensure branch coverage is collected for later versions of lcov 68/27468/1
Adeel Kazmi [Fri, 12 Sep 2014 18:01:40 +0000 (19:01 +0100)]
(Build) Ensure branch coverage is collected for later versions of lcov

Change-Id: I76d88b9a48540851ce075ca8cd3ce487297a57a8

9 years agoTextView - Merges the TextActor initialization and update in one function. 61/27361/4
Victor Cebollada [Thu, 11 Sep 2014 14:30:48 +0000 (15:30 +0100)]
TextView - Merges the TextActor initialization and update in one function.

Both functions traverses the whole text:
1) There is no need to have both functions as the structure is pretty similar.
2) Merge both functions simplifies the process of RTL text.

Change-Id: Iac7920be581434cf5c9c15c00c74307d51700518
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoTextView - Remove groups of words. 82/27282/4
Victor Cebollada [Wed, 10 Sep 2014 07:24:24 +0000 (08:24 +0100)]
TextView - Remove groups of words.

A proper implementation of right to left text layouting
doesn't need to split the lines in group of words.

Change-Id: I9a466113f2f39c8bea77da543caae3b76fc9b0f3
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoMerge "(TextInput) Emits text modified signal when cut or paste performed" into tizen submit/tizen/20140910.172931 submit/tizen/20140910.173014
Adeel Kazmi [Wed, 10 Sep 2014 14:46:40 +0000 (07:46 -0700)]
Merge "(TextInput) Emits text modified signal when cut or paste performed" into tizen

9 years agoDALi Version 1.0.8 90/27290/1 dali_1.0.8
Adeel Kazmi [Wed, 10 Sep 2014 10:02:08 +0000 (11:02 +0100)]
DALi Version 1.0.8

Change-Id: I55f5a9a7215bbacc46737c4dc0d594188d2007bf

9 years agoAdded RadioButton with images. 40/26140/21
Michal Makowiecki [Mon, 18 Aug 2014 09:31:17 +0000 (11:31 +0200)]
Added RadioButton with images.

Change-Id: I83b4e323af26d289d70ab7f87fb431bcc1e6c154

9 years agoMerge "Allow configurable duration to show or hide scroll indicator" into tizen
Kimmo Hoikka [Tue, 9 Sep 2014 14:41:34 +0000 (07:41 -0700)]
Merge "Allow configurable duration to show or hide scroll indicator" into tizen

9 years ago(TextInput) Emits text modified signal when cut or paste performed 70/27270/1
Agnelo Vaz [Tue, 9 Sep 2014 12:21:52 +0000 (13:21 +0100)]
(TextInput) Emits text modified signal when cut or paste performed

Change-Id: I26c66de44674bdab008d8f4d767eacb4aab74417
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "(Builder) Added Quit Signal" into tizen
Kimmo Hoikka [Tue, 9 Sep 2014 13:32:57 +0000 (06:32 -0700)]
Merge "(Builder) Added Quit Signal" into tizen

9 years agoMerge "Fixes TextView's includes." into tizen
Paul Wisbey [Mon, 8 Sep 2014 17:31:42 +0000 (10:31 -0700)]
Merge "Fixes TextView's includes." into tizen

9 years ago(Builder) Added Quit Signal 45/27245/3
Adeel Kazmi [Mon, 8 Sep 2014 16:13:55 +0000 (17:13 +0100)]
(Builder) Added Quit Signal

We provide a quit action but did not do anything when this was signalled.
Now we emit a signal to the application using builder so that it can decide how quit should be
handled.

Change-Id: I51f24d29f30cbb38b400d346bf3c5d0c7b0d56c2

9 years agoFix for test cases 49/27249/1
Victor Cebollada [Mon, 8 Sep 2014 16:58:33 +0000 (17:58 +0100)]
Fix for test cases

Remove SetRenderMode() and GetRenderMode() from ToolkitAdaptor

Change-Id: Icb02cbcc1908c7b11af37c7578f54e7da02762c9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoFixes TextView's includes. 47/27247/1
Victor Cebollada [Mon, 8 Sep 2014 08:25:36 +0000 (09:25 +0100)]
Fixes TextView's includes.

Removes unneeded include files
Add full path to the include.

Change-Id: Ide894e857ff8937d56551c28dcb9691f71d99d12
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoAllow configurable duration to show or hide scroll indicator 81/26581/4
Richard Huang [Tue, 26 Aug 2014 12:34:00 +0000 (13:34 +0100)]
Allow configurable duration to show or hide scroll indicator

Change-Id: I2494a448bc6c257c2b1779f7dcb102db19c5e2c2

9 years agoUsing SingletonService instead of Adaptor 43/26943/2
Adeel Kazmi [Mon, 1 Sep 2014 17:45:53 +0000 (18:45 +0100)]
Using SingletonService instead of Adaptor

Change-Id: I4bb36595d48bb6441f1896975f73b6ce754231e1

9 years agoDALi Version 1.0.7 08/27108/1
Agnelo Vaz [Thu, 4 Sep 2014 13:56:12 +0000 (14:56 +0100)]
DALi Version 1.0.7

Change-Id: Icad94fefcf43bc2b87933931144888fc15f34929
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "Added actor creation from json snippet" into tizen
Kimmo Hoikka [Wed, 3 Sep 2014 12:05:54 +0000 (05:05 -0700)]
Merge "Added actor creation from json snippet" into tizen

9 years agoMerge "Fix assetion error in FocusManager" into tizen
Kimmo Hoikka [Tue, 2 Sep 2014 14:08:51 +0000 (07:08 -0700)]
Merge "Fix assetion error in FocusManager" into tizen

9 years agoAdded actor creation from json snippet 99/26099/5
Lee Morgan [Fri, 15 Aug 2014 13:13:38 +0000 (14:13 +0100)]
Added actor creation from json snippet

Change-Id: I041c1afd9ec25961c6159df7967cb66cfc7eb225
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
9 years ago(Automated Tests) Added gesture signal tests 76/26876/2
Adeel Kazmi [Fri, 29 Aug 2014 17:35:53 +0000 (18:35 +0100)]
(Automated Tests) Added gesture signal tests

Change-Id: I6c86953969266f5c786b2108b3df6ec4a270f7c2

9 years agoMerge "Updated test suite following platform abstraction change" into tizen
Paul Wisbey [Fri, 29 Aug 2014 09:07:37 +0000 (02:07 -0700)]
Merge "Updated test suite following platform abstraction change" into tizen

9 years agoMerge "Uses TextArray new type definition." into tizen
Kimmo Hoikka [Thu, 28 Aug 2014 17:58:33 +0000 (10:58 -0700)]
Merge "Uses TextArray new type definition." into tizen

9 years agoMerge "Remove unnecessary method from control-impl" into tizen
Adeel Kazmi [Thu, 28 Aug 2014 17:41:54 +0000 (10:41 -0700)]
Merge "Remove unnecessary method from control-impl" into tizen

9 years agoMerge changes Ica8d7442,I39b8ad54 into tizen
Kimmo Hoikka [Thu, 28 Aug 2014 15:43:03 +0000 (08:43 -0700)]
Merge changes Ica8d7442,I39b8ad54 into tizen

* changes:
  (Control) Can connect to gestures through scripting
  (Builder) Ensure properties are not applied twice

9 years ago(ScrollViewTwistEffect) Added getters for some of the setters 51/26151/3
Adeel Kazmi [Mon, 18 Aug 2014 14:15:28 +0000 (15:15 +0100)]
(ScrollViewTwistEffect) Added getters for some of the setters

Added GetMaxSwingAngle() and GetSwingDropOff.

Change-Id: I65da3c291534bcb6bb84a64f9ca46fdda9e0ca61

9 years ago(Control) Can connect to gestures through scripting 75/26775/2
Adeel Kazmi [Thu, 28 Aug 2014 14:36:21 +0000 (15:36 +0100)]
(Control) Can connect to gestures through scripting

Change-Id: Ica8d74426994d2f3a0398cf6bb0907508491823d

9 years ago(Builder) Ensure properties are not applied twice 74/26774/1
Adeel Kazmi [Thu, 28 Aug 2014 10:05:54 +0000 (11:05 +0100)]
(Builder) Ensure properties are not applied twice

[Problem]  Properties were being applied twice to each instance.
[Cause]    If an Actor instance is created we apply the style, which applies the style properties
           as well as the individual properties. After this the individual properties are applied
           again.
[Solution] Only apply the individual properties if the style properties have not been applied.

Change-Id: I39b8ad543b5cbb341e19bada25fb539797a1e3df

9 years agoRemove unnecessary method from control-impl 59/26759/1
Kimmo Hoikka [Thu, 28 Aug 2014 12:49:51 +0000 (13:49 +0100)]
Remove unnecessary method from control-impl

Change-Id: I45db64b6f42620bec9a71fb4818d98281059f2a8

9 years agoUses TextArray new type definition. 96/26396/3
Victor Cebollada [Thu, 21 Aug 2014 14:05:53 +0000 (15:05 +0100)]
Uses TextArray new type definition.

TextArray is now a Dali::Vector instead a std::vector.

Change-Id: Ifc45f872607e04fe6826578b7a0bb6d7de0f9d7c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoUpdated test suite following platform abstraction change 26/26726/1
David Steele [Thu, 28 Aug 2014 10:50:36 +0000 (11:50 +0100)]
Updated test suite following platform abstraction change

[Problem] Core::Update() api has changed
[Solution] Update test harness to match.

Change-Id: I2ce3c9ec4377ba60a485e8282199967d1f04374b
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoMerge "Fix text input scrolling when the controll is too small." into tizen
Kimmo Hoikka [Thu, 28 Aug 2014 10:04:54 +0000 (03:04 -0700)]
Merge "Fix text input scrolling when the controll is too small." into tizen

9 years agoDALi Version 1.0.6 78/26678/1 dali_1.0.6
Nick Holland [Wed, 27 Aug 2014 16:03:21 +0000 (17:03 +0100)]
DALi Version 1.0.6

Change-Id: I69ce7eccea8953465ee39ffb6f4830c084649eb6

9 years agoFix text input scrolling when the controll is too small. 84/26584/1
Francisco Santos [Tue, 26 Aug 2014 14:12:58 +0000 (15:12 +0100)]
Fix text input scrolling when the controll is too small.

Change-Id: Ie18f3cfdc42a4d2059a3fa8948eaf9f3cf79d904

9 years agoFixes to use latest version of doxygen 02/26402/2
Adeel Kazmi [Thu, 21 Aug 2014 18:29:43 +0000 (19:29 +0100)]
Fixes to use latest version of doxygen

Change-Id: Icbad164c6cc822a2ee3285c7275892f57b86336f

9 years agoMerge "DALi Version 1.0.5" into tizen
Adeel Kazmi [Wed, 20 Aug 2014 14:58:45 +0000 (07:58 -0700)]
Merge "DALi Version 1.0.5" into tizen

9 years agoDALi Version 1.0.5 20/26320/1 dali_1.0.5
Lee Morgan [Wed, 20 Aug 2014 12:56:32 +0000 (13:56 +0100)]
DALi Version 1.0.5

Change-Id: Ia4ee22c353cc5c7fefc1365daa6e07362d14e5db
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
9 years agoFix the library search path in "dali-toolkit.pc" 10/26310/2
Manuel Bachmann [Wed, 20 Aug 2014 09:09:54 +0000 (11:09 +0200)]
Fix the library search path in "dali-toolkit.pc"

Depending on the architecture, libraries may be installed
in another directory than "/usr/lib" ("/usr/lib64" e.g.)
Reflect that in the .pc file.

Change-Id: I08c169d86e9fb769861805b0d62f22e5f8bc3ef2
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
9 years ago(Automated Tests) Fixes following adaptor API change 05/26305/1
Adeel Kazmi [Wed, 20 Aug 2014 10:16:15 +0000 (11:16 +0100)]
(Automated Tests) Fixes following adaptor API change

Change-Id: I6dd12ac119a103bbeb29df3f3c378fd9316f9e7e

9 years agoFix assetion error in FocusManager 52/26152/2
Richard Huang [Mon, 18 Aug 2014 15:22:35 +0000 (16:22 +0100)]
Fix assetion error in FocusManager

Change-Id: I4bd833dd98802e44251191ddea51b8e38582d810

9 years agoUpdated Programming guide with information on stereoscopic rendering. 06/26106/4
Ferran Sole [Fri, 15 Aug 2014 13:52:59 +0000 (14:52 +0100)]
Updated Programming guide with information on stereoscopic rendering.

Change-Id: I0c3c42da8ea207aa90597a463ee4d0a91e97a7b4

9 years agostop using deprecated shader inheritance 35/25535/2
Kimmo Hoikka [Wed, 6 Aug 2014 15:14:28 +0000 (16:14 +0100)]
stop using deprecated shader inheritance

requires https://review.tizen.org/gerrit/#/c/25534/

Change-Id: Ieb5e7b2dbb7076aa1af837c53767cc554eb0f42b

9 years agoMerge "DALi Version 1.0.4" into tizen
Adeel Kazmi [Wed, 13 Aug 2014 15:36:57 +0000 (08:36 -0700)]
Merge "DALi Version 1.0.4" into tizen

9 years agoDALi Version 1.0.4 86/25986/1 dali_1.0.4
Kingsley Stephens [Wed, 13 Aug 2014 14:15:58 +0000 (15:15 +0100)]
DALi Version 1.0.4

Change-Id: Idf092f8d430805fda074b96eb7496870aecc19d7

9 years agoMerge "Implemented the Handle assignment operators properly" into tizen
Adeel Kazmi [Wed, 13 Aug 2014 10:18:29 +0000 (03:18 -0700)]
Merge "Implemented the Handle assignment operators properly" into tizen

9 years agoMerge "Removed invalid handle assignments from Builder/TextInput" into tizen
Adeel Kazmi [Tue, 12 Aug 2014 10:29:52 +0000 (03:29 -0700)]
Merge "Removed invalid handle assignments from Builder/TextInput" into tizen

9 years agoImplemented the Handle assignment operators properly 80/25880/1
Paul Wisbey [Mon, 11 Aug 2014 17:41:40 +0000 (18:41 +0100)]
Implemented the Handle assignment operators properly

[Problem] Some unsafe handle assignments are allowed by the compiler e.g.
Actor notAnImageActor = Actor::New();
ImageActor notSafeToUse = notAnImageActor;
[Cause] using BaseHandle::operator= is unsafe
[Solution] Implemented the Handle assignment operators properly

Change-Id: If4cd798d2cb394ac4dbac96b1c17598a2aae8ee6

9 years agoRemoved invalid handle assignments from Builder/TextInput 99/25699/2
Paul Wisbey [Fri, 8 Aug 2014 12:09:52 +0000 (13:09 +0100)]
Removed invalid handle assignments from Builder/TextInput

[problem] Unsafe handle assignments.
[solution] Removed the code assigning a shader to actor handle etc.

Change-Id: I70c85135693751840e429fdffa17d6a90a2b27d2

9 years agoUpdate programming guide after removing deprecated APIs from Adaptor 66/25866/1
Richard Huang [Mon, 11 Aug 2014 11:05:41 +0000 (12:05 +0100)]
Update programming guide after removing deprecated APIs from Adaptor

Change-Id: I99b6e36e7af12204a7307c5d1f6075e0ff2733d6

9 years agoRemove Deprecated APIs 15/25715/1
Adeel Kazmi [Fri, 8 Aug 2014 14:46:15 +0000 (15:46 +0100)]
Remove Deprecated APIs

Change-Id: Ie94adf60535ad27715d462b88ae9870e481865d8

9 years agoSynchronised automated tests utils with dali-core & updated README 44/25644/3
Adeel Kazmi [Thu, 7 Aug 2014 12:18:45 +0000 (13:18 +0100)]
Synchronised automated tests utils with dali-core & updated README

Change-Id: Ic33a1f14ae88706a1c7da37c41eec04565427e2b

9 years agoDALi Version 1.0.3 40/25540/1 dali_1.0.3
Agnelo Vaz [Wed, 6 Aug 2014 18:13:21 +0000 (19:13 +0100)]
DALi Version 1.0.3

Change-Id: I5082d243fdae753e8a4ee97aa5aade13a1e4ca60
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoAdded the resize on image load behaviour to the programming guide 78/25178/5
Andrew Cox [Wed, 30 Jul 2014 16:59:32 +0000 (17:59 +0100)]
Added the resize on image load behaviour to the programming guide

[problem]
Feature is not described in guide.
[solution]
Write an overview, a usage example, and a pointer to the new demo
example for the guide.

Change-Id: I75a6fe0efd2c4d54c86ee13508ebb295e1cba672
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoRemove dependency on DLOG. 46/25146/5
Francisco Santos [Tue, 29 Jul 2014 16:43:31 +0000 (17:43 +0100)]
Remove dependency on DLOG.

Change-Id: I9e4aae623e72ce722da8bbbe4ba1479d2c0f59ed

9 years agoDALi Version 1.0.2 07/25307/1 dali_1.0.2
Adeel Kazmi [Fri, 1 Aug 2014 15:16:02 +0000 (16:16 +0100)]
DALi Version 1.0.2

Change-Id: If78d1a818118618872a58d716f9549c431958742

9 years agoChanged build directory to tizen 91/25291/1
Adeel Kazmi [Fri, 1 Aug 2014 11:37:38 +0000 (12:37 +0100)]
Changed build directory to tizen

Change-Id: I8984f027f032c26c623f8bb9b6e22c84151ceae5

9 years agoAdd some constants that show the version of the library 19/25219/3
Adeel Kazmi [Thu, 31 Jul 2014 09:58:06 +0000 (10:58 +0100)]
Add some constants that show the version of the library

Change-Id: I8ae5db2b0d4a6946c74deaf80edefd8a76e60ec9

9 years agoMerge "Toolkit - Fixes TC build issues and compile warnings." into tizen
Adeel Kazmi [Fri, 25 Jul 2014 16:01:23 +0000 (09:01 -0700)]
Merge "Toolkit - Fixes TC build issues and compile warnings." into tizen

9 years agoRemove CAPI from Toolkit 31/25031/3
Kingsley Stephens [Fri, 25 Jul 2014 13:58:12 +0000 (14:58 +0100)]
Remove CAPI from Toolkit

Change-Id: Ie49afb8896c1c14e225ef77ad395f95a28f53201

9 years agoToolkit - Fixes TC build issues and compile warnings. 21/25021/1
Victor Cebollada [Fri, 25 Jul 2014 12:37:10 +0000 (13:37 +0100)]
Toolkit - Fixes TC build issues and compile warnings.

Change-Id: If614e5935e1ba1513df945eb080b155e8ab7afa1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoMerge "TextView - Uses new TextActor's constructor." into tizen
Paul Wisbey [Thu, 24 Jul 2014 17:41:08 +0000 (10:41 -0700)]
Merge "TextView - Uses new TextActor's constructor." into tizen

9 years agoDALi Version 1.0.1 79/24979/1 dali_1.0.1
Adeel Kazmi [Thu, 24 Jul 2014 13:59:54 +0000 (14:59 +0100)]
DALi Version 1.0.1

Change-Id: I3741a5b5078c0065ec5505ec02ecb61fe5a7e385

9 years agoMerge "TableView - scripting support" into tizen
Kimmo Hoikka [Thu, 24 Jul 2014 13:03:23 +0000 (06:03 -0700)]
Merge "TableView - scripting support" into tizen

9 years agoTextView - Uses new TextActor's constructor. 64/24964/3
Victor Cebollada [Thu, 24 Jul 2014 12:47:14 +0000 (13:47 +0100)]
TextView - Uses new TextActor's constructor.

Change-Id: I6845cfd194df9214e016d99dedc8ff097ee1d3d8
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoRemoved unnecessary dependency on feedback plugin 59/24859/1
Paul Wisbey [Wed, 23 Jul 2014 13:21:16 +0000 (14:21 +0100)]
Removed unnecessary dependency on feedback plugin

Note - feedback plugin does not exist for wearable profile

Change-Id: I7e8eb04d4211f6bb99480f30578c34769c07d577
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
9 years agoAdded README with build commands 82/24782/2
Adeel Kazmi [Mon, 21 Jul 2014 17:38:32 +0000 (18:38 +0100)]
Added README with build commands

Change-Id: Ibfcca170db386b1e013d5b13e8c0470e956c431b

9 years agoTableView - scripting support 45/24345/10
Xiangyin Ma [Thu, 10 Jul 2014 16:57:10 +0000 (17:57 +0100)]
TableView - scripting support

example:
"stage":
  [
    {
      "name":"simple-table",
      "type":"TableView",
      "background-color": [0.5,0.5,0,1],
      "parent-origin": "CENTER",
      "size":[400,500,1],
      "rows": 4,
      "columns":4,
      "cell-padding": [10, 5],
      "layout-animation-duration": 0.5,
      "layout-rows":
      {
        "0": { "policy": "fixed", "value": 40 },
        "1": { "policy": "relative", "value": 0.33 },
        "2": { "policy": "fixed", "value": 120 }
      },
      "layout-columns":
      {
        "1": { "policy": "fixed", "value": 150 },
        "2": { "policy": "relative", "value": 0.35 },
        "3": { "policy": "relative", "value": 0.15 }
      },
      "actors":
      [
        {
          "name":"magazine-0",
          "type":"ImageActor",
          "image":
          {
            "filename": "{DALI_IMAGE_DIR}magazine_0.jpg"
          },
          "custom-properties":
          {
            "cell-indices": [0,0],
            "row-span":4,
            "column-spam":1
          }
        },
        {
          "name":"magazine-1",
          "type":"ImageActor",
          "image":
          {
            "filename": "{DALI_IMAGE_DIR}magazine_1.jpg"
          },
          "custom-properties":
          {
            "cell-indices":[1,1],
            "row-span":3
          }
        },
        {
          "name":"magazine-2",
          "type":"ImageActor",
          "image":
          {
            "filename": "{DALI_IMAGE_DIR}magazine_2.jpg"
          },
          "custom-properties":
          {
            "cell-indices":[2,2]
          }
        },
        {
          "name":"magazine-3",
          "type":"ImageActor",
          "image":
          {
            "filename": "{DALI_IMAGE_DIR}magazine_3.jpg"
          },
          "custom-properties":
          {
            "cell-indices":[3,2],
            "column-span": 2
          }
        }
      ]
    }
  ]

Change-Id: Id07b8e6727caa6ba12c43610c630cfa54a955f80
Signed-off-by: Xiangyin Ma <x1.ma@samsung.com>
9 years ago(Build) Updated spec file to allow building for SMACK enabled targets 26/24726/2
Adeel Kazmi [Fri, 18 Jul 2014 17:24:35 +0000 (18:24 +0100)]
(Build) Updated spec file to allow building for SMACK enabled targets

Use gbs build ... --define "%enable_dali_smack_rules 1"

Change-Id: I018f8f14b56f2bf3260d94234503e1c6ff7b6736

9 years ago(Docs) Adding Programming Guide to Toolkit 72/24572/5
Agnelo Vaz [Wed, 16 Jul 2014 12:58:35 +0000 (13:58 +0100)]
(Docs) Adding Programming Guide to Toolkit

[problem] Programming Guide not available
[solution] Add to dali-toolkit so after performing a 'make' the docs/generated/html/index.html will contain the guide

Change-Id: Iad8299eb1e3faf321df0b983bf75538c41217f88
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years ago(AutomatedTests) Fixed build break after adaptor changes 43/24543/1
Adeel Kazmi [Wed, 16 Jul 2014 09:19:43 +0000 (10:19 +0100)]
(AutomatedTests) Fixed build break after adaptor changes

Change-Id: I3bc718290d57844243b1069daca419e0b371e0e4
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
9 years agoMove the logic of constraint application from ItemView to the layout 89/24489/1
Richard Huang [Fri, 4 Jul 2014 16:15:08 +0000 (17:15 +0100)]
Move the logic of constraint application from ItemView to the layout

Change-Id: I1e8b8e86a8f5a6610bac207176347e68413e36f9
Signed-off-by: Richard Huang <r.huang@samsung.com>
9 years agoRemove unnecessary include 55/24355/3
Yan Wang [Fri, 11 Jul 2014 06:53:18 +0000 (14:53 +0800)]
Remove unnecessary include

Change-Id: I4b135e3c9f15b98a4898a4f3601d2e0d98b53d67
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
9 years agoEnabled test cases to install to target 27/24327/6
David Steele [Thu, 10 Jul 2014 13:38:04 +0000 (14:38 +0100)]
Enabled test cases to install to target

Test cases require an install script to install to target device.

Change-Id: I7d2aece647445bf7600f65f0c9d66509b272e3be
Signed-off-by: David Steele <david.steele@partner.samsung.com>