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

230 Commits

Author SHA1 Message Date
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
14ca6e2f0d Added new macros for checking QTWEBKIT version.
QTWEBKIT_FROM_2_2 - >= 2.2.0
QTWEBKIT_TO_2_2   - < 2.2.0
QTWEBKIT_FROM_2_3 - >= 2.3.0
QTWEBKIT_TO_2_3   - < 2.2.0

It also check whether Qt5 is used and if so, it will
compile all features just like the QtWebKit version
was 2.3.0
2013-01-20 12:10:28 +01:00
S. Razi Alavizadeh
6072b7c4be [Windows] fixed include conflicting when defining 'W7TASKBAR' 2013-01-19 23:49:41 +03:30
nowrep
ef4cfad805 Removed USE_QTWEBKIT_2_2 build variable.
It will now be automatically detected.
It assume that if you are building with Qt 4.8 and higher,
you have QtWebKit 2.2 and higher.
2013-01-19 19:37:40 +01:00
nowrep
81ac819746 Ask user to allow site to use notifications/geolocation.
With option to remmber the choice for page.
2013-01-19 17:28:12 +01:00
nowrep
8cc303a355 Fix possible crash on startup.
Don't calculate space for tab if the available
space is negative.
2013-01-19 16:34:19 +01:00
nowrep
6bf53c0332 [QtWebKit 2.3] Disable unnecessary workarounds.
Disabled touch mocking and fake user agent.
2013-01-09 19:00:48 +01:00
S. Razi Alavizadeh
6f5d32eddf Fixed problem of setting listWidget's height from recent commit: f27137f8ae 2012-12-29 11:31:01 +03:30
nowrep
f27137f8ae Fixed rendering issues in ListWidget in SiteInfo
It should now be rendered well with all possible
font sizes.

Closes #663
2012-12-28 01:59:39 +01:00
nowrep
69eed9efe0 Qt5: Disabling touch mocking workaround for some pages.
It is working all right now with latest QtWebKit.

See issues #634 #33
2012-12-21 16:04:57 +01:00
nowrep
365c0d5efd Qt5: Added info about Qt version into session files.
It will break restoring sessions from Qt4 into Qt5.
QupZilla can now run with Qt5.
(there are still some issues to be resolved)
2012-12-20 15:22:14 +01:00
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
S. Razi Alavizadeh
15cc84f1b1 Fixed the issue about computing of rounding errors 2012-12-11 12:24:40 +03:30
S. Razi Alavizadeh
9db9c89eb8 A better size-hint for active tab.
-Now the active tab has enough space for its close button.
2012-12-10 02:56:25 +03:30
Franz Fellner
251ab8af66 Do not add an item to history only if reloading.
Should fix #666.
2012-12-08 21:18:30 +01:00
nowrep
889e2743f5 New icons for 'new-tab' and 'tab'
Also added icon to 'Switch to tab' text in
locationbar completer popup.
2012-12-08 14:10:30 +01:00
nowrep
2dd3f80618 Little change to fix from previous commit 54e1bfeffa
Set QPalette white background color instead of setting
CSS stylesheet.
2012-12-06 22:23:11 +01:00
nowrep
85d09c8a64 Added option to disable Alt/Ctrl + numbers shortcuts
Closes #647
2012-11-28 11:27:30 +01:00
nowrep
0a2dbc83a0 Fixed dropdowns on Twitter instant hiding
- added twitter into exceptions for touch mocking
Closes #634
2012-11-28 09:43:47 +01:00
Franz Fellner
d08ec28d70 remove CloseButton::hideEvent()
That causes crashes when entering/leaving fullscreen mode when the tabbar has non-closable tabs.
deleteLater() in the hideEvent left a dangling pointer in the corresponding QTabBarPrivate::Tab.
The next re-layout of the tabs caused the crash when querying the size of the deleted closeButton:

[...]
2012-10-24 18:24:39 +02:00
nowrep
eddc51734a Version 1.3.5 2012-09-16 20:42:07 +02:00
Franz Fellner
f3221c70d6 Introduce LocationBarPopup as base for - popups in the location bar.
The switch is needed due to palette problems on some color schemes (e.g. inverted look for popupmenus or tooltips), which could lead to unreadable text.
2012-09-15 17:39:54 +02:00
nowrep
5cf6b1c565 Fixed color of text in labels in SiteInfo/Bookmarks/RSS urlbar popup.
- using tooltip text color with gtk+ and besping styles
2012-09-12 11:59:23 +02:00
nowrep
2d5b0c0bc0 Don't check for null pointer before deleting objects.
- as delete 0 is safe
2012-09-11 11:43:11 +02:00
nowrep
62ac0e2fde More QLatin1String and QLatin1Char work 2012-09-05 19:58:07 +02:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
c7cdaf824f Qt5: Changing Q_WS_* macros to Q_OS_*
- Q_WS_* macros have been removed in Qt 5
2012-09-03 23:03:20 +02:00
nowrep
c71cf910cb TabBar: If not enough space, show close button only on current tab
- removed "Show close button on tabs" option as it is now redundant
2012-09-03 22:40:52 +02:00
nowrep
30b8eaf44e Another Oxygen workaround for pinned tab width.
- it now also center site icon in the tab
2012-09-03 15:28:37 +02:00
nowrep
3065d58b25 Fixed width of pinned tab with Oxygen theme.
- also added runtime check of current Qt theme in use
2012-09-03 13:24:29 +02:00
nowrep
cff5fce5da Fixed showing close buttons on pinned tabs.
- regression from 1e5b7d92cd
2012-09-02 14:18:07 +02:00
nowrep
1d919e0172 Fixed width of pinned tabs on all Qt styles.
closes #518
2012-09-02 12:22:11 +02:00
nowrep
b2181f0bab Coding style: Use empty QString() constructor instead of "" everywhere 2012-09-02 11:42:41 +02:00
nowrep
9f376ac14c Enabling sorting for Table/Tree Widgets everywhere. 2012-09-01 13:56:00 +02:00
nowrep
c6d1743706 Disabling touch mocking on Google sites.
- fixes issue with Google maps with menu not hiding

closes #545
2012-08-31 15:20:00 +02:00
nowrep
cf2c28cfdb Updated coding style 2012-08-31 15:19:07 +02:00
nowrep
f1c9112a86 Fixed close buttons on tabs not working after recent commit.
closes #533
2012-08-28 10:40:03 +02:00
nowrep
4f3c3cdcc4 Fixed navigation keys not working right after closing search bar
- keys PageUp, PageDown, Space and arrows

closes #530
2012-08-27 16:02:08 +02:00
nowrep
1e5b7d92cd Hiding close buttons when there is not enough space in tabbar
- to partially prevent overflowing tabs into tab buttons
- it is now possible to show 24 tabs in tabbar in
  640*480 window without overflowing

closes #527
2012-08-27 14:02:35 +02:00
nowrep
dd84a84bc0 New option to show loading progress in address bar.
- enable it in Preferences -> Tabs -> Address Bar
- patch by Franz Fellner

closes #236
2012-08-24 20:53:53 +02:00
nowrep
2acc6021aa Regression: Fixed restoring sessions with pinned tabs.
- it was opening & restoring tabs in new window
2012-08-24 19:24:48 +02:00
nowrep
6d997220c7 Added support for listing directories with file: scheme
closes #435
2012-08-23 16:17:56 +02:00
nowrep
60ae2c1705 Moved fileSizeToString into qz_ function 2012-08-23 15:40:10 +02:00
nowrep
5ca2e2d75f Using prepare SQL statements everywhere it is needed. 2012-08-23 15:37:43 +02:00
nowrep
c6445513e0 Don't close additionally opened tabs when restoring session
- if user opens app after crash, he will get 1 tab asking him
  about restoring a session
  if user opens another tabs and later decides to restore session,
  new opened tabs won't be closed

Patch by Franz Fellner
2012-08-22 13:45:03 +02:00
nowrep
80e89b2644 New Restore Session GUI - allows choosing to/not to restore each tab
- added as new qupzilla:restore page
- thanks a lot for work by Franz Fellner

closes #515
2012-08-21 20:28:38 +02:00
S. Razi Alavizadeh
1df223fbd1 Fixed problem about location of 'm_buttonAddTab' when there are lots of tabs opened. 2012-08-21 00:20:31 +04:30
S. Razi Alavizadeh
551498fa06 Fixed visibility of navigationbar when app. is fullscreen. 2012-08-21 00:10:38 +04:30
nowrep
c0b04f660e Moved WebPage::applyDirectionToPage into globalfunctions.h 2012-08-19 19:47:28 +02:00
S. Razi Alavizadeh
552fbbcffa Added RTL support to internal pages. 2012-08-18 18:31:26 +04:30
nowrep
3f5b6382a3 Backend support for setting per-domain UserAgent.
see #399
2012-08-16 23:15:31 +02:00
nowrep
d771ba728b "Save x as..." will always show file dialog.
closes #471
2012-08-14 18:53:55 +02:00
S. Razi Alavizadeh
89f9fc9ac2 Added support for Right To Left layout direction and also themes support RTL! 2012-08-13 09:26:21 +02:00
nowrep
e709e17d5c Small cleanup in code (classes holding settings as static variables)
- merged LocationBarSettings and WebSettings into one class
- new class QzSettings no longer uses static variables
2012-08-10 21:16:43 +02:00
nowrep
14928e6bc6 Fixed issue with infinite opening mailto: links in QupZilla
- when xdg-open tries to open mailto: links again in QupZilla
2012-08-09 19:09:52 +02:00
nowrep
54e52d7c8e Text in site info sections will no longer be cropped.
closes #491
2012-08-02 20:36:51 +02:00
nowrep
c44e64814c Properly fixed highlighting from d97ab52d8c 2012-07-27 21:23:41 +02:00
nowrep
d97ab52d8c Fixed clearing highlight when search text not found.
closes #479
2012-07-27 18:55:55 +02:00
nowrep
dd0df9042f Change UserAgent: Don't append QupZilla string to new user agent
- some pages may misbehave
2012-07-15 23:23:16 +02:00
nowrep
fe2b3133e5 AdBlock: Clean blocked objects right after page is loaded
- there is no reason to start 100ms timer
2012-07-15 23:18:08 +02:00
nowrep
36dfab9895 Fixed loading url on new tab from preferences.
- regression from 14e0040a9f
2012-07-13 22:45:40 +02:00
nowrep
69aeeac1be Fixed zooming with Ctrl+wheel for some users.
closes #451
2012-07-13 18:00:03 +02:00
nowrep
435ab60e79 AdBlock: Fixed $subdocument matching.
- also improved a little blocked element's placoholders hiding
2012-07-13 14:12:48 +02:00
nowrep
14e0040a9f AdBlock: Fixed $third-party option when Referer header is empty
- should fix a lot of false positives with $third-party rules

see #444
2012-07-13 11:04:14 +02:00
nowrep
2bf1638dea Fixed setting WebPage to WebView more than once 2012-07-06 14:47:34 +02:00
nowrep
2dc0785aff AdBlock: Support for $elemhide and $document exception rules
- with @@||qupzilla.com^$document you can completely disable
  AdBlock from running on qupzilla.com site
2012-07-04 16:00:53 +02:00
nowrep
138ffdfe93 AdBlock: Better and faster hiding placeholders of blocked elements
- also Ctrl+C in AdBlock tree now copies url filter into clipboard
2012-07-04 10:08:55 +02:00
nowrep
adac699cc9 AdBlock: Subscription downloading now follows redirects.
- fixed related possible crash
2012-07-03 21:54:04 +02:00
nowrep
8542dc307f NetworkManager: Fixed excessive questions about invalid SSL certificate
- user will now be asked only once if he rejects the certificate
   * works only within WebPage, so if user opens new tab, he will
     get the question again (in case he want to change his mind)
2012-07-03 15:22:42 +02:00
nowrep
193a9371f0 WebView: Shift modifier for inverting preferred new tab position.
- Shift + MiddleMouseClick and Ctrl + Shift + LeftMouseClick
2012-07-03 11:28:14 +02:00
nowrep
dd170f653f Using QChar instead of 1-char QString everywhere 2012-07-01 18:50:18 +02:00
nowrep
fbc44d2889 AdBlock: Show correct subscription when opening dialog with rule
- from AdBlock context menu or icon
2012-07-01 18:13:49 +02:00
nowrep
c01604ffe9 RSS: Added support for adding feeds into external applications
- including some web applications (Google Reader, My AOL, Yahoo! ...)
- Liferea and Akregator are support from desktop readers
   * akregator needs testing (i don't use kde)

closes #364
2012-06-28 17:16:45 +02:00
nowrep
fa72a38050 Fixed showing option what to do with some urls with external protocol.
- sometimes, just "?" was shown in dialog instead of actual external url
2012-06-27 20:32:13 +02:00
nowrep
4743549851 Showing loading animation (spinner) in popup windows. 2012-06-27 18:29:00 +02:00
nowrep
4017c5303e Fixed issue with setting tabs movable
- regression from previous commit
2012-06-27 00:14:51 +02:00
nowrep
1a5ad1413b Preferences: New option "Automatically switch to newly opened tabs"
- also removed unnecessary option to make tabs movable
   * everyone wants the tabs to be movable :-)

closes #382
2012-06-26 23:39:23 +02:00
nowrep
38ef828b82 Private browsing now opens new browser window (in own process)
- closes #415
2012-06-26 11:49:39 +02:00
nowrep
b9476c9bbc AdBlock: Showing different colors for each rule type
- black = normal rules
  green = exceptions
  gray  = disabled rules
  blue  = css rules
2012-06-25 21:01:30 +02:00
nowrep
847469e0be AdBlock: Support for element hiding rules & improved performance
- improved performance with not using regexps when not necessary
- added support for element hiding even with domain restrictions
- almost all types of rules are supported now
   * exceptions are only some special cases when rule has
     unssuported options (part of rule after $ character)
   * those rules are ignored
2012-06-25 16:07:25 +02:00
nowrep
e471bfd5d4 AdBlock: Support for adding new subscriptions.
- you can add subscriptions in AdBlock dialog or with
  abp: scheme links

- however, AdBlock rules are not yet optimized for performance
  so you shouldn't add too much subscriptions
  performance optimizations will come in next commits
- support for element hiding is still yet to come too

closes #266
2012-06-24 23:46:32 +02:00
nowrep
91bed8ad15 AdBlock: Showing name of subscription in blocked content page. 2012-06-21 21:49:41 +02:00
nowrep
ab6ca15afc Should fix issues with Facebook not loading at all.
- closes #409
2012-06-15 19:08:43 +02:00
nowrep
8f75fd2532 Fixed crash when cleaning cache while cache is not used (disabled). 2012-06-15 17:43:19 +02:00
nowrep
4375b54b5c Option to "Search with..." in new background tab with middle click. 2012-06-01 20:25:37 +02:00
nowrep
07e4b7d559 AddTab button: Middle click opens tab with text/url from X11 clipboard 2012-05-27 12:44:56 +02:00
nowrep
c992778556 Leave event is now finally working correctly.
- it now distinguish leaving page on top, bottom, right and
  left and it now sends corresponding fake mouse events
2012-05-27 11:38:21 +02:00
nowrep
cf5d399f00 Added possibility to change icon of bookmarks
- created new IconChooser class with option to choose
  icon from file or icon from database

Closes #401
2012-05-22 11:46:22 +02:00
nowrep
5ec579b91e Fixed issue with searching about:blank after restoring empty tabs.
- regression from previous commit
2012-05-13 22:41:26 +02:00
nowrep
d5071215eb Fixed "Don't quit upon closing last tab" with blank url on new tab.
- it now properly loads empty page

closes #400
2012-05-13 22:10:04 +02:00
nowrep
330b35f8db Fixed too big "External Protocol Request" dialog when URL is very long
- it will now align URL to multi line text
2012-05-13 17:01:35 +02:00
nowrep
074555b6ea Little modification in LeaveEvent processing in WebPage.
- it is now sending fake mouse move event with correct x value
  according to cursor position
2012-05-08 14:28:54 +02:00
nowrep
5c9383a54a Fix: Flickering when showing site info/bookmarks/rss widget in
addressbar
2012-05-06 20:29:14 +02:00
nowrep
5b75c0e5a0 History completely rewritten into Model/View architecture.
- much faster history loading (loading history entries only when
  needed - eg. expanding top level items)
- less memory usage (sidebar and manager are using the same model)
- searching is now performed on title and url
- clear private data -> clear history is now working properly
2012-04-30 16:33:14 +02:00
nowrep
e4e9639406 Fixed "Hide tabs when there is only one tab" option.
- fixed hiding tabbar when using "Close other tabs" action
2012-04-25 11:35:13 +02:00
nowrep
23613ab310 Fixed issue with completer when writing "ch" into location bar.
- ?? for some reason, it selected random items when typing "ch" ??
2012-04-24 15:58:36 +02:00
nowrep
96af9e6f7f Updated Italian translation.
- added Facebook into list of servers to send fake user agent
2012-04-23 15:50:21 +02:00
nowrep
bcce0326fc Fixed issue with showing "Error code 200" error page 2012-04-22 21:23:51 +02:00
nowrep
2055621f2a Show star icon in completer when item is from bookmarks.
- IconProvider has no longer static members
- new macro qIconProvider for accessing IconProvider instance
2012-04-22 20:51:28 +02:00
nowrep
98d51b0661 Code cleanups 2012-04-21 22:19:35 +02:00