aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implements #245Felix "xq" Queißner2021-11-201-0/+4
|
* Further improves localization (#191). Allows switching and setting the ↵Felix (xq) Queißner2021-05-081-23/+15
| | | | chosen localization properly.
* Inserts setting for current language.Felix (xq) Queißner2021-05-081-24/+57
|
* main.cpp: support sessions when multiple users have opened KristallKarol Kosek2021-04-171-1/+7
| | | | | | | | | | | | | | Before this change, only the first user who had opened kristall had working ipc. The easiest fix was to prepend an username to the socket and that's exactly what it does on Windows. On Linux and other UNIX systems, we could do that too, but I came up with a bit different approach. I didn't like the fact that Qt puts sockets in /tmp, but luckily we can provide the full path for the socket (Windows uses pipes, so that's why it has its own case). I've changed it to put sockets in the runtime directory, because it's designed for that type of files and it's user-specific, so we don't even have to prepend the username to it.
* Save settings on exitKarol Kosek2021-04-111-1/+1
| | | | | 0d1fd257093c58bfb606aaac530aed3b0877f7fd changed kristall::saveSettings() to settings.sync() which caused bookmarks not to be saved.
* Restores geometry from previous root window.Felix (xq) Queißner2021-03-171-27/+48
|
* rename PageMetadata struct to NamedUrlMike Skec2021-03-171-2/+2
| | | | PageMetadata is a little misleading. NamedUrl sounds stupid but is a bit more accurate
* sessions: add 'lazyloading' for restored tabsMike Skec2021-03-171-4/+8
|
* sessions: save page titles and read them before loading pageMike Skec2021-03-171-5/+23
|
* sessions: restore window tab indicesMike Skec2021-03-171-0/+5
|
* Adds option to have old or new session behaviour. Closes #187Felix (xq) Queißner2021-03-171-2/+5
|
* First draft of session management. Always restores the latest session.Felix (xq) Queißner2021-03-171-22/+111
|
* Restructures option dialog even more, adds option to strip '<nav>' tags.Felix (xq) Queißner2021-03-081-0/+3
|
* Add preference for ANSI escape codesMike Skec2021-03-071-0/+16
|
* Moves all globals into a structure that can be deleted before the app ↵Felix (xq) Queißner2021-03-061-69/+55
| | | | exists. Fixes #193.
* main.cpp: use QLibraryInfo to get the exact i18n pathKarol Kosek2021-03-061-1/+2
| | | | | Qt translation files were chosen only when you were in /usr/*, because of the relative path. Changing it to use QLibraryInfo fixes that.
* Some cleanupCarmina162021-03-061-1/+1
|
* Implement interface translationCarmina162021-03-061-3/+10
|
* Implements proper multi-window support.Felix (xq) Queißner2021-03-061-24/+74
|
* Starts preparing the codebase for multiple windows.Felix (xq) Queißner2021-03-061-37/+99
|
* Implements an IPC scheme for kristall. Closes #139.Felix (xq) Queißner2021-03-061-15/+276
|
* Adds emoji toggle preference.Mike Skec2021-02-271-0/+20
|
* DocumentStyle: fixes for font issuesMike Skec2021-02-251-0/+7
| | | | | | | | | This commit should hopefully fix all the font problems we were having. Instead of using font substitution for emojis, we just instead call QFont::setFamilies. Builds with Qt versions below 5.13 will not have proper emoji support. 0) emojis seem to work fine at least in my environment 1) when selecting theme with font that is not on the system, a respectable default is used instead 2) custom fonts now work great on Windows (seems to be due to the removal of insertSubstitutions, which didn't seem to work in my build) 3) the dodgey 'Kristall XX' stuff was removed, as it seems like we don't need it
* Fix window geometry/state not being saved in some environmentsMike Skec2021-02-231-6/+15
| | | | | | The window state and geometry are now saved either after app.exec() finished, or if closeEvent is emitted on the MainWindow. This allows the window geometry/state restoration to be a lot more reliable. E.g in my configuration (Fluxbox) - if I closed the window using my own defined keybinding, the state would not get saved
* Add light icons for favourite/certificate buttons for dark themesMike Skec2021-02-231-0/+12
|
* Add optional root/parent toolbar buttonsMike Skec2021-02-181-0/+4
|
* Add unlimited cache life optionMike Skec2021-02-181-0/+2
|
* Add seperate 'icon theme' preferenceMike Skec2021-02-161-13/+52
|
* Added search engine preferenceMike Skec2021-02-151-0/+2
|
* add pref for typographer quotesMike Skec2021-02-131-0/+3
| | | | Also includes a fix for single-quotes on words like "'till"
* new-tab button: add preferenceMike Skec2021-01-211-0/+2
|
* Functional cache limit, albeit a little inefficientMike Skec2021-01-081-2/+2
|
* cache: item expiry and max item sizeMike Skec2021-01-081-0/+8
| | | | currently no total limit yet
* cache code refactorMike Skec2021-01-061-0/+1
|
* better default fontsMike Skec2021-01-041-1/+10
|
* No longer useing QPalette::Mid for url bar highlightMike Skec2021-01-041-2/+3
| | | | now uses QPalette::WindowText with a little alpha applied. Looks a lot better
* Theming: only use standard icons on LinuxMike Skec2021-01-021-0/+7
| | | | Windows and Mac don't support standard theme icons
* Get rid of unneeded hacky code for fancy url barMike Skec2021-01-021-0/+3
|
* Fix bug with fancy url bar stylingMike Skec2021-01-021-1/+10
| | | | We are now also using a custom colour for it in the default light/dark themes, just because we can get a little more control over how it looks. The OS Default theme uses the 'mid' colour from palette
* Added UI density option.Mike Skec2021-01-011-1/+23
| | | | 'Compact' is the default - saves screen space a bit. The old layout is available in the 'Classic' option
* Add preference for url bar stylingMike Skec2020-12-311-0/+3
|
* Use const variablesKarol Kosek2020-12-301-1/+1
|
* const-reference large typesKarol Kosek2020-12-301-1/+1
|
* Add preference to show hidden files in directory listingsMike Skec2020-12-301-0/+3
| | | | also improved listing code so that files and dirs with spaces now display and function properly
* Add optional 'home' button to browser toolbar.Mike Skec2020-12-291-0/+3
| | | | Can be disable in settings
* kristall: use system icon theme when using OS Default themeKarol Kosek2020-12-271-1/+1
|
* Allow to open local files without specifying the 'file:' schemaKarol Kosek2020-12-241-0/+7
| | | | | It makes possible to launch Kristall by double-clicking a file from file manager.
* Adds 'show document source' menu item. Closes #11.Felix (xq) Queißner2020-08-171-1/+1
|
* Adds primitive support for emoji fonts.Felix (xq) Queißner2020-08-171-1/+33
|
* Adds basic editing for favourite groupsFelix (xq) Queißner2020-06-291-1/+4
|