sdk/ide/eclipse-platform-swt.git
8 years agoLIST: Remove unwanted selection behavior
HyunJong Park [Tue, 26 Jul 2016 00:18:29 +0000 (09:18 +0900)]
LIST: Remove unwanted selection behavior

Remove unwanted behavior that scrolled until the selection item is visible
when called functions of the selection type.

Change-Id: I079004eaaa4c4622a63dec25abd749c5b8aab4d6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoMerge "RENDERER: set bold font to text of selected tab" into sdk
Yoonki Park [Mon, 25 Jul 2016 07:16:21 +0000 (16:16 +0900)]
Merge "RENDERER: set bold font to text of selected tab" into sdk

8 years agoRevert "VIEW: modify access level of getChevron() in CTabFolder"
GiWoong Kim [Mon, 25 Jul 2016 06:41:13 +0000 (15:41 +0900)]
Revert "VIEW: modify access level of getChevron() in CTabFolder"

This reverts commit 7e7cfd8145ed22fbc1ec278585535ffa5f55a3c9.

Change-Id: I68cfbb8ea33b440cb626597015b55dcb0caf0737
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoRENDERER: set bold font to text of selected tab
GiWoong Kim [Mon, 25 Jul 2016 06:22:14 +0000 (15:22 +0900)]
RENDERER: set bold font to text of selected tab

Change-Id: I38954009d9dd44ebae2afcf1b26842c7f965162a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoLIST: Add a function that completed the unittest #3
HyunJong Park [Mon, 25 Jul 2016 02:42:55 +0000 (11:42 +0900)]
LIST: Add a function that completed the unittest #3

public void showSelection()
public void setTopIndex(int index)

Change-Id: I06181c6928b6f3d21edd451db9793a92c2fc117e
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Add a function that completed the unittest #2
HyunJong Park [Wed, 20 Jul 2016 06:30:23 +0000 (15:30 +0900)]
LIST: Add a function that completed the unittest #2

public void addSelectionListener(SelectionListener listener)
public void removeSelectionListener(SelectionListener listener)
getFocusIndex()
public void remove(int[] indices)
public void remove(int index)
public void remove(int start, int end)
public void remove(String string)
public void removeAll()
public void select(int index)

Change-Id: I48c83e7fb043e7c256f68c2ae3da7fc13a2ef033
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Add a function that completed the unittest #1
HyunJong Park [Tue, 19 Jul 2016 06:08:51 +0000 (15:08 +0900)]
LIST: Add a function that completed the unittest #1

public String getItem(int index)
public String[] getItems()
public int getSelectionIndex()
public boolean isSelected(int index)
public void select(int[] indices)
public void setSelection(int[] indices)
public void setSelection(int start, int end)

Change-Id: I868d0430a5f43ba3c286620af2990ee76ff006be
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Add TizenList
HyunJong Park [Mon, 11 Jul 2016 00:49:43 +0000 (09:49 +0900)]
LIST: Add TizenList

This path is the draft source of tizen list widget.
When all of the public api completed the unittest, Tizen List rename to org.eclipse.swt.widgets.List

Change-Id: Ifcc79d5311edecc397d85dfb31f00444920202ad
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Fix bug that apply background
HyunJong Park [Mon, 11 Jul 2016 06:36:35 +0000 (15:36 +0900)]
TEXT: Fix bug that apply background

If not SWT.BORDER style, the native text widget diplay in full size.
So, the paint listener is not called because there is no draw part.

Change-Id: I451ff4eba5c3123b55b1df737752723b29ed1032
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: change button resources
HyunJong Park [Fri, 8 Jul 2016 07:14:39 +0000 (16:14 +0900)]
BUTTON: change button resources

Change-Id: I9b9ed9bb1a7a323c2c0c39b8026cf61b7f9ddfc6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug that not callback listener
HyunJong Park [Wed, 6 Jul 2016 06:53:43 +0000 (15:53 +0900)]
BUTTON: Fix bug that not callback listener

Not callback listener that move the focus when pressed the tab key on windows.

Change-Id: Ia009965543820bcb539ac8e78430c99e9ef3a14e
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: do not set selection to push or arrow button
GiWoong Kim [Wed, 6 Jul 2016 04:10:21 +0000 (13:10 +0900)]
BUTTON: do not set selection to push or arrow button

Change-Id: Ibe21842087977a9be253425619355fb7d2d7e3ff
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: remove unnecessary functions
GiWoong Kim [Tue, 5 Jul 2016 07:08:44 +0000 (16:08 +0900)]
BUTTON: remove unnecessary functions

Change-Id: I248b01eb055c2eaffd846b3db8a21b530999217b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: check style bits
GiWoong Kim [Mon, 4 Jul 2016 09:35:38 +0000 (18:35 +0900)]
BUTTON: check style bits

Change-Id: I628a1c08ea002d478b9e819ea5da71a020f593ce
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: Fix bug that the focus button
HyunJong Park [Mon, 4 Jul 2016 01:54:38 +0000 (10:54 +0900)]
BUTTON: Fix bug that the focus button

Before the focus the default button, to check the current window is activated.
when the current window is not activated, the widets of this window can not focused.
This case is cause to wait until the focus.

Change-Id: I93745189729bbff8385bc5afab2698bac15254d3
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: The native text widget display in full size.
HyunJong Park [Fri, 1 Jul 2016 07:39:53 +0000 (16:39 +0900)]
TEXT: The native text widget display in full size.

If not SWT.BORER style, the native text widget display in full size.
the grid layout is required vertical and horizontal margins.
This margin is cause to hide the some of the native text widget.

Change-Id: I903366b6de38acadd409d7c6e3c681f3d6e72713
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoVIEW: fix default color problem of view menu toolbars
GiWoong Kim [Thu, 30 Jun 2016 05:24:32 +0000 (14:24 +0900)]
VIEW: fix default color problem of view menu toolbars

In custom CTabFolder widget, wrapping rule for view menu toolbars
had been changed. All of view's toolbars should always be on top-left
of client area. Not the header area. Accordingly, there is no need to
reassign the background color like tab header color to view menu toolbar
anymore.

Change-Id: Idb592a2bd8eec05ed3dcd5092f7767938bfd96c4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoCOMBO: Apply to the design of the loading status of bar type
HyunJong Park [Wed, 29 Jun 2016 08:44:46 +0000 (17:44 +0900)]
COMBO: Apply to the design of the loading status of bar type

Change the design diagonally from a straight line.

Change-Id: Iabde7398b4723713004ab2aaf21980f3bebe4375
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Apply to the design of push button (focused, default)
HyunJong Park [Tue, 28 Jun 2016 06:52:16 +0000 (15:52 +0900)]
BUTTON: Apply to the design of push button (focused, default)

- Remove the focused state of the button state,
and only draw a rectangle when the focused.
- Focused button and default button can be shown as a single window.

Change-Id: If8b353b179e5a284063e264c47fbef545223980b
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Delete unnecessary focus code
HyunJong Park [Mon, 27 Jun 2016 02:15:45 +0000 (11:15 +0900)]
BUTTON: Delete unnecessary focus code

This code will cause an infinite loop.
It give the focus in the function that release the focus.

Change-Id: Iaa211a71475cf57905bde6ff0f6ff021120313ce
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug that color of push button when pressed
HyunJong Park [Mon, 27 Jun 2016 00:42:37 +0000 (09:42 +0900)]
BUTTON: Fix bug that color of push button when pressed

Delete unnecessary code.
The color of the pressed state has already been set.

Change-Id: Ie2fdf49e50e762a715bf097ad95d8b968cc7abd9
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Fix bug that check border style
HyunJong Park [Thu, 23 Jun 2016 07:56:19 +0000 (16:56 +0900)]
TEXT: Fix bug that check border style

Returns the boolean value true if either or both style(SWT.BORDER, SWT.SEARHC) is exist.

Change-Id: Id0b1a2371d4ea24684b21bc69171d17519d04fbf
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Filtering the unnecessary design style
HyunJong Park [Thu, 23 Jun 2016 05:52:21 +0000 (14:52 +0900)]
TEXT: Filtering the unnecessary design style

The design concept of the text widget is to use only one.
Other style that gives the other design is filtering.

Change-Id: I70c0c0332a1eee2810d3a11af62ce9d4b06f3154
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoVIEW: modify access level of getChevron() in CTabFolder
GiWoong Kim [Wed, 22 Jun 2016 09:05:32 +0000 (18:05 +0900)]
VIEW: modify access level of getChevron() in CTabFolder

org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer class
should know about the chevron tool bar's size or location.

Change-Id: I3412d8f8ea7967d64d72ca36e69aa2445f9f68df
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: Fix bug that set the color of the radio button
HyunJong Park [Wed, 22 Jun 2016 08:04:37 +0000 (17:04 +0900)]
BUTTON: Fix bug that set the color of the radio button

Show the background color when a user set background color.

Change-Id: Icf9f3b34cc8050b6c2ca088e77a412878178e0e4
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug related to the keyboard input
HyunJong Park [Fri, 17 Jun 2016 06:53:42 +0000 (15:53 +0900)]
BUTTON: Fix bug related to the keyboard input

This patch is a modification to the keyboard input(enter, space, esc).
When focused state, Button can receive a space key input.
If there is no focused button in the current window, Default button is activated.
Default button can receive a enter key input.

Change-Id: Ie7e6dcaa92a752a5c51ce5c8ed18b54ebcc20f09
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoVIEW: display view tool-tip on narrow presentation mode
GiWoong Kim [Tue, 21 Jun 2016 07:44:25 +0000 (16:44 +0900)]
VIEW: display view tool-tip on narrow presentation mode

Change-Id: I767dea67a32ea0a158e471b82495bd92b2dfeca9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoCOMBO: Apply gui guide
HyunJong Park [Tue, 21 Jun 2016 06:14:58 +0000 (15:14 +0900)]
COMBO: Apply gui guide

- Change color(font, line, arrow) when unfold state.
- Remove effect that selects all the text in the text widget.

Change-Id: Ida48fa774c822817c24716e1ae5cb369ca0a34a3
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoRENDERER: modify some spacing sizes on view tab
GiWoong Kim [Tue, 21 Jun 2016 05:55:47 +0000 (14:55 +0900)]
RENDERER: modify some spacing sizes on view tab

Change-Id: I81c1ccf712c0e1801b02f9e9ac9f79df00fc65f0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoTEXT: Fix bug that invisible text on Linux
HyunJong Park [Tue, 21 Jun 2016 00:58:41 +0000 (09:58 +0900)]
TEXT: Fix bug that invisible text on Linux

Do not use the SWT.CENTER style when creating a composite.
Because the SWT.CENTER has the same value as SWT.EMBEDDED
on some operating systems (GTK, Motif).

Change-Id: I4541bc91188fbbb929e0e88513a0a9f97d6f96b9
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoRENDERER: consider the narrow presentation mode while tab size computing
GiWoong Kim [Fri, 17 Jun 2016 08:20:23 +0000 (17:20 +0900)]
RENDERER: consider the narrow presentation mode while tab size computing

Toggle of narrow presentation mode depends on finalized size of tab item.
But, tab renderer cannot know the finalized tab size completely.
To compute proper tab size for narrow mode, tab folder have to decide
whether or not to add close button size before finalizing.

Change-Id: I9eed1769bd9db8901ea87097f4c09bd2953617d0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoTEXT: Fix bug that focus event processing
HyunJong Park [Fri, 17 Jun 2016 04:20:50 +0000 (13:20 +0900)]
TEXT: Fix bug that focus event processing

The custom text widget must send the focus event to native widget
when the custom text widget got focus from the parent composite.

Change-Id: Icdaa79a891ad4abd119c6398b315fc7836100419
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Change background color when mouse hover
HyunJong Park [Fri, 17 Jun 2016 04:15:29 +0000 (13:15 +0900)]
TEXT: Change background color when mouse hover

Apply new design concept.

Change-Id: I9b0a27c5fb9a79cd07fc887375b0a393f13e29ae
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Apply new design concept
HyunJong Park [Tue, 14 Jun 2016 04:06:49 +0000 (13:06 +0900)]
TEXT: Apply new design concept

If the user set the SWT.BORDER style, show the border of the widget.
If the user set the SWT.READ_ONLY style, draw the background color of
the widget in the background color of parent.

Change-Id: I5413a32a78871dd6ba3020cc2406a85ea1611bb9
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO, TEXT: Fix bug that the height of the widgets visible short.
HyunJong Park [Mon, 13 Jun 2016 01:27:00 +0000 (10:27 +0900)]
COMBO, TEXT: Fix bug that the height of the widgets visible short.

The height of the widgets visible short in the linux environment.
This behavior does not occur in a development environment.

Change-Id: Id116f584bd6483161d0f43fe36a0fa5e1bc065cf
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: fix bug that popup list disappears when the text is pressed
HyunJong Park [Fri, 10 Jun 2016 09:36:35 +0000 (18:36 +0900)]
COMBO: fix bug that popup list disappears when the text is pressed

When the text in combo is pressed and then the combo is focused out
(e.g. if the parent component is focused, the combo is focused out),
the popup list of combo disappears.

Change-Id: I6b2ad0f45e9f027a9a8732a3c5104689b7976949
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Modified the conditions at the click.
HyunJong Park [Fri, 10 Jun 2016 06:39:21 +0000 (15:39 +0900)]
BUTTON: Modified the conditions at the click.

To check that click on the button of current window.
Some widgets open a new window when the mouse down.
If the mouse position is on over of the button of new windows,
The button of new windows is clicked.

Change-Id: I6567213ee770be93b2e906934d121c713c0d42b5
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Add part of lack of selection events
HyunJong Park [Thu, 2 Jun 2016 09:08:40 +0000 (18:08 +0900)]
BUTTON: Add part of lack of selection events

- Add part of lack of selection events.
- To block unnecessary event that are delivered to the button.

Change-Id: Id875459e0f31d80de6f920f22be9897a4fac1ff2
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
(cherry picked from commit 9882a9074faca1a7acb78ea1dfb4eb1408679bc2)

8 years agoRENDERER: release the color resources
GiWoong Kim [Thu, 9 Jun 2016 09:40:51 +0000 (18:40 +0900)]
RENDERER: release the color resources

Application code must explicitly invoke the Color.dispose() method to
release the operating system resources managed by each instance when
those instances are no longer required.

Change-Id: I0c4f7f30b385c5bb51775f8873dc0b2051e659ed
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoPROGRESSBAR: Stop animation of progressbar
HyunJong Park [Thu, 2 Jun 2016 05:52:53 +0000 (14:52 +0900)]
PROGRESSBAR: Stop animation of progressbar

-If the client hide the widget, the animation of progressabar is stopped.

Change-Id: I14fa0eb0fc518df45accd3c38c0057dd0ac44c01
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Change the size of text
HyunJong Park [Wed, 1 Jun 2016 06:22:40 +0000 (15:22 +0900)]
TEXT: Change the size of text

- To calculate the size of the text using the font size of GC

Change-Id: I8a8a03ac2884893212da24928895173f8774a9fa
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: Remove to selecting item when mouse hover
HyunJong Park [Tue, 31 May 2016 07:07:34 +0000 (16:07 +0900)]
COMBO: Remove to selecting item when mouse hover

- Roll back to the original source.

Change-Id: I5170cb79732bd221ff774ce0fed3db00d860bd9b
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Fix the height of text in the windows
HyunJong Park [Tue, 31 May 2016 06:59:53 +0000 (15:59 +0900)]
TEXT: Fix the height of text in the windows

- Add the margin size.

Change-Id: Iea8d41bf6e2ff0583e042a57f3807455efee637f
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: Modified layout
HyunJong Park [Mon, 30 May 2016 12:00:01 +0000 (21:00 +0900)]
COMBO: Modified layout

- Checked the number of columns of gridlayout

Change-Id: Id56d0d503b912cf4d48496be96e7782f34b1d5a3
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Fix. the height of Text in the ubuntu
HyunJong Park [Mon, 30 May 2016 11:39:35 +0000 (20:39 +0900)]
TEXT: Fix. the height of Text in the ubuntu

- Change the height of text in the case of two or more lines in ubuntu.

Change-Id: I6d355f1c498eb50039e2db9fea46131bb5daaf87
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: Applied to the new design
HyunJong Park [Mon, 30 May 2016 06:25:31 +0000 (15:25 +0900)]
COMBO: Applied to the new design

- Change the font color when mouse hover.
- Highlight itme of list when mouse hover.

Change-Id: I595f62bd1c695b1cba3d9530bf92128117455d3d
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Applied to the new design
HyunJong Park [Mon, 30 May 2016 04:45:44 +0000 (13:45 +0900)]
TEXT: Applied to the new design

- Change the background color when mouse hover.

Change-Id: Ied911880873b4df8cfb28c17818bd8218a98d506
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoRENDERER: draw Tizen min/max button
GiWoong Kim [Fri, 27 May 2016 08:59:03 +0000 (17:59 +0900)]
RENDERER: draw Tizen min/max button

Change-Id: Ie54dac171fd6692d63115f3b7edfa404743d3296
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoTEXT: Change text's height
HyunJong Park [Mon, 30 May 2016 01:04:16 +0000 (10:04 +0900)]
TEXT: Change text's height

- Change text's height of the computeSize function.

Change-Id: I38230157aff94bbda942ff3a7c72ed153ebbbf5e
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Modified hooking listener
HyunJong Park [Mon, 30 May 2016 01:31:13 +0000 (10:31 +0900)]
TEXT: Modified hooking listener

- Fix to remove the listener function that was hooking.

Change-Id: Ia0e5095271181159c3e84dc718d93bf665c7b4ac
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Modified the conditions at the click
HyunJong Park [Mon, 30 May 2016 01:44:58 +0000 (10:44 +0900)]
BUTTON: Modified the conditions at the click

- Modified the conditions at the click of a button.

Change-Id: I20e3a0d1abe15d9d36b69cc8b3780416a9061068
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Modified size computing
HyunJong Park [Thu, 26 May 2016 10:15:22 +0000 (19:15 +0900)]
TEXT: Modified size computing

Change-Id: Ie102cb7da4fcb99b8a91c6e41f9e11f8ca6c93b9
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoRENDERER: draw Tizen chevron button
GiWoong Kim [Thu, 26 May 2016 09:44:40 +0000 (18:44 +0900)]
RENDERER: draw Tizen chevron button

Change-Id: I9bca55b11cfd8ae09a1184ea6879d59cb5216159
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoTEXT: Modified mistyping
HyunJong Park [Thu, 26 May 2016 06:42:25 +0000 (15:42 +0900)]
TEXT: Modified mistyping

Change-Id: I4e8704db218a0a65bd1df5f21821f27d20cafc92
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCCOMBO: Enable CCombo widget
HyunJong Park [Thu, 26 May 2016 05:08:47 +0000 (14:08 +0900)]
CCOMBO: Enable CCombo widget

- Apply the disign of Tizen
- Rename CCombo.java to OriginalCCombo.java

Change-Id: Iaed37a5a1c37f6590dc5a5a4db5f319ad8695c17
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMMON: Change font color
HyunJong Park [Thu, 26 May 2016 04:21:21 +0000 (13:21 +0900)]
COMMON: Change font color

- Remove the blue color of font.

Change-Id: Ic2dbdbed5a3b620628a00f5576f6bbc742710082
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Modified size computing
HyunJong Park [Thu, 26 May 2016 03:57:19 +0000 (12:57 +0900)]
TEXT: Modified size computing

- The returned size of the native text of each OS is different.
- So, The computerSize() adjust the size.

Change-Id: Ie89cb43d97705617235da3de164fca3573897ed3
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoRENDERER: modified size computing
GiWoong Kim [Wed, 25 May 2016 12:36:16 +0000 (21:36 +0900)]
RENDERER: modified size computing

In CTabFolder, each tab should be narrow presentation mode
if its size is small enough.

Change-Id: Ia7a1dddaed41f61dad7c3e6daf58d9469f6ed107
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoTEXT: Add public API of scroll bar
HyunJong Park [Wed, 25 May 2016 05:51:20 +0000 (14:51 +0900)]
TEXT: Add public API of scroll bar

- Return the receiver of scroll bar of OriginalText.

Change-Id: Ia45562692d7c9cb746dfca5025c88c6834d76cdc
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix invisible button on Linux
HyunJong Park [Wed, 25 May 2016 04:53:39 +0000 (13:53 +0900)]
BUTTON: Fix invisible button on Linux

On Linux, button with SWT.CENTER is invisible or disappear
owing to GTK.
This patch is a hack of unmasking SWT.CENTER.

Change-Id: Ib314734ed23c73fc4e6a8979ddd373b8ae4fdf5c
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Change the text's border
HyunJong Park [Wed, 25 May 2016 07:14:01 +0000 (16:14 +0900)]
TEXT: Change the text's border

-The text's border looks always by UX request.

Change-Id: Ifaf05516332f143e378221cd61e12f6f07ac92cd
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Apply new design guide
HyunJong Park [Tue, 24 May 2016 10:38:32 +0000 (19:38 +0900)]
TEXT: Apply new design guide

- Apply new color.
- Not apply of the design of the Mouse Over and Focused.

Change-Id: I20ac338e0edcb6c5100e4d6988158c1ddaa29f67
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: apply new design guide
HyunJong Park [Mon, 23 May 2016 07:46:24 +0000 (16:46 +0900)]
COMBO: apply new design guide

- Apply new color.
- Rename the state of each button.

Change-Id: I79966265cea9a77d7560817288d500e1d6aa58ef
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Fix. the vertical scroll bar
HyunJong Park [Wed, 25 May 2016 06:17:04 +0000 (15:17 +0900)]
TEXT: Fix. the vertical scroll bar

- Fill the vertical scroll bar in text

Change-Id: I12c061ab65cb2703a42d1602e92a6fbfc553f733
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Apply new design guide
HyunJong Park [Mon, 23 May 2016 07:03:04 +0000 (16:03 +0900)]
BUTTON: Apply new design guide

- Apply new icon images and color.
- Rename the state of each button.
- Change the data structure for the resource of the state of each button.
- Declared as an abstract class.

Change-Id: I0e46e6809a8a77978db9ccfcec4cd126873668df
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoRENDERER: remove some leaks
GiWoong Kim [Tue, 24 May 2016 10:41:22 +0000 (19:41 +0900)]
RENDERER: remove some leaks

Change-Id: I39f858791e235c00b7afc6aa06c4a393bb56c748
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoRENDERER: expand icon image field in CTabItem
GiWoong Kim [Mon, 23 May 2016 07:09:56 +0000 (16:09 +0900)]
RENDERER: expand icon image field in CTabItem

add a new member variable to draw icon image when tab is selected

Change-Id: I282d1f99e9af25d34fe98d7323cebc169fa855d4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoRENDERER: modified computing formula in CTabRenderer
GiWoong Kim [Thu, 19 May 2016 10:05:19 +0000 (19:05 +0900)]
RENDERER: modified computing formula in CTabRenderer

While compute tab size, must consider the text only state.
And according to Tizen design guide, we need more spacing in
each left & right side.

Change-Id: Id8941400510150828b63520e30cc7e9ce4813fd2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: Modify the application logic for the color of the button.
HyunJong Park [Wed, 18 May 2016 08:14:24 +0000 (17:14 +0900)]
BUTTON: Modify the application logic for the color of the button.

There is a case that does not exist the color of the user or parent's composite.
Then apply the default color.

Change-Id: Iad0e1bd6681b27060f38db995841a1842e4cc749
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: enable the default button
HyunJong Park [Wed, 18 May 2016 07:53:25 +0000 (16:53 +0900)]
BUTTON: enable the default button

-Enable the default button in wizard.
-Not implement to focus button by TAB key.

Change-Id: I29bdbf433a00360e583e392a4df8b26a0dd28419
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: change the border's color
HyunJong Park [Mon, 16 May 2016 05:43:34 +0000 (14:43 +0900)]
COMBO: change the border's color

Change the border's color of combo in blue whene editing the text box.

Change-Id: I44b7c6c25d6e196b5f3b7d6d9981db92ab5094c1
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoSWT: Drop tizen changes
Yoonki Park [Sat, 14 May 2016 06:16:26 +0000 (15:16 +0900)]
SWT: Drop tizen changes

Change-Id: I29bdfd0cab160c632e9bc0201b3b560cab73ae63
Signed-off-by: Yoonki Park <yoonki.park@samsung.com>
8 years agoMerge tag 'R4_5_2' into upstream
Yoonki Park [Mon, 9 May 2016 11:46:27 +0000 (20:46 +0900)]
Merge tag 'R4_5_2' into upstream

Bug 487983 - Tag Mars.2 (4.5.2) release

8 years agoInitial empty repository
JeongHoon Jeon [Mon, 2 May 2016 09:42:27 +0000 (18:42 +0900)]
Initial empty repository

8 years agov4530
Arun Thondapu [Fri, 12 Feb 2016 18:50:43 +0000 (00:20 +0530)]
v4530

8 years agov4530
Arun Thondapu [Fri, 12 Feb 2016 18:45:49 +0000 (00:15 +0530)]
v4530

8 years agoBug 483096: [GTK3.16+] gtk_widget_override_background_color is
Eric Williams [Fri, 12 Feb 2016 16:35:57 +0000 (11:35 -0500)]
Bug 483096: [GTK3.16+] gtk_widget_override_background_color is
deprecated

This patch is combined backport for the following commits:
9227d728eba1d0a4ac6bdb3c2c1622885187e116
428cc3497ee844b9262d1bdc7cb09a8332eee87c
b32e6b93f9f20497aefb1aafcabe5599e6ab946a

As of GTK3.16, gtk_widget_override_background_color() is deprecated. The
preferred GTK method of setting background colors is through the CSS
theme machinery. Unfortunately this also means some calls to
gtk_widget_override_background_color() will fail (i.e. bug 479998). This
patch aims to prevent cases like that happening in the future.

We already apply certain CSS properties to individual widgets in
Control, therefore setting background colors isn't problematic -- this
patch merely builds off of this functionality. In addition, this patch
implements the ability to read and parse GTK CSS, converting properties
like "background-color" and "background" into GdkRGBA/GdkColor objects.

Note, there are a few widgets that override setBackgroundColor() and
therefore need some additional tweaks: Table/Tree, ToolBar, Text, Label,
and Spinner.

Tested on GTK3.18, 3.16, 3.14, and 2.24. AllNonBrowser JUnit tests pass
on GTK2 and GTK3.

Change-Id: I909c45f36e5dcf16adf884250fb83f259232363e
Signed-off-by: Eric Williams <ericwill@redhat.com>
8 years agov4529
Arun Thondapu [Wed, 3 Feb 2016 14:37:09 +0000 (20:07 +0530)]
v4529

8 years agoBug 485722: [cocoa] Moving cursor with arrow keys on Mac OS not working in "Word...
Markus Keller [Thu, 14 Jan 2016 21:33:38 +0000 (22:33 +0100)]
Bug 485722: [cocoa] Moving cursor with arrow keys on Mac OS not working in "Word Wrap" mode

Change-Id: I03d34fde86aa41b0144e5da0e2e858c807ddb467

8 years agoBug 486616 - Mars.2 features and bundles that need a service increase
Lakshmi Shanmugam [Thu, 28 Jan 2016 09:00:56 +0000 (14:30 +0530)]
Bug 486616 - Mars.2 features and bundles that need a service increase

Updated Manifest.MF, pom.xml and build.xml files

8 years agov4529
Arun Thondapu [Wed, 27 Jan 2016 05:46:38 +0000 (11:16 +0530)]
v4529

8 years agoBug 482308 - [win32] Main Menu not refreshed after deactivating Word
Szymon Ptaszkiewicz [Fri, 8 Jan 2016 11:08:15 +0000 (12:08 +0100)]
Bug 482308 - [win32] Main Menu not refreshed after deactivating Word
editor

Change-Id: I0d268ac91e0317c6eabc5bf0b0334009582b5ea5
Signed-off-by: Szymon Ptaszkiewicz <szymon.ptaszkiewicz@pl.ibm.com>
8 years agov4529
Arun Thondapu [Wed, 20 Jan 2016 10:03:39 +0000 (15:33 +0530)]
v4529

8 years agoBug465054 - [GTK3] [GTK3.14] Mixed fonts for labels produces visual garbage on scrolling
Snjezana Peco [Wed, 13 Jan 2016 18:41:38 +0000 (19:41 +0100)]
Bug465054 -  [GTK3] [GTK3.14] Mixed fonts for labels produces visual garbage on scrolling

Change-Id: Iea3918715b5425e17aa9dd4974c61de9ac3d356c
Signed-off-by: Snjezana Peco <snjeza.peco@gmail.com>
8 years agov4529
Arun Thondapu [Wed, 13 Jan 2016 13:11:46 +0000 (18:41 +0530)]
v4529

8 years agov4529
Arun Thondapu [Wed, 13 Jan 2016 13:07:20 +0000 (18:37 +0530)]
v4529

8 years agoBug 479998: [GTK3] Form/wizard Composites have incorrect background
Eric Williams [Thu, 10 Dec 2015 14:37:02 +0000 (09:37 -0500)]
Bug 479998: [GTK3] Form/wizard Composites have incorrect background
colors

UPDATED: This patch also contains fixes to bug 484729.

As of GTK3.16 gtk_widget_override_background_color() is deprecated.
Unfortunately in GTK3.18 it has started to break the background colors
of SwtFixed containers. This is most notably visible in the workspace
selection and commit dialogs, where some background containers had the
default gray background color when they should have been white.

This fix overrides the draw signal in Composite, which allows for CSS
rendering of the background color using gtk_render_background(), which
is the recommended fix as per the GTK team's changes. This ensures that
every composite is drawn with the correct background color if it is set.

The only additional side effect is that ToolBar background colors need
to be set with CSS also, since some SwtFixed containers that were
previously being overridden by ToolBar background colors now are
correctly displaying their own background. This means that ToolBars need
to be rendered with CSS as well. This can be accomplished very easily by
overriding the setBackgroundColor() method in ToolBar.java.

This change will only affect SWT using GTK3.16 and upward. Anything
below 3.16 still uses the old function (which works reliably on those
versions).

Change-Id: I215871be8b6b652d4e77017118415425ae650386
Signed-off-by: Eric Williams <ericwill@redhat.com>
8 years agoBug 481611 - Table/tree column header events have incorrect coordinates
Lakshmi Shanmugam [Mon, 11 Jan 2016 11:57:50 +0000 (17:27 +0530)]
Bug 481611 - Table/tree column header events have incorrect coordinates
in OS X 10.11 El Capitan

In OSX 10.11, the origin of the tree is the header, not the top-left of
the rows. Adjust the co-ordinates accordingly.
Fixed getClientArea, getTopItem, setTopItem, setTopIndex & getTopIndex()
for 10.11. The behavior on older OSX versions remains unchanged.

8 years agoBug 434393 - [10.11] OS X: NPE in Control.internal_new_GC
Lakshmi Shanmugam [Tue, 1 Dec 2015 12:08:30 +0000 (17:38 +0530)]
Bug 434393 - [10.11] OS X: NPE in Control.internal_new_GC

NSGraphicsContext currentContext() returns null on OSX 10.11 when called
from a
non-drawing method, for eg, Table.cellSize(). The fix to is to check if
the context returned is valid, if not we create a new context using
NSGraphicsContext.graphicsContextWithWindow.

8 years agov4528
Arun Thondapu [Wed, 6 Jan 2016 14:52:50 +0000 (20:22 +0530)]
v4528

8 years agoRevert "Bug 479998: [GTK3] Form/wizard Composites have incorrect background colors "
Arun Thondapu [Wed, 6 Jan 2016 14:44:39 +0000 (09:44 -0500)]
Revert "Bug 479998: [GTK3] Form/wizard Composites have incorrect background colors "

This reverts commit a6809d2829e8dba637cdcebd3962e699b1a152b4.

Change-Id: I93f512e8058f88ce5045b0b5af39200e4da01d89

8 years agoBug 479998: [GTK3] Form/wizard Composites have incorrect background
Eric Williams [Thu, 10 Dec 2015 14:37:02 +0000 (09:37 -0500)]
Bug 479998: [GTK3] Form/wizard Composites have incorrect background
colors

As of GTK3.16 gtk_widget_override_background_color() is deprecated.
Unfortunately in GTK3.18 it has started to break the background colors
of SwtFixed containers. This is most notably visible in the workspace
selection and commit dialogs, where some background containers had the
default gray background color when they should have been white.

This fix overrides the draw signal in Composite, which allows for CSS
rendering of the background color using gtk_render_background(), which
is the recommended fix as per the GTK team's changes. This ensures that
every composite is drawn with the correct background color if it is set.

The only additional side effect is that ToolBar background colors need
to be set with CSS also, since some SwtFixed containers that were
previously being overridden by ToolBar background colors now are
correctly displaying their own background. This means that ToolBars need
to be rendered with CSS as well. This can be accomplished very easily by
overriding the setBackgroundColor() method in ToolBar.java.

This change will only affect SWT using GTK3.16 and upward. Anything
below 3.16 still uses the old function (which works reliably on those
versions).

Change-Id: I7b7de3faa53d2ad82b5b546b0e0e607299f123b0
Signed-off-by: Eric Williams <ericwill@redhat.com>
8 years agoBug 480794: [GTK3] TabFolder cannot be traversed with Tab key;
Arun Thondapu [Wed, 6 Jan 2016 13:49:34 +0000 (19:19 +0530)]
Bug 480794: [GTK3] TabFolder cannot be traversed with Tab key;
TabFolder#getChildren() is empty

Fix missing import for ArrayList in
Test_org_eclipse_swt_widgets_TabFolder

Change-Id: I9692bff76b7ef35bda1647c58ac4613bb218572b
Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
8 years agoBug 480794: [GTK3] TabFolder cannot be traversed with Tab key; TabFolder#getChildren...
Markus Keller [Thu, 5 Nov 2015 20:13:46 +0000 (21:13 +0100)]
Bug 480794: [GTK3] TabFolder cannot be traversed with Tab key; TabFolder#getChildren() is empty

Change-Id: Ib9559713fcf327a535b32be3b12de08467eb9c15

8 years agov4528
Arun Thondapu [Wed, 23 Dec 2015 14:29:38 +0000 (19:59 +0530)]
v4528

8 years agoBug 465644 - [GTK3] Investigate a GTK+ specific fix outside CTabFolder
Niraj Modi [Tue, 6 Oct 2015 06:03:14 +0000 (11:33 +0530)]
Bug 465644 - [GTK3] Investigate a GTK+ specific fix outside CTabFolder
for rendering issues with GTK3

Change-Id: Iaafdf409ec383f2d1d4f94b3f3cf528df37add01
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
8 years agoBug 477798 - [Win32][Cocoa]CTabFolder has wrong initial size
Niraj Modi [Thu, 24 Sep 2015 17:54:30 +0000 (23:24 +0530)]
Bug 477798 - [Win32][Cocoa]CTabFolder has wrong initial size

Change-Id: I0d17531b4875f65a7dc3889cc9bf05f897cf481c
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
9 years agov4528
Arun Thondapu [Wed, 14 Oct 2015 11:35:00 +0000 (17:05 +0530)]
v4528

9 years agoBug 478688 - Update parent pom to 4.5.2
Arun Thondapu [Thu, 1 Oct 2015 08:17:32 +0000 (13:47 +0530)]
Bug 478688 - Update parent pom to 4.5.2

Change-Id: Ifc91556fbbf6dbdfa4f9bd477b734e926470c445
Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
9 years agov4528
Arun Thondapu [Tue, 25 Aug 2015 11:43:22 +0000 (17:13 +0530)]
v4528