Manos Pitsidianakis
f4e0970d46
mail/compose.rs: add ability to kill embed process
...
If embed editor process is unresponsive, there was no way to kill it.
Add force kill option by pressing Ctrl+C.
2022-08-27 15:02:15 +03:00
Manos Pitsidianakis
9cb66ef818
Fix all clippy warnings in `meli` crate
2022-08-25 16:38:02 +03:00
Guillaume Ranquet
d921b3c320
compact.rs: use mail sorting parameters from config
...
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
2022-08-25 12:52:39 +03:00
Guillaume Ranquet
9205f3b8af
conf.rs: handle a per account mail order parameter
...
The new order parameter adds the possibility to specify a
sort order on a per account basis.
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
2022-08-25 12:52:39 +03:00
Guillaume Ranquet
97ff3e787f
conf.rs: only add toml files to the themes
...
By default, all files under MELI_CONFIG/themes are added to the
configuration files.
If one of these files is a binary file, this will provoke an error.
Summary: InvalidData
stream did not contain valid UTF-8
Caused by: stream did not contain valid UTF-8
Kind: OS Errorthread 'main' panicked at 'failed', melib/src/error.rs:201:9
Fixes the potential issue by filtering by file extension.
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
2022-08-25 12:52:39 +03:00
Manos Pitsidianakis
824f614a69
mail/view: Fix HtmlView not being redrawn when parent is dirty
2022-08-22 23:12:48 +03:00
Manos Pitsidianakis
ed3dbc8586
listing/conversations: fix crashes when listing is empty
2022-08-22 23:11:43 +03:00
Manos Pitsidianakis
b716e4383e
Add collapse option for mailboxes in sidebar menu
...
Closes #130
Feature request: collapsible folders with total counter #130 https://git.meli.delivery/meli/meli/issues/130
2022-08-18 18:05:48 +03:00
Manos Pitsidianakis
daa900ec9a
Fix embed terminal in macos
...
Pseudoterminal wasn't created correctly on macos
2022-07-31 18:17:59 +03:00
Manos Pitsidianakis
ca84906d7d
notifications: escape all quotes in applescript on macos
2022-07-03 13:32:01 +03:00
Manos Pitsidianakis
0f6f3e30c6
conf: add IMAP config in config parse test
2022-06-04 17:56:54 +03:00
Manos Pitsidianakis
e6d6e1f588
compose: don't unwrap if pseudoterminal creation fails
...
Show error notification instead.
2022-06-04 17:46:22 +03:00
Manos Pitsidianakis
dc5afa13db
notifications: use osascript/applescript for notifications on macos
2022-06-04 17:46:22 +03:00
Manos Pitsidianakis
4fdc90b31e
Use `open` instead of `xdg-open` in macos
...
TODO: make this configurable instead.
2022-06-04 17:19:06 +03:00
Manos Pitsidianakis
8563bccd1b
listing/conversations: don't cache CellBuffer, only row info
...
Caching a CellBuffer (a terminal grid view) takes too much RAM on big
mailboxes. Store just the information needed to write each row entry
when needed to draw a page instead.
2022-06-04 17:17:42 +03:00
Manos Pitsidianakis
721891c295
Update nom dependency
2022-05-02 17:04:13 +03:00
Manos Pitsidianakis
2c23ca34cd
Update most Cargo dependencies
2022-05-02 17:03:56 +03:00
Manos Pitsidianakis
2eb22a290a
Stop hardcoding certain component colors
...
`Color::Byte` references were before themes were introduced in the code
base. Their presence is a bug and they should all be replaced by theme
values.
Closes #124
Stop hardcoding certain component colors #124
https://git.meli.delivery/meli/meli/issues/124
2022-03-22 21:00:21 +02:00
Manos Pitsidianakis
5823178cc2
themes.rs: add test that looks in source code for invalid theme key references
2022-03-22 20:26:06 +02:00
Manos Pitsidianakis
81184b182c
Add extra_identities configuration flag
...
Closes #119
Multi identies per account #119 https://git.meli.delivery/meli/meli/issues/119
2022-03-21 20:53:37 +02:00
Manos Pitsidianakis
23c2355662
utilities.rs: fill and align shortcut table columns
2022-03-20 19:18:40 +02:00
Manos Pitsidianakis
d3e62e3d74
utilities/dialogs.rs: use conf shortcuts for scroll {up, down}
2022-03-20 17:15:10 +02:00
Manos Pitsidianakis
f5dc25ae0d
conf.rs: check that all conf flags are recognized in validation
...
This commit adds logic in configuration file validation that checks that
each account "extra" field is empty after getting it back from the
backend validation. This is to ensure the user doesn't set options that
are invalidly stated in the documentation or by accident.
Closes #135
Configuration error (xxx): the following flags are set but are not recognized: ["index_style"] https://git.meli.delivery/meli/meli/issues/135
2022-03-20 16:35:18 +02:00
Manos Pitsidianakis
d0de04854e
listing.rs: add {in,de}crease_sidebar shortcuts
...
`increase_sidebar`: Increase sidebar width.
Default value Ctrl-p
`decrease_sidebar`: Decrease sidebar width.
Default value Ctrl-o
2022-02-25 16:40:27 +02:00
Manos Pitsidianakis
340d6451a3
listing.rs: add config setting for sidebar ratio
2022-02-25 16:20:08 +02:00
Geoff Beier
330a2b20ed
conf.rs: flush stdout in Ask() after printing
2021-11-15 16:48:01 +02:00
Manos Pitsidianakis
36e29cb6fd
Add configurable mailbox sort order
...
Closes #25
```
sort_order unsigned integer (optional) Override sort order on the sidebar for this mailbox. Example:
[accounts."imap.example.com".mailboxes]
"INBOX" = { index_style = "plain" }
"INBOX/Sent" = { sort_order = 0 }
"INBOX/Drafts" = { sort_order = 1 }
"INBOX/Lists" = { sort_order = 2 }
```
2021-10-31 18:15:39 +02:00
Manos Pitsidianakis
d25eb00a11
command: improve(?) command completion and add test
2021-10-07 21:29:46 +03:00
Manos Pitsidianakis
505adca54d
Add forward mail option
...
Forward email with shortcut 'forward' (default ctrl+f)
This opens a composing tab letting you to select receiver etc.
"composing" config setting "forward_as_attachment" selects the
forwarding behavior:
- "ask" asks you ever time
- true always forwards by attaching the entire email as a single
attachment
- false always forwards by inlining the email, like most email clients
do.
Closes #120
2021-10-02 13:38:50 +03:00
Manos Pitsidianakis
e090c31f96
state: Move grid to Screen struct under terminal mod
2021-09-20 13:56:51 +03:00
Manos Pitsidianakis
20feb50475
view/thread: open the latest email in the thread by default
2021-09-18 11:36:17 +03:00
Manos Pitsidianakis
f975e1004c
Add url_launcher config setting
2021-09-16 16:43:43 +03:00
Manos Pitsidianakis
b88c3c573d
Add add_addresses_to_contacts command
2021-09-16 16:27:21 +03:00
Manos Pitsidianakis
32901f57d2
Add show_date_in_my_timezone pager config flag
...
Closes #28
2021-09-15 22:19:19 +03:00
Manos Pitsidianakis
a977351f0a
mail/view: respect per-folder/account pager filter override
2021-09-13 13:21:09 +03:00
Manos Pitsidianakis
e7b9d2963c
pager: add filter command, esc to clear filter
2021-09-12 17:39:51 +03:00
Manos Pitsidianakis
25579d8807
terminal/cells: remove ansi module
2021-09-12 16:36:36 +03:00
Manos Pitsidianakis
22fb2ed46c
Implement pager filter through EmbedGrid
...
Parse pager filter output as an EmbedGrid instead of the old ansi parser
module.
2021-09-12 14:55:24 +03:00
Manos Pitsidianakis
592339bdca
embed: split EmbedGrid to EmbedTerminal and EmbedGrid
...
An embedded pseudoterminal was enclosed in the EmbedGrid struct. This
commit splits it into EmbedTerminal and EmbedGrid, with EmbedGrid
containing only the CellBuffer grid logic. With this change we can reuse
EmbedGrid to parse ANSI output from external programs into meli's
CellBuffer's.
2021-09-12 13:47:32 +03:00
Manos Pitsidianakis
ae8c2addab
Show compile time features in with command argument
...
Show compile time feature flags with compiled-with subcommand
Closes #115
2021-09-08 22:09:32 +03:00
Manos Pitsidianakis
7533df86e0
Fix compilation for netbsd-9.2
...
$ rustc -V
rustc 1.52.1
$ cargo -V
cargo 1.52.0
Pre-requisite steps needed for build:
- Needed to install mozilla certs
- Needed to set OPENSSL_DIR=/usr
2021-09-06 18:54:40 +03:00
Manos Pitsidianakis
13c5798c7b
conf/shortcuts.rs: add info_message_{next,previous}
2021-09-05 13:08:05 +03:00
Manos Pitsidianakis
07e166e1fb
melib/error: Add kinds: NotImplemented, NotSupported, OSError
2021-09-05 12:39:15 +03:00
Manos Pitsidianakis
72a2ba20dc
conf/accounts.rs: print info when displaying watch error
2021-09-05 12:38:40 +03:00
Manos Pitsidianakis
f40ae9e11b
Change all Down/Up shortcuts to j/k
2021-09-04 20:06:07 +03:00
Manos Pitsidianakis
09f3edba76
config: show explanation if `composing` field missing
2021-09-04 20:06:07 +03:00
Manos Pitsidianakis
05393d8caa
listing/conversations: highlight two rows instead of three
2021-09-04 16:56:55 +03:00
Manos Pitsidianakis
b49d965695
Fix unused var etc warnings
2021-09-04 16:52:17 +03:00
Manos Pitsidianakis
521f634e7b
melib/nntp: implement NNTP posting
2021-09-04 00:42:19 +03:00
Manos Pitsidianakis
d1437ff275
command/actions.rs: ask confirmation for delete
2021-09-03 14:10:58 +03:00
Manos Pitsidianakis
5a9f63c51e
listing/compact: Fix off-by-one error in area calculation
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
9d7e877510
listing/plain: move flags to subject column
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
ad2a10478e
listing/compact: move flags to subject column
...
Flags (attachment, unseen, etc) being their own column
overcomplicated code, so just prepend them to subject column.
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
64b62352d0
listing: add {unseen,selected,attachment,thread_snoozed} flag config values
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
b411daddaa
listing/conversations: remove entry padding box character
...
Remove padding each entry with '░' box character.
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
d16866e0f0
notifications: run update_xbiff even if notifications disabled
2021-01-15 16:41:40 +02:00
Manos Pitsidianakis
24b4c117e7
melib: don't use both {set,push}_references()
...
set_references() already calls push_references()
2021-01-15 16:41:40 +02:00
Manos Pitsidianakis
48d4343082
utilities/ProgressSpinner: add interval field and new spinners
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
2dfeb29b75
jobs/Timer: add set_interval()
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
cf9457882a
melib/mbox: add MboxMetadata type and write support
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
a4ae4da8b1
Add export-mbox command
2021-01-10 01:45:03 +02:00
Manos Pitsidianakis
22a64e2d76
melib: Remove unnecessary "pub use" std exports
2021-01-10 01:40:27 +02:00
Manos Pitsidianakis
781a1d0e1b
melib/backends: add collection() method to MailBackend
...
Keep track of the Collection state in the backend side
2021-01-10 01:31:27 +02:00
Manos Pitsidianakis
eb8d29813c
utilities/Tabbed: send VisibilityChange event on changing tab
2021-01-08 18:37:51 +02:00
Manos Pitsidianakis
08af46f5ef
melib/datetime: fix test compile failure
2021-01-08 18:37:51 +02:00
Manos Pitsidianakis
622ded8021
compose: add attribution line for replies
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
6d63429ad3
Add scrolling context to StatusBar
...
- Whenever a scrolling context is entered/exited, send a ScrollUpdate event.
- StatusBar maintains a stack of scrolling contexts and displays the
last one, if it exists. Each context is associated with a ComponentId.
- To handle dangling contexts after their Components aren't visible
anymore, send a VisibilityChange event in situations where that scenario
is possible.
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
eca10a5660
melib/backends: add mailbox management events to RefreshEventKind
...
Add mailbox management events from RFC 5423 Internet Message Store
Events
https://tools.ietf.org/html/rfc5423#page-8
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
3dba6fdf60
melib/datetime: add posix locale arg in timestamp_to_string()
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
1c25ae12eb
Use default_cell in CellBuffer resize(), clear()
2021-01-05 17:12:14 +02:00
Manos Pitsidianakis
ccc083cf88
Rewrite Cellbuffer Debug impl
2021-01-05 17:12:14 +02:00
Manos Pitsidianakis
2d5f5e767c
listing/conversations: hash addr by addr_spec in from_address_list
...
While accumulating addresses for the 'From' list for each envelope
entry, hash the addresses by the address spec (i.e. the email address)
instead of the entire address. This prevents duplicates of the same
email address but with different display names.
2020-12-25 06:10:28 +02:00
Manos Pitsidianakis
9124ad0ae7
conf/accounts: remove some unnecessary unwraps
2020-12-25 06:10:28 +02:00
Manos Pitsidianakis
ed826357a3
Don't unwrap try_recv() on async jobs channels
...
Job might have been canceled.
2020-12-25 06:10:28 +02:00
Manos Pitsidianakis
48e7a493a9
Add reload-config command
...
Closes #84 Add "reload configuration" command
2020-12-02 21:01:22 +02:00
Manos Pitsidianakis
e5b0ff4fe2
state: remove runtime_settings
2020-12-02 21:01:22 +02:00
Manos Pitsidianakis
7e1e57a2df
conf/themes: add mail.view.headers_names and mail.view.headers_area
...
Allow separate customization of header names and the rest of the header
area.
2020-12-02 17:10:42 +02:00
Manos Pitsidianakis
f8a47586e9
mail/listing: show mailbox loading state in status
2020-12-02 17:10:42 +02:00
Manos Pitsidianakis
7efbe6d692
listing: fix menu/sidebar not being redrawn on updates
2020-12-01 20:03:58 +02:00
Manos Pitsidianakis
0f86934e16
mail/status: display in-progress jobs first
2020-12-01 20:03:58 +02:00
Manos Pitsidianakis
c5a5c2666b
utilities/pager: show scrolling percentage and/or search results position
2020-12-01 20:03:58 +02:00
Manos Pitsidianakis
7db32ff1b3
terminal/cells: return success flag in CellBuffer::resize()
2020-12-01 01:04:27 +02:00
Manos Pitsidianakis
857d4d546f
utilities/pager: use LineBreakText for lazy line breaking
2020-12-01 01:04:27 +02:00
Manos Pitsidianakis
4914f29e20
themes: make conversations defaults grey
2020-11-30 02:20:09 +02:00
Manos Pitsidianakis
66dea9148b
mail/view: don't update() if coordinates are unchanged
2020-11-29 00:54:27 +02:00
Manos Pitsidianakis
7b3fb86483
mail/view: reset self.theme_default on loading envelope
...
self.theme_default might have initial value from MailView::default()
which does not correspond to actual theme_default
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
d8c978ed2d
mail/view/thread: fix scrollbar incorrect rendering
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
d076ff573f
MailView, StatusBar: Fix area bound check
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
6cbb89a8e5
utilities/widgets: fix tiny scrollbar grievances
...
- set minimum width/height to 1
- set reverse terminal attribute on !use_color
- use < > ^ v arrows and # block char if ascii_drawing
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
aa89969dca
utilities: use align_area in shortcut help panel
...
Before this commit shortcut help panel used to span almost all of the screen.
Use align_area() to center shortcut help box to its minimally required
size.
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
6a67322570
utilities: add scrollbar on y overflow in shortcuts panel
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
de018294e4
conf/themes: make notifications bg default color instead of red
2020-11-28 16:33:30 +02:00
Manos Pitsidianakis
6dd3b0bb4f
Fix theme_default not being respected
2020-11-28 16:33:30 +02:00
Manos Pitsidianakis
714ccb5e16
Move Color to src/terminal/color.rs
2020-11-28 16:33:30 +02:00
Manos Pitsidianakis
8d9247e9a3
listing: show auto-hide scrollbar in sidebar menu
...
Setting to turn it off is listing.show_menu_scrollbar.
Concerns #85 Accounts sidebar doesn't scroll
2020-11-28 16:33:10 +02:00
Manos Pitsidianakis
b659749880
listing: scroll account sidebar menu
...
Closes #85 Accounts sidebar doesn't scroll
2020-11-28 16:32:16 +02:00
Manos Pitsidianakis
b053aaa145
listing: prevent invalid area in print_account()
2020-11-28 16:03:36 +02:00
Manos Pitsidianakis
883b3e3a4f
mail/view: show multipart/alternative files properly in attachment list
...
Show entire multipart/alternative alternatives in attachment list
instead of only the displayed one, in order for the user to be able to
switch alternatives at will.
2020-11-28 15:59:25 +02:00
Manos Pitsidianakis
98c1ece28d
Update xdg-util dependency to 0.4.0
2020-11-28 15:59:25 +02:00
Manos Pitsidianakis
54b2066f73
mail/view: set dirty after closing ContactSelector
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
007e6320d5
utilities: respect theme_default in shortcut dialog
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
e01275cd93
utilities/dialogs: add cursot Unfocused state as default
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
879af75d88
utilities/dialogs: use align_area to create box
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
6a5bb2e057
Add align_area() and Alignment enum
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
311c1a8a95
utilities/dialogs: respect theme_default
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
ce5c7848e8
utilities: move dialogs to its own submodule
2020-11-25 21:19:22 +02:00
Andrew Jeffery
daee4e46de
Allow configuration of the sidebar divider
...
This adds the config option listing.sidebar_divider to set the character
used to show the divider (defaults to ' ') along with the corresponding
theme in mail.sidebar_divider which defaults to the default theme.
2020-11-25 15:54:47 +02:00
Manos Pitsidianakis
0a8a0c04c8
compose: treat inline message/rfc822 as attachments
2020-11-24 14:28:28 +02:00
Manos Pitsidianakis
ede5851baf
utilities: reverse order of drawing fields in form
...
Reverse order of drawing since a field might have an auto complete
prompt below it, so rendering the field below instead of above next
would overwrite it.
2020-11-24 14:28:28 +02:00
Manos Pitsidianakis
79345b3e84
utilities/StatusBar: fix lack of bounds checking in hist_area
2020-11-24 14:28:28 +02:00
Manos Pitsidianakis
b46cd09ca6
compose: pass body text when replying
...
Get rendered body text when creating a new reply Composer instead of
rendering the text in the Composer constructor.
Closes #86
2020-11-24 10:36:31 +02:00
Manos Pitsidianakis
bf56c88918
compose: respect auto_choose_multipart_alternative when rendering multipart/alternative attachments to text
2020-11-24 10:36:31 +02:00
Manos Pitsidianakis
73372ff1e7
compose: add show_comments arg to attachment_displays_to_text()
...
Toggle display of attachment comments (for example "this html attachment
was rendered with X filter...") when rendering text.
2020-11-24 10:36:21 +02:00
Manos Pitsidianakis
d4f508642a
widgets: allow text overflow in text fields
...
Show text content of a text field that exceeds the visible width
properly.
2020-11-24 10:36:21 +02:00
Manos Pitsidianakis
f69f623818
Fix some invalid area calculations
2020-11-24 02:23:07 +02:00
Manos Pitsidianakis
458209b448
view/thread: clear empty space in draw_list
2020-11-24 02:18:41 +02:00
Manos Pitsidianakis
b7c48a1ed0
view/thread: make list draw area consistent
2020-11-24 02:18:41 +02:00
Manos Pitsidianakis
f25f93fccf
utilities: Fix incorrect calculations in ScrollBar
2020-11-24 02:18:31 +02:00
Manos Pitsidianakis
31e4ed006d
listing: fix off by one error in PageDown movement
2020-11-24 02:18:31 +02:00
Manos Pitsidianakis
179ed52add
compose: grey embed area when embed is stopped
...
When stopping the embedded terminal with Ctrl-Z or SIGSTOP, show the
terminal area greyed out with a message box.
2020-11-24 02:18:21 +02:00
Manos Pitsidianakis
ebc290cc2a
compose: set format flowed if configured in pager
2020-11-24 02:18:21 +02:00
Manos Pitsidianakis
0aa5cf273f
mail/status: don't overwrite "In-progress jobs header"
2020-11-21 02:09:39 +02:00
Manos Pitsidianakis
023afbaae3
RateLimit: remove unupdated test
2020-11-16 00:45:18 +02:00
Manos Pitsidianakis
1c62de57ae
Never return true on processing JobFinished
...
JobFinished events are not meant to be inhibited.
2020-11-15 21:30:54 +02:00
Manos Pitsidianakis
76f8bdc558
Add configurable shortcut for 'quit'
...
Quit ('q' button) was hardcoded, switch to configurable shortcut setting
instead.
2020-11-15 21:30:54 +02:00
Manos Pitsidianakis
c0e3e78940
listing: dont overdraw menu over listing
2020-11-15 21:30:54 +02:00
Manos Pitsidianakis
aaee6d094c
Fix NO_COLOR cursor highlight in sidebar and progress spinner
2020-11-12 03:19:56 +02:00
Manos Pitsidianakis
60350eaa88
mail/status: add "general" shortcut section
2020-11-12 03:19:56 +02:00
Manos Pitsidianakis
aa73bd71c3
listing: fix mailbox tree rendering
...
Indentation value was being interpreted mirrored (raw binary value in
parenthesis):
0 testing_account (0)
1 ┣━Archives (0)
2 ┃ ┣━2014 (1)
3 ┃ ┃ ┗━10 (11)
4 ┃ ┗━2015 (1)
5 ┃ ┗━05 (10) <- invalid/mirrored
6 ┣━Drafts (0)
Should be:
0 testing_account (0)
1 ┣━Archives (0)
2 ┃ ┣━2014 (1)
3 ┃ ┃ ┗━10 (11)
4 ┃ ┗━2015 (1)
5 ┃ ┗━05 (10)
6 ┣━Drafts (0)
2020-11-11 17:14:34 +02:00
Manos Pitsidianakis
72084da185
Add store_sent_mail option for gmail
...
- store_sent_mail boolean
Store sent mail after successful submission.
This setting is meant to be disabled for non-standard behaviour in
gmail, which auto-saves sent mail on its own.
2020-11-09 22:22:11 +02:00
Manos Pitsidianakis
23777171f2
listing: clear_area in draw_menu
...
Completely clear area in draw_menu instead of resetting ch, fg, bg etc.
2020-11-09 19:45:09 +02:00
Manos Pitsidianakis
cbaf21764c
Remove status tab, move account status page to listing
2020-11-09 19:35:47 +02:00
Manos Pitsidianakis
da69eecafe
mail/status: make AccountStatus public
...
And fix areas passed to write_string_to_grid() to have the same y
coordinate in upper_left and bottom_right part.
2020-11-09 18:44:56 +02:00
Manos Pitsidianakis
a34f0aac5b
melib: fix bincode serialization
...
Previous commit changed bincode deserializes in maildir and sqlite3.rs
from bincode::deserialize_from to using bincode::config::DefaultOptions
and bincode::Options trait's method deserialize_from.
However, these two different deserializes use a different default
settings: https://github.com/servo/bincode/issues/348
Specifically, varint encoding for integers is the default for
DefaultOptions but not when using bincode::{de,}serialize_* functions.
That means that serialized structs were not able to be deserialized.
This commit makes all {de,}serializations use the DefaultOptions
interface rather than the top level functions.
2020-11-09 00:40:32 +02:00
Manos Pitsidianakis
6392904047
Replace PosixTimer with async timers
2020-10-29 13:18:36 +02:00
Manos Pitsidianakis
57e6cf3980
Limit dbus dependency to target_os = "linux"
2020-10-28 23:28:41 +02:00
Manos Pitsidianakis
afa74ccfb5
compose: add From text entry autocomplete
2020-10-24 14:36:39 +03:00
Manos Pitsidianakis
560771b32a
widgets: select AutoCompleteEntry on Enter
2020-10-24 14:32:02 +03:00
Manos Pitsidianakis
7b1ab389fa
Remove unused plugin interface
2020-10-21 17:58:30 +03:00
Manos Pitsidianakis
594a2bd0dd
listing: add set operations to range select actions
...
Add symmetric difference (default), union, difference and intersection
modifiers for selecting ranges. That way you can quickly construct the
selection set you need.
2020-10-21 14:36:51 +03:00
Manos Pitsidianakis
05ef863a45
utilities: move PageMovement to components mod
2020-10-21 13:19:13 +03:00
Manos Pitsidianakis
4b91de3d59
state: remove overlay widgets on ComponentKill events
2020-10-20 23:19:13 +03:00
Manos Pitsidianakis
eb36034740
accounts: autoload Sent folders automatically
2020-10-20 23:18:27 +03:00
Manos Pitsidianakis
9f39a7c5a1
statusbar: delete num buffer chars with Backspace
2020-10-20 15:09:00 +03:00
Manos Pitsidianakis
126ed8a189
statusbar: don't overwrite num buffer when progress spinner is deactivated
2020-10-20 15:04:50 +03:00
Manos Pitsidianakis
7919e95ddd
terminal/embed: remove some allocations and unwraps
2020-10-18 15:02:18 +03:00
Manos Pitsidianakis
89940dd606
cli-docs: compress included text
2020-10-17 20:50:29 +03:00
Manos Pitsidianakis
b69bc219c3
README.md: Add screenshots and update text
2020-10-17 15:02:38 +03:00
Manos Pitsidianakis
bb51d36579
composer: send NewJob event on submission
2020-10-16 22:30:56 +03:00
Manos Pitsidianakis
a2456fa3f5
docs/meli.conf.5: small fixes & additions
2020-10-16 22:28:00 +03:00