1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 18:42:11 +01:00
Commit Graph

255 Commits

Author SHA1 Message Date
nowrep
56e30f081e Added possibility to close speed dial editing with Esc. Closes #167
- also added global possibility to allow listening ESC key events
  to page (for example key shortcuts from JavaScript)
2012-01-14 09:54:51 +01:00
nowrep
1436a1f21a Don't show error page when there are some data received. See #155
- should fix this issue
2012-01-13 21:04:40 +01:00
nowrep
999f0ef702 Using global QSettings object, should save some writes to disk.
- instead of creating new QSettings objects whenever we want to
  save some data, we are using global QSettings object that is
  keeping its data in memory and writing to disk only when
  really needed
2012-01-11 21:58:25 +01:00
nowrep
b4a18d5729 Updated translations 2012-01-10 21:15:03 +01:00
nowrep
ee8a16b3e1 [Fix] Fixed occasional fails to restore session.
- also removed unneeded (now) checks to process slot
  while app/window is closing
  * as now no signals will be invoked on deleted objects
2012-01-10 19:10:16 +01:00
nowrep
8a88bdcc2d [Fix] Fixed occasional crash when closing tabs/windows. Closes #143
- disconnecting all signals/slots from widgets before deleting
  them to prevent invoking slots on deleted objects.
2012-01-10 18:31:38 +01:00
Mladen Pejaković
a60389b0a5 Added Wiktionary back and renamed Translate menu item 2012-01-09 22:53:08 +01:00
nowrep
456a8d3e77 Fixed go to web page + using google translate as dictionary provider. 2012-01-09 16:45:36 +01:00
Mladen Pejaković
28e2572215 Rearranged tight click context menu; added new menu entries 2012-01-09 12:39:34 +01:00
Mladen Pejaković
5c11906c72 Fix Send image menu entry 2012-01-08 15:21:49 +01:00
nowrep
295e86988f Little change in speed dial: drag start after moving 40 pixels.
- it prevent unwanted drags when clicking on pages
- also fixed little issue when focusing locationbar after hiding
  search toolbar
- added portuguese translation for hompage
2012-01-08 14:24:10 +01:00
nowrep
2d6585c786 [Fix] Fixed wrong tab focus order. Closes #135
- it is now LocationBar -> WebSearchBar -> WebView -> ...
2012-01-08 12:38:02 +01:00
nowrep
7f43333fbf Fixed google suggestions in websearch bar.
- you may need to click "Defaults" to add Google with correct
  suggestions url template
- also improved behaviour when opening NewBackgroundTab if it is
  opened from pinned tab. It will be opened after last pinned tab,
  to prevent opening normal tabs between pinned ones.
2012-01-07 12:09:39 +01:00
nowrep
3a2ceeab31 Automatic updates for ca-bundle.crt CA certificates bundle.
- checking updates every 5 days from homepage qupzilla.com
2012-01-07 10:29:38 +01:00
nowrep
2b82d486d0 Added translation files for translating homepage.
- you can find them under /translations/homepage
2012-01-07 10:26:52 +01:00
nowrep
e05cb9b835 Edited themes, should look better on Mac now. Also improved Click2Flash
- also resizing PrintDialog to reasonable size (it is too small by
  default)
- removed obsolete translation entries from .ts files
2012-01-06 17:31:44 +01:00
nowrep
9e7e0285bb Added support for printing page through javascript window.print() 2012-01-04 19:02:33 +01:00
nowrep
ab5555d913 [Fix] Fixed "Hide tabs when there is only one tab" option. Closes #121
- also edited spanish translation in desktop launcher
2012-01-04 16:00:59 +01:00
nowrep
a09d6ce6e4 Using own CA certificates database from now. Closes #111
- fixing various problems with accessing / downloading content
  from secured sites
- using CA certificates from debian's ca-certificates package
- added copyright notice for Mozilla's certificates
2012-01-03 21:02:35 +01:00
nowrep
8d3c56afe2 Code style + fixed cppcheck warnings.
- using static_cast rather than C-style casting
2012-01-02 17:23:31 +01:00
nowrep
66ee47d3cf Context menu in webview now include also options for current frame.
"This frame" menu is shown when frame at clicked point is different from
main frame and it contains following options:
- show only this frame, show this frame in new tab
- reload frame, print frame
- zoom in, zoom out, reset zoom
- show source code of frame
2012-01-02 13:56:52 +01:00
nowrep
f3970f164b Updated copyright for new year. Closes #100 2012-01-01 15:29:55 +01:00
nowrep
d23704bc82 Hide new tab button while moving tabs. Closes #103
- also updated spanish translation
2011-12-29 21:50:03 +01:00
nowrep
93e7c073d4 [Fix:] Going to history items from history back/forward menu in new tab
- fixed regression from 061e1e21543b3cfd323fa901992328e14a9f36d2
2011-12-29 15:45:29 +01:00
nowrep
5af4df90b7 [Fix] crash in Click2Flash plugin when element is not found.
- also little improvement in WebView mousepress events
2011-12-28 23:25:40 +01:00
nowrep
6259577d8b [Fix] searching bookmarks in bookmarks sidebar.
- now it properly search also unsorted bookmarks
- improved performance when searching in all treeviews
- updated italian translation
2011-12-28 16:31:18 +01:00
nowrep
9564b0a5a9 Cleaned #ifdefs, Preferences in menu on all platforms. Closes #96 2011-12-28 13:16:04 +01:00
nowrep
7963ee3d49 Clicking on buttons in locationbar now won't focus locationbar. 2011-12-27 18:50:52 +01:00
nowrep
168816ac65 Use light color for text in popup widgets even with Ambiance theme
- popups when clicking on site icon, rss icon, bookmark (star) icon
2011-12-27 17:49:51 +01:00
nowrep
bd06ca8362 Quick fix for previous commit. 2011-12-26 22:59:05 +01:00
nowrep
b37a02e078 Checking QtWebKit version rather than global Qt version. See #96
- choose (not) to compile with using QWebView::selectedHtml function
2011-12-26 22:54:03 +01:00
nowrep
f7952267d7 Added Unity QuickList actions + new command line option.
- new command line option: turn on private browsing
 - QuickList actions:
     * open new tab
     * open new window
     * start private browsing
2011-12-26 20:23:54 +01:00
nowrep
d9b5c86dbe WebView now recieves only own Events.
- also using static variables for qupzilla: scheme pages
   no need to generate it every time it is about to load
2011-12-24 12:21:23 +01:00
nowrep
5aed695954 When opening links in new tab, moving it next to current tab. Closes #88 2011-12-23 19:49:29 +01:00
dunsmoreb
07a145ce35 Open url in new tab now opens in consecutive, background tab. 2011-12-23 10:32:55 -06:00
nowrep
7b7d030540 Option to load title from page in Speed Dial. Closes #77
- also showing "Unable to load" title when page fails
  to load
2011-12-23 13:47:38 +01:00
nowrep
9b84036b88 Merge branch 'master' of github.com:nowrep/QupZilla 2011-12-23 10:24:54 +01:00
nowrep
1f3a16b298 Using QtWebKit version detection at run-time. Closes #81
- detecting wheter to delete or not QWebInspector on close
- QWebInspector can be deleted with 533.3 WebKit
  but causing crash when using higher
2011-12-23 10:24:03 +01:00
dunsmoreb
2247438c47 QupZilla now quits when last tab is closed. 2011-12-22 22:05:20 -06:00
nowrep
82870d5531 Added Shift+F3 shortcut to find previous on page. See #74
- "Shift+F3" and "F3" shortcuts are also available when
   searching in source code
2011-12-22 23:45:55 +01:00
nowrep
b44c9e4795 [Fix] Searching on page with highlight enabled. Closes #74 2011-12-22 23:33:35 +01:00
nowrep
3e62bee69d Added F3 shortcut to find next on page + source code. See #74 2011-12-22 21:09:04 +01:00
nowrep
1898643224 Opens all bookmarks in folder after middle click in menu. Closes #68
- also setting title of new tab when loading bookmarks/history when
   possible (when we know title of history entry / bookmark, let
   show on tab its title, rather than showing just "New page")
2011-12-20 18:58:42 +01:00
nowrep
d1c80b826c [Fix] Fixed crash in QWebInspector when using QtWebKit 2.2
- somehow it is no longer safe to delete QWebInspector ...
2011-12-18 16:57:14 +01:00
nowrep
976e5b5696 [Fix] editing new bookmark + moving some classes to own thread
- history model and database writer are now in own thread
- this will keep main thread (GUI) responsive when writing to
  database
- it also greatly increases performance when deleting multiple
  items in history
2011-12-17 14:30:54 +01:00
nowrep
df01a3efef [Fix:] Setting Speed Dial as default url for new tab. 2011-12-16 22:08:10 +01:00
nowrep
efd79d246e Opening bookmarks/history in background on middle click. Closes #60
- also edited behaviour when page does not have title
   * it will be now used all url, not path -> host
2011-12-16 20:17:17 +01:00
nowrep
2cfd9808ec Possiblity to move up/down in search engines manager and other...
- F6 shortcut for focusing locationbar
- no more empty title in history back/next menus
- showing only active norification preview in preferences
2011-12-16 19:07:36 +01:00
nowrep
d27293355e Added empty.ts translation file for new translations. 2011-12-16 12:03:47 +01:00
nowrep
9be140ffa6 FileSystemWatcher: Reloading local files when they changes
- implement with QFileSystemWatcher
- only one tab with the same file will be watched
2011-12-15 19:08:33 +01:00
nowrep
de3535b8db Edited copyright + escaping html entities in copyright at qupzilla:about
- adding my email <nowrep@gmail.com> to copyright
2011-12-15 18:34:48 +01:00
nowrep
4439a1d57f [Fix:] Crash when opening js dialog from locationbar and closing tab
- how to reproduce:
  1. write javascript:alert("test"); to locationbar and hit enter
  2. alert will show up
  3. close tab
  4. app will most likely crash
2011-12-15 17:43:06 +01:00
nowrep
c78d9f4978 [Fix:] Fixed tab animation when moving mouse ot of tabbar
- calling QTabBar::mouseReleaseEvent
2011-12-15 17:03:50 +01:00
nowrep
826126fd2d Added multiple sizes for desktop icon + little fixes.
- fixed session restore problem, where tab url wasn't
  properly restored (and instead loads empty search on
  active search engine)
- fixed loading icons in next/back history menu
2011-12-14 15:16:09 +01:00
nowrep
1fc35ffa35 Spanish translation for linux desktop launcher
- also added copyright to menu.h + menu.cpp
2011-12-13 21:15:07 +01:00
nowrep
0fdb151d2a Middle click now works in bookmarks + history menu. See #58
- also changed some strings in czech + slovak translation
2011-12-13 19:18:05 +01:00
nowrep
942bbb005d [Fix:] Fixed crash when closing tab with active javascript dialog
- when one of javascript dialogs (alert, confirm, prompt) were active
  and tab was closed, QEventLoop wasn't terminated, thus leading to
  crash on application exit
- running QEventLoop is now exited in WebPage destructor
2011-12-13 15:38:09 +01:00
nowrep
668c038147 Improved context menus in bookmarks manager
- added import bookmarks link to bookmarks manager
- edited coding style
- updated translations
2011-12-12 21:14:43 +01:00
nowrep
42b5ad7947 Fully implemented #58 + little improvement in locationbar
- it will now show empty url when going in history back or
  forward to speed dial
2011-12-12 18:30:08 +01:00
nowrep
4af108642c Fixed setting user defined fonts + option to set useragent 2011-12-11 19:37:16 +01:00
nowrep
7d3fa5d4c4 Restoring closed tabs now remember its position in tabbar.
- used only when restoring single tab, not when restoring all
2011-12-11 17:03:18 +01:00
nowrep
65f4bf1a1b Improved showing url in locationbar on opening tab
- when opening new tab (restoring session, restoring
  closed tab, ...), url of tab will be shown in locationbar
  immediately - not after first progress tick fires
2011-12-11 11:07:26 +01:00
nowrep
f03b05fecb Speed Dial: fixed showing of loading animation in first tab
- also using faster QWeakPointer everywhere instead of slower
  and deprecated QPointer
2011-12-09 21:56:01 +01:00
nowrep
5336c1f41d [Fix:] Fixed showing close button on pinned tab on session restore.
- removed hide close button when there is only one tab option
2011-12-09 16:44:00 +01:00
nowrep
6ec593f436 Added option to import bookmarks form html. Closes #29
- also updated translations scripts
- updated translations
2011-12-08 21:52:03 +01:00
nowrep
42079d50b5 Some minor changes in restoring tabs + pinned tabs
- it may fix showing close button on pinned tab
  when restoring on qt 4.8 (probably, I cannot reproduce
  this even on qt 4.8 so I cannot exactly tell)
2011-12-07 21:48:50 +01:00
nowrep
a7736d4130 Finally fixed site icon for qupzilla: scheme pages
- for some reason, Qt 4.8 does not load site icon
  from qrc: scheme (and also data: scheme) correctly
2011-12-07 21:32:47 +01:00
nowrep
c296dfd965 Fixed showing preview of local files in site info dialog.
- using QUrl::toLocalFileName rather than
  QUrl::toString(QUrl::RemoveScheme)
- should work now on KDE without problems
2011-12-07 18:57:42 +01:00
nowrep
6c5aefefb8 [Fix:] Crash in Web Inspector + User Style Sheet loading
- also reverted .ico favicon change, using .png favicon
  again (it SHOULD display correctly in ubuntu now)
2011-12-07 13:54:06 +01:00
nowrep
47887329da Updated Dutch + Spanish translation. Little improvements in downloads.
- save file is now selected option in download dialog, also your
  choice is saved (through one browser run), so if you choose to open
  file, then each next downloaded files will have automatically selected
  open file selection (instead of default save file)

- hopefully fixed one crash in webview, showing QMenu with popup()
  instead of exec(), popup() is asynchronous call.

- scrolling to top in source viewer on open
2011-12-06 19:18:06 +01:00
nowrep
d5c9b40601 [Fix:] Opening link (target=blank) in new selected tab (regression) 2011-12-05 16:12:48 +01:00
nowrep
4c84d74d5d Option to open Speed Dial after launch. Closes #48
- also updated translations
2011-12-04 20:35:49 +01:00
nowrep
79ab84b33d Global cleanup of objects deletion. Using deleteLater when useful.
- also fixed image refreshion in speed dial
  (when you refresh page thumbnail, new image was created but the image
   in page won't change until reload. it is because page caching.
   fixed by appending date to image url: file://foo.png?Date)
2011-12-04 20:09:44 +01:00
nowrep
53ea31fa37 [Fix:] Fix crash in PageThumbnailer. Closes #49
- using QObject::deleteLater rather than normal delete
2011-12-04 19:15:44 +01:00
nowrep
8eb164fb26 [Fix:] Fixed loading urls with special characters from history
- also made possible to load files from qrc: scheme
- improved source viewer:
   * fixed incomplete source code loaded when opening window
     (it loads the whole source only after reloading)
   * improved performance, source is now highlighted much faster
- using .ico favicon in all qupzilla: pages (no longer png)
  it should fix problems when favicon wasn't loaded on some systems
- fixed alignment of site icon in navigation bar when compiling
  with Qt 4.8
- fixed deleting of local certifications in ssl manager
2011-12-04 16:54:57 +01:00
nowrep
7205c73eca Global file url cleanup + load support for qrc: scheme
- rather then prepending file:// or file:/// on windows,
  use Qt functions QUrl::fromLocalFile and QUrl::toLocalFile
- WebView support for loading files from qrc: scheme
2011-12-03 15:51:08 +01:00
nowrep
b422e22afd Image previeweing in Site Informations now supports file and qrc scheme
- also updated slovakia translation
- fixed image showing on adblocked page(regression from previous commit)
- SpeedDial: when adding new page and then editing, http:// will be
  shown instead of empty url
2011-12-03 14:43:13 +01:00
nowrep
b1083226b8 Added Speed Dial. Closes #36
- first version of speed dial
- showing pages in maximum 4 columns (unlimited rows)
- option in preferences to open speed dial on new tab
- almost all implemented in js and jQuery, hope it won't be slow.
  It loads in about 240ms on my machine and in 2s on my Toshiba
  netbook (very very old Intel Atom)
- currently, there is no possibility to change backgroung and
  keyboard shortcuts (need to figure out problems with laptop
  keyboards (no numerical block => Ctrl + 1 fires Ctrl + + and so on)
2011-12-02 23:25:27 +01:00
nowrep
6af16c7054 Fixing crash after closing any tab (regression from previous commit)
- bad parenting of NetworkManagerProxy
 - also updated translations
2011-11-29 23:12:07 +01:00
nowrep
98aaff4cc5 Added class PageThumbnailer + filterBadChars from filename function
- PageThumbnailer will be used in SpeedDial
 - filtering bad chars from filename make saving of certification
   exceptions save
2011-11-28 19:17:48 +01:00
nowrep
c9dac73758 Added option to select text on some QLabels (select & copy text)
- for example in javascript dialogs, certificate informations
   site informations, ...
2011-11-27 15:43:54 +01:00
nowrep
0e82994e7f Improved javascript alert, confirm, prompt dialogs.
- instead of injecting semi transparent block into page, we
   just set background of the whole widget frame to semi
   transparent image

 - fixes issue, when sometimes background filled only half
   of the page
   this issue occurs sometimes when more than one frames
   were in page
2011-11-24 22:18:45 +01:00
nowrep
365770495e Using icons from desktop theme in preferences + site info
- Faenza icons are no longer explicitly shown in prefereneces and site
info
 - they are now used only if icon is not found in active theme, and also
for Windows users
 - please test it and let me know if icons are correct for each category
 - also fixes previous commit
2011-11-19 18:21:22 +01:00
nowrep
6021330765 Polish translation, uncompleted for now
Added Polish translation, thanks to Krzysztof Malinowski
<boromil@gmail.com>
Also improved showing of click2flash object
2011-11-12 09:45:32 +01:00
nowrep
7808408cc8 Final updates for 1.0.0 stable release.
Containing small fixes:
 - updated windows installer
 - small modification to linux default theme (new tab button)
2011-11-09 16:58:25 +01:00
nowrep
895942842d Fixed crash when downloading from SSL secured site
If your download is opening in new empty tab, teh download manager will
close it. If the new tab was secured, network manager was trying to set
SSL configuration to already deleted page, thus leading to crash.
2011-11-08 15:20:53 +01:00
nowrep
f8feb86351 Fixed fetching of AdBlock EasyList
- also fixed showing 1*1px widget when clicking on site info icon on
empty or qupzilla: page
 - added global Ctrl (+ Shift) + Tab for navigating through tabs
2011-11-07 19:56:53 +01:00
nowrep
2cb067878d Coding style, fixed cppcheck warnings + improved html highlighter
- html highlighter is now highlighting with reg exps, no more with hard
coded tags/tag options
 - all cppecheck warnings fixed + added script (cppcheck.sh)
 - introduced coding style + added astyle script (coding_style.sh)
 - fixed one mistake in czech translate + updated windows installer
2011-11-06 17:01:23 +01:00
nowrep
959fc9b450 Shortcuts improvements + improved performance of cookie manager
- it is now possible to close page search with Esc, it is no longer
needed to click on close button.
 - shortcuts for reload, stop, next, back are available everytime.
 - performance of cookie manager is not ideal yet, but it is much better
than it was before.
 - fixed showing search engine name in locationbar placeholder text.
 - updated ca-certs bundle by latest Debian update
 - moved keypressevent handler from WebView to QupZila to make this
actions global
 - added keypress actions for special keys on keyboard
2011-11-06 12:05:16 +01:00
nowrep
178baa7dc2 Improved mouse press events on page. Closes #33
The original function eventFilter was taken from QTestBrowser and used
the MousePressEvents part.
You can find original function at http://gitorious.org/+qtwebkit-
2011-11-05 21:27:01 +01:00
nowrep
b8fbcdbeb5 Another little fixes (including showing unsorted bookmarks)
Unsorted bookmarks are now properly showed at the bottom of tree in
bookmarks manager.
Removed unneeded code in siteinfowidget.cpp and tabwidget.cpp
2011-11-05 18:36:53 +01:00
nowrep
4a556a4adc Improved cookies filtering + fixed crash
Improved cookies filtering for domain mismatch and for tracking cookies,
it is now fully (i hope) working and ready to use in everyday browsing.
Please test it by yourself and report any issues.
Also fixed crash when closing cookies manager window with "Close" in
title bar or with Alt+F4
2011-11-05 15:04:29 +01:00
nowrep
b62ed5edb3 Supporting data: scheme
You can now enter image with data: scheme to locationbar to show it and
data: images will now be showed in Site Info dialog
2011-11-05 11:51:46 +01:00
nowrep
2eb0f542a9 Various small fixes
Finally fixed "floating statusbar", it has now proper ToolTip behaviour.
DownloadManager now won't ask you whether you want delete file if some
error in downloading occurs.
In all themes fixed TextBrowser's rounded borders in KDE
2011-11-04 22:34:45 +01:00
nowrep
a09778896c Serializing strings from ssl certificates
This is only start, all strings from web pages are going to be
serialized until 1.0.0 stable

See http://labs.qt.nokia.com/2011/10/04/security-considerations-
2011-11-03 20:12:35 +01:00
nowrep
b28e037ad1 Updated Dutch translation
Thanks to Heimen Stoffels.
2011-11-01 21:16:14 +01:00
nowrep
490f88ffc2 Fixed crash + updated html highlighter
Fixed crash when closing main window while there are still tabs loading
and there are more than one QupZilla window
2011-10-31 21:27:52 +01:00
nowrep
0a92482d3a Improved loading performance
RSS feeds on page will now be checked only once, not every loading tick.
It should have quite big noticeable performance improvement when loading
more than one page at the same time.
2011-10-30 17:20:22 +01:00
nowrep
4e8cb1bdf5 Possibility to close download manager window on finished download
Alos little performance improvent when click2flash is enabled.
Pages will now be adjusted only once per load to correctly show
click2flash, not with every object loaded.
2011-10-30 16:32:36 +01:00
nowrep
975e023d54 Minor fixes for back/forward history + "Clear history" option
Back/forward history menus now won't show duplicated entries and also
navigating with back/forward on pages won't leave you on the same page
as you are actually visiting.
Though this bug was appearing rarely, it was annoying.
This is not normal QtWebKit behaviour, in standard implementation it is
working just fine, but QupZilla is using QWebPage::extension error
pages, and when this error page appears in frame on page (for example in
<iframe>) it duplicates entry in history.
2011-10-29 23:01:17 +02:00