nowrep
7e57cb63f5
[LocationCompleter] Run completions search in separate thread
...
Currently, there is one issue with inline domain completion. It is
also searched from the separate thread, and thus it gets displayed
after a small delay.
Closes #1135
2014-03-15 19:36:03 +01:00
nowrep
0a622e325c
[SqlDatabase] New implementation, hold connections for threads
...
Instead of using worker thread, use multiple threads with QtConcurrent,
and hold database connections for each thread.
2014-03-15 19:16:50 +01:00
nowrep
688e021fff
[DatabaseWriter] Replace with new SqlDatabase class
2014-03-15 01:14:06 +01:00
nowrep
167ae2af50
[SqlDatabase] New class allowing to exec Sql queries in separate thread
...
It uses its own QSqlDatabase connection, which is supported according to
docs.
2014-03-15 01:03:06 +01:00
nowrep
16ff847a8b
[Session] Use the same session with both Qt4 & Qt5
...
The issue with incompatible session were only with first alpha
releases of QtWebKit 2.3
2014-03-14 14:08:38 +01:00
nowrep
a2de6e1627
[ShowStatusBar] Fixed settings to show/hide Status Bar
...
Closes #1259
2014-03-14 13:33:33 +01:00
nowrep
fbafd56e90
[CaBundle] Update bundle + fix make_ca_bundle.sh script
...
make_ca_bundle.sh was actually appending all certs to the file.
As a result, there were duplicated certificates after multiple runs
of the script.
2014-03-14 12:27:10 +01:00
nowrep
83bb7c757c
[CodeCleanup] Don't use m_isStarting and m_isClosing in BrowserWindow
2014-03-13 17:06:08 +01:00
nowrep
bd0cc0e121
[Crash] Fixed crash after closing some tabs (eg. GMail)
...
QWebPage::networkAccessManager should be cleared in destructor, to avoid
using it after it was already deleted
This is regression from recent commits
2014-03-13 16:15:23 +01:00
nowrep
b4d2ced60f
[CodeCleanup] Cleanup Mac #ifdefs
2014-03-13 15:58:39 +01:00
nowrep
b52a84da3c
[CreatingWindow] Don't disable updates when creating browser windows
2014-03-13 13:38:14 +01:00
nowrep
ae511eaa6c
[Toolbars] Fixed toggle show Status Bar action
...
Closes #1259
2014-03-13 13:36:57 +01:00
nowrep
50e8bb071f
[NetworkCache] Fix path for network cache
2014-03-13 12:53:19 +01:00
nowrep
34bb2a2097
[WebInspector] Use TabWidget::currentChanged(int) signal and check for invalid tab
...
TabWidget::currentChanged(int index) can be emited with index == -1,
which means there are no tabs in tabbar. This may lead to crash after
accessing current webview (null)
2014-03-13 12:52:55 +01:00
nowrep
ea60478160
[Toolbars] Fixed possibility to hide both Navigation Toolbar and Menu Bar
...
If both Navigation Toolbar and Menu Bar are hidden, there is no way
to access Preferences and other actions from menu.
2014-03-13 12:31:08 +01:00
nowrep
9a6bb0444d
[TabBar] Make sure adding new background tab make it visible in tabbar
2014-03-13 12:10:58 +01:00
nowrep
d2528417d1
[CodeCleanup] Removed all disconnectObjects() methods
...
I don't think we need this hack anymore.
2014-03-13 11:24:19 +01:00
nowrep
07cf7036df
[ComboTabBar] When removing tabs, don't use timer for enabling updates
...
Also fixed Show Site Info action in SiteInfoWidget
2014-03-13 11:11:52 +01:00
nowrep
d109159408
[CloseOnLastTab] Instead of blocking closing tab, load new-tab-url
2014-03-13 11:11:15 +01:00
nowrep
22452aa825
[CloseOnLastTab] Changed behavior of "Don't quit upon closing last tab" option
...
It is now "Don't close window upon closing last tab", as it is more
reasonable to bind it to window, not the whole app.
Instead of loading the url-on-new-tab, it now simply blocks closing last
tab
2014-03-12 22:31:33 +01:00
nowrep
853e3905ee
[Crash] Fixed crash after closing first app window
...
Always create BrowserWindow with MainApp::createWindow (even in MainApp
constructor).
Regression from recent commits.
2014-03-12 21:36:34 +01:00
nowrep
493edfc655
[AdBlockRule] Save some memory with dynamic allocation and removing member variables
...
m_regExpStrings are now also dynamically allocated only for RegExp rules
m_cssSelector is now merged with m_matchString (m_matchString was empty
for Css Rules)
2014-03-12 13:25:12 +01:00
nowrep
d3e8cbac97
Fixed building after recent commits
...
Closes #1257
2014-03-11 09:12:37 +01:00
nowrep
4fb58a6202
[Strings] Small changes in translation strings
...
Always use HTML in caps + don't translate file filters (.html here)
Use "Import and Export" everywhere
2014-03-10 21:37:20 +01:00
David Rosca
c580d4167b
Merge pull request #1256 from pejakm/srtrans
...
[Translations] Update Serbian language
2014-03-10 20:43:37 +01:00
Mladen Pejaković
ecfc987b4f
[Translations] Update Serbian language
2014-03-10 19:47:27 +01:00
nowrep
5ca0073410
[Translations] Fixed loading translations
...
Regression from recent commits
+ more cleanup
2014-03-10 19:41:44 +01:00
nowrep
e827249f50
[MainMenu] Added MainMenu class that holds all menu actions of window
...
All actions are now saved in QHash with name, this will make possible
to implement own keyboard shortcuts for actions.
+ WIP cleanup of BrowserWindow class
2014-03-10 16:55:11 +01:00
nowrep
fb2629898b
[TabBar] Don't draw base. Should help with Qt5 Fusion style
...
Also small changes in MainApplication
2014-03-10 09:38:16 +01:00
S. Razi Alavizadeh
d14655a3ab
[ComboTabBar] Don't emit overflowChanged when not necessary
2014-03-10 09:36:37 +01:00
nowrep
2e9ce1ba90
[CodeCleanup] Major cleanup in MainApplication class
2014-03-10 00:47:07 +01:00
nowrep
969f262cf8
[DataPaths] Don't add trailing slash to paths
...
Qt API is not adding trailing slashes to dir paths either.
2014-03-09 22:17:13 +01:00
nowrep
214279e3bb
[DataPaths] Added new class DataPaths
...
This class holds all paths now (instead of MainApplication)
Renamed ProfileUpdater -> ProfileManager
ProfileManager is now responsible for all operations with profiles
2014-03-09 21:51:42 +01:00
nowrep
985db8a35d
[AdBlockManager] Use Q_GLOBAL_STATIC for AdBlockManager
2014-03-09 12:54:23 +01:00
nowrep
a3c3dead87
[CodeCleanup] Get rid of Qz::AppMessage enum
2014-03-09 12:54:07 +01:00
nowrep
a61ce67d7c
[SpellCheck] Cleanup: Speller class is now singleton
...
All spellcheck is now where it belongs, under spellcheck directory
2014-03-08 14:21:08 +01:00
nowrep
0e9fcc2113
[Building] Fixed building on Qt 5 & without Hunspell
...
BookmarksExportDialog: Align "Format" label to the right
2014-03-07 23:59:12 +01:00
nowrep
875d48b580
[Bookmarks] Save bookmarks after restoring defaults
2014-03-07 23:21:06 +01:00
nowrep
9764cea3a3
[ToolButton] ShowMenuInside option needs own aboutToShowMenu signal
2014-03-07 23:20:31 +01:00
nowrep
417da146e5
[QzTools] Make QzTools class and export only the class
...
Also fixed building on Windows
2014-03-07 22:54:50 +01:00
nowrep
fdf4fcc54e
[main.cpp] SIGPIPE is not needed to be handled in signal_handler
2014-03-07 18:57:42 +01:00
nowrep
f558a836b0
[Code] Create singletons with Q_GLOBAL_STATIC macro
2014-03-07 18:24:13 +01:00
nowrep
edbb87bd1f
[CodeCleanup] IconProvider now have static methods for getting icons
2014-03-07 18:03:42 +01:00
nowrep
e0780b7779
[CookiesTest] Make the test pass after last commit
2014-03-06 17:07:58 +01:00
nowrep
d0d1fa1844
[Session] Save session to QByteArray and then write it to file
...
Instead of appending data to file, write all session data at once.
This should help preventing corrupting session.dat file.
Closes #1247
2014-03-06 16:18:58 +01:00
nowrep
f33552320f
[AutoSaver] Rework AutoSaver so each object can use own instance
...
Instead of saving everything in MainApp::saveStateSlot, save each object
separately. As a result, this will save a lot of writes to disk.
Other changes includes:
Saving bookmarks also in private mode. Closes #1208
Cleanup of code
2014-03-06 16:12:36 +01:00
nowrep
c0311d7ee8
[Building] Include defines.pri after Qt modules are added
...
Fixes regression from 74883f8af4
Closes #1253
2014-03-05 19:00:53 +01:00
nowrep
74883f8af4
[Building] Use QZ_DESTDIR variable for $SRC/bin directory
...
Should fix problems with shadow builds.
Closes #1252
2014-03-04 15:14:19 +01:00
nowrep
688455158c
[Bookmarks] HtmlImporter: Fixed filter for html files
...
See #1228
2014-03-04 14:16:58 +01:00
nowrep
29f20ae520
[Building] Don't require ending slash in USE_LIBPATH and QUPZILLA_PREFIX options
2014-03-03 15:08:52 +01:00
nowrep
a7d382ee42
[Cleanup] Use QZ_WS_X11 only for X11 specific code
...
In other cases, use Q_OS_UNIX for determining UNIX platform.
UNIX platfroms without X11 should benefit from this commit, including
MAC and UNIXes on Wayland.
2014-03-03 14:47:47 +01:00
nowrep
82ca226127
[Code] Use QTime::elapsed() for timing
2014-03-03 12:55:35 +01:00
nowrep
12948cd0a4
[DNT] Enable sending DoNotTrack header by default
2014-03-02 22:42:10 +01:00
nowrep
c7a31c57e0
[CodeCleanup] Use QMouseEvent::button() in mouse release events
...
In press/move events, use QMouseEvent::buttons() instead
2014-03-01 14:12:50 +01:00
nowrep
5ad76995a2
[BookmarksSidebar] Enable only SingleSelection in sidebar
2014-03-01 14:06:44 +01:00
nowrep
b826ebc52a
[LocationCompleter] Support Ctrl / Shift activation of items
...
Ctrl activation: Opens url in new tab
Shift activation: Opens url in new window
Closes #1245
Bookmarks: Update visit count also from location completer
BookmarkItem: Added new method updateVisitCount
2014-03-01 14:05:44 +01:00
Mladen Pejaković
8f9f187b80
Fix regression after 2a6896e57f
2014-03-01 00:22:55 +01:00
Mladen Pejaković
b18ac632df
[HistoryMenu] Improvements
2014-02-28 21:12:25 +01:00
nowrep
a9bce8c775
[Code] Moved history menu into separate HistoryMenu class
2014-02-27 22:53:56 +01:00
nowrep
5e4f703ef2
[Code] Renamed qz_namespace.h to qzcommon.h
2014-02-26 20:03:20 +01:00
nowrep
3650aac9ff
[Code] Little cleanups after rename QupZilla -> BrowserWindow
2014-02-26 19:55:49 +01:00
S. Razi Alavizadeh
84ef3e9fda
Fixed, renamed QupZilla class to BrowserWindow everywhere
2014-02-25 22:06:13 +03:30
nowrep
b6181315f7
[AdBlock] Don't add domain css rules to sites whitelisted with $document option
...
Closes #1246
2014-02-25 12:12:27 +01:00
nowrep
4133106988
[PinnedTabs] Restore pinned tabs also when not restoring session
...
Closes #1239
2014-02-24 11:38:18 +01:00
Mladen Pejaković
9b7ecf1d12
[TabBar] Comment fix
2014-02-23 14:54:22 +01:00
Mladen Pejaković
5d23a21f37
[TabBar] Option to show/hide close button on inactive tabs. Closes #1220
2014-02-23 14:49:32 +01:00
nowrep
7d98a162d6
[Code] Fixed cppcheck issues
2014-02-22 15:23:46 +01:00
nowrep
5cf7d0b9a9
[Bookmarks] Add new action to open bookmarks in private window
...
Closes #995
2014-02-22 15:20:54 +01:00
Mladen Pejaković
131eef5c9d
Open links in private window.
2014-02-22 14:57:22 +01:00
nowrep
eb9b2635d5
[ButtonWithMenu] Fixed selectPreviousItem not selecting first item
2014-02-20 17:06:21 +01:00
nowrep
77e8afb5ec
[Bookmarks] Force icons visible in bookmarks menu
...
For example, Gnome3 has icons hidden in menu by default
Closes #1215
2014-02-20 16:56:08 +01:00
nowrep
afae00e4a2
[Cleanup] Rename export macro to just QUPZILLA_EXPORT
2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b
[Cleanup] Renamed QupZilla class to BrowserWindow
2014-02-19 22:07:21 +01:00
nowrep
47fe951001
[Translators] Added Juan Carlos Sánchez into translators
2014-02-18 17:50:55 +01:00
nowrep
65a47fd450
[LocationCompleter] Speedup searching in Bookmarks & History
...
See #1135
2014-02-18 16:17:22 +01:00
David Rosca
22e195b621
Merge pull request #1218 from pejakm/sdfix
...
[SpeedDial] Fix overlay text input visibility with dark themes
2014-02-17 12:15:55 +01:00
nowrep
b8f8e3753f
[Bookmarks] Added Export dialog + HTML Bookmarks Exporter
2014-02-17 12:13:26 +01:00
nowrep
daa3f07426
[FirefoxImporter] Support importing full bookmarks structure
2014-02-16 15:39:59 +01:00
Mladen Pejaković
091f4ab6a6
[SpeedDial] Fix overlay text input visibility with dark themes
2014-02-15 23:50:54 +01:00
nowrep
680ed27c22
[BookmarksImportDialog] Draw separators in imported bookmarks treeview
2014-02-15 22:18:11 +01:00
nowrep
763183be88
[OperaImporter] Support importing full bookmarks structure
2014-02-15 22:07:52 +01:00
nowrep
650558dea6
[ChromeImporter] Support importing full bookmarks structure
2014-02-15 20:53:03 +01:00
Mladen Pejaković
3eede1d8a2
Rework list of closed tabs
2014-02-15 18:49:48 +01:00
nowrep
5301495966
[BookmarksImport] Added back button to import dialog + other small changes
...
Also moved all bookmarks import classes to bookmarks/bookmarksimport
2014-02-15 01:49:12 +01:00
nowrep
09893f20b4
[BookmarksImport] Create new base BookmarksImporter class
...
Also moved all importers into bookmarks/import folder
2014-02-15 00:17:31 +01:00
nowrep
23b55d9158
[BookmarksImport] Show full structure of imported bookmarks
...
BookmarksModel can now be used with arbitrary root item independently
of main bookmarks root item.
2014-02-14 21:13:08 +01:00
nowrep
167e80f59a
[SaveSettings] Don't save settings twice on app close
2014-02-14 20:29:41 +01:00
nowrep
d422ce3767
[Models] Decrease the delay for filtering to 300ms
2014-02-14 20:28:25 +01:00
nowrep
f9d3c102ec
[Cleanup] QTimer::start() restarts timer if it is already running
2014-02-14 19:31:35 +01:00
nowrep
a99f954930
[ReloadStopButton] Instead of pausing updates, only update the button after delay
2014-02-14 19:28:41 +01:00
S. Razi Alavizadeh
35f1799e59
[ComboTabBar] Fix tabAt function for RTL languages
2014-02-14 18:48:16 +01:00
nowrep
907386b921
[Sslv3Sites] easylist-downloads.adblockplus.org shouldn't be there
2014-02-14 10:53:19 +01:00
nowrep
94c32ae235
[FreeBSD] Link to execinfo
2014-02-14 10:51:27 +01:00
nowrep
363cd01016
[AdBlockDialog] Show error if subscription can't be loaded
2014-02-14 10:38:43 +01:00
nowrep
9ae0352548
[SslV3Sites] Added possibility to change list of sites in settings.ini
...
In settings.ini: Web-Browser-Settings/SSLv3Sites
Also added sermapa.es to default list
2014-02-13 20:46:15 +01:00
nowrep
d005505dba
FreeBSD build patches
...
Imported from http://svnweb.freebsd.org/ports/head/www/qupzilla/files/
See #1206
2014-02-13 20:17:57 +01:00
nowrep
156a14dfb6
[Windows] Use %LOCALAPPDATA% only if user doesn't have config in older paths
2014-02-13 20:17:57 +01:00
nowrep
84eea976c2
[Building] Fixed building on OS/2
2014-02-13 20:17:56 +01:00
nowrep
5e131033e6
[Flicker] Another set of flicker patches
...
Old approach caused navigationbar to be empty for a moment while
opening a lot of tabs at once
2014-02-13 17:06:09 +01:00
nowrep
6a4a41a5d9
[TabBar] Don't show tab previews while dragging tabs
2014-02-13 17:06:09 +01:00