s/aerc2/aerc/g

This commit is contained in:
Drew DeVault 2019-05-17 20:57:10 -04:00
parent 9c10a90cac
commit 98da4c9509
47 changed files with 76 additions and 76 deletions

16
aerc.go
View file

@ -10,14 +10,14 @@ import (
"github.com/mattn/go-isatty" "github.com/mattn/go-isatty"
"git.sr.ht/~sircmpwn/aerc2/commands" "git.sr.ht/~sircmpwn/aerc/commands"
"git.sr.ht/~sircmpwn/aerc2/commands/account" "git.sr.ht/~sircmpwn/aerc/commands/account"
"git.sr.ht/~sircmpwn/aerc2/commands/compose" "git.sr.ht/~sircmpwn/aerc/commands/compose"
"git.sr.ht/~sircmpwn/aerc2/commands/msgview" "git.sr.ht/~sircmpwn/aerc/commands/msgview"
"git.sr.ht/~sircmpwn/aerc2/commands/terminal" "git.sr.ht/~sircmpwn/aerc/commands/terminal"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
libui "git.sr.ht/~sircmpwn/aerc2/lib/ui" libui "git.sr.ht/~sircmpwn/aerc/lib/ui"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func getCommands(selected libui.Drawable) []*commands.Commands { func getCommands(selected libui.Drawable) []*commands.Commands {

View file

@ -1,7 +1,7 @@
package account package account
import ( import (
"git.sr.ht/~sircmpwn/aerc2/commands" "git.sr.ht/~sircmpwn/aerc/commands"
) )
var ( var (

View file

@ -3,7 +3,7 @@ package account
import ( import (
"errors" "errors"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
var ( var (

View file

@ -3,7 +3,7 @@ package account
import ( import (
"errors" "errors"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -6,8 +6,8 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func init() { func init() {

View file

@ -6,8 +6,8 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func init() { func init() {

View file

@ -6,8 +6,8 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func init() { func init() {

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -6,7 +6,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -6,7 +6,7 @@ import (
"os/exec" "os/exec"
"time" "time"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/mattn/go-runewidth" "github.com/mattn/go-runewidth"

View file

@ -14,7 +14,7 @@ import (
"github.com/emersion/go-imap" "github.com/emersion/go-imap"
"git.sr.ht/~sircmpwn/getopt" "git.sr.ht/~sircmpwn/getopt"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -4,7 +4,7 @@ import (
"errors" "errors"
"strconv" "strconv"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package account
import ( import (
"errors" "errors"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -4,7 +4,7 @@ import (
"errors" "errors"
"os" "os"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
"github.com/mitchellh/go-homedir" "github.com/mitchellh/go-homedir"
) )

View file

@ -5,7 +5,7 @@ import (
"github.com/google/shlex" "github.com/google/shlex"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
type AercCommand func(aerc *widgets.Aerc, args []string) error type AercCommand func(aerc *widgets.Aerc, args []string) error

View file

@ -3,7 +3,7 @@ package compose
import ( import (
"errors" "errors"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -1,7 +1,7 @@
package compose package compose
import ( import (
"git.sr.ht/~sircmpwn/aerc2/commands" "git.sr.ht/~sircmpwn/aerc/commands"
) )
var ( var (

View file

@ -4,7 +4,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -15,8 +15,8 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/miolini/datacounter" "github.com/miolini/datacounter"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package msgview
import ( import (
"errors" "errors"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -1,7 +1,7 @@
package msgview package msgview
import ( import (
"git.sr.ht/~sircmpwn/aerc2/commands" "git.sr.ht/~sircmpwn/aerc/commands"
) )
var ( var (

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package commands
import ( import (
"errors" "errors"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -4,7 +4,7 @@ import (
"os/exec" "os/exec"
"time" "time"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/riywo/loginshell" "github.com/riywo/loginshell"

View file

@ -3,7 +3,7 @@ package terminal
import ( import (
"errors" "errors"
"git.sr.ht/~sircmpwn/aerc2/widgets" "git.sr.ht/~sircmpwn/aerc/widgets"
) )
func init() { func init() {

View file

@ -1,7 +1,7 @@
package terminal package terminal
import ( import (
"git.sr.ht/~sircmpwn/aerc2/commands" "git.sr.ht/~sircmpwn/aerc/commands"
) )
var ( var (

2
go.mod
View file

@ -1,4 +1,4 @@
module git.sr.ht/~sircmpwn/aerc2 module git.sr.ht/~sircmpwn/aerc
require ( require (
git.sr.ht/~sircmpwn/getopt v0.0.0-20190214165041-9a4f886f9fc7 git.sr.ht/~sircmpwn/getopt v0.0.0-20190214165041-9a4f886f9fc7

View file

@ -7,7 +7,7 @@ import (
"github.com/emersion/go-imap" "github.com/emersion/go-imap"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
// Accesses to fields must be guarded by MessageStore.Lock/Unlock // Accesses to fields must be guarded by MessageStore.Lock/Unlock

View file

@ -5,7 +5,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
) )
type UI struct { type UI struct {

View file

@ -6,11 +6,11 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
"git.sr.ht/~sircmpwn/aerc2/lib" "git.sr.ht/~sircmpwn/aerc/lib"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
"git.sr.ht/~sircmpwn/aerc2/worker" "git.sr.ht/~sircmpwn/aerc/worker"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
type AccountView struct { type AccountView struct {

View file

@ -6,9 +6,9 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
libui "git.sr.ht/~sircmpwn/aerc2/lib/ui" libui "git.sr.ht/~sircmpwn/aerc/lib/ui"
) )
type Aerc struct { type Aerc struct {

View file

@ -13,10 +13,10 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/mattn/go-runewidth" "github.com/mattn/go-runewidth"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
"git.sr.ht/~sircmpwn/aerc2/lib" "git.sr.ht/~sircmpwn/aerc/lib"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
type Composer struct { type Composer struct {

View file

@ -6,9 +6,9 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
type DirectoryList struct { type DirectoryList struct {

View file

@ -3,7 +3,7 @@ package widgets
import ( import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
) )
type ExLine struct { type ExLine struct {

View file

@ -6,10 +6,10 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
"git.sr.ht/~sircmpwn/aerc2/lib" "git.sr.ht/~sircmpwn/aerc/lib"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
type MessageList struct { type MessageList struct {

View file

@ -16,10 +16,10 @@ import (
"github.com/google/shlex" "github.com/google/shlex"
"github.com/mattn/go-runewidth" "github.com/mattn/go-runewidth"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
"git.sr.ht/~sircmpwn/aerc2/lib" "git.sr.ht/~sircmpwn/aerc/lib"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
type MessageViewer struct { type MessageViewer struct {

View file

@ -6,7 +6,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
) )
var ( var (

View file

@ -5,7 +5,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
) )
type StatusLine struct { type StatusLine struct {

View file

@ -5,7 +5,7 @@ import (
"os" "os"
"os/exec" "os/exec"
"git.sr.ht/~sircmpwn/aerc2/lib/ui" "git.sr.ht/~sircmpwn/aerc/lib/ui"
"git.sr.ht/~sircmpwn/go-libvterm" "git.sr.ht/~sircmpwn/go-libvterm"
"git.sr.ht/~sircmpwn/pty" "git.sr.ht/~sircmpwn/pty"

View file

@ -3,7 +3,7 @@ package imap
import ( import (
"github.com/emersion/go-imap" "github.com/emersion/go-imap"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func (imapw *IMAPWorker) handleFetchMessageHeaders( func (imapw *IMAPWorker) handleFetchMessageHeaders(

View file

@ -3,7 +3,7 @@ package imap
import ( import (
"github.com/emersion/go-imap" "github.com/emersion/go-imap"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func (imapw *IMAPWorker) handleDeleteMessages(msg *types.DeleteMessages) { func (imapw *IMAPWorker) handleDeleteMessages(msg *types.DeleteMessages) {

View file

@ -3,7 +3,7 @@ package imap
import ( import (
"github.com/emersion/go-imap" "github.com/emersion/go-imap"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func (imapw *IMAPWorker) handleListDirectories(msg *types.ListDirectories) { func (imapw *IMAPWorker) handleListDirectories(msg *types.ListDirectories) {

View file

@ -3,7 +3,7 @@ package imap
import ( import (
"io" "io"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func (imapw *IMAPWorker) handleCopyMessages(msg *types.CopyMessages) { func (imapw *IMAPWorker) handleCopyMessages(msg *types.CopyMessages) {

View file

@ -3,7 +3,7 @@ package imap
import ( import (
"github.com/emersion/go-imap" "github.com/emersion/go-imap"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
func (imapw *IMAPWorker) handleOpenDirectory(msg *types.OpenDirectory) { func (imapw *IMAPWorker) handleOpenDirectory(msg *types.OpenDirectory) {

View file

@ -11,7 +11,7 @@ import (
"github.com/emersion/go-imap-idle" "github.com/emersion/go-imap-idle"
"github.com/emersion/go-imap/client" "github.com/emersion/go-imap/client"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
) )
var errUnsupported = fmt.Errorf("unsupported command") var errUnsupported = fmt.Errorf("unsupported command")

View file

@ -7,7 +7,7 @@ import (
"github.com/emersion/go-imap" "github.com/emersion/go-imap"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc/config"
) )
type WorkerMessage interface { type WorkerMessage interface {

View file

@ -1,8 +1,8 @@
package worker package worker
import ( import (
"git.sr.ht/~sircmpwn/aerc2/worker/imap" "git.sr.ht/~sircmpwn/aerc/worker/imap"
"git.sr.ht/~sircmpwn/aerc2/worker/types" "git.sr.ht/~sircmpwn/aerc/worker/types"
"fmt" "fmt"
"log" "log"