summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Workaround to compile with latest QtWebKitHEADmasterCaio Marcelo de Oliveira Filho2013-01-291-0/+3
| | | | | | | | | Linking only to webkit isn't enough to get symbols we use from QQuickWebViewExperimental. Change-Id: Iab5bae650b0f89f7c4f1f6cb518c147f4511ddbc Reviewed-by: Michael Bruning <michael.bruning@digia.com> Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
* Fix coding style errorsCaio Marcelo de Oliveira Filho2013-01-282-4/+6
| | | | | | Change-Id: Ibe445de36e157b24eb2bdbb0dab2be1c063b3531 Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org> Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Merge pull request #16 from Adenilson/masterrafaelbrandao2013-01-251-1/+0
|\ | | | | Fix mobile mode with current webkit trunk
| * Last December the property for setting pixel ratio was removed fromAdenilson Cavalcanti2013-01-251-1/+0
|/ | | | | | | | webkit trunk thanks to qtbase receiving support for devicePixelRatio. Further details on webkit issue #104574. Signed-off-by: Adenilson Cavalcanti <cavalcantii@gmail.com>
* Build with Qt 5.0.0Anselmo L. S. Melo2013-01-033-3/+3
| | | | | | Replace setWindowFlags with setFlags. Reviewed-by: TrustMe
* QAbstractItemModel::setRoleNames is deprecated in Qt5Jan Kundrát2012-10-231-0/+2
|
* User iPhone user agent to get mobile contentSimon Hausmann2012-08-201-0/+1
| | | | Reviewed-by: Jesus
* Add a initial version requirement for webkit.Lauro Neto2012-08-131-1/+1
| | | | | | Will be updated on later commits. Reviewed-by: TrustMe
* Bump version and raise dependencies.Lauro Neto2012-08-082-1/+7
| | | | Reviewed-by: TrustMe.
* Fix typo in last commit... ¬¬Lauro Neto2012-07-301-1/+1
| | | | Reviewed-by: TrustMe
* Export PATH and SBOX_REDIRECT_IGNORE for packagingLauro Neto2012-07-301-0/+3
| | | | Reviewed-by: TrustMe
* Some renames to keep up with recent API changes on Qt5.Marcelo Lira2012-07-262-6/+6
| | | | | | | | | | QQuickCanvas became QQuickWindow, and its method setClearColor became setColor. See http://lists.qt-project.org/pipermail/development/2012-July/005009.html and qtdeclarative/feb996e3. Reviewed-by: Rafael Brandão
* Build fix after Qt5 source incompatible changes.Alexis Menard2012-07-262-2/+2
| | | | Reviewed-by: TrustMe
* Use enabled property to disallow touch events on hidden itemsRafael Brandao2012-07-191-1/+6
| | | | | | | | | In a recent Qt5 change, the behavior of opacity has been changed and no longer affects click or touch events. In a first step, we will bind enabled property to opacity. In the future we may want to take advantage of invisible items and use "visible: false" instead. Reviewed-by: Alexis Menard
* Implement JS alert, prompt, confirm.Alexis Menard2012-07-183-0/+123
| | | | Reviewed-by: Rafael Brandao
* Implement color dialog chooser when you select an <input type="color">.Alexis Menard2012-07-183-0/+37
| | | | Reviewed-by: Rafael Brandao
* Bump version and raise webkit dependency.Lauro Neto2012-07-182-3/+3
| | | | Reviewed-by: TrustMe
* Improve deploy script to support usernameRafael Brandao2012-07-181-3/+9
| | | | | | | I've also added a protection in case you run the script from the snowshoe/tools folder. Reviewed-by: Lauro Moura
* Warning fix.Alexis Menard2012-07-181-1/+1
| | | | Reviewed-by: TrustMe
* Fix progress bar not rendering correctly.Alexis Menard2012-07-181-1/+0
| | | | | | The code removed was not necessary in the first place. Reviewed-by: TrustMe
* Fix UrlBar to use Qt.inputMethod.Lauro Neto2012-07-171-1/+1
| | | | | | | | | | Instead calling the old global function API, use the new Qt.inputMethod object. Fixes the non-closing keyboard problem with newer Qt revisions. Reviewed-by: Marcelo Lira
* Fix build with recent Qt5.Alexis Menard2012-07-172-1/+4
| | | | Reviewed-by:TrustMe
* Fix QML warning about state definition.Luciano Wolf2012-06-252-12/+19
| | | | | | | The following warning was fixed: <Unknown File>: QML StateGroup: Can't apply a state change as part of a state definition. Reviewed-by: Lauro Moura
* Implementing UI behaviour: start up screen.Luciano Wolf2012-06-252-5/+22
| | | | | | | Tabs grid should be the default option unless we have some topsite already added into database. Reviewed-by: Rafael Brandao
* Fix coding style in DialogRunnerCaio Marcelo de Oliveira Filho2012-06-211-3/+2
| | | | | | | | | | Reviewers: darktears Reviewed By: darktears Maniphest Tasks: T1 Differential Revision: http://review.qtlabs.org.br/D7
* Fix UI layoutLuciano Wolf2012-06-2110-12/+11
| | | | | | | The current snowshoe version has invalid heights for some components leading to incorrect positioning. Reviewed-by: Lauro Moura
* Fix coding style.Alexis Menard2012-06-211-1/+1
| | | | | | | | | | | | Summary: Add missing ; in a JS statement. Test Plan: None, coding style fix Reviewers: cmarcelo Reviewed By: cmarcelo Differential Revision: http://review.qtlabs.org.br/D6
* Fix saving the opened urls when closing snowshoeCaio Marcelo de Oliveira Filho2012-06-214-2/+12
| | | | | | | | | | | | | | | | | | | | | | | Summary: There are three ways we can close Snowshoe 1) Closing the window from the Window Manager. 2) Using Ctrl-Shift-Q shortcut. 3) Using Ctrl-W to close last tab. The cases (2) and (3) were quitting and leaking the BrowserWindow, so ApplicationStateTracker destructor would not get called, and the tabs opened were not persisted. Fixed this by closing the window instead of quitting directly, so other cases work like case (1). However QWindow::close() is not enough. I've created a bug for it, but meanwhile we workaround by having our own close method. Reviewers: darktears Reviewed By: darktears Differential Revision: http://review.qtlabs.org.br/D5
* Implement the latest guidelines for Overlay bar.Luciano Wolf2012-06-211-8/+17
| | | | | | | Now every time you click an item on TabsGrid the Overlay bar will show up. The timer event also gets priority over "loading finished". Reviewed-by: Lauro Moura
* Implement filedialog upload support for Snowshoe desktop.Alexis Menard2012-06-215-0/+105
| | | | | | | For now it uses QWidget but when Qt Components will provide an alternative we can change it. Reviewed-by: Caio Oliveira
* Enable WebGL in the preferences for snowshoe desktop.Alexis Menard2012-06-201-0/+1
| | | | Not sure if it works but at least we can debug it.
* Implement drop down menu for comboboxes in Snowshoe desktop.Alexis Menard2012-06-1910-12/+245
| | | | | | | It has scrollbars and support sections. Note that the ItemSelector is deleted by WebKit whenever the popup is hidden. Reviewed-by: Caio Oliveira
* Make Snowshoe popup translucents.Alexis Menard2012-06-182-0/+10
| | | | | | | | You need to set a specific surface format to get translucent background on a QWindow. Unfortunately due to a bug even the main window should also be setup as transparent for the popup to work correctly. Reviewed-by: Rafael Brandao
* We don't need to disable threaded rendering for QML, it works fine now.Alexis Menard2012-06-181-3/+0
| | | | Reviewed-by: Rafael Brandao
* Force relink if the libsnowshoe.a changed.Alexis Menard2012-06-181-0/+2
| | | | Reviewed-by: Rafael Brandao
* The designers changed their minds about the start up behavior, so reverting ↵Hugo Parente Lima2012-06-185-1/+11
| | | | | | | | this commit to implement yet another different behavior. Revert "Enable all panels (tabs and favorites) no matter if there's no webpages opened or favorites registered." This reverts commit b38be32a84ed0d3f4a8d1197cefac77e0d16046f.
* The designers changed their minds about the start up behavior, so reverting ↵Hugo Parente Lima2012-06-181-5/+1
| | | | | | | | this commit to implement yet another different behavior. Revert "Open "new url" dialog when the browser is started and there's no items on the bookmark." This reverts commit 4f365a2007ab52b244a951a5570fde7a3d265cfa.
* OverlayBar pin should be toggled before emitting the pinToggled signal.Marcelo Lira2012-06-151-1/+1
| | | | Reviewed-by: Rafael Brandão
* BookmarkModel::insert uses a more low level approach to data insertion.Marcelo Lira2012-06-151-7/+12
| | | | | | | | | | It now uses a SQL query instead of a QSqlRecord. The reason for using the former is that insertion through QSqlRecord increases the row count, and emits a signal advertising it, before the row is commited to the database. This inconsistent state is causing trouble with the pin/unpin button in the mobile UI. Reviewed-by: Rafael Brandão
* A number of layout adjustments, just moving some pixels around.Marcelo Lira2012-06-154-6/+6
| | | | Reviewed-by: Anderson Schimuneck
* Enumerate tabs correctlyRafael Brandao2012-06-152-3/+7
| | | | | | | | | As we use Repeater for each page, we get an index in the range from zero to the number of items per page minus one for each component. By adding the offset to the immediate parent, it becomes accessible inside the delegate and then we can add the current page offset expected. Reviewed-by: Caio Oliveira
* Open "new url" dialog when the browser is started and there's no items on ↵Hugo Parente Lima2012-06-151-1/+5
| | | | | | the bookmark. Reviewed-by: Marcelo Lira
* BookmarkModel::insert method should not advertise it is inserting.Marcelo Lira2012-06-151-3/+0
| | | | | | | | | | This method calls QSqlTableModel::insertRecord which goes on to call beginInsertRows. In practice this fix prevents BookmarkModel from emitting two countChanged() signals when inserting bookmarks. Reviewed-by: Hugo Parente Lima
* Moved similar code to a new component PageThumbUrl.Marcelo Lira2012-06-155-40/+60
| | | | | | | | | | | | The delegates of TabsPanel and TopSitesPanel share a lot of things in common, most of those things are those pesky little details like margin, font, color, and even an identical regular expression. Stuff like that should be in the same place. In addition, the margin and font problems of the thumbnail url texts reported in the design review, were fixed. Reviewed-by: Hugo Parente Lima
* Fixed font style in the navigation bar's url text entry.Marcelo Lira2012-06-151-0/+1
| | | | Reviewed-by: Hugo Parente Lima
* Enable all panels (tabs and favorites) no matter if there's no webpages ↵Hugo Parente Lima2012-06-135-11/+1
| | | | | | opened or favorites registered. Reviewed-by: Caio Oliveira
* Activate QStyle theme for the desktop version.Alexis Menard2012-06-131-0/+1
| | | | | | | | | | | | There is no way to make custom scrollbars on the UIProcess side because the way the flickable is handled in desktop mode. View = Content so we can't get infos in QML about scrolling as there is no scrolling possible. The mobile RenderTheme doesn't have an implementation for the scrollbar (as it assumes you can do it in the UIProcess) so we can fallback to the QStyle RenderTheme. I think it is fine for snowshoe desktop to use it, it is anyway way better than the mobile one (IMHO). Reviewed-by: Caio Oliveira
* Add Inspector support inside Snowshoe.Alexis Menard2012-06-133-1/+96
| | | | Reviewed-by: Caio Oliveira
* Workaround to Qml bug on n9 causing snowshoe to start on tabs panel.Hugo Parente Lima2012-06-121-1/+6
| | | | | | | | The bug is caused by Qml setting panelToggle.topsites.visible to false then to true at start up causing a cascade misbehaviour, the workaround is to set the state of the root element on Component.onCompleted. Reviewed-by: Marcelo Lira
* Replace resetToTabs function by a property alias.Hugo Parente Lima2012-06-122-6/+4
| | | | Reviewed-by: Marcelo Lira