Skip to content
This repository was archived by the owner on Jul 28, 2018. It is now read-only.

Commit 75ac700

Browse files
committed
commit for v.1.3.0
1 parent 6b41c46 commit 75ac700

247 files changed

Lines changed: 75500 additions & 14018 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/github.com/chzyer/readline/complete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ func (o *opCompleter) CompleteRefresh() {
221221
}
222222
buf.WriteString(string(same))
223223
buf.WriteString(string(c))
224-
buf.Write(bytes.Repeat([]byte(" "), colWidth-len(c)-len(same)))
224+
buf.Write(bytes.Repeat([]byte(" "), colWidth-runes.WidthAll(c)-runes.WidthAll(same)))
225225

226226
if inSelect {
227227
buf.WriteString("\033[0m")
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: go
22
go:
3-
- 1.8.x
4-
- tip
3+
- "1.9.x"
4+
- "1.10.x"
5+
- "tip"
56

src/github.com/fatih/color/color.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ var (
2424
// os.Stdout is used.
2525
Output = colorable.NewColorableStdout()
2626

27+
// Error defines a color supporting writer for os.Stderr.
28+
Error = colorable.NewColorableStderr()
29+
2730
// colorsCache is used to reduce the count of created Color objects and
2831
// allows to reuse already created objects with required Attribute.
2932
colorsCache = make(map[Attribute]*Color)

src/github.com/go-gl/gl/all-core/gl/package.go

Lines changed: 6759 additions & 1158 deletions
Large diffs are not rendered by default.

src/github.com/go-gl/gl/all-core/gl/procaddr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ package gl
5151
#include <stdlib.h>
5252
#include <GL/glx.h>
5353
void* GlowGetProcAddress_glcoreall(const char* name) {
54-
return glXGetProcAddress(name);
54+
return glXGetProcAddress((const GLubyte *) name);
5555
}
5656
#endif
5757
*/

src/github.com/go-gl/gl/v2.1/gl/package.go

Lines changed: 1717 additions & 189 deletions
Large diffs are not rendered by default.

src/github.com/go-gl/gl/v2.1/gl/procaddr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ package gl
5151
#include <stdlib.h>
5252
#include <GL/glx.h>
5353
void* GlowGetProcAddress_gl21(const char* name) {
54-
return glXGetProcAddress(name);
54+
return glXGetProcAddress((const GLubyte *) name);
5555
}
5656
#endif
5757
*/

src/github.com/go-gl/gl/v3.1/gles2/package.go

Lines changed: 5134 additions & 2120 deletions
Large diffs are not rendered by default.

src/github.com/go-gl/gl/v3.1/gles2/procaddr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ package gles2
5151
#include <stdlib.h>
5252
#include <GL/glx.h>
5353
void* GlowGetProcAddress_gles231(const char* name) {
54-
return glXGetProcAddress(name);
54+
return glXGetProcAddress((const GLubyte *) name);
5555
}
5656
#endif
5757
*/

src/github.com/go-gl/gl/v3.2-compatibility/gl/package.go

Lines changed: 1702 additions & 119 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)