Manos Pitsidianakis
9c3284d3fe
ui/listings: add set_movement method to ListingComponent
...
Page movements is an enum that describes the movements of the keyboard
keys "Home, End, PageUp, PageDown". Some mail listing Components
interpret these keys as changes to their cursors.
5 years ago
Manos Pitsidianakis
205ebe2f1c
ui: add window title config option
...
Use xterm window title escape sequences to set window title when
launched and restoring the previous one when exiting. If option is
blank, no title setting occurs.
5 years ago
Manos Pitsidianakis
ccc58860e6
conf: move serde default attributes from field to struct
5 years ago
Manos Pitsidianakis
d17deaca01
ui: add M-{i} tab change
5 years ago
Manos Pitsidianakis
ea3f47fa44
ui: clear all state in Listing::set_coordinates
...
If a listing lists search results, ie when "filtering" with a filter
term, it sets up its state in filtered_selection, filtered_order etc.
set_coordinates() should reset that state.
5 years ago
Manos Pitsidianakis
fe4349692e
ui: break line when printing mailing list actions
...
Break line instead of hiding the mailing list actions from the user.
5 years ago
Manos Pitsidianakis
febea423d9
ui: Add RawBuffer component for raw ansi content
5 years ago
Manos Pitsidianakis
6f816d29c5
conf: add ascii_drawing option
...
If set to true, box drawing is done with ascii characters.
5 years ago
Manos Pitsidianakis
b25f10f92a
conf: add a light theme option
5 years ago
Manos Pitsidianakis
9a3b9b1409
conf: move html_filter to PagerSettings
...
html_filter was in Account settings, but it makes more sense for it to
be in PagerSettings
5 years ago
Manos Pitsidianakis
f14381056f
ui: small fix in view.rs
5 years ago
Manos Pitsidianakis
f485079404
ui: align buttons in Selector
...
Correct alignment of Ok, Cancel buttons
5 years ago
Manos Pitsidianakis
37a4b553bc
ui: ask user if they want to reply or reply to all in mailing lists
5 years ago
Manos Pitsidianakis
cd761b3166
ui: revamp option dialog
...
Selector component shows choices/options to the user. Ok and Cancel
buttons were added, along with a window border and window title.
5 years ago
Manos Pitsidianakis
51bb50abf3
Add support for aarch64 target
5 years ago
Manos Pitsidianakis
2b5472adc3
Add set_seen shortcut in CompactListing
5 years ago
Manos Pitsidianakis
b7edec0274
Bump version to 0.3.2
5 years ago
Manos Pitsidianakis
e35a93336a
Add GPG signing and sig verifying
5 years ago
Manos Pitsidianakis
250129665b
Pass attachment names through decoding
...
Attachment names in Content-Type parameters can be encoded (eg
=?UTF-8...), so try decoding with phrase() first
5 years ago
Manos Pitsidianakis
19ec6e54fc
Dont show notification for seen or draft Envelopes
5 years ago
Manos Pitsidianakis
31543bf2f9
ui: update CompactListing based on ConversationsListing
5 years ago
Manos Pitsidianakis
b3e1d88898
compose: rename Overview to ThreadView
5 years ago
Manos Pitsidianakis
d8ada69897
compose: don't lose draft if Draft folder isn't available
...
Try saving in INBOX or another folder instead. On complete failure, save
in /tmp/
5 years ago
Manos Pitsidianakis
68c40a2920
melib: return Result with error when an IO operation fails
...
Don't unwrap anything because this might be temporary, for example a
short IMAP disconnection.
5 years ago
Manos Pitsidianakis
d44a68ec69
ui: don't quit if editing a draft
...
Ask user to save draft or discard it.
5 years ago
Manos Pitsidianakis
713c4f73b9
conf: add editor_cmd setting
...
Set the editor to launch in configuration. If it's missing, check for
$EDITOR
5 years ago
Manos Pitsidianakis
0ece51612f
update bincode to 1.2.0
5 years ago
Manos Pitsidianakis
fa121820f7
Bump version to 0.3.1
5 years ago
Manos Pitsidianakis
ef338f353d
ui: add PGP settings in configuration
5 years ago
Manos Pitsidianakis
6d40a57a2e
ui: scroll in shortcuts panel
5 years ago
Manos Pitsidianakis
91ae539de1
Small fixes
5 years ago
Manos Pitsidianakis
f27b815aa7
Add verification of GPG signed messages
5 years ago
Manos Pitsidianakis
9305e543cf
melib: add a `body` field to Attachment
...
Attachment needs to know the range of bytes where the body part of the
attachment is located. The Attachment.raw field contains the entire
attachment, headers and body. The new Attachment.body fields contains a
`StrBuilder` which contains the offset and length of the body part inside
`raw`.
5 years ago
Manos Pitsidianakis
5a53020f3d
Add debug-tracing feature to all crates
...
The feature needs to be defined in all manifests in order to be enabled
in all crates.
5 years ago
Manos Pitsidianakis
26e4d50b40
Try to save sent messages elsewhere if Sent folder fails
...
If Sent folder wasn't correctly configured, the sent message would be
lost. With this change it tries these folders in this order:
1. Sent
2. Inbox
3. Any other normal folder
The check is done by looking at the special usage metadata on each
folder. If everything fails, the message is saved in a file in the
tmpfs.
5 years ago
Manos Pitsidianakis
415fb2455b
ui: display status bar messages for 5 seconds
5 years ago
Manos Pitsidianakis
b07db29a19
ui: add timer tick every 300ms
...
Check for pending events in the main process by receiving a timer event
every 300ms. This way loaded folders or received emails will get
recognized even if the appropriate informing signals got lost.
5 years ago
Manos Pitsidianakis
7fe6532c73
ui: add log on child waiting error
5 years ago
Manos Pitsidianakis
fb7b038ee1
ui: add set_seen shortcut in {Compact,Conversation}
...
Shortcut sets an entire thread as seen.
5 years ago
Manos Pitsidianakis
fada0ffce1
ui: use ThreadNode instead of Envelope to print entries in
...
ConversationsListing
5 years ago
Manos Pitsidianakis
146acb70dd
ui: check account conf for index style in listing.rs
5 years ago
Manos Pitsidianakis
828718141a
ui: return valid values in ListingTrait::coordinates
...
By convention the valid values at any time of a cursor_pos in mail
listings is in self.new_cursor_pos, which the listing compares with
self.cursor_pos to detect position changes. Returning
self.cursor_pos values with coordinates() is invalid.
5 years ago
Manos Pitsidianakis
fe28e849b3
ui: send update event on folders even on no notification
...
Send an update event even if user's configuration has turned off
notification for this special event. This happens if the entire folder
is set to `ignore`, or when a particular thread is snoozed. In every
case we would want the UI to update.
5 years ago
Manos Pitsidianakis
79212621af
Bump version to 0.3.0
5 years ago
Manos Pitsidianakis
8795c2da4f
ui: small configuration fixes
...
- unused options were removed,
- renamed `index` conf option to `index_style`
5 years ago
Manos Pitsidianakis
86f21fbe52
ui: xbiff(1) support
5 years ago
Manos Pitsidianakis
bd8424c1f8
ui: add notification `play_sound`, `sound_file` conf settings
5 years ago
Manos Pitsidianakis
c695d7a8e2
ui: add Notification kinds
5 years ago
Manos Pitsidianakis
5cf620f43c
ui: add two log entries
5 years ago
Manos Pitsidianakis
ad01101b9b
ui: fix ThreadView drawing artifacts
5 years ago
Manos Pitsidianakis
af38b7e7cb
ui: add envelope views in new tab action
5 years ago
Manos Pitsidianakis
5ddd68ad9f
ui: add statusbar change with tab switch and updates
5 years ago
Manos Pitsidianakis
2eb41f3d3d
ui: dedup history suggestions in command execute bar
5 years ago
Manos Pitsidianakis
3ae2d03663
ui: add triptych thread mailing view
...
This mail list view shows one entry per thread just like CompactListing,
but the entry is slightly bigger just like in some GUIs, and when the
thread is opened the view becomes 3 columned:
+--+-------+----+
|~~|-------|~~~ |
|~~|-------|~~ |
| |-------| |
| |-------|~~~ |
+--+-------+----+
This is meant to be used with bigger terminal sizes
5 years ago
Manos Pitsidianakis
e3cd2d4c67
ui: save execute cmd history to XDG_DATA_DIR
5 years ago
Manos Pitsidianakis
f61a43108c
ui: show worker and static threads in account tab
5 years ago
Manos Pitsidianakis
f394fde143
add priority and info to jobs and workers
...
jobs now have a priority given to them, in order to parse some mailboxes
(eg INBOX, Sent) first.
worker threads now can set their names and status
5 years ago
Manos Pitsidianakis
fd38dbed48
override configuration with per-folder configs
5 years ago
Manos Pitsidianakis
81a55abc7c
Update crossbeam to 0.7.2 and remove chan
5 years ago
Manos Pitsidianakis
ecb3fd7f3d
Add dyn keyword to Trait objects
...
And fix some unused var warnings as well
5 years ago
Manos Pitsidianakis
335a1011de
imap: add watch
5 years ago
Manos Pitsidianakis
c3e3c98fb0
melib: filter subscribed folders in MailBackend::new()
5 years ago
Manos Pitsidianakis
c9f7b41e47
imap: continuous payload delivery in async workers
5 years ago
Manos Pitsidianakis
c2c5f2db69
melib: add Failure to RefreshEventKind
5 years ago
Manos Pitsidianakis
0812242f60
Add IMAP backend
...
TODOs: new message events (untagged responses)
5 years ago
Manos Pitsidianakis
3f7d962abd
melib: remove ThreadTree, use ThreadNodes for root_set
...
Remove ThreadTree index in Threads {} struct. Keep a Vec<ThreadHash> for
root_set state of mailbox instead of rebuilding ThreadTrees every
time.
5 years ago
Manos Pitsidianakis
dc2184a9de
melib: add Folder operations in mail backends
...
Add following operations in mail backend:
- Create,
- Delete,
- Subscribe,
- Unsubscribe,
- Rename
5 years ago
Manos Pitsidianakis
8b0dff728d
ui: don't show new mail notifications in ignored folders
5 years ago
Manos Pitsidianakis
a866e060a1
ui: open MessageRfc822 attachments in new tab
5 years ago
Manos Pitsidianakis
f72fb069fa
ui: add paste input in StatusBar
5 years ago
Manos Pitsidianakis
1328f994f3
Make config objects Serializable with serde
5 years ago
Manos Pitsidianakis
02b0f69e14
Replace config crate with toml
...
config crate was not really needed
5 years ago
Manos Pitsidianakis
b474b44b10
Add special use semantics for mailboxes
5 years ago
Manos Pitsidianakis
76909a1959
add folder subscriptions
5 years ago
Manos Pitsidianakis
b39b285711
ui: fix flag colors in re-highlight in CompactListing
5 years ago
Manos Pitsidianakis
734bc109b0
ui: refactor menu
5 years ago
Manos Pitsidianakis
1845b046fa
ui: add attribute support
...
bold/italic etc
5 years ago
Manos Pitsidianakis
2610e9c055
ui: don't check terminal size in ThreadView
5 years ago
Manos Pitsidianakis
c0dcd7254a
ui: bound check in draw_horz in ThreadView
5 years ago
Manos Pitsidianakis
e5f8714162
ui: make wide chars occupy more than one cell
...
If setting a wide char to a Cell, mark the next one as empty in order to
skip printing it.
This prevents the following misalignment:
| subject
|📎 Fwd: RE:
| second subject
5 years ago
Manos Pitsidianakis
af573b57f1
ui: add nonavailable folder checks
5 years ago
Manos Pitsidianakis
16a5d9b28a
ui, ThreadView: update seen flag in ThreadEntries
...
Update seen flag when receiving EnvelopeRename events.
5 years ago
Manos Pitsidianakis
84950ad740
ui, CompactListing: Don't accept listing actions if unfocused
5 years ago
Manos Pitsidianakis
fed13816dd
Bump version to all workspace crates
5 years ago
Manos Pitsidianakis
22f11445e2
Print error and exit if Maildir path config is wrong
5 years ago
Manos Pitsidianakis
bc7da4610e
Send MailboxUpdate events when threads are updated
...
Depending on the insertion order of folders which is non-deterministic
because it relies on the kernel's scheduling of parsing threads, the
listing the user sees might not be up-to-date because later thread
updates are never broadcast. This results in inconsistencies between
threads and mail listings when a thread's root envelope was part of a
not broadcast update leading to `key not found` panics in a listing's
hashmaps.
5 years ago
Manos Pitsidianakis
714f8255fc
ui: fix pageup/dn behaviour
5 years ago
Matthias Beyer
678921d2b7
Remove unused imports
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer
fecb66e877
Print to stderr when printing error
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer
02bfda5eed
Prefix unused variables with underscore
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer
092f3694d2
Print error message to stderr
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Manos Pitsidianakis
d3c658cf00
ui: add attachments in composer tab
5 years ago
Manos Pitsidianakis
131b4abfbe
ui: use $EDITOR
5 years ago
Manos Pitsidianakis
d73069bc80
melib: add Other and OctetStream content types
5 years ago
Manos Pitsidianakis
c17bb24f0d
melib: refactor attachments and attachment_types interfaces
5 years ago
Manos Pitsidianakis
4f5bcfd1d4
fix compilation error on bsds
5 years ago
Manos Pitsidianakis
38da6c83b9
melib: add read-only support for mbox
5 years ago
Manos Pitsidianakis
8a0e702127
melib,ui: add MailboxEntry enum
...
Use an enum to describe a mailbox's state in ui::conf::Account instead
of Result.
5 years ago
Manos Pitsidianakis
d84ceca88e
create text_processing crate
5 years ago
Manos Pitsidianakis
ff37e97cba
ui: add From header in list unsubscribe e-mails
5 years ago
Manos Pitsidianakis
8543a06f59
ui: rename ignore to subscribe to match IMAP term
5 years ago
Manos Pitsidianakis
6e63e8a6f6
ui: rename read/unread uses to seen/unseen
5 years ago
Manos Pitsidianakis
a62f1d6c01
add read-only option in accounts
5 years ago
Matthias Beyer
1e729010c1
replace deprecated trim_right() with trim_end()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Message-Id: <20190714115231.7002-1-mail@beyermatthias.de>
5 years ago
Manos Pitsidianakis
f13da6a26a
ui: Add pipe action for Pager
5 years ago
Manos Pitsidianakis
0925f2a439
ui: restore Page{Up,Dn} to Pager
...
When issuing PageUp and PageDn actions to an e-mail pager in
CompactListing, the input action was handled by listing and not the
pager which led to the keys get seemingly ignored.
5 years ago
Manos Pitsidianakis
46a0574713
ui: permanently mark selected rows in self.data_columns
...
`self.draw_list` detects `bg_color` by checking the first cell of the first column, so set it to make it permanent
5 years ago
Manos Pitsidianakis
93f3d6e230
remove std::dbg uses
5 years ago
Manos Pitsidianakis
70e5949590
ui: add autocomplete for commands in execute bar
5 years ago
Manos Pitsidianakis
a028aa9a44
ui: change contact list header colors
5 years ago
Manos Pitsidianakis
74be47ec5a
ui: fix some lints
5 years ago
Manos Pitsidianakis
a655a85b5f
ui: fix replies not being synced and inserted properly on RefreshEvents
5 years ago
Manos Pitsidianakis
b5ba9c3a8c
ui: force redraw CompactListing after EnvelopeRename event
5 years ago
Manos Pitsidianakis
ff2c030c0f
ui: process refresh events immediately
5 years ago
Manos Pitsidianakis
34054d46ea
ui: print and set environment variables
5 years ago
Manos Pitsidianakis
8fefdf80ad
ui: don't send StartupCheck or MailboxUpdate on Envelope change events
5 years ago
Manos Pitsidianakis
22dbc7dd9f
ui: don't print empty history or duplicates
5 years ago
Manos Pitsidianakis
f4f3b87f84
ui: add selections to CompactListing
...
Select multiple entries by pressing 'v'. Set read/unread and delete
actions are then performed on the selected entries.
5 years ago
Manos Pitsidianakis
8c97336307
ui: add set as read/unread, delete actions
...
Implemented only in compact listing for now.
5 years ago
Manos Pitsidianakis
e0e520b2c4
ui: add filter method in ListingTrait
...
Implemented in CompactListing only for now. Filter results are stored in
the filter* fields of the struct.
5 years ago
Manos Pitsidianakis
bb292486f4
ui: expand Listing trait with draw_list and highlight_line
...
In the course of making the Listing trait a generic way for any kind of
listing (eg. NNTP, RSS, et all)
5 years ago
Manos Pitsidianakis
04fc510ea8
meli: insert new standalone nodes in insert_reply
5 years ago
Manos Pitsidianakis
06862c1484
ui: prevent some unnecessary redraws
5 years ago
Manos Pitsidianakis
9026fb866e
ui: Add ability to call mailing list actions from Envelope view
5 years ago
Manos Pitsidianakis
07700ca00f
ui: Add possible mailing list actions from List-* headers
5 years ago
Manos Pitsidianakis
24831b3c13
Fix warnings, lints, and 2018 errors
5 years ago
Manos Pitsidianakis
8ab8e1309b
add git mirror url for mime_apps and config-rs dependencies
5 years ago
Manos Pitsidianakis
9de93b98d5
Update sample-config, and generate it if missing on startup
5 years ago
Manos Pitsidianakis
f1c72588c3
Add authors to Cargo.toml of each package
5 years ago
Manos Pitsidianakis
e0df6ce22d
ui: draw to terminal with horizontal sweeping
...
sweep each line in the dirty areas and avoid redraws because of area
overlap
5 years ago
Manos Pitsidianakis
cb83f9fe05
ui: add fluid columns in CompactListing
5 years ago
Manos Pitsidianakis
d772d10d66
merge FirstName/LastName fields in Contacts
...
First names and Last names are an anglocentric concept and do not apply
cleanly to the rest of the world's cultures.
5 years ago
Manos Pitsidianakis
b6c0236d24
ui: make EnvelopeRename event not folder specific
...
And pass EnvelopeRename events to subviews
5 years ago
Manos Pitsidianakis
85d1aaaa69
ui: add PageMovements and colors to ThreadView
5 years ago
Manos Pitsidianakis
6088705745
ui: add PageMovements in ThreadListing
5 years ago
Manos Pitsidianakis
831ec97d64
ui: add columns in PlainListing
5 years ago
Manos Pitsidianakis
d3ce424361
ui: add update and expand_headers in MailView
5 years ago
Manos Pitsidianakis
3318123870
ui: add attachment emoji in compact listing
5 years ago
Manos Pitsidianakis
d0039740b0
melib: add has_attachments property to Envelope
...
Check subattachments in has_attachments check.
Instead of getting a flattened attachment view of multipart/mixed (eg
[multipart/mixed, text/plain, text/plain]) get only the subattachments
(eg [text/plain, text/plain]). Don't count text-only multipart/mixed as attachments
5 years ago
Manos Pitsidianakis
c6674a294d
melib: unwrap mailbox module
5 years ago
Manos Pitsidianakis
6f7b3f20de
move StackVec to melib
...
closes #120
5 years ago
Manos Pitsidianakis
42654410e3
ui: move Collection to Account
...
Each account had one mailbox per folder, which had one associated
collection. Now each Account has one Collection for all folders and each
Mailbox object holds only the hashes of each message.
Collection also gets Threads for each folder in order to mix messages
(ie from/to Sent folder).
Insert Sent emails in chronological order
if inserted unsorted, mails a, b with a happened-before b, might never
get added.
Fix multiple insertions in ThreadTree upon insert_reply
insert_reply was creating multiple copies in threading
5 years ago
Manos Pitsidianakis
d8651db93a
delete mailbox_view module
5 years ago
Manos Pitsidianakis
f51ea93351
move grapheme stuff to melib
5 years ago
Manos Pitsidianakis
51c913d450
ui: add event queue for folders in Account
5 years ago
Manos Pitsidianakis
7de075df49
ui: add Home/End movements
5 years ago
Manos Pitsidianakis
06b96449c1
ui: add history and autocomplete in execute bar
...
closes #116 and #117
5 years ago
Manos Pitsidianakis
3c575c823d
ui: toggle thread snooze flag
...
snooze field translated to whether the user wants to be notified of new
email in the thread or not. This is toggled with an (temp) EX cmd: `toggle_thread_snooze`
closes #112
5 years ago
Manos Pitsidianakis
22d868f499
save Account to disk
...
closes #114
5 years ago
Manos Pitsidianakis
4582bcd5ae
fix warnings and lints
5 years ago
Manos Pitsidianakis
de81fd1a68
ui: don't show notifications if folder is ignore
...
Also ignore Sent folder by default
5 years ago
Manos Pitsidianakis
3bc22abdff
ui: draw thread arrows correctly in other sortings
...
thread arrows in ThreadListing weren't drawn correctly when subsorting
was changed (eg date -> subject)
has_sibling was delegated to ThreadsIterator.
5 years ago
Manos Pitsidianakis
2dec7fa6b6
ui: set plain/threaded/compact keeps mailbox position
...
closes #109
5 years ago
Manos Pitsidianakis
f972f69bad
ui: send RefreshMailbox events in every refresh_mailbox call
...
closes #108
5 years ago
Manos Pitsidianakis
a0b1a079b8
ui: add "application/pgp-signature" content type
5 years ago
Manos Pitsidianakis
4c88422d71
ui: fix scrollbar calculations
5 years ago
Manos Pitsidianakis
6e7ab0421b
ui: fix pager scrolling getting stuck
5 years ago
Manos Pitsidianakis
5d6c4ee2c8
ui: remove useless padding from ThreadView items
5 years ago
Manos Pitsidianakis
bf35894a18
ui: distinct shortcut maps with description
...
put shortcuts in different maps according to their source component
instead of bagging them all in the same one, and then print each
shortcut section on its own in the shortcut window
5 years ago
Manos Pitsidianakis
5a564dee63
melib: print folder tree in Listing menu properly
...
Depths weren't calculated correctly, and index (eg 0 Inbox) wasn't
colored correctly if the folder's name started with a number (eg 11 2019)
5 years ago
Manos Pitsidianakis
d231865f88
ui: add scrollbar widget in view/thread.rs
5 years ago
Manos Pitsidianakis
8b23ddb920
ui: correct mailview visibility toggle
...
Grid wasn't updated when user toggles mailview's visibility in
view/thread.rs.
5 years ago
Manos Pitsidianakis
ca64e4cd4a
ui: rename `b` cmd to `go`
5 years ago
Manos Pitsidianakis
0f4db97b75
ui: display headers in ViewMode::Raw
5 years ago
Manos Pitsidianakis
c26dd0685b
ui: print menu entries in order
...
FolderNode is a tree structure to represent the sorted or user defined
order inside the Account type
5 years ago
Manos Pitsidianakis
f1734048c8
ui: fix memory overflow in WordBreakIter
5 years ago
Manos Pitsidianakis
35bac364b1
ui: correctly display multipart html in Views
...
- Use Alt-r for entering raw mode
- Use r to exit raw mode
- added shortcuts
- add attachment footer in HtmlView::new
5 years ago
Manos Pitsidianakis
59d912e2ee
ui: send events to active subview only in CompactListing
5 years ago
Manos Pitsidianakis
aade41401e
ui: add column sep between menu and listing
5 years ago
Manos Pitsidianakis
99527f5684
ui: format From column in CompactListing
...
closes #87
5 years ago
Manos Pitsidianakis
02083032bf
ui: add From column in CompactListing
5 years ago
Manos Pitsidianakis
1f2c0b4fa7
melib: multipart/mixed with html messages not displayed as html
5 years ago
Manos Pitsidianakis
7e76cb7a4a
ui: align columns in CompactListing
5 years ago
Manos Pitsidianakis
e7c50c8dc5
pager: wrong max_cursor_pos setting
5 years ago
Manos Pitsidianakis
fb406667ab
add debug! macro to replace eprintlns
5 years ago
Manos Pitsidianakis
9143b2e791
ui: view: small fixes
5 years ago
Manos Pitsidianakis
13cd6b2741
ui: CompactListing: change only highlight in EnvelopeRename event
5 years ago
Manos Pitsidianakis
681cd7d1df
ui: update unicode-rs and fix invalid iterator return
5 years ago
Manos Pitsidianakis
03b9641bc6
ui: fix acc navigation shortcuts direction
5 years ago
Manos Pitsidianakis
3415a382a1
ui: make StackVec return an Option<T>
5 years ago
Manos Pitsidianakis
4ae8cbadbf
ui: reassign listing shortcuts
...
after `312011c ui: move account menu functions to Listing`, shortcuts like prev_folder etc should be generic over all listing types.
5 years ago
Manos Pitsidianakis
69031e66f9
ui: move account menu functions to Listing
...
AccountMenu was completely semantically attached to Listing, so there's
no reason for them to be separate and communicating via events.
5 years ago
Manos Pitsidianakis
de8b733d92
ui: initialize cursor in AccountMenu
...
Previous behavior was cursor highlight jumping around freshly loaded
folders
5 years ago
Manos Pitsidianakis
72d347eb6b
ui: make word_break an iter
5 years ago
Manos Pitsidianakis
b104a71544
ui: highlight entries in ThreadView within grid boundaries
...
If entry string length + indentation was more than available width an
out of index panic occurs when opening the thread.
5 years ago
Manos Pitsidianakis
28859542e8
ui: don't wait for workers to join in Drop
...
for large folders, they will take a lot of time during which the
terminal is hung up
5 years ago
Manos Pitsidianakis
1e44089d84
ui: Refer to child/parents with FolderHash in BackendFolder
...
- use a stack to build folder order list in conf/accounts.rs
- update side menu print
5 years ago
Manos Pitsidianakis
8e06e298ab
ui: send only appropriate events to current view
5 years ago
Manos Pitsidianakis
499113acd2
melib: encode header values
...
closes #102
5 years ago
Manos Pitsidianakis
87adc6dd19
melib/ui: refer to Folders by FolderHash
5 years ago
Manos Pitsidianakis
04eb8d926f
ui: remove debug_log feature, add log positions
5 years ago
Manos Pitsidianakis
ea331327b2
ui: return to first tab on TabClose
5 years ago
Manos Pitsidianakis
188e359301
ui: fix nil default ComponentId
5 years ago
Manos Pitsidianakis
9bc76e3bcb
ui: unwrap UIEventType
5 years ago
Manos Pitsidianakis
106744c7ca
ui: remove Entity
5 years ago
Manos Pitsidianakis
b993375fa0
ui: put INBOX first in AccountMenu
5 years ago
Manos Pitsidianakis
42a512d010
ui: save sent messages to Sent folder
5 years ago
Manos Pitsidianakis
8149f5712f
don't overwrite 'From' in Composer'
5 years ago
Manos Pitsidianakis
7e80ad2a86
ui: hold live entries for each mailbox in CompactListing
5 years ago
Manos Pitsidianakis
0e2e8b09f6
ui: update accounts tab on mailboxupdate
5 years ago
Manos Pitsidianakis
adb3123c57
ui: reverse visible entries if self.reversed in ThreadView
5 years ago
Manos Pitsidianakis
7fa599d13e
ui: clear threadview properly
5 years ago
Manos Pitsidianakis
ada0950854
ui: retain hidden properties in ThreadView
5 years ago
Manos Pitsidianakis
e3d0ad9170
ui: fix paging in ThreadView
5 years ago
Manos Pitsidianakis
4be1b52089
ui: add hide option in ThreadView
5 years ago
Manos Pitsidianakis
6b3c4d57d6
ui: add mailer setting and send shortcut in composer
5 years ago
Manos Pitsidianakis
ce2317da95
ui: print tabs as two spaces
...
closes #88
5 years ago
Manos Pitsidianakis
4bf1f6b9c9
ui: make Composer account specific
5 years ago
Manos Pitsidianakis
cfb7dcec64
ui: make html filter optional in config
...
closes #92
5 years ago
Manos Pitsidianakis
92f42ad8fa
ui: don't print Carriage Return
5 years ago
Manos Pitsidianakis
2a93463f74
ui: complete fmt::Display impl for Key
5 years ago
Manos Pitsidianakis
067a8e5c81
Run clippy for 2018 edition
5 years ago
Manos Pitsidianakis
ee4462881e
run cargo fmt
5 years ago
Manos Pitsidianakis
1c7aa0ec9c
update to 2018 edition
5 years ago
Manos Pitsidianakis
37f95dd86d
ui: fix crash when ThreadView is initiated without a ready mailbox
5 years ago
Manos Pitsidianakis
d7a4bd24c3
ui: do not recreate ThreadView on envelope update event
5 years ago
Manos Pitsidianakis
db6e83b755
ui: highlight unseen thread entries in ThreadView
...
closes #78
5 years ago
Manos Pitsidianakis
aa95c89ba8
ui: fix erasure of first body line in MailView
5 years ago
Manos Pitsidianakis
ff821e4fca
ui: don't set seen flag in Plainlisting
5 years ago
Manos Pitsidianakis
c91f0d73a5
ui: add ListingTrait to get/set coordinates
5 years ago
Manos Pitsidianakis
dcb62798f8
ui: properly update cursor on refresh_mailbox in PlainListing
5 years ago
Manos Pitsidianakis
11b2abd1d1
ui: fix seen property of threads on open, add env rename events
5 years ago
Manos Pitsidianakis
f36cb111b5
ui: add reverse order option in ThreadView
...
closes #70
5 years ago
Manos Pitsidianakis
5d9af8e32b
ui: improve contact additions from mail view
5 years ago
Manos Pitsidianakis
37716c85df
ui: add table to contact list
5 years ago
Manos Pitsidianakis
9356d43787
ui: change menu toggle shortcut
5 years ago
Manos Pitsidianakis
e4aec7c17e
ui: add shortcuts in compose menu
5 years ago
Manos Pitsidianakis
c3adc244d7
ui: Implement fmt::Display for Key
5 years ago
Manos Pitsidianakis
a774aaebf6
ui: fix boundary drawing in Thread view
5 years ago
Manos Pitsidianakis
551db51b00
ui: avoid full renders when worker threads return StartupChecks
...
Now listings only re-render when their folder gets a StartupCheck event,
account menu always re-renders to update new mail counts
closes #76
5 years ago
Manos Pitsidianakis
d19bda8977
melib: properly save drafts in maildir backend
5 years ago
Manos Pitsidianakis
1aa4eaa314
ui: add paste event to Field
5 years ago
Manos Pitsidianakis
1867bb6aa3
ui: hide divider column in VSplit if !self.show_divider
5 years ago
Manos Pitsidianakis
4629e6a22f
meli: add debug_logs feature
...
Conditional print of debug logs in stderr. Previously they were always
printed
5 years ago
Manos Pitsidianakis
d50c201776
ui: add hide menu shortcut
5 years ago
Manos Pitsidianakis
b741899fcf
ui: Add some docs and mini cleanups
5 years ago
Manos Pitsidianakis
9b4b6051f1
ui: use any email as composing template with edit command
...
concerns #38
5 years ago
Manos Pitsidianakis
d5c1da4a20
ui: add contact selectors to every relevant field
...
concerns #38
5 years ago
Manos Pitsidianakis
e5856bd01e
ui: Pin first children in Tabbed
5 years ago
Manos Pitsidianakis
4c26077f30
ui: word break with grapheme length, not bytes
...
#69 East characters are not working.
5 years ago
Manos Pitsidianakis
9522508a92
Update broken reply_context drawing
...
concerns #38
5 years ago
Manos Pitsidianakis
39c8082a47
Distinguish far right selected tab from background
5 years ago
Manos Pitsidianakis
2b06dd1aca
ui: fix pager from_buf reflowing incompatibility
5 years ago
Manos Pitsidianakis
0b76307e30
ui: add grapheme cluster support in text input
...
closes #60
5 years ago
Manos Pitsidianakis
bf038428c2
Run rustfmt
5 years ago
Manos Pitsidianakis
e7c95ba229
Clear closed tabs in tabbed area
5 years ago
Manos Pitsidianakis
bbd1918d70
Add text reflowing in pager and compose
...
concerns #69
5 years ago
Manos Pitsidianakis
ea65989679
Move terminal stuff in its own module
5 years ago
Manos Pitsidianakis
da256be25c
Fix compose pager redrawing bug
5 years ago
Manos Pitsidianakis
b1d25e6d8d
add autocomplete suggestions in field
5 years ago