Janusz Majnert [Wed, 21 Oct 2015 10:06:49 +0000 (12:06 +0200)]
Fix compiler warning in SettingsUI.cpp
[Issue] N/A
[Problem] Warnings: unused variables and initialization list ordering
[Solution] Remove unused variables and fix ordering
[Verification] Build the project and verify that there are no warnings from
SettingsUI.cpp
Change-Id: I6cef34f2a0b90617a82db12f737e86782f3195a5
Janusz Majnert [Wed, 21 Oct 2015 10:29:04 +0000 (12:29 +0200)]
Fix compiler warnings in SimpleUI
[Issue] N/A
[Problem] Warnings: unused variables and wrong order in initilization lists
[Solution] Remove unneeded variables, fix ordering
[Verification] Build the project and verify that there are no warnings from
SimpleUI
Change-Id: Ice75645214823cfb450c9bf7a6db234f0291eb88
Janusz Majnert [Wed, 21 Oct 2015 11:28:45 +0000 (13:28 +0200)]
Fix compiler warning in WebPageUI.cpp
[Issue] N/A
[Problem] Compilation warning about wrong ordering in initialization list
[Solution] Fix ordering
[Verification] Build the project and verify that there are no warnings from
WebPageUI.cpp
Change-Id: I1f4ae2dc629f1ab7b629c2dfee0fee1aa6c2778e
Janusz Majnert [Wed, 21 Oct 2015 12:14:55 +0000 (14:14 +0200)]
Fix compiler warning in ZoomUI.cpp
[Issue] N/A
[Problem] Warnings: unused variables and no return statements
[Solution] Remove unneeded variables, refactor method to always return a
value
[Verification] Build the project and verify that there are no warnings from
ZoomUI.cpp
Change-Id: Ia85163bb5d45887c074508a48c05b1d2fc10b40c
Janusz Majnert [Wed, 21 Oct 2015 13:32:15 +0000 (15:32 +0200)]
Fixed several compilation warnings in WebView.cpp
[Issue] N/A
[Problem] Warnings: unused variables, wrong ordering in initialization list
[Solution] Removed unneeded variables, fixed ordering, submitted a bug for
some missing functionality
[Verification] Build the project and verify that there are no warnings generated
for WebView.cpp
Change-Id: I88b795a9209d96c35b3edc579f212f51dd386e09
Kamil Nowac [Wed, 21 Oct 2015 11:01:27 +0000 (13:01 +0200)]
Fix updateSessionName in SQLStorage
[Issue] https://bugs.tizen.org/jira/browse/TT-218
[Problem] Function does not update name
[Solution] Changed usage of parameter
[Verification] Currently not used so
it must be tested directly from the code.
Change-Id: I16576b3abca48eabc5fab8c8077afacd0c531f47
m.kawonczyk [Tue, 20 Oct 2015 12:57:09 +0000 (14:57 +0200)]
Close Tabs button in Tab Manager
[Issue] https://bugs.tizen.org/jira/browse/TT-219
[Problem] "Close Tabs" button in Tab Manager does not return to
"Close Tabs" from "Close all"
[Solution] Found that signals created in TabUI arent called, while
signals from SimpleUI are. Copied code that is responsible
for text change to right location.
[Verification] Open tabs manager. Click "Close Tabs" button. Either
close a tab, click "Close All" or exit from Tab
Manager. Reopen Tab Manager.
Change-Id: Iba4ab9aa916cf39a6d3e919a7215c5c265e597aa
Albert Malewski [Tue, 20 Oct 2015 12:06:28 +0000 (14:06 +0200)]
Navigation in Screen Zoom
[Issue] https://bugs.tizen.org/jira/browse/TT-213
[Problem] User cannot control screen zoom by D-Pad navigation.
[Cause] Lack of implementation.
[Solution] Refactored screen zoom. Added focus on slider.
[Verify] Launch browser > Open web page > More Menu > Screen zoom
Select zoom ratio by left/right arrows > Press OK (enter)
to confirm.
Change-Id: I4b8bed8bf9f00e76140d9ee020d8d9838e38cbcd
Dariusz Frankiewicz [Tue, 13 Oct 2015 10:16:10 +0000 (12:16 +0200)]
Add webview suspend and resume functions.
[Issue] https://bugs.tizen.org/jira/browse/TT-208
[Problem] ewk_view_suspend and ewk_view_resume are not called in
required moments.
[Cause] Not implemented function calls.
[Solution] Implement required functions and it's calls.
[Verify] Open few tabs, try to switch between them.
Suspend and resume browser.
Change-Id: I9f292a0c316056e3d2c928332bd47a58e9eba23a
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
Maciej Skrzypkowski [Tue, 20 Oct 2015 08:56:32 +0000 (10:56 +0200)]
Mobile profile build
[Issue] https://bugs.tizen.org/jira/browse/TM-34
[Problem] There was no build for mobile profile.
[Solution] Added new profile and build option
[Verify] Run build_mobile.sh script, check if it works.
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Change-Id: Ic3057435427df0d8e4bc90e769b8e2ab78de1e46
Janusz Majnert [Tue, 20 Oct 2015 13:32:22 +0000 (15:32 +0200)]
Fix compiler warning in MoreMenuUI
[Issue] N/A
[Problem] Compilation warning about unused variable
[Solution] Use the defined variable
[Verification] Build the project and verify that there are no warnings from
MoreMenuUI.cpp
Change-Id: I35891dd6c18e64bcd4b0003d4ac47fe25e641eb7
Janusz Majnert [Mon, 19 Oct 2015 14:07:21 +0000 (16:07 +0200)]
Fix for unused variable copilation warning in BookmarkService
[Issue] N/A
[Problem] Compilation warning about unused variable
[Solution] Remove the unneeded variable
[Verification] Build the project and verify that there are no warnings from
BookmarkService.cpp
Change-Id: Id663552f0be06ce1c009c51864e9f06e23a485a5
Janusz Majnert [Mon, 19 Oct 2015 14:04:50 +0000 (16:04 +0200)]
Fix an unused variable compilation warning in BookmarkManagerUI
[Issue] N/A
[Problem] Compilation warning about unused variable
[Solution] Remove the unused variable declaration
[Verification] Build the project and verify that there are no warnings from
BookmarkManagerUI.cpp
Change-Id: I1093b838cbe8afcea424abe404d96cb65cd95402
Janusz Majnert [Mon, 19 Oct 2015 10:50:45 +0000 (12:50 +0200)]
Fix compiler warning in FocusManager.cpp
[Issue] N/A
[Problem] Compilation warnings about unused variable
[Solution] Remove unneeded variable
[Verification] Build the project and verify that there are no warnings from
FocusManager.cpp
Change-Id: Iefda280361a6ff12dbe40179d1bfe67a39aab533
Janusz Majnert [Mon, 19 Oct 2015 10:20:18 +0000 (12:20 +0200)]
Fixed compilation warnings in SqlStorage modules
[Issue] N/A
[Problem] Compilation warnings about:
1. Unused variable newName
2. Ignored type qualifier
[Solution] 1. Suppress the warning temporarily, submit a bug to fix the method
2. Remove the redundant const qualifier
[Verification] Build the project. Check if there are warnings generated from
SqlStorage.* files
Change-Id: I6a94a92faffa37047fd93498dfc207cc42be78bb
Janusz Majnert [Tue, 20 Oct 2015 13:34:45 +0000 (15:34 +0200)]
Fix compiler warning in PlatformInputManager
[Issue] N/A
[Problem] Compilation warning about unused variable
[Solution] Suppress the warning
[Verification] Build the project and verify that there are no warnings from
PlatformInputManager.cpp
Change-Id: I0d8e9d669785cd220c28ea14d8e0d8d8f5c57d9f
posial [Tue, 20 Oct 2015 13:28:08 +0000 (15:28 +0200)]
Set-up unit test infrastructure
[Issue] https://bugs.tizen.org/jira/browse/TT-166
[Problem] Outdated unit tests caused build errors
[Solution] Update unit tests to current browser structure
[Verification] Build browser unit tests
Change-Id: I0d65b28b47c7b0e44153ffed6d143b2e5de2aeb0
Adam Skobodzinski [Tue, 20 Oct 2015 08:50:07 +0000 (10:50 +0200)]
Using UrlHistoryList do display history list (on urientry edition).
[Issue] https://bugs.tizen.org/jira/browse/TT-161
[Problem] 'Display URL from browser history that matches to given keyword.'
[Solution] UrlHistoryList is receiving list of matched entries and
creates a genlist. List is hidden, when list item is selected (with
cursor only for now) or focus changes from the uri entry. Created
genlist is not added to a focus chain yet (this will be delivered
soon).
[Verify] Typing words in uri entry should display list with matched
entries. Choosing item shoud load page in a new tab. Loading page or
focusing out from urientry should hide the list.
Signed-off-by: Adam Skobodzinski <a.skobodzins@partner.samsung.com>
Change-Id: Icb67a9b5c47556788d256613c832cdacb7620bf3
posial [Tue, 20 Oct 2015 10:31:16 +0000 (12:31 +0200)]
Cannot link boost libraries when building unit tests
[issue] https://bugs.tizen.org/jira/browse/TT-166
[problem] Cannot link boost libraries when building unit tests
[solution] Remove cmake variables names shadowing
[verification] build browser
Change-Id: I79e4619860ad1234d36e96240279c311086eb55d
Kamil Nowac [Thu, 15 Oct 2015 11:03:20 +0000 (13:03 +0200)]
Add incognito screen and icon to the url bar
[Issue] https://bugs.tizen.org/jira/browse/TT-185
[Problem] Incognito screen and icons are not implemented
[Solution] Added screen and icons
[Verification]
1. Open incognito tab
Incognito start screen and incognito icon should be
visible in the url bar
Change-Id: I18cf592433ebedd5e6a85b1b5d7809f1e4802562
sungwon2han [Tue, 20 Oct 2015 06:01:09 +0000 (15:01 +0900)]
Add "XF86Back" key name to process back key event from remote controller.
Change-Id: I65ffa278a3a903ca42e192f3a99c7a5ae0842fe2
Signed-off-by: sungwon2han <sungwon2.han@samsung.com>
m.kawonczyk [Mon, 12 Oct 2015 13:11:53 +0000 (15:11 +0200)]
Limit number of opened tabs in brower
[Issue] https://bugs.tizen.org/jira/browse/TT-174
[Problem] When more than 30 tabs are opened the browser crashes.
[Solution] Limit the number of simultaneously opened tabs to 10.
If user wants to add another tab, popup is shown.
WebCore Part must check, if sending out=NULL in __newWindowRequest doesn't create
another bug.
[Verification] Please open 10 tabs and try to add another one, with either + in tab manager
or "Open link in new tab" in popup.
Change-Id: I342fe4dda10e6ae11e2199893ce3a8412c01227e
m.kawonczyk [Mon, 19 Oct 2015 10:14:31 +0000 (12:14 +0200)]
Focus cannot be moved to "Stop" button in Web Page UI
[Issue] https://bugs.tizen.org/jira/browse/TT-217
[Problem] After clicking Thumb in history new DetailedPopup is shown,
which then forces "refreshFocusChain" function second time.
[Solution] Added another variable - m_after_history_thumb, which blocks
"refreshFocusChain" from running second time.
[Verification] Add new tab from History Manager, try to change focus to
"Stop" using arrows.
Change-Id: I0f4a241ac85f72acb213f92ab303bf347d247d39
Adam Skobodzinski [Wed, 14 Oct 2015 09:49:17 +0000 (11:49 +0200)]
Adding UrlHistoryList class and other classes managing display of 'URL from history'
[Issue] https://bugs.tizen.org/jira/browse/TT-161
[Problem] 'Display URL from browser history that matches to given keyword.'
[Solution] Adding necessary class and .edc files. Usage implemention in other commit.
Signed-off-by: Adam Skobodzinski <a.skobodzins@partner.samsung.com>
Change-Id: I35c8b86409e024e107498a552623840553fb3735
Adam Skobodzinski [Wed, 14 Oct 2015 08:55:08 +0000 (10:55 +0200)]
Adding HistoryService::getHistoryItemsByKeywordsString().
[Issue] https://bugs.tizen.org/jira/browse/TT-161
[Problem] "Url from history" needed new method in HistoryService getting urls basing on a keywords string.
[Solution] New method in HistoryService.
Signed-off-by: Adam Skobodzinski <a.skobodzins@partner.samsung.com>
Change-Id: I0d2ed414eb6af2b7cb61a14dfb9f7024e55a6729
posial [Tue, 13 Oct 2015 14:55:55 +0000 (16:55 +0200)]
Change Url bar guide text
[Issue] https://bugs.tizen.org/jira/browse/TT-216
[Problem] Outdated URL bar guide text
[Solution] URL bar guide text changed in accordance with new guidline specification
[Verify]
1. Focus on empty URL bar
2. Write some text
3. Clear text
4. Change focus
Change-Id: I4365b332e4ce7d3cec554366d3d34fa84ecfd7e4
Albert Malewski [Mon, 12 Oct 2015 08:26:52 +0000 (10:26 +0200)]
Setting page title in the URI entry.
[Issue] https://bugs.tizen.org/jira/browse/TT-193
[Problem] After page is loaded URL full URL address is displayed
instead of the name of the page.
[Cause] N/A
[Solution] Added setPageTitle function and connected it to titleChanged
signal. Added showing URI when entry is focused and page title
when unfocused. Additionally removed unneded _cb_mouse_in
and _cb_mouse_out callbacks.
[Verify] Launch browser > Enter an URL address > Obs
Only page name should be visible.
Change-Id: Icd9da0fc2dbffb1779be895130d36391dd04835d
Dariusz Frankiewicz [Thu, 8 Oct 2015 06:58:22 +0000 (08:58 +0200)]
Notification Popup implementation
[Issue] N/A
[Problem] Lack of notification popup in settings.
[Solution] Implement missing functionality.
[Verify] Go to settings and press all three buttons, afterch each of
them notification popup should appear.
Change-Id: I45d217fbacb5f05c2d9d25d72dc2642df4142ab6
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
Maciej Skrzypkowski [Tue, 13 Oct 2015 13:35:29 +0000 (15:35 +0200)]
Refactoring, renamed MainUI to QuickAccess
[Issue] N/A
[Problem] Misleading name
[Solution] Changed
[Verify] Open Quick Access view, check if it works by clicking tiles etc.
Change-Id: Ibebaa3b3e4216adb762453b8d9bfc74dfa6ff3d8
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Maciej Skrzypkowski [Tue, 13 Oct 2015 11:13:36 +0000 (13:13 +0200)]
Cookies saving between browser restarts.
[Issue] https://bugs.tizen.org/jira/browse/TT-138
[Problem] Cookies saving path was not set.
[Solution] Addes cookies saving path.
[Verify] Open onet.pl > click on X button in cookies popup information
> close browser > open again onet.pl,
cookies popup should not appear.
Change-Id: I4d0c4d1a544bd59a093dcf62092365121ef17435
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Maciej Skrzypkowski [Mon, 12 Oct 2015 11:27:54 +0000 (13:27 +0200)]
Refactoring, removed unneeded check in WebkitEngineService
[Issue] N/A
[Problem] Unneeded check and unneeded line
[Solution] Removed
[Verify] 1.Open few tabs.
2. Try to switch between them and check if it's OK
Change-Id: I0d9bb2eaa485277de4bd567a146fb6a49e768075
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Kamil Nowac [Mon, 12 Oct 2015 11:07:17 +0000 (13:07 +0200)]
Add a few missing thumbail images
[Issue] N/A
[Problem] Lack of few images
[Solution] Added images
Change-Id: I0f75c5d88d973e51d66f85403b5cddec76a968d3
Albert Malewski [Tue, 13 Oct 2015 08:04:47 +0000 (10:04 +0200)]
Navigation in Tab Manager
[Issue] https://bugs.tizen.org/jira/browse/TT-214
[Problem] Focus cannot move to "New Tab/New Incognito Tab" buttons.
[Cause] N/A
[Solution] Added focus directions:
"Up" arrow on "Opened tabs" -> focus moves to "Close tabs"
"Left" arrow on "Close tabs" -> focus moves to "new incognito tab"
[Verify] Launch browser > Open Tab Manager > Move focus to
"New Tab/New Incognito Tab"
Change-Id: Ia5aea25a36e4fa779bca541621c250e45ec60f28
Kamil Nowac [Fri, 9 Oct 2015 08:03:40 +0000 (10:03 +0200)]
Fix for receiving of the last session from database
[Issue] https://bugs.tizen.org/jira/browse/TT-182
[Problem] Browser does not load the last session
properly.
[Solution] Changed SQL instruction and a Session
copy constructor
[Verify]
1.Open few tabs.
2.Close browser.
3.Open browser.
Tabs from the last session should be loaded.
Change-Id: I401a7ea2f864c8459e6b2c2a6cef3af035138627
Signed-off-by: Kamil Nowac <k.nowac@samsung.com>
t.dakowicz [Fri, 4 Sep 2015 15:25:46 +0000 (17:25 +0200)]
Implemented ZoomUI service
[Issue#] https://bugs.tizen.org/jira/browse/TT-133
[Problem] Page zoom implementation
[Cause] N/A
[Solution] New ZoomUI service
[Verify] Open a new page -> MoreMenu -> Screen Zoom
Check if zooming/navigating the page works.
Change-Id: I1c47d5fd37927e0a8f88f8952af1350791eac02f
Kamil Nowac [Thu, 8 Oct 2015 10:27:34 +0000 (12:27 +0200)]
Add star image to the quick access bookmark thumbnails
[Issue] https://bugs.tizen.org/jira/browse/TT-202
[Problem] No image
[Solution] Added image according to the GUI guideline
[Verification] Add some bookmarks. Go to the Bookmarks
in Quick Access menu. Star should be visible.
Change-Id: Iad04388526e84618d58a01065228366b6094f5fa
Signed-off-by: Kamil Nowac <k.nowac@samsung.com>
Kamil Nowac [Wed, 7 Oct 2015 10:27:41 +0000 (12:27 +0200)]
Remove "On other devices" button from Tab Manager
[Issue] https://bugs.tizen.org/jira/browse/TT-207
[Problem] "On other devices" button is excluded
from phase 1.
[Solution] Commented EDC parts connected with
the button
[Verification] Open tabs manager. There should be no
"On Other Devices" button.
Change-Id: I602d8be8feb16c880fe01a9a067f108af47339de
Signed-off-by: Kamil Nowac <k.nowac@samsung.com>
Albert Malewski [Wed, 7 Oct 2015 08:34:04 +0000 (10:34 +0200)]
Fixed navigating by D-pad in Bookmark Manager
[Issue] https://bugs.tizen.org/jira/browse/TT-183
[Problem] There was a problem with navigation in Bookmark Manager.
[Cause] Disabled "Add to bookmarks" button was blocking moving
the focus.
[Solution] This is a workaround (because 'custom focus chain' API
did not work properly. FocusManager class is used.
Additionally, changed topContent from genlist to layout.
[Verify] Launch browser > Navigate to Bookmarka Manager > Use arrows to
move the focus.
Change-Id: I8f22bb24653f9df0dde5f5e009fbbd73d887d6ec
Albert Malewski [Tue, 6 Oct 2015 15:18:14 +0000 (17:18 +0200)]
Implemented new class FocusManager that manages focus in MoreMenu
[Issue] https://bugs.tizen.org/jira/browse/TT-183
[Problem] There was a problem with navigation in MoreMenu.
[Cause] Disabled "Add to bookmarks" button was blocking moving
the focus.
[Solution] This is a workaround (because 'custom focus chain' API
did not work properly. I have created new class that
stores objects to focus and implements mechanism of
mooving the focus.
[Verify] Launch browser > Navigate to More menu > Use arrows to
move the focus.
Change-Id: I3942e97c3176a204fc2ccd8738344f179cf1e89b
Kamil Nowac [Tue, 6 Oct 2015 13:32:39 +0000 (15:32 +0200)]
Add dimmed Add to Bookmarks
[Issue] https://bugs.tizen.org/jira/browse/TT-204
[Problem] Add to bookmarks button is not dimmed when are
no loaded pages
[Solution] According to the GUI guideline v0.5 dimmed button
should have white background and black text with
50% opacity.
Change-Id: Id0035d4bbcee6a5ecc67bc9caf35136e878652bd
Signed-off-by: Kamil Nowac <k.nowac@samsung.com>
Maciej Skrzypkowski [Thu, 8 Oct 2015 09:46:48 +0000 (11:46 +0200)]
D-pad navigation for bookmarks in Quick Access view
[Issue] https://bugs.tizen.org/jira/browse/TT-205
[Problem] Threre was no d-pad navigation for bookmarks
[Cause] Not implemented.
[Solution] Implemented adding and removing items from focus
chain while switching between Most Visted and Bookmarks.
Additionaly fixed switching between Most Visited
and Bookmark buttons.
[Verify] Add few bookmarks, switch to bookmarks view on Quick
Access page, try to navigate using keboard.
Change-Id: Idb3f89e46af1ae3656fc3cc3d9ddb65115ba549e
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Dariusz Frankiewicz [Tue, 6 Oct 2015 11:56:41 +0000 (13:56 +0200)]
Fix Reset browser functionality.
[Issue] https://bugs.tizen.org/jira/browse/TT-176
[Problem] Reset browser button didn't work.
[Cause] Not implemented
[Solution] Add function calls that remove necessary items.
[verify] Open some tabs, add some pages to bookmarks.
Then go to the settings and press Reset Broswser.
History, bookmarks, cookies, opened tabs should be deleted.
Change-Id: I592f2897e1d7447c544d2c8fc14847668c8e2059
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
sungwon2han [Tue, 6 Oct 2015 01:42:04 +0000 (10:42 +0900)]
Remove dead code from WebView class
Change-Id: I112affb7ce2924388cc7fb701a66671111d2c047
Signed-off-by: sungwon2han <sungwon2.han@samsung.com>
Dariusz Frankiewicz [Mon, 5 Oct 2015 09:00:32 +0000 (11:00 +0200)]
Fix reset most visited sites functionality.
[Issue] https://bugs.tizen.org/jira/browse/TT-175
[Problem] Reset most visited sites isn't working.
[Cause] Not implemented.
[Solution] Implemented setting site visit counter to 0 and
displaying only sites with counter grater then 0.
[Verify] Visit some sites, go to settings, press Reset Most Visted
Sites button, check if on new tab most visited sites are empty.
Change-Id: I05d44043744a1b7859b23df282dfb53745fb894d
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
Maciej Skrzypkowski [Mon, 5 Oct 2015 07:29:48 +0000 (09:29 +0200)]
Focus mode for DetailPopup.
[Issue] https://bugs.tizen.org/jira/browse/TT-196
[Problem] Keyboard navigation for Detail Popup was not implemented.
[Cause] N/A
[Solution] Added links to focus chain.
[Verify] Launch browser > Open few web pages > open Quick Access
> navigate using keyboard, open Detail Popup, navigate there
using keyboard, try choosing main link and history links.
Change-Id: Ia78b68f364220232359ec1583c3e32c8aa191924
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Kamil Nowac [Mon, 5 Oct 2015 10:28:47 +0000 (12:28 +0200)]
[PointerMode] Pointer Mode removal
[Issue] https://bugs.tizen.org/jira/browse/TT-130
[Problem] Not needed feature
[Solution] N/A
Change-Id: Id3e2df1abe346d1c2575b915e1a906d73bb1b722
Signed-off-by: Kamil Nowac <k.nowac@samsung.com>
Maciej Skrzypkowski [Thu, 1 Oct 2015 08:45:19 +0000 (10:45 +0200)]
Changed ordering of hiding Detail Popup.
[Issue] https://bugs.tizen.org/jira/browse/TT-199
[Problem] Clicking on history link in detail popup caused openig gray,
empty page.
[Cause] Wrong order of opening new web page caused referencing
to deleted object.
[Solution] Changed order, now popup hiding is after opening new URL.
[Verify] Launch browser > Open few web pages > open Quick Access
view, click on thumbnail, check if history links work.
Change-Id: I519e023592bc5870ab1330ec0157c06836eb154c
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Maciej Skrzypkowski [Mon, 28 Sep 2015 06:54:23 +0000 (08:54 +0200)]
Removed dead code from SimpleUI
[Issue#:] https://bugs.tizen.org/jira/browse/TT-157
[Problem:] SimpleUI contains dead code. Lots of unimplemented and
unused methods in class definition.
[Cause:] N/A
[Solution:] Remove dead code and unused method definitions.
[Verify:] Changes builds and doesn't breaks anything.
Change-Id: Id1e0df1abe445d8c2575b915e1a906d70bb1b741
Maciej Skrzypkowski [Tue, 29 Sep 2015 08:21:22 +0000 (10:21 +0200)]
Introduced new window management.
Continuation of patch proposed by Marcin Łapiński.
[Issue] https://bugs.tizen.org/jira/browse/TT-157
[Problem] There was no proper views management
[Cause] N/A
[Solution] New class ViewManager for controling switching
between views.
[Verify] Launch browser > switch between different
views (page view, more menu, settings, etc.),
check if switching is correct check if there
are no relevant warnings in logs.
Change-Id: I8827964b6539ecb7a4c02edd3d296b72a149a9e7
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Dariusz Frankiewicz [Fri, 25 Sep 2015 12:53:50 +0000 (14:53 +0200)]
Fix bad progress bar position.
[Issue] N/A
[Problem] Progress bar is invisible while page is loading.
[Cause] Bad posiotion.
[Solution] Move progress bar down.
[Verify] Load some page and check if progress bar is visible.
Change-Id: I0c628d60c46ae855dc517150bf235331846f7ed0
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
Dariusz Frankiewicz [Tue, 22 Sep 2015 15:07:19 +0000 (17:07 +0200)]
Rename some labels in browser.
[Issue] https://bugs.tizen.org/jira/browse/TT-179
[Problem] Some labels are incorrect according to UI guidelines.
[Verify] Check if reported labels are consistent with UI guidelines.
Change-Id: I4bb700e9003477611a9999aff415486a3236d2a2
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
Dariusz Frankiewicz [Tue, 22 Sep 2015 09:14:40 +0000 (11:14 +0200)]
Reneme More Menu tooltip label
[Issue] https://bugs.tizen.org/jira/browse/TT-172
[Problem] Wrong tooltip label.
[Solution] Rename label.
[Verify] Open browser, point More Menu button and check if label is
"More Menu" instead of "Settings".
Change-Id: I4694d62669952fae28533c8ae3540f6a7828fe18
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
t.dakowicz [Tue, 22 Sep 2015 12:15:06 +0000 (14:15 +0200)]
TT-168 Proper display of current site info
[Issue#] https://bugs.tizen.org/jira/browse/TT-168
[Problem] Current site info was wrong for Home Page (Quick Access view)
[Cause] Home Page status was not checked
[Solution] Added method for that case and added posibillity of disabling
the 'add to bookmark' button when needed
[Verify] Check if adding blank page doesn't work
Change-Id: Iaf287a26a238732029897f867a34a8f1f810c813
Maciej Skrzypkowski [Wed, 23 Sep 2015 14:44:14 +0000 (16:44 +0200)]
D-pad navigation for Quic access view
[Issue] https://bugs.tizen.org/jira/browse/TT-183
[Problem] There was no support for D-pad navigation in Quick Access.
[Cause] Some elements seemed not to be allowed to be focused.
[Solution] Added buttons which enables to focus tiles in Quick Access.
[Verify] Launch browser > Open few web pages > open Quick Access
view, try to navigate using D-pad.
Change-Id: Ie0e5b661a8502d551539e9d89e59162d554eb044
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Albert Malewski [Wed, 23 Sep 2015 11:06:16 +0000 (13:06 +0200)]
Fixed navigating by D-pad in History and Settings
[Issue] https://bugs.tizen.org/jira/browse/TT-183
[Problem] There was no support for D-pad navigation in More Menu.
[Cause] Some elements seemed not to be allowed to be focused.
[Solution] Added focus on some elements in HistoryUI and SettingsUI
using elm_object_focus_custom_chain_append. Set focus on
'Close' button by default. Cleared focused elements from
MoreMenuUI that were visible in HistoryUI, BookmarkManagerUI
and SettingsUI.
[Verify] Launch browser > Navigate to More menu > Choose an item
You should be able to go into Bookmarks/History/Settings
from More Menu just using keyboard/D-pad.
Change-Id: Ica000176f025659b2a4352a2b4e49fe13f552b92
Albert Malewski [Wed, 23 Sep 2015 06:13:29 +0000 (08:13 +0200)]
Fixed navigating by D-pad in More Menu
[Issue] https://bugs.tizen.org/jira/browse/TT-183
[Problem] There was no support for D-pad navigation in More Menu.
[Cause] Incorrect method of callback registration was used.
[Solution] Registered callback in elm_gengrid_item_append function
instead of evas_object_smart_callback_add.
[Verify] Launch browser > Navigate to More menu > Choose an item
You should be able to go into Bookmarks/History/Settings
from More Menu just using keyboard/D-pad.
Change-Id: Ib4673f0e645dbc1c3cbf4d4e2503cf4609b5a205
sungwon2han [Wed, 23 Sep 2015 06:18:59 +0000 (15:18 +0900)]
Browser exit when load history items
[Issue#] NA
[Problem] Browser cannot get history info from browser-provider
[Cause] browser-provider issue
[Solution] add error check routine for browser-provider
Change-Id: I12368bc9394e8115c4debfa9b72d8aa5a9aa9f5c
Signed-off-by: sungwon2han <sungwon2.han@samsung.com>
sungwon2han [Wed, 23 Sep 2015 04:53:33 +0000 (13:53 +0900)]
Browser exit when load bookmark items
[Issue#] NA
[Problem] Browser cannot get bookmark info from browser-provider
[Cause] browser-provider issue
[Solution] add error check routing for browser-provider
Change-Id: If91dc072d4c6294d331294b7cde74433d1dc2f2f
Signed-off-by: sungwon2han <sungwon2.han@samsung.com>
t.dakowicz [Mon, 21 Sep 2015 11:47:00 +0000 (13:47 +0200)]
TT-171 Removing bookmark folders from browser
[Issue#] https://bugs.tizen.org/jira/browse/TT-171
[Problem] N/A
[Cause] Newest guide doesn't contain folders anymore
[Solution] Removed bookmark folders
[Verify] Check if bookmarks are added/removed/displayed properly
Change-Id: Ife3cd8859ef4e1ceb1c4fae0412f40314e89fe02
t.dakowicz [Tue, 15 Sep 2015 14:40:23 +0000 (16:40 +0200)]
TT-163 'Add to bookmarks' UI change
[Issue#] https://bugs.tizen.org/jira/browse/TT-163
[Problem] N/A
[Cause] 1.02 UI guideline
[Solution] Added checkbox that defines current bookmark status
and toast popup for info purpose
Choosing folder for a new bookmark is still there.
Checkbox's style 'favorite' is not available.
Change-Id: I78eaf6ca94d6c0ca6605b6822ea5e5c087260d90
Albert Malewski [Mon, 21 Sep 2015 08:45:52 +0000 (10:45 +0200)]
Changed database path
[Issue] N/A
[Problem] There was wrong database path which resulted in fails
while launching the browser.
[Cause] Wrong Tizen platform variable was used.
[Solution] Used TZ_USER_APP instead of TZ_USER_DB and added <pkgid>/data
directory.
[Verify] Launch browser > Observe logs
There shouldn't be fails in logs while loading database.
Change-Id: Ibb2a6934f25b4974d2c6990cc78b1d97b8137bce
Maciej Skrzypkowski [Mon, 21 Sep 2015 08:48:29 +0000 (10:48 +0200)]
Closing app when pressing back key on Web Page view.
[Issue#] https://bugs.tizen.org/jira/browse/TT-170
[Problem] Browser didn't close when pressing back key.
[Cause] There was a check if back button is enabled which prevent
from closing app when there was no previous web page.
[Solution] Removed unneeded check.
[Verify] Run browser, visit some web page, press back button, check
if browser will close.
Change-Id: I46c29149a1d311679f9b6ef141f6dd71dc335363
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Maciej Skrzypkowski [Mon, 21 Sep 2015 09:24:46 +0000 (11:24 +0200)]
Moved code responsible for web page ui to separate service.
[Issue] https://bugs.tizen.org/jira/browse/TT-167
[Problem] Functionality of SimpleUI was confusing.
[Cause] N/A
[Solution] Created new class WebPageUI, moved all classes connected
to web page ui to new service.
Change-Id: I633b5c5abad0040b9b7d51e5fb532de2c0d25689
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Dariusz Frankiewicz [Fri, 18 Sep 2015 14:53:18 +0000 (07:53 -0700)]
Revert "Changed database path"
This reverts commit
5059e93c83493911ad58c4c26162f2792c99ded6.
Change-Id: I8cdfa7391739693de3813eed6d2179a90f94f76f
Albert Malewski [Fri, 18 Sep 2015 13:02:56 +0000 (15:02 +0200)]
Changed database path
[Issue] N/A
[Problem] There was wrong database path which resulted in fails
while launching the browser.
[Cause] Wrong Tizen platform variable was used.
[Solution] Used TZ_USER_APP instead of TZ_USER_DB.
[Verify] Launch browser > Observe logs
There shouldn't be fails in logs while loading database.
Change-Id: I2641314543647e15cdfc70b5b8decc201fdcc57b
Dariusz Frankiewicz [Fri, 18 Sep 2015 10:18:53 +0000 (12:18 +0200)]
fixup! ViewManager class added.
Change-Id: I9a52869f215df69a9e82c18ab2b3e4c547ea1c1d
Marcin Lapinski [Fri, 11 Sep 2015 13:37:24 +0000 (15:37 +0200)]
ViewManager class added.
[Issue#:] https://bugs.tizen.org/jira/browse/TT-157
[Problem:] New window management class is needed.
[Cause:] N/A
[Solution:] Implemented new class with following public methods:
popStackTo
popTheStack
pushViewToStack
getContent
[Verify:] Class is not used. Changes builds and doesn't crash.
Merge this after merging this patch:
https://review.tizen.org/gerrit/#/c/48052/
Change-Id: I4b8ca2866fa1cecbf858b4aed41e42112620a9f7
Marcin Lapinski [Fri, 11 Sep 2015 12:04:37 +0000 (14:04 +0200)]
Make AbstractUIComponent doing anything.
[Issue#:] https://bugs.tizen.org/jira/browse/TT-157
[Problem:] New window management class needs AbstractUIComponent to
have some view managing functions.
[Cause:] N/A
[Solution:] Added needed methods to interface:
void init(Evas_Object* parent)
Evas_Object* getContent()
void showUI()
void hideUI()
[Verify:] Change builds. Browser is not crashing on loading services.
Merge it after all UI components implement these methods.
Change-Id: I7c67cad62a5b68a713395ecc1487fa9e90c72bc7
Maciej Skrzypkowski [Tue, 15 Sep 2015 08:33:12 +0000 (10:33 +0200)]
Remove unused classes.
[Issue#] N/A
[Problem] These classes were unused.
[Cause] N/A
[Solution] Delete classes and theirs references.
[Verify] Run browser, check if page browsing works.
Change-Id: I11bd790c0cec58dfa7e13f7b9d553a8b822e69a3
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Marcin Lapinski [Mon, 14 Sep 2015 13:48:57 +0000 (15:48 +0200)]
MoreMenuUI Implementing new AbstractUIComponent methods.
[Issue#:] https://bugs.tizen.org/jira/browse/TT-157
[Problem:] New window management class needs AbstractUIComponent to
have some view managing functions.
[Cause:] N/A
[Solution:] Implemented needed methods:
void init(Evas_Object* parent)
Evas_Object* getContent()
void showUI()
void hideUI()
[Verify:] Change is not affecting browsers behaviour.
Change-Id: I4aef907e35f5240be86c259f4d6705a43c93ee4a
Marcin Lapinski [Mon, 14 Sep 2015 16:16:49 +0000 (18:16 +0200)]
TabUI Implementing new AbstractUIComponent methods.
[Issue#:] https://bugs.tizen.org/jira/browse/TT-157
[Problem:] New window management class needs AbstractUIComponent to
have some view managing functions.
[Cause:] N/A
[Solution:] Implemented needed methods:
void init(Evas_Object* parent)
Evas_Object* getContent()
void showUI()
void hideUI()
[Verify:] Change is not affecting browsers behaviour.
Change-Id: I6d4a91af909722050564690510f64e9c331b7fe5
Albert Malewski [Mon, 14 Sep 2015 12:12:12 +0000 (14:12 +0200)]
Removed inheritance of AbstractUIComponent in MainUI and SimpleURI classes
[Issue] https://bugs.tizen.org/jira/browse/TT-157
[Problem] MainUI and SimpleURI classes are not UI components in fact.
They are not suspected to call AbstractUIComponent's methods.
[Cause] N/A
[Solution] Removed inheritance of AbstractUIComponent in MainUI
and SimpleURI classes.
[Verify] This patch does not change browser's behaviour.
Change-Id: I048c6ad288df7af331efda6552565b83a112af08
Marcin Lapinski [Fri, 11 Sep 2015 11:54:40 +0000 (13:54 +0200)]
BookmarkManagerUI Implementing new AbstractUIComponent methods.
[Issue#:] https://bugs.tizen.org/jira/browse/TT-157
[Problem:] New window management class needs AbstractUIComponent to
have some view managing functions.
[Cause:] N/A
[Solution:] Implemented needed methods:
void init(Evas_Object* parent)
Evas_Object* getContent()
void showUI()
void hideUI()
[Verify:] Change is not affecting browsers behaviour.
Change-Id: Ia8f4eca29b82a54f239671f32bc6c43f9a47b7fe
Maciej Skrzypkowski [Mon, 14 Sep 2015 11:07:04 +0000 (13:07 +0200)]
Added proper handler for bookmark click in Quick Access view.
[Issue] N/A
[Problem] Clicking on bookmark caused opening popup or crashing.
[Cause] Wrong callback was assigned to bookmark click.
[Solution] Changed callback to opening new tab.
Change-Id: I85dbaa29ba83005e25a4796f80a80c901a23a1f9
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Maciej Skrzypkowski [Mon, 14 Sep 2015 10:25:36 +0000 (12:25 +0200)]
Refactoring - removed genlist from Quick Access tiles.
[Issue] N/A
[Problem] Genlist were unneeded for tiles.
[Cause] N/A
[Solution] Removed genlist, added aditional swallows for tiles.
Change-Id: I9a561d2973c9db0b70f413792dfdab4a2e7c24ab
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
t.dakowicz [Fri, 11 Sep 2015 11:16:44 +0000 (13:16 +0200)]
TT-165 Fixed browser crash after opening page from history/bookmarks
[Issue#] https://bugs.tizen.org/jira/browse/TT-165
[Problem] Browser's crash after opening a page from bookmarks/history
[Cause] Favicon was inserted into freed object
[Solution] Added disconnects from signals after closing MoreMenu
[Verify] New Tab -> MoreMenu -> History -> open page
or New Tab -> Bookmarks -> open page
Check if browser crashes
Please keep in mind that disconnects are needed here because views
are removed when exiting, which won't be done in future new browser's
structure.
Change-Id: I7a8db96b35d397b88196bbdbba21f526c73c2ec8
Marcin Lapinski [Tue, 1 Sep 2015 11:33:29 +0000 (13:33 +0200)]
SimpleUI refactoring
[Issue#:] https://bugs.tizen.org/jira/browse/TT-157
[Problem:] Function exec() covers functionality which will be
covered by different classes;
[Cause:] N/A
[Sollution:] Splitted huge exec() to few smaller.
[Verify:] Refactor is not affecting browsers behaviour.
Change-Id: I073154a3116ef7ff9723e2445737a699f59e214e
Albert Malewski [Fri, 11 Sep 2015 08:27:53 +0000 (10:27 +0200)]
Implementing AbstractUIComponent's new interface methods in SettingsUI
[Issue] https://bugs.tizen.org/jira/browse/TT-157
[Problem] Improper view navigation is used.
[Cause] N/A
[Solution] Implemented needed methods:
void init(Evas_Object *parent)
Evas_Object* getContent()
void showUI()
void hideUI()
[Verify] Launch browser > More Menu > Settings > Obs
Settings should be displayed correctly.
It needs implementation on SimpleUI side - when it's done,
show() function should be removed.
Change-Id: Ic28f501398cf55de4b4a5a9d5bae20bada55c525
Albert Malewski [Thu, 10 Sep 2015 13:14:29 +0000 (15:14 +0200)]
HistoryUI Refactor
[Issue] https://bugs.tizen.org/jira/browse/TT-157
[Problem] Improper view navigation is used.
[Cause] N/A
[Solution] Implemented needed methods:
void init(Evas_Object *parent)
Evas_Object* getContent()
void showUI()
void hideUI()
[Verify] Launch browser > More Menu > History > Obs
History should be displayed correctly.
It needs implementation on SimpleUI side - when it's done,
show() function should removed.
Change-Id: I83500ec9053f9ac9fc418f63f7b87f5a24a38c92
Maciej Skrzypkowski [Thu, 10 Sep 2015 12:34:17 +0000 (14:34 +0200)]
Added thubnail and history links clicking for detail popup.
[Issue] https://bugs.tizen.org/jira/browse/TT-144
[Problem] Detail popup missed thumbnail.
[Cause] N/A
[Solution] Added thumbnail in proper size.
[Verify] Launch browser > open few pages >
check thubnails Most Visited view in detail popup,
check if history links in popup are clickable.
Change-Id: I50d3e2862fc672a41de8cdc50f790f48f19ff21d
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
t.dakowicz [Wed, 9 Sep 2015 13:57:01 +0000 (15:57 +0200)]
TT-101 Fixed URL bar update and added doc icon
[Issue#] https://bugs.tizen.org/jira/browse/TT-101
[Problem] URL bar shows wrong URL after back/forward action
[Cause] Multiple URL changes and lack of direct connection to
proper SimpleURI method
[Solution] Added direct connection to SimpleURI::changeUri and
added doc icon for pages not loaded completely
(placeholder)
[Verify] Check if back/forward action causes correct URL update
Change-Id: Ibc5cad20397328789d3bfcc07e0852d41d1a87b7
t.dakowicz [Thu, 10 Sep 2015 13:55:02 +0000 (15:55 +0200)]
Fixed bookmark creation
[Issue#] N/A
[Problem] Bookmarks couldn't be created
[Cause] Variables used in 'bp_bookmark_adaptor_easy_create()' had some
not initialized values
[Solution] std::memset before passing its reference
[Verify] Check if bookmarks can be created
Change-Id: I861e70a6f6fa8e980423eb2721899421de9c485b
Maciej Skrzypkowski [Tue, 8 Sep 2015 14:04:20 +0000 (16:04 +0200)]
Fixed crash while loading page without title.
[Issue] https://bugs.tizen.org/jira/browse/TT-162
[Problem] Browser crashed while loading page.
[Cause] There was no check if page title is empty while comparing.
[Solution] Changed compering to URL, added check if it's empty.
[Verify] Launch browser > go to: http://jmajnert.github.io/tests/localStorage_test/localStoragePersistance.html
refresh page > close browser > open again > go to previous site.
Browser shouldn't crash.
Change-Id: Icc19ad7a327d97fe6ff79777b0fc819189cf660a
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Albert Malewski [Tue, 8 Sep 2015 07:44:29 +0000 (09:44 +0200)]
Fixed radio selection in settings
[Issue] https://bugs.tizen.org/jira/browse/TT-154
[Problem] Cannot select any item in radio list at Web contents Sharing section.
[Cause] Every radio was set to one group. Missing state valuesof radios.
[Solution] Added enums with state values and separate radio buttons within
3 lists.
[Verify] Launch browser > More Menu > Settings > Obs
You should be able to select any radio in settings.
Change-Id: I894d6527770c51066be60372cc3e69646c21ff82
Maciej Skrzypkowski [Tue, 8 Sep 2015 08:27:34 +0000 (10:27 +0200)]
Switching between mobile/desktop mode per tab.
[Issue#] https://bugs.tizen.org/jira/browse/TT-132
[Problem] View mode was set as global flag.
[Cause] N/A
[Solution] Added flag for each tab to remeber current mode.
[Verify] Open new tab (google.com), open settings, switch to mobile
mode, page should reload in mobile view.
Change-Id: I19a6f1965938930b45f46b076ce030f2fe9c10ed
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Maciej Skrzypkowski [Tue, 8 Sep 2015 08:39:46 +0000 (10:39 +0200)]
Refactoring - deleted unused history SQLite classes.
[Issue#] N/A
[Problem] These history classes were not used.
[Cause] N/A
[Solution] Removed dead code.
[Verify] Open few pages, check if they appeared in history.
Change-Id: Ia996b2259a7cc8c6e5506eb707a4f0a89c494aae
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Albert Malewski [Fri, 4 Sep 2015 11:23:47 +0000 (13:23 +0200)]
Added switching between 'Open Tabs' and 'On Other Devices'
[Issue] https://bugs.tizen.org/jira/browse/TT-149
[Problem] "Opened Tabs" is not toggle with "On Other Devices" in Tab Manager.
[Cause] Lack of implementation.
[Solution] Added boolean onOtherDevicesSwitch variable, which allows to switch
between 'Open Tabs' and 'On Other Devices' correctly. Changed type
of onotherdevices_click and openedtabs_click from RECT to SWALLOW.
Additionally, changed 'tab_gengird' to 'tab_gengrid'.
[Verify] Launch browser > Open new tab > Tabs > On Other Devices > Obs
Tabs should be hidden when 'On Other Devices' is clicked.
Change-Id: I18529df81e274dcbc658e8db7ef038b4080e907d
t.dakowicz [Thu, 3 Sep 2015 14:25:39 +0000 (16:25 +0200)]
TT-158 Fixed 'Clear History' bug
[Issue#] https://bugs.tizen.org/jira/browse/TT-158
[Problem] Browser's crash after clicking on 'clear history'
button
[Cause] 'm_historyUI' object was not freed after closing the HistoryUI,
which caused multiple sending of the clearHistory signal
[Solution] Provided proper object management and prevented multiple
creation of the 'm_historyUI'.
In addition, there is a problem with displaying NoHistoryLabel
from the HistoryUI - currently, it is not available from there
[Verify] Do some browsing -> MoreMenu -> History Manager -> Clear
Check if this action causes browser's crash
Change-Id: I8be4b31c67b901d241d0bafdd621b72d5ea4c5f4
Albert Malewski [Thu, 3 Sep 2015 06:16:11 +0000 (08:16 +0200)]
Fixed creating history list
[Issue#] https://bugs.tizen.org/jira/browse/TT-159
[Problem] "Close Tabs" function is not implemented in Tab Manager.
[Cause] N/A
[Solution] Added closeAllTabs, closeTabsClicked functions. Added boolean
'editMode' variable that conditions action in _thumbSelected function.
Added callback to make 'X' icon and '[OK] to close' visible.
[Verify] Launch browser > Add tabs > Tab manager > Close Tabs
Check if 'Close all' button works properly
Check if closing selected item works properly
Change-Id: I98453027ad3ccfa797ab94e1e2c3ffa67f65d28f
Dariusz Frankiewicz [Mon, 31 Aug 2015 07:13:00 +0000 (09:13 +0200)]
Refactor SettingsUI
[Issue#] https://bugs.tizen.org/jira/browse/TT-153
[Problem] Check boxes in settings menu can't be clicked.
[Cause] Invisible platform rectangle covers this screen area.
[Solution] Refactoring settings UI code by replacing unneded genlist,
with layout inside scrooler. Also added possibility to click
check box labels as a complementary fix for platform issue
with invisible rectangle.
[Verify] Open More menu -> Settings and check if check boxes: Cache,
Cookies and History can be changed by clicking their labels.
Change-Id: I49e2ea04054cb1efdecd3fed02d26914b1ecac48
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
Maciej Skrzypkowski [Thu, 3 Sep 2015 10:28:26 +0000 (12:28 +0200)]
User agent set depending on browsing mode (desktop/mobile).
[Issue#] https://bugs.tizen.org/jira/browse/TT-132
[Problem] Browising mode switching was not implemented.
[Cause] N/A
[Solution]Added changing user agent by using EWK API
method: ewk_view_user_agent_set.
[Verify] Open new page, go to google.com then
settings > view mobile web then close settings,
type in new URL google.com, it should appear
in mobile mode.
Change-Id: I8a6888d09b94f97eb51b9d2440f04bf8e2ba544c
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
t.dakowicz [Thu, 27 Aug 2015 16:32:57 +0000 (18:32 +0200)]
TT-106 Removed MoreMenu's tiles from BookmarkManager screen
[Issue#] https://bugs.tizen.org/jira/browse/TT-106
[Problem] Tiles from MoreMenu was visible and accessible
from BookmarkManager screen
[Caused] Items were not cleared/hidden
[Solution] This solution just clear those problematic items from
MoreMenu - it should be removed after the new correct
displaying design will be done
[Verify] MoreMenu->BookmarkManager or
MainUI->Bookmarks->BookmarkManager
Check if any invisible tile is accessible or visible
Change-Id: I371496d9befb64095721354f76fbb56d5fd18fc9
Maciej Skrzypkowski [Tue, 1 Sep 2015 07:28:14 +0000 (09:28 +0200)]
Fixed not displaying thumbnails on Most visited screen.
[Issue#] https://bugs.tizen.org/jira/browse/TT-73
[Problem] There was no thumbnails on main screen.
[Cause] Website thumbnail was not saved and not fetched.
[Solution] Added saving thumbnail on page finish loading and fetching it
for Most visited screen.
[Verify] Visit few different sites (wait until page is fully loaded) > open
the Most visited screen, check if there are thumbnails.
Change-Id: I8d8e648df0d1314fa772e5519ee07a06e795bc63
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Maciej Skrzypkowski [Fri, 28 Aug 2015 14:23:53 +0000 (16:23 +0200)]
Added detail popup to most visited view.
[Issue#] https://bugs.tizen.org/jira/browse/TT-144
[Problem] N/A
[Cause] N/A
[Solution] Create popup view.
[Verify] Open most visited view, click on tile, check if new popup
with history appears
Change-Id: Ia8ecffbba4d93e7d759780cf49f35a2c03c87fda
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Albert Malewski [Thu, 27 Aug 2015 12:12:36 +0000 (14:12 +0200)]
Fixed creating history list
[Issue#] https://bugs.tizen.org/jira/browse/TT-156
[Problem] There is at most 5 items visible in history and the list
is not updated.
[Cause] There was used getMostVisitedHistoryItems function to generate
history list.
[Solution] Added several functions in HistoryService to get history list:
getHistoryAll, getHistoryToday, getHistoryYesterday, getHistoryLastWeek,
getHistoryLastMonth, getHistoryOlder.
[Verify] Launch browser > More Menu > History > Obs
History should not crash after clicking on 'History' button.
Change-Id: I1dde7088555a4cdba01e92be78c3dda5276040c4
t.dakowicz [Thu, 27 Aug 2015 14:43:15 +0000 (16:43 +0200)]
TT-141 Added current web page info sync
[Issue#] https://bugs.tizen.org/jira/browse/TT-141
[Problem] Current web page info wasn't always updated and
favicon wasn't loaded
[Cause] Lack of proper signals
[Solution] Added signals, removed genlist and used single layout instead,
resized space for site info, removed pointless image reload
from WebView::getFavicon
[Verify] Open a new page -> type web url -> MoreMenu
Check if the info is properly loaded
Change-Id: Ibe3f7cd97279470761eaa9f58c9e40b06c655eeb
Albert Malewski [Thu, 27 Aug 2015 07:45:37 +0000 (09:45 +0200)]
Fixed crash that occurs after clicking on 'History' button
[Issue#] https://bugs.tizen.org/jira/browse/TT-98
[Problem] Browser crashes after clicking on 'History' button.
[Cause] There was used normal pointer that pointed to the destroyed object.
[Sollution] 1. Changed type of HistoryService::getHistoryItems() and
HistoryService::getMostVisitedHistoryItems() functions that the return
std::shared_ptr<std::vector<std::shared_ptr<HistoryItem> > >.
2. Added HistoryService::getHistoryItem function which returns HistoryItem by id.
3. Added HistoryService::getCurrentTab functions that returns currently
observed web page's info.
4. Changed type of h_item pointer in MoreMenuUI.cpp from normal pointer to
shared_ptr.
5. Added listItemDel function to avoid memory leaks when genlist is cleared.
[Verify] Launch browser > More Menu > History > Obs
History should not crash after clicking on 'History' button.
Change-Id: I9140c1dedc061b2d014792aa14da92053e7aa27f
Marcin Lapinski [Fri, 21 Aug 2015 13:33:02 +0000 (15:33 +0200)]
Refactoring MainUI
[Issue#] https://bugs.tizen.org/jira/browse/TT-72
[Problem] MainUI needs refactoring.
[Cause] N/A
[Sollution] Following actions were taken:
-Split humongous show functions into several smaller.
-Removed unused functions.
-Logically split most visited and bookmark view.
-Replace redundant class members with local variables.
-Renamed functions and variables to make names more adequate.
[Verify] 1. Browser builds
2. Refactor does not change behaviour of browser.
Change-Id: I44a5c958ad4e7b0c694434a4cfdb45702c871ec7
Marcin Lapinski [Tue, 25 Aug 2015 15:48:36 +0000 (17:48 +0200)]
Refactoring TabUI
[Issue#] https://bugs.tizen.org/jira/browse/TT-72
[Problem] TabUI needs refactoring.
[Cause] N/A
[Sollution] Following actions were taken:
-Split humongous show functions into several smaller.
-Removed unused functions.
-Replaced redundant class members with local variables.
-Renamed functions, variables and edc names to make names
more adequate.
[Verify] 1. Browser builds
2. Refactor does not change behaviour of browser.
Change-Id: I12a850bfb239b2d8477536517dfb93bb1db76df4
cookie [Wed, 26 Aug 2015 06:42:49 +0000 (15:42 +0900)]
Change the log level INFO to DEBUG
[Issue#] The browser log don't display by journalctl -fl
[Problem] The browser log don't display for debugging
[Cause] The log level is INFO
[Sollution] Change to log level to LoggerLevel::DEBUG
Change-Id: Iefd33af8344996d0de812e290476f948a387fa1b
Signed-off-by: cookie <cookie@samsung.com>