Matan Ziv-Av
77de29bedd
A hack to avoid scrolling when not moving the cursor.
4 years ago
Matan Ziv-Av
9a608fe431
Make sure all the screen is refreshed when toggling Mode_AppScreen
...
Otherwise, some images from the other screen might not be deleted.
4 years ago
Matan Ziv-Av
8030c1987c
Kitty protocol fixes
...
- Allow deleting by placement id
- Delete image cache when Emulation object is destroyed.
- Small simplification of selecting image from cache.
4 years ago
Matan Ziv-Av
5647cc35e9
Use std::unique_ptr for placement list
...
Avoiding the need to manually delete placements.
4 years ago
Matan Ziv-Av
ff716ffbf3
Move graphics related lists from TerminalDisplay to more appropriate classes
...
- Graphics placements list to Screen
- Kitty image cache to Vt102Emulation
4 years ago
Luis Javier Merino Morán
0cc64dcf7b
Identify as VT2xx with DECCOLM and SIXEL
...
As Christian Persch noted, commit 6158567c announces more extensions
than konsole supports. Tone it down a little. For consistency, also
self-identify as VT220 in DA2.
BUG: 450407
4 years ago
Matan Ziv-Av
32fb7585ef
Save sixel aspect ratio as a rational number, rather than a real number
...
Avoiding inexact floating point comparisons.
4 years ago
Matan Ziv-Av
34df013ef5
QRegion::contains does not do what the name suggests
4 years ago
Matan Ziv-Av
78971aa5c7
Improve memory handling
...
- Remove placements when they scroll out of the scroll buffer
- Delete removed placements.
- Free QImage memory when image is deleted.
4 years ago
Matan Ziv-Av
3f02436b2d
Improve Sixel handling
...
- Abort Sixel mode on any escape sequence other than ESC ESC or ESC \
Fixes one bug described here: https://bugs.kde.org/show_bug.cgi?id=449799
- Ignore control characters inside sixel sequences
- Use the same default colors for sixel as the VT340
4 years ago
Matan Ziv-Av
18e7e6cfec
Image positionioning fixes
...
- Image display position relative to top left of text display, instead of top left of terminal widget.
Fixes a problem described here: https://bugs.kde.org/show_bug.cgi?id=449799
- Improve cursor positioning and scrolling after displaying an image
- Now the cursor ends in the same place relative to image regardless of whether scrolling is needed.
- If the image fills the whole width of the terminal, the cursor is placed at the start of the line after the image (kitty and iterm protocols).
- Keep images in place when resizing the window vertically
4 years ago
l10n daemon script
72b26bc226
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"
4 years ago
l10n daemon script
a3f61ed3be
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"
4 years ago
l10n daemon script
819879fcd5
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"
4 years ago
Matan Ziv-Av
317cee8f25
Add #include that is necessary for compiling Quick Commands plugin.
...
Without KLocalizedString, i18n() is undefined.
4 years ago
l10n daemon script
f86c19a951
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"
4 years ago
l10n daemon script
f1f59c8c1e
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"
4 years ago
l10n daemon script
6eacdb0b6f
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"
4 years ago
l10n daemon script
a5435aec9b
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"
4 years ago
l10n daemon script
b113e2281a
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"
4 years ago
l10n daemon script
4eabe615db
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"
4 years ago
Kurt Hindenburg
220013df92
Simplify call and add notes about API
4 years ago
Tao Guo
0760b7ed60
Hide quickcommands by default
4 years ago
l10n daemon script
05266b5eae
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"
4 years ago
Luis Javier Merino Morán
8345f24ee9
More robust reflow on zsh with semantic prompts
...
Improve the logic for avoiding doing reflow of zsh prompts (zsh will
repaint the prompt and command line) when there are semantic prompt
markers (OSC 133).
BUG: 447830
4 years ago
Matan Ziv-Av
8119581063
Remove images on when clearing entire screen
4 years ago
Matan Ziv-Av
085814e264
Use braces for single statement if/for
4 years ago
Matan Ziv-Av
d82b35b8ec
Some Sixel fixes
...
- Define MAX_IMAGE_DIM and do not try to create larger image.
- Define MAX_SIXEL_COLORS.
- Optimize repeat draw operation
4 years ago
Matan Ziv-Av
f7c8dd9bd1
Remove sixel debug code
4 years ago
Matan Ziv-Av
c270b9134b
Move repeated code to create placements to a function.
4 years ago
Matan Ziv-Av
6158567c52
Add Sixel support
...
The sixel rendering code is mostly from https://invent.kde.org/sandsmark/konsole/-/tree/martin/sixel
but using my graphics display system, and with some modifications.
4 years ago
Matan Ziv-Av
89101dc5b9
Add partial support for kitty terminal graphics protocol
4 years ago
Matan Ziv-Av
d4e1f4ac37
Add support for iterm2 file upload protocol
...
Only supporting the case inline=1 for displaying graphics.
4 years ago
Matan Ziv-Av
d691a3d76c
Add infrastructure for displaying graphics in terminal
...
This allows for showing graphics in the terminal.
konsole keeps two lists of graphics to display (called placements).
Each placement includes:
- A pixmap to display.
- Column and row where the image is displayed.
- A z index. The text has z=0, so placements with z<0 are displayed below the text.
- An opacity value with which the pixmap is drawn.
- Whether the graphics scrolls with the text
Graphics placements with pid >= 0 are managed by the application, which can remove them. They need to have a unique <id,pid> pair.
Placements with pid<0 are not managed by the application. They are deleted automatically when they are completely obscured by others.
4 years ago
Matan Ziv-Av
5f57601a2a
Use escape sequence CSI 14t to report screen size in pixels.
4 years ago
Matan Ziv-Av
7a27f40722
Use TIOCSWINSZ ioctl to set pty's pixel size, so it will be reported to apps using TIOCGWINSZE
4 years ago
l10n daemon script
f13ac9ca95
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"
4 years ago
Tao Guo
0b624809a0
Add new plugin QuickCommands (2nd)
...
1. add valid for Title and Command
2. add Tooltip field
3. other small fix
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
4 years ago
Tao Guo
365a529881
Add new plugin QuickCommands
...
This plugin can save your favourite commands to sidebar
You can double click the item to invoke the command
Signed-off-by: Tao Guo <guotao945@gmail.com>
4 years ago
l10n daemon script
06726d8a38
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"
4 years ago
Tomaz Canabrava
a227af9d6f
Remove unused includes
4 years ago
Tomaz Canabrava
913a1acee6
Use KIO::OpenFileManagerWindowJob
...
This is also not optimal because only two file browsers
implements org.freedesktop.org/FileManager1
Missing filemanagers:
- Konqueror
- Krusader
- Thunar
But at least is freedesktop.org accepted
4 years ago
Tomaz Canabrava
43763804cc
Try to launch via DBus - as there is a API for selecting files
...
If that fails, then manually call dolphin
Currently only Dolphin and Nautilus supports that API call.
4 years ago
Tomaz Canabrava
a158926ae8
Launch dolphin on "Open With File Manager" under a file
4 years ago
Tomaz Canabrava
b3eb91d3f7
Store the current hotspot under mouse
...
This is important if the actions need to access it later on
4 years ago
Tomaz Canabrava
31a82152c3
Add HotSpot::File, differentiate between Url links and Local Files
4 years ago
Matan Ziv-Av
04d99f7cdc
Save all lines to history when scrolling multiple lines up
...
This action should not be performance critical, so scrolling one line n times seems reasonable.
A solution with better performance requires more changes in addHistLine().
This should solve https://bugs.kde.org/show_bug.cgi?id=449233 .
4 years ago
l10n daemon script
c1a5d942c4
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"
4 years ago
l10n daemon script
0169fafece
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"
4 years ago
l10n daemon script
7b640d3a17
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"
4 years ago