Skip to content

Commit

Permalink
Version 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed May 1, 2018
1 parent 41c9cc7 commit d718983
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,6 @@ _vendor-*/

# Tracing
trace.out

# base64 encoded temporary output
output.b64
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Changes from 1.9 to 1.10
* Syntax highlighting by using [chroma](https://github.com/alecthomas/chroma) instead of [highlight.js](https://highlightjs.org/).
* No external dependencies, ref issue #17.
* Add a mode for only using the Lua REPL with `-l` or `--lua`.
* New logo for the webpage, and new ASCII banner on the command line.
* New logo for the webpage, and new ANSI banner on the command line.
* Minor fix for closing `</head>` tags.
* Update vendored dependencies.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,6 @@ Thanks to [Egon Elbre](https://twitter.com/egonelbre) for the two SVG drawings t
General information
-------------------

* Version: 1.9
* Version: 1.10
* License: MIT
* Alexander F Rødseth &lt;[email protected]&gt;
2 changes: 1 addition & 1 deletion engine/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ func (ac *Config) REPL(ready, done chan bool) error {
ac.LoadLuaFunctionsForREPL(L, o)

// Getting ready
o.Println(o.LightBlue(ac.versionString))
o.Println(o.DarkCyan(ac.versionString))

<-ready // Wait for the server to be ready

Expand Down
Binary file added img/gophereyes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

const (
versionString = "Algernon 1.9"
versionString = "Algernon 1.10"
description = "QUIC Web Server"
)

Expand Down
7 changes: 4 additions & 3 deletions platformdep/logo_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ANSI banner HOWTO
*/

// gopher eyes
const image = `H4sIAIJW6FoCA+2ZQY7DIAxF973CbHKEMbGBqEfpGXr/bdXNjBQT8YNsQiuW/Qugzw8EzrL8PDjf5R7W/FzeP7bnX7LtEpIVSNQwNFRCm9T/BKUrE72evC9FEPkCqvH3MLgt/2YmNX2uDj2admZYL1WzoB2S+PERJ6iB6VjNQw1jfSs7soing7DGXoWxc5K6OdlAlKKPs4Vh9GkaWwxF9jiyQJbzsICJpFqUxtrKxx2agGwSLDQ3OwQ6KipSlYsbdi9QljQFhXmmqaepnqzvLeoZx6xIhGnoUZABoNs01O6CVIA39XQG/AV2drvRlxpjw7+RjIh2UrbpjdTWGjEy1I8wGQSQjnpm1WQsddWAhJELcASI8jBEoZcqsJQrDS30oqxOBbcE+uJACTiy94mojjqvVbWhXv3wmAsbvekLiJ+pbmeBXcItCHV7hm0SaapowVT+PKjnTH0BdQv/LvEcAAA=`
const image = `H4sIAJB76FoCA9WWTRKDIAxG91zBjUcQSBTGo/QM3n/bbvozfFRCRGp3nW+q5PEwZLhRWHm17LdxHG4Ut+GZJIHz9oeJtUu3xDGXk/NIGYKXG3NITgYCE0oTWhpD1LiBp5RuKGjQVdbf6Obre9AfT+lfZmBwAk7Yr8dPDUNHW1BhBl1yBn1xT3fRTUXNSxtZ9H+yJOdUIov6yXJcXh4oEMs7wXuvZqv8lUjISUEuaYOypL5iO7lGV3E/V3hjAoRAFS6tmy8yMxF1m5KsYLewQMIGApc+47mIgnGQ6u0ph6Q0CFEjSznSNkpyX81cHFQ4loWSLy+lbJSN0PdUmEM9JHMUdImgp0E14bTkYuSfuu6KgLzwGw8AAA==`

// Drawn in GIMP. Just a white grid on black background.
//const image = `H4sIAK/e01kCA5OONrGwNrU2MjbMVVCQjjaxzJUeFaFYhAunIkMzQgKjekaDkt5BOSoymtlHM/toZh8VIZjZAT4BWy4xCQAA`
Expand Down Expand Up @@ -81,7 +81,8 @@ func Banner(versionString, description string) string {
s := "\n" + decompressImage(image)
tabs := "\t\t\t\t"
s = tabs + strings.Replace(s, "\n", "\n"+tabs, utils.EveryInstance)
s = insertText(s, tabs, 5, 2, "\x1b[34;1m"+versionString+"\x1b[0m", 1)
s = insertText(s, tabs, 6, 1, "\x1b[30;1m"+description+"\x1b[0m", 1)
// See https://github.com/shiena/ansicolor/blob/master/README.md for ANSI color code table
s = insertText(s, tabs, 5, 2, "\x1b[36m"+versionString+"\x1b[0m", 1)
s = insertText(s, tabs, 6, 1, "\x1b[90m"+description+"\x1b[0m", 1)
return s
}
2 changes: 1 addition & 1 deletion vendor/github.com/xyproto/term
Submodule term updated 5 files
+1 −1 LICENSE
+8 −8 README.md
+8 −8 examples/repeat/main.go
+2 −7 misc.go
+29 −21 term.go

0 comments on commit d718983

Please sign in to comment.