Commit Graph

9630 Commits

Author SHA1 Message Date
Kurt Hindenburg
004a788916 Return status of loadLayout to avoid empty window 2024-08-09 15:54:03 -04:00
Kurt Hindenburg
0e216b34a4 designer6 adjust width 2024-08-08 14:22:11 -04:00
Kurt Hindenburg
9eca284c9f designer6 swap some properties 2024-08-08 14:21:40 -04:00
Kurt Hindenburg
8126366972 designer6 whitespace changes only 2024-08-08 14:19:53 -04:00
Rongfeng Ge
924c33c9d1 Remove tabstops from profile's Advanced Line Numbers
Followup from previous commit !1022
2024-08-08 13:24:01 -04:00
l10n daemon script
a51541cae5 GIT_SILENT Sync po/docbooks with svn 2024-08-08 01:34:19 +00:00
Rongfeng Ge
2622b41aef Correct layout for profile's Advanced Line Numbers
!1022
2024-08-07 15:12:48 -04:00
l10n daemon script
b2cd0cc8c3 GIT_SILENT Sync po/docbooks with svn 2024-08-07 01:33:16 +00:00
l10n daemon script
86d1d4e98f GIT_SILENT made messages (after extraction) 2024-08-07 00:43:13 +00:00
Nicolas Fella
d915c7c038 Use QApplication::beep instead of KNotification::beep
The latter just plays a sound, whereas the former goes through the
window system to ring the system bell

This is better since it respects accessibility settings like using
a visual bell
2024-08-06 20:37:27 +00:00
l10n daemon script
b807d2e46f GIT_SILENT Sync po/docbooks with svn 2024-08-05 01:32:12 +00:00
l10n daemon script
34d5b69c66 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-08-05 01:23:21 +00:00
l10n daemon script
88875b2afa GIT_SILENT made messages (after extraction) 2024-08-05 00:42:38 +00:00
l10n daemon script
ce1f126c8a GIT_SILENT Sync po/docbooks with svn 2024-08-04 01:35:30 +00:00
l10n daemon script
e6c87cd7f4 GIT_SILENT Sync po/docbooks with svn 2024-08-02 01:37:15 +00:00
l10n daemon script
306dfa74f0 GIT_SILENT Sync po/docbooks with svn 2024-08-01 01:39:38 +00:00
l10n daemon script
fe64689a88 GIT_SILENT made messages (after extraction) 2024-08-01 00:43:44 +00:00
Kurt Hindenburg
45fc4da153 Increase ui version
ae222d8eb5  !1007
2024-07-28 13:09:29 -04:00
l10n daemon script
5efa9c0ad3 GIT_SILENT Sync po/docbooks with svn 2024-07-28 01:36:34 +00:00
l10n daemon script
bb5c2d2d75 GIT_SILENT Sync po/docbooks with svn 2024-07-27 01:36:40 +00:00
l10n daemon script
a798141235 GIT_SILENT Sync po/docbooks with svn 2024-07-26 01:29:35 +00:00
Kurt Hindenburg
0d383d4355 Remove randomSeed in TerminalDisplay
Simplify by using sessionId and not passing around randomSeed.
The randomEngine is still initialized the same.
This also avoids passing session to createTerminalDisplay().

This is from !301
2024-07-25 21:25:32 +00:00
Kurt Hindenburg
8755513d5d Remove FallbackKeyboardTranslator
Since the keyboard files are bundled in the executable now,
there should be no need for a fallback translator.  The code
is still there for reference w/o using a separate class.
2024-07-25 18:08:01 +00:00
l10n daemon script
6ed8ccab78 GIT_SILENT Sync po/docbooks with svn 2024-07-25 01:31:41 +00:00
l10n daemon script
283d5468a9 GIT_SILENT made messages (after extraction) 2024-07-25 00:41:41 +00:00
Ahmet Hakan Çelik
9c72d6301d Allow setting Konsole tab color with escape codes
FEATURE: 396960
2024-07-24 18:53:34 +00:00
Christian Muehlhaeuser
9f7a2b846a Add support for OSC-52 write-only clipboard access
Implements OSC-52 write-only clipboard access. Already supported by a
wide range of other terminals, including alacritty, foot, kitty,
urxvt, wezterm, xterm, and others.

I've intentionally omitted read access to the clipboard as that comes
with several security concerns, which should be discussed first.

BUG: 372116
2024-07-24 18:37:56 +00:00
l10n daemon script
d4b41ad86c GIT_SILENT Sync po/docbooks with svn 2024-07-24 01:30:42 +00:00
Kurt Hindenburg
3ef78a6c89 Add cppcheck to CI 2024-07-23 19:51:45 +00:00
Kurt Hindenburg
d822d163b9 Use separate category so not to spam Konsole's debug 2024-07-23 14:25:36 -04:00
l10n daemon script
dd62843b81 GIT_SILENT Sync po/docbooks with svn 2024-07-23 01:35:26 +00:00
Wendi Gan
1817dd4067 Add URL test cases in HotSpotFilterTest
Add test cases for URLs ending with invalid characters like comma, dot, colon, and semicolon.
2024-07-22 12:05:48 +00:00
Wendi Gan
02ba8cefc7 url filter: remove trailing non-URL characters
Adjusted UrlFilter::newHotSpot to strip non-URL trailing characters (e.g., commas, dots) using regex "[',.:;]+$". This ensures correct URL parsing without trailing punctuation.

Test case: 'https://example.com.' should exclude the trailing dot.

BUG: 472274
BUG: 473285
2024-07-22 12:05:48 +00:00
l10n daemon script
446074d7c6 GIT_SILENT Sync po/docbooks with svn 2024-07-22 01:33:58 +00:00
Kurt Hindenburg
33166bb198 Move variable into #if 2024-07-21 19:35:30 -04:00
Kurt Hindenburg
68fe07916b Spelling fixes; reuse is preferred English but ignore translatable strings 2024-07-21 19:16:06 -04:00
Kurt Hindenburg
9b7c855489 Don't compare floats; use qFuzzyIsNull 2024-07-21 18:56:25 -04:00
Kurt Hindenburg
658029bdc8 Don't compare floats; use qFuzzyCompare + 1.0 and qFuzzyIsNull
Silences float-equal warning.
2024-07-21 20:29:51 +00:00
Theodore Wang
ae222d8eb5 Added autosave functionality
The autosave functionality is contained in a SaveHistoryAutoTask
class, which inherits from SessionTask. The autosave mechanism
hinges on two pieces of information regarding the autosave file:
the number of bytes used to store the contents of dropped lines
(represented by SaveHistoryAutoTask::_droppedBytes) and a list
of byte offsets corresponding to the start of the contents of lines
on the screen (represented by SaveHistoryAutoTask::_bytesLines).
Everytime a line is dropped, SaveHistoryAutoTask::_droppedBytes
is updated using _bytesLines. Everytime the output is read and
saved to file, the autosave file is resized to _droppedBytes and
the current screen output is appended. Everytime the output is read
or the screen is resized, _bytesLines is updated.

The autosave can be started using an "Auto Save Ouput As" button in
the "File" tab of the toolbar. Once the autosave is started, said
button is replaced by a "Stop Auto Save" button which allows the
user to stop the autosave. Internally, any errors encountered by
the program would result in an KMessageBox reporting the details of
the error and stopping the autosave as well. Clicking on the stop
button reveals the start button again.

Similar to SaveHistoryTask, there is a file dialog which allows the
user to choose which file they would like the autosave contents to
be stored in.

Apart from errors involving reading session output and writing to
file, modifying the file externally, renaming the file and deleting
the file will also result in an error. Emulation::_currentScreen
being changed will also result in an error.

The autosave is conducted at a fixed time interval, apart from an
edge case where an autosave is required immediately due to internal
constraints. Said fixed time interval can be set by the user in the
settings of their current profile, specifically the "Advanced" tab.

Details on the internals of the autosave functionality is documented
in the source files.

GUI
FEATURE: 208620
2024-07-21 18:26:27 +00:00
Albert Astals Cid
3573cfef06 GIT_SILENT Upgrade release service version to 24.11.70. 2024-07-21 12:30:09 +02:00
l10n daemon script
8d3950c784 GIT_SILENT Sync po/docbooks with svn 2024-07-21 01:33:10 +00:00
l10n daemon script
8b4798aa12 GIT_SILENT Sync po/docbooks with svn 2024-07-20 01:30:45 +00:00
l10n daemon script
8b645b6b52 GIT_SILENT Sync po/docbooks with svn 2024-07-19 01:30:59 +00:00
l10n daemon script
c7f733ff73 GIT_SILENT Sync po/docbooks with svn 2024-07-18 01:27:42 +00:00
ivan tkachenko
913d5f15ee Port SIGNAL/SLOT to modern connection syntax
From !1013
2024-07-17 18:48:24 -04:00
Theodore Wang
d0754cc3e4 Add functionality for markers on scrollbar
Users can add markers to the scrollbar by double clicking on the
scrollbar. A user can remove a marker by double clicking on it again.

The position of the marker is stored internally as a percentage offset
of the scrollbar's length and is not attached to any line of output.
This means that on resize, a scrollbar marker originally created at
x percentile of the scrollbar's length from the top will still remain
at x percentile of the scrollbar's length from the top.

In the "Scrolling" tab in the settings, there are options for the
user to change the color of the markers and the size of the markers.
The size of the marker can be specified as a floating point number,
representing the percentage of the entire scrollbar's length it occupies.

GUI:
FEATURE: 338901
2024-07-17 15:43:56 +00:00
l10n daemon script
e152f6436d GIT_SILENT Sync po/docbooks with svn 2024-07-17 01:28:26 +00:00
ivan tkachenko
256c1b18fb Fix playing audio for OSC attribute 1337 and inlineMedia=1 parameter
The player was basically stuck in the QMediaPlayer::BufferingMedia
state, never playing or deleting itself. I guess this still could
happen on systems without valid audio outputs.

BUG: 490264
2024-07-14 18:33:30 +03:00
Andreas Sturmlechner
c5f2315c9d Drop faux X11 dependency and switch WITHOUT_X11 option to WITH_X11
X11 is nowhere needed in the codebase. Follow-up to 2f116f9fb2438a6e66b6702b3cc2ace9d0205f96

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2024-07-11 21:15:55 +00:00
l10n daemon script
9ab4a3a4ac GIT_SILENT Sync po/docbooks with svn 2024-07-11 01:29:08 +00:00