id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
53,080,009
nvm
.nvmrc should override default in new shells
I'd like to use the stable node version as the default, but use a specific version automatically if I open a shell in a directory with a `.nvmrc`. Currently, if I specify a default alias, that default overrides `.nvmrc` until I manually run `nvm use`.
feature requests
medium
Major
53,221,982
rust
Can't write non-overlapping blanket impls that involve associated type bindings
### STR Example from libcore: ``` rust #![crate_type = "lib"] #![feature(associated_types)] #![no_implicit_prelude] trait Iterator { type Item; } trait AdditiveIterator { type Sum; fn sum(self) -> Self::Sum; } impl<I> AdditiveIterator for I where I: Iterator<Item=u8> { //~error conflicting implementa...
A-trait-system,A-associated-items,T-lang,C-bug,needs-rfc
high
Critical
53,296,882
go
x/build: tracking bug for macOS virtualization
I'd like to get OS X builders running in VMs too. (Related to #9492 and https://golang.org/s/builderplan) Looks like virtualizing OS X 10.7+ is legal (but not 10.6) as long as it's only 1 copy, and on official Apple hardware. Considering that we already run Go builders on official Mac hardware in the office, we can ...
OS-Darwin,Builders
medium
Critical
53,312,747
neovim
"set lines=999 columns=999" causes layout issues
I just built a fresh version of neovim to confirm this. I can reproduce with TERM=screen-256color and TERM=xterm and with both terminator and xterm. When I run nvim I see a console like this: [<img src="http://i.imgur.com/NkGDiya.png" />](http://i.imgur.com/NkGDiya.png) Vim looks fine: [<img src="http://i.imgur.co...
ui,bug-vim,display,startup
low
Minor
53,336,809
youtube-dl
[NRKTV] When playing with VLC the audio is corrupted
Reported on IRC: For example the test url http://tv.nrk.no/serie/20-spoersmaal-tv/MUHH48000314/23-05-2014 or http://tv.nrk.no/serie/bare-en-mann-bjoern-eidsvaag/MUHU20002114/02-01-2015, after a few seconds the audio doesn't play correctly, if you download the video with AdobeHDS.php it plays fine.
bug
low
Minor
53,357,098
youtube-dl
Add support for apple.com
Hello, Could you please add support for videos on apple.com? Here are some examples: http://www.apple.com/apple-events/2014-oct-event/ http://www.apple.com/ipad-air-2/change/ The video on the second link is slightly different, it only shows up after the "Watch the film" button is clicked. (Most of the non-event vide...
site-support-request
low
Critical
53,359,491
go
net: add support for FileConn, FilePacketConn, FileListener on windows
Issue for discussion. FileListener is useful to implement graceful-restart server. ex: https://github.com/lestrrat/go-server-starter I know windows doesn't have a way to pass FDs to external process like UNIX OSs. But it's not impossible. WSADuplicateSocket can export intormation of file descriptor as WSAPROTOCOL_INF...
help wanted,OS-Windows,FeatureRequest
low
Major
53,363,554
go
x/build/dashboard: add an Arch Linux builder
Noticing the build failure in #9437 on Arch Linux, perhaps we should have an Arch builder. Looks like it wouldn't be too hard, since an official Arch Linux Docker template exists: https://registry.hub.docker.com/u/base/archlinux/
Builders,new-builder
low
Critical
53,430,521
youtube-dl
Unsupported URL: http://www.lemouv.fr/rone-apache-binaural
``` [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['http://www.lemouv.fr/rone-apache-binaural', '-v'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.01.05 [debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.7 [debug] ex...
site-support-request
low
Critical
53,504,910
rust
Package debug libstd with binaries
For debugging it's useful to have a debug build of std. Figuring out how to make the debugger actually locate the source in all scenarios could be complicated.
A-debuginfo,P-low,T-bootstrap,T-infra,C-feature-request
low
Critical
53,559,076
go
encoding/xml: support for XML namespace prefixes
Marshal-ing data back to XML does not seem to support namespace prefixes.. For example: https://play.golang.org/p/6CY71H7mb4 The input XML is: &lt;stix:STIX_Package&gt;, but when it writes it back out it does &lt;STIX_Package xmlns="stix"&gt; Also, there does not appear to be any data elements like xml.Name for add...
NeedsFix,early-in-cycle
medium
Critical
53,582,955
rust
where clauses are only elaborated for supertraits, and not other things
The following example: ``` rust trait Foo<T> { fn foo(&self) -> &T; } trait Bar<A> where A: Foo<Self> {} fn foobar<A, B: Bar<A>>(a: &A) -> &B { a.foo() } ``` fails with "error: type `&A` does not implement any method in scope named `foo`". This UFCS variant ``` rust trait Foo<T> { fn foo(&self) -> &T; }...
A-type-system,A-trait-system,T-compiler,C-bug,T-types
high
Critical
53,806,104
rust
Normalization of projections in trait bounds on associated types
Related to #20765 we should do more normalization in order for this test to pass: ``` rust // Copyright 2015 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APA...
A-associated-items,T-compiler,C-bug
low
Minor
53,835,256
neovim
autoread ALL files (avoid W13 warning)
What I mean by newly created file is when a buffer that doesn't have a corresponding file on disk (think BufNewFile) suddenly does (triggering W13). I'll sometimes have buffers open for files that don't exist in a session either because they are on an external drive that isn't mounted or in an encrypted volume that isn...
enhancement,complexity:low,events,filesystem
low
Minor
53,892,783
go
cmd/vet: warn about assembly functions using fully qualified name
See golang.org/cl/2588 for a full description. cc @minux
Analysis
low
Minor
53,932,929
rust
Cannot infer closure type with higher-ranked lifetimes inside Box::new
In the code below, type inference works in the first line of `main()`, but fails in the second one. Note also that the "kind" of the closure has to be given with explicit syntax when inside `Box::new()`. ``` rust fn do_async<F>(_cb: Box<F>) where F: FnOnce(&i32) { } fn do_async_unboxed<F>(cb: F) where F: FnOnce(&i32)...
A-type-system,C-enhancement,P-low,A-closures,T-lang,T-compiler,E-medium,T-types
medium
Major
53,939,158
TypeScript
QuickInfo shows icon and name of item type
![image](https://cloud.githubusercontent.com/assets/7121557/5689991/6c25970e-9827-11e4-9eb6-32183661a747.png) We're showing the purple cube that means method but also the text (method). It should be unnecessary to show both. Likewise: ![image](https://cloud.githubusercontent.com/assets/7121557/5689993/74414514-9827-1...
Suggestion,Help Wanted,API
low
Minor
54,002,277
rust
Improve docs rendering performance by addressing PageSpeed Insights issues
[Results from PageSpeed](https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fdoc.rust-lang.org%2Fnightly%2Fbook%2Fownership.html&tab=desktop). The easy ones are setting up cache expiration times for the font & css files and minifying the CSS. Eliminating render-blocking JavaScript and CSS in above...
T-rustdoc,C-enhancement,E-help-wanted
low
Major
54,008,316
go
cmd/cgo: generates far too many //line pragmas
``` // Created by cgo - DO NOT EDIT //line issue9557.go:1 package main //line issue9557.go:4 //line issue9557.go:3 import ( "fmt" ) //line issue9557.go:21 //line issue9557.go:20 type bar struct { a int } //line issue9557.go:25 //line issue9557.go:24 var buzz *bar //line issue9557.go:27 //line issue...
NeedsInvestigation
low
Minor
54,088,602
nvm
Add Changelog
Hey, first off thank you so much for the amazing tool! It's proven to be indispensable for me and my team. I know it's been mentioned that plans are to add an automatic changelog generator but I thought I'd add an official request here. A changelog (CHANGELOG.md) would really be helpful in updating my nvm's so I didn'...
pull request wanted
low
Major
54,102,741
go
x/mobile: create a package for the Mobile Ads SDK
See https://github.com/googleads/googleads-mobile-plugins for a similar Unity plugin.
NeedsDecision,mobile
low
Minor
54,219,710
rust
GDB should break on panic
Expected behavior: - when I use gdb, gdb should catch the panic and I should be able to use `bt` to analyze the stack. - when I use RUST_BACKTRACE=1 I should see source files and line numbers in the backtrace. Actual behavior: ``` andy@andy-bx:~/dev/hackerrank/angry-children$ rustc --version rustc 1.0.0-nightly (3d0d...
A-debuginfo,T-compiler,C-feature-request
medium
Critical
54,428,957
go
x/review/git-codereview: query both remote.origin.pushurl and remote.origin.url to determine the gerrit URL?
remote.origin.pushurl should override remote.origin.url in this case. It's reasonable to set only the pushurl to a Gerrit instance, and still pull from github.
NeedsInvestigation
low
Minor
54,453,609
go
cmd/cgo: macros for C field names not recognized by cgo
The linux manpage ipv6(7) states that in6_addr is a C struct containing an unsigned char array[16] with name s6_addr. When compiling a C program, this works: ``` C #include <stdio.h> #include <netinet/in.h> int main() { struct in6_addr addr; printf("%s\n", addr.s6_addr); } ``` However, the following Go program d...
NeedsInvestigation
low
Critical
54,486,963
rust
deny(warnings) doesn't affect all warnings, only those generated through the lint system
null
A-lints,A-diagnostics,P-low,T-compiler,C-bug
medium
Major
54,521,964
go
test: comprehensive testing of narrowing binary operations
#9604 highlighted that more testing of narrowing binary operations is required.
NeedsInvestigation
low
Minor
54,634,152
go
runtime: support partial object collection in GC
It recycles well here (http://play.golang.org/p/qaQaETyZvQ), which appends 1000 elements and not use the slice anymore. But it doesn't recycle the slice if I make a 1000-element slice first and not use it anymore. (http://play.golang.org/p/CQXs3Rpjae) If I set some elements in the slice to nil, they can be recycled t...
GarbageCollector
low
Major
54,675,983
rust
Consider making std::thread::Builder reusable
Consider making `std::thread::Builder` reusable or have a reusable variant. This would be a helpful construct to use as part of a thread pool or any other abstraction that spawns threads.
T-libs-api,C-feature-request
low
Major
54,686,145
kubernetes
rlimit support
https://github.com/docker/docker/issues/4717#issuecomment-70373299 Now that this is in, we should define how we want to use it.
priority/important-soon,area/isolation,sig/node,kind/feature
high
Critical
54,691,679
youtube-dl
Add Support for Royal Institute Christmas Lectures (1825 - ): richannel.org
The Royal Institute Christmas Lectures ... it's been a thing since 1825. A good example page is the first of the 1991 Richard Dawkins Lectures: http://www.richannel.org/christmas-lectures-1991-richard-dawkins--waking-up-in-the-universe the proper steam appears to be is embedded in <object type="application/x-shockwa...
site-support-request
low
Minor
54,729,527
go
x/review/git-codereview: 'git sync' should say what happened
When `git sync` does a fast forward or rebase, it would be nice to know what it did. Something like this: ``` $ git sync Synced local branch 'foo' HEAD to d34db33f (17 new commits) $ git sync Local branch 'foo' HEAD at d34db33f (no new commits) ```
help wanted,NeedsFix
low
Minor
54,736,132
youtube-dl
[NDTV] Support live streams
Example url : http://www.ndtv.com/video/live/channel/ndtv24x7 youtube-dl --verbose -g http://www.ndtv.com/video/live/channel/ndtv24x7 [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', '-g', 'http://www.ndtv.com/video/live/channel/ndtv24x7'] [debug] Encodings: locale UTF-8, fs ...
request
low
Critical
54,801,766
nvm
When NVM_DIR is a symlink, `nvm_ls` breaks
Per some of the discussion on here: https://github.com/creationix/nvm/pull/616#issuecomment-70540684 as reported by @patrick-steele-idem Solution is to add `-L` to the `find` command inside `nvm_ls`. The tricky part is writing a test for it :-)
testing,bugs,pull request wanted
low
Minor
55,058,708
go
proposal: net/v2: Addr, LocalAddr, RemoteAddr must return established endpoint addresses
Example here: http://play.golang.org/p/0zfs2UZ7ZY I don't know if this is intended, but it feels weird.
v2,Proposal
low
Major
55,079,319
go
cmd/compile: better error message when attempting to use a shadowed type name
The compiler will emit a confusing error when a type is shadowed within a function. It should somehow try and make clear that the inner type shadows the global type. ``` prog.go:13: cannot use Range literal (type Range) as type Range in assignment ``` [Link to play.golang.org example](http://play.golang.org/p/ljMvbQf...
NeedsInvestigation
low
Critical
55,202,080
neovim
Dockerfile
Would you all be open to a Dockerfile for using neovim and as a neovim official image? I can make the pull request. Or would you rather wait until development was more stable.
distribution
medium
Critical
55,230,176
go
net: implement multicast network interface API on DragonFly BSD
See https://github.com/golang/go/blob/master/src/net/interface_dragonfly.go.
help wanted,OS-Dragonfly
low
Minor
55,230,287
go
net: implement multicast network interface API on OpenBSD
See https://github.com/golang/go/blob/master/src/net/interface_openbsd.go.
help wanted,OS-OpenBSD
low
Minor
55,230,348
go
net: implement multicast network interface API on NetBSD
See https://github.com/golang/go/blob/master/src/net/interface_netbsd.go.
help wanted,OS-NetBSD,NeedsFix
low
Minor
55,234,993
youtube-dl
Add support for soundcloud tags
it advised me to report this: ``` $ youtube-dl https://soundcloud.com/tags/folk [soundcloud] tags/folk: Resolving id [soundcloud] tags/folk: Downloading info JSON ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure yo...
site-support-request
low
Critical
55,335,337
youtube-dl
Add support for www.be-at.tv
example url (shortened): http://www.be-at.tv/i3wCAA example url (full): http://www.be-at.tv/brands/shelborne-hotel/dj-mag-recession-sessions/solomun
site-support-request
low
Minor
55,359,090
go
x/pkgsite: don't show un-runnable examples as runnable
The example for exec.Command won't run in the playground sandbox because it depends on 'tr'. http://golang.org/pkg/os/exec/#Command There are other such examples. We should probably detect (somehow) that they won't run, and not display them as runnable examples on golang.org.
help wanted,NeedsFix,pkgsite
low
Major
55,488,241
youtube-dl
unable to extract facebook video in private group, user with two-factor auth
``` [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['https://www.facebook.com/video.php?v=PRIVATE', '--username', u'PRIVATE', '--password', u'PRIVATE', '--twofactor', 'PRIVATE', '--verbose'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.01...
request
low
Critical
55,622,401
rust
Imprecise floating point operations (fast-math)
There should be a way to use imprecise floating point operations like GCC's and Clang's `-ffast-math`. The simplest way to do this would be to do like GCC and Clang and implement a command line flag, but I think a better way to do this would be to create a `f32fast` and `f64fast` type that would then call the fast LLVM...
A-LLVM,I-slow,C-enhancement,T-lang,C-feature-request,A-floating-point
high
Major
55,696,657
go
runtime: cgo performance tracking bug
Running this stupid microbenchmark on linux/amd64, with different version of Go. http://play.golang.org/p/5U0i26sA8U ``` package main // int rand() { return 42; } import "C" import "testing" func BenchmarkCgo(b *testing.B) { for i := 0; i < b.N; i++ { C.rand() } } func main() { testing.Main(fun...
Performance
low
Critical
55,835,768
nvm
git `autocrlf` setting causes syntax errors after install
I'm getting the following error when opening a new shell after installing nvm: ``` bash : command not found : command not found 'ash: /Users/jtelford/.nvm/nvm.sh: line 12: syntax error near unexpected token `{ 'ash: /Users/jtelford/.nvm/nvm.sh: line 12: `nvm_has() { ``` I successfully installed nvm with the following...
installing node,bugs
low
Critical
55,850,799
youtube-dl
site support campus.codeschool
Please support http://campus.codeschool.com/courses/shaping-up-with-angular-js/
site-support-request,account-needed
low
Major
55,949,058
TypeScript
findReferences doesn't give results in the right order
Search for "globalTemplateStringsArrayType" in checker.ts. The results are not in the right order (the order of the text spans).
Bug,Visual Studio,Help Wanted
low
Major
55,962,696
kubernetes
Pod lifecycle checkpointing
Filing this issue for discussion and tracking, since it has come up a number of times. Starting with background: Pods are scheduled, started, and eventually terminate. They are replaced with new pods by replication controller (or some other controller, once we add more controllers). That's both reality and the model....
sig/node,kind/feature,lifecycle/frozen,triage/needs-information,needs-triage,area/pod-lifecycle
medium
Critical
55,979,892
TypeScript
Make the Compiler and Language Service API Asynchronous
It makes very little sense that IO-bound operations (e.g. readFile, writeFile) are synchronous when we run on a platform whose touted strength is in writing IO-bound applications through asynchronous non-blocking APIs. Compile times could probably be shaved down by a bit, especially for large projects with many files....
Suggestion,Needs More Info
high
Critical
56,066,185
go
x/tools/cmd/oracle: provide element documentation for the "describe" operation.
Hello. Recently [Goclipse](https://github.com/GoClipse/goclipse) has added integration with the Go Oracle tool within Eclipse, for a Open Definition functionality. There's a few things Go Oracle could improve upon, to further improve the integration. - Namely, could the "describe" operation be modified to include a fie...
NeedsInvestigation
low
Minor
56,070,580
rust
Revise usage of LLVM lifetime intrinsics
Currently, rustc emits lifetime intrinsics to declare the shortest possible lifetime for allocas. Unfortunately, this stops some optimizations from happening. For example, @eddyb came up with the following example: ``` rust #![crate_type="lib"] extern crate test; #[derive(Copy)] struct Big { large: [u64; 100000], }...
C-cleanup,A-LLVM,I-slow,I-needs-decision,T-compiler
low
Major
56,358,461
angular
Support UTF in Angular expressions
Currently the lexer in change detection uses `StringWrapper.charCodeAt()` - in Dart it returns `s.codeUnitAt()` which supports UTF - in JS it returns `str.charCodeAt()` which does not support UTF
type: bug/fix,effort2: days,freq1: low,area: core,area: compiler,state: confirmed,core: binding & interpolation,P3,compiler: parser,canonical
medium
Critical
56,417,228
rust
Trait bounds are not yet enforced in type definitions
Opening an issue since I could not find any information on when/if this will be enforced. Would be really useful for some generalizing I am trying for parser-combinators which I can't do currently without complicating the API. Specifically I'd like to use a trait bound in a type definition to access an associated type...
A-type-system,E-hard,A-trait-system,P-medium,I-needs-decision,T-compiler,C-future-incompatibility,T-types
medium
Critical
56,422,779
rust
Stability checker doesn't recurse down reexports properly
stability.rs: ```rs #![crate_type="lib"] #![feature(staged_api)] #![staged_api] #![stable(feature = "stability", since = "1.0.0")] mod foo { #[derive(Copy)] pub struct Bar; } #[unstable(feature="foobar")] pub mod foobar { pub use super::foo::*; } ``` test.rs: ```rs extern crate st...
A-stability,T-libs-api,C-bug,F-staged_api
low
Critical
56,427,206
youtube-dl
Write playlist index number into the id3v2 "track" field (and playlist title into the "album" field)
Many YouTube video playlist with screencasts (video tutorials) has a very specific order, if you watch them on the web page all of them will play in the intended order, but once all of them are downloaded locally you will notice that that order is gone, because the video titles (and the filename) has not index number c...
request
low
Minor
56,430,063
rust
&mut self borrow conflicting with itself.
I don't know why this happens but rovar and XMPPwocky on IRC believed it to be a compiler bug. ``` rust struct A { a: i32 } impl A { fn one(&mut self) -> &i32{ self.a = 10; &self.a } fn two(&mut self) -> &i32 { loop { let k = self.one(); if *k > 10i32 { ...
A-type-system,A-borrow-checker,T-compiler,A-NLL,C-bug,T-types,fixed-by-polonius
medium
Critical
56,443,457
go
os/signal: No access to the siginfo_t struct
The siginfo_t struct that is delivered with signals contains various useful information about the signal. In some cases, this information is necessary to implement the kernel API of various features. For example, fcntl(F_SETLEASE) requires that your process receive a SIGIO when the lock is broken, and the si_fd field i...
help wanted,FeatureRequest,compiler/runtime
medium
Critical
56,464,092
TypeScript
Report error if code precedes /// reference
a.ts: ``` ts 'use strict' /// <reference path='b.d.ts'/> var x: Foo; ``` b.d.ts: ``` ts interface Foo { x: string; } declare module "b" { export = Foo; } ``` ``` D:\test\refs\a> tsc a.ts a.ts(4,8): error TS2304: Cannot find name 'Foo'. ``` There's no mention in section 11.1.1 of the spec that /// referenc...
Bug,Help Wanted
low
Critical
56,528,041
You-Dont-Know-JS
"this & object prototypes": update appendix A `class` syntax to spec
- `super.foo()` instead of just `super()` in non-constructors. - `toMethod(..)` has gone away entirely, so no way to rebind `[[HomeObject]]`
for second edition
medium
Minor
56,546,657
rust
The compiler should report publicly exported type names if possible
If a private type is reexported at some public location, the Rust compiler will report the private location when referring to the type. It'd be more helpful if the compiler reported the public alias for it. This was reported by Coda Hale on Twitter. ---- Update by pnkfelix: here is a standalone bit of code ill...
E-hard,C-enhancement,A-diagnostics,A-resolve,P-medium,T-compiler,D-newcomer-roadblock
medium
Critical
56,560,630
youtube-dl
Failed for flash video from `erlang-factory.com`
Complete log: ``` [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-twci', '--console-title', '--verbose', 'http://www.erlang-factory.com/conference/London2009/speakers/SimonPeytonJones'] [debug] Encodings: locale UTF-8, fs utf-8, out None, pref UTF-8 [debug] youtube-dl version 2014.11.2...
site-support-request
low
Critical
56,609,452
go
encoding/xml: Unmarshal does not properly handle NCName in XML namespaces
Example: type A struct { XMLName xml.Name `xml:"a:B"` } Struct A is marshaled to "<a:B></a:B>", as expected. However if we run a := A{} xml.Unmarshal([]byte("<a:B></a:B>"), &a) It results in an error saying "unexpected error: expected element type <a:B> but have <B>"
NeedsFix,early-in-cycle
low
Critical
56,613,672
TypeScript
Go to definition includes results from other entity spaces
``` ts Symbol.for("foo"); ``` Go to definition on `Symbol`. Expected: Only the var in lib.es6.d.ts is found. Actual: Both the var and the interface are found This is bad because Visual Studio only goes to the definition if there exactly one definition. By saying there are two definitions, VS does not navigate accordi...
Bug,Help Wanted,Domain: Symbol Navigation
low
Minor
56,695,504
You-Dont-Know-JS
"this & object prototypes": cover `__proto__` in object literals
ES6 now allows: ``` js var Foo = { .. }; var Bar = { __proto__: Foo, .. }; ``` This is obviously now much preferable in OLOO style, though of course it is ES6 only and requires some sort of transpilation to work backwards.
for second edition
low
Minor
56,710,533
rust
Treatment of regions in trait matching is perhaps too simplistic
Not sure why I didn't see this coming. Until now, the treatment of regions in trait matching has intentionally ignored lifetimes (in the sense of, it did not consider lifetime constraints when deciding what impl to apply -- once an impl is selected, the constraints that appear on it naturally are enforced). The reason ...
C-enhancement,A-lifetimes,A-trait-system,T-lang,T-compiler,T-types
low
Major
56,932,679
go
x/build: detect leftover temporary files?
Could the builders detect that there isn't any leftover temporary files in $TMPDIR after testing each repo? (We need to whitelist a few, for example gopath-api-*) Ideally this should be treated a build failure and reported back to the CL that triggered this. Each time I logged into the netbsd-386 builder, I find a lo...
Builders,FeatureRequest
low
Critical
56,943,603
rust
Rustdoc links to std library types can bypass the facade
As an example, generate documentation for this: ``` rust #![crate_type="lib"] pub trait Trait { } impl<T> Trait for Vec<T> { } ``` On the docs for the `Trait` trait, there will be an Implementors section like this: <ul class="item-list" id="implementors-list"> <li><a class="stability Unmarked" title="No stabil...
T-rustdoc,C-bug,A-cross-crate-reexports
low
Critical
56,989,139
nvm
default install method didn't patch my bashrc/bash_profile files
`curl https://raw.githubusercontent.com/creationix/nvm/v0.23.3/install.sh | bash` ``` $ echo $HOME /home/username $ uname -a Linux ashes 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2 x86_64 GNU/Linux $ bash --version GNU bash, version 4.2.37(1)-release (x86_64-pc-linux-gnu) $ echo $PROFILE (empty) ```
installing node,needs followup,installing nvm: profile detection
low
Minor
56,995,870
rust
Rustdoc should indicate variance on lifetime/type parameters
This has come up a few times in IRC and I think it's a nice idea. It's already important for lifetime parameters, where variance is important today, and could be useful for type parameters as well if rust-lang/rfcs#738 is accepted. <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_...
T-rustdoc,C-feature-request,A-variance
low
Major
57,071,673
TypeScript
Support column limit in formatter
Currently, running the formatter (eg via the compiler API: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#pretty-printer-using-the-ls-formatter) produces code which is arbitrarily wide, for statements which are nested, complex, etc. Our style guide requires a maximum columns, which means the forma...
Suggestion,Help Wanted
low
Major
57,100,597
TypeScript
Formatter: allow continuation indent different from nested indent
The Google style guide http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#Code_formatting requires indenting by two spaces for nested code, but by 4 spaces when continuing a statement or declaration on the next line. This configuration doesn't seem to be possible.
Suggestion,Help Wanted
low
Minor
57,112,711
go
runtime: TestGdbLoadRuntimeSupport fails on non intel platforms
`runtime.TestGdbLoadRuntimeSupport` does not pass on linux/arm or linux/ppc64le. In both cases the error is the same ``` --- FAIL: TestGdbLoadRuntimeSupport (1.98s) runtime-gdb_test.go:59: warning: Missing auto-load scripts referenced in section .debug_gdb_scripts of file /tmp/go-build302202449/a.exe ...
NeedsInvestigation
low
Critical
57,120,791
nvm
Use package.json engines version?
Run `nvm use` will read local package.json's engines.node and change version accordingly. Or anyway that auto switch the version.
feature requests
high
Critical
57,185,887
go
x/tools/imports: fill in missing type information in composite literals
Idea from campoy + discussions with crawshaw. The spec now permits some types to be elided from composite literals: "Within a composite literal of array, slice, or map type T, elements that are themselves composite literals may elide the respective literal type if it is identical to the element type of T. Similarly, e...
NeedsInvestigation
low
Major
57,244,135
youtube-dl
--sleep-interval not working without video download
For example, downloading just the subs from a playlist. This is the type of situation where sleeping is actually useful because downloading a video takes time anyway.
bug
low
Major
57,255,857
kubernetes
Scheduler input should be taken when reducing replicas
When the replica count is increased, the new pod(s) are assigned to hosts by the scheduler based on policies defined by the selected predicates/priorities. However, during scale-down (reducing the replica count), the scheduler does not come into the picture potentially resulting in a violation of the scheduling policie...
priority/backlog,sig/scheduling,area/controller-manager,kind/feature,sig/apps,lifecycle/frozen
high
Critical
57,271,353
rust
assoc types: type inference works with UFCS but not with method calls
### STR ``` rust #![crate_type = "lib"] trait Tuple { type Array: Toa<Item=Self>; } trait Toa { type Item; fn push(&mut self, Self::Item); fn with_capacity(usize) -> Self; } #[cfg(not(works))] fn f<T: Tuple>(t: T) -> T::Array { let mut toa = Toa::with_capacity(1); toa.push(t); //~ error: t...
A-type-system,A-associated-items,T-compiler,A-inference,C-bug,T-types
low
Critical
57,343,279
rust
Output of independent artefacts might differ depending on unrelated options
Existence or lack of `--crate-type=bin` may influence output of other `crate-type` outputs. In general `libfoo.a` output by `--crate-type=bin,staticlib` and `--crate-type=staticlib` might be completely different. For example using [this `foo.rs`](https://gist.github.com/nagisa/61edd3b202c6baf5404f#file-foo-rs), [this]...
I-needs-decision,T-compiler,C-bug
low
Minor
57,394,562
rust
Deref coercion not working for `Box<Trait>`
The following fails to compile: ``` rust trait Trait {} fn takes_ref(t: &Trait) {} fn takes_box(t: Box<Trait>) { takes_ref(&t) } fn main() { } ``` with ``` <anon>:5:15: 5:17 error: the trait `Trait` is not implemented for the type `Box<Trait>` [E0277] <anon>:5 takes_ref(&t) ^~ ``` de...
A-trait-system,T-compiler,C-bug
low
Critical
57,457,237
youtube-dl
[rtp] Add support for playlists
It seems not be possible to download from rtp.pt, the videos on one page, as we can do in a youtube playlist. I tried and get this: D:\Downloads>youtube-dl -f 22/17/18 --verbose -o ./%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s http://www.rtp.pt/play/p831/a-quimica-das-coisas [debug] System config: [] [deb...
request
low
Critical
57,499,932
neovim
undo: collapse identical contiguous edits
When a change is undone, then a new change is made, if the new change is identical to the previously undone change (the next node in the current tree branch), just set the state of the undo history back to that next node instead of creating a new tree branch.
enhancement
low
Major
57,521,258
go
x/build: trybots should rebase when testing
Currently with the trybot code, if Go's master is A and we have pending CLs B and C on A, currently we test B-on-A and C-on-A, but then when B is merged, we're still testing C on A, instead of C-on-B. We should do: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#rebase-change ... which wil...
Builders,Friction
medium
Major
57,525,997
youtube-dl
append 3 on the script name
I don't know but i'm the only one here which wants to user youtube-dl on a machine with 2 python versions: 2 and 3? So as pip i think it's a good idea to generate a script with a "-3" at the end to indicate we are accessing the bin folder of python 3. I really don't know if it's trivial or easy, but if not just disrega...
request
low
Minor
57,535,829
go
proposal: spec: direct reference to embedded fields in struct literals
Consider ``` type E struct { A int } type T struct { E } ``` This works: ``` T{E: E{A: 1}} ``` This does not: ``` T{A: 1} ``` Makes some struct literals more verbose than they need be, and makes them asymmetrical to their usage (where you can access the embedded struct's fields directly). Can we allow i...
LanguageChange,Proposal,LanguageChangeReview
high
Critical
57,652,721
go
runtime: dead Gs cause span fragmentation
Once we allocate a G, it is allocated forever. We have no mechanism to free them. We should free dead Gs if they sit in the global free queue for long enough. Or maybe free all of them at each GC? I noticed this while debugging #8832. The stacks for dead Gs **are** freed at GC time. This leads to a fragmented heap...
compiler/runtime
medium
Critical
57,670,179
rust
Public items re-exported publicly in the same crate could have inlined docs
As an example of what I mean, see this page: http://doc.rust-lang.org/syntax/parse/lexer/index.html There is a re-exports section: ``` rust pub use ext::tt::transcribe::{TtReader, new_tt_reader, new_tt_reader_with_doc_flag}; ``` All of those items are public and reachable, so they're documented in `ext::tt::transcri...
T-rustdoc,C-feature-request
low
Minor
57,707,227
rust
Can’t declare lifetime for closure that returns a reference
When you declare closure argument types, there is no syntax to declare a lifetime parameter. And I guess lifetime elision does not apply to closures. Therefore, there seems to be no way to declare the type of a closure that returns a reference. It compiles if you avoid declaring the type of the closure and depend on t...
A-closures,T-compiler,C-bug
medium
Critical
57,748,040
node
vm: references to context inside objects are not === the original context
Failing test case: ``` js var common = require('../common'); var assert = require('assert'); var vm = require('vm'); var sandbox = {}; sandbox.document = { defaultView: sandbox }; vm.createContext(sandbox); vm.runInContext('var result = document.defaultView === this', sandbox); assert.equal(sandbox.result, true); ...
vm
medium
Critical
57,753,156
go
cmd/go: build the cgo artifacts for each package in parallel
The lack of parallelization for compilations within a single package doesn't matter too much when building go files, but does affect cgo compilation. I have a package with about 32k lines of (generated) C++. Compiling it serially takes ~10.5s. A small hack to cmd/go/build.go to compile C/C++/Obj-C files in parallel bri...
ToolSpeed
medium
Critical
57,779,816
rust
rustc need a way to generate versioned libraries
The traditionnal way for a package distribution system (think `dpkg` for Debian, or `ports` under OpenBSD) to copte with upgrade of shared libraries is to have libraries with versioned number like `libfoo.so.MAJOR.MINOR`. The rational for OpenBSD could be found here: http://www.openbsd.org/faq/ports/specialtopics.html...
O-linux,P-low,T-compiler,T-dev-tools,C-feature-request
low
Minor
57,817,489
rust
Could type inference insert coercions to accommodate box desugaring?
The problem here was previously documented as a drawback in https://github.com/rust-lang/rfcs/pull/809 (with similar details provided in Appendix B). Demonstration code: ``` rust #![feature(box_syntax)] // NOTE: Scroll down to "START HERE" fn main() { } macro_rules! box_ { ($value:expr) => { { let mut ...
A-type-system,T-compiler,A-inference,C-feature-request,T-types
low
Major
58,022,399
go
x/tools/cmd/oracle: Support recursive search of packages to include in scope
Oracle takes a list of arguments that [set the analysis scope](https://docs.google.com/document/d/1SLk36YRjjMgKqe490mSRzOPYEDe0Y_WQNRv-EiFYUyw/view#heading=h.nwso96pj07q8). If a given argument (e.g. `github.com/example/project`) does not have any immediate source files, it is excluded from the analysis. However, many p...
NeedsInvestigation
low
Minor
58,034,497
go
runtime/race: eliminate dependency on libc
Race runtime currently depends on libc: with CGO_ENABLED=0: runtime/race(.text): __libc_malloc: not defined runtime/race(.text): getuid: not defined runtime/race(.text): pthread_self: not defined ... This has several negative effects: - don't work with CGO_ENABLED=0 - there is circular dependency between runtime/race...
RaceDetector
medium
Major
58,103,706
neovim
Folds in saved session with invalid ranges cause sourcing the session to fail.
For example, if you `mksession` then your session file has something like `99,500fold` in it, but you've made changes to the file that fold applies to elsewhere so your file now has less than 500 lines, then loading the session will fail. Ideal behavior would be that the fold is simply ignored.
bug-vim
low
Minor
58,141,050
go
x/build: coordinator shows trybot successful builds as still active
There's some bug with the interaction of trybots and them succeeding in the build coordinator. Look at the screenshot: the builds are done, but they're in the "active" section. ![succeeded](https://cloud.githubusercontent.com/assets/2621/6258293/5a5a05f4-b77c-11e4-8e12-264dd2ab52fa.png) Further, down the page it say...
Builders
low
Critical
58,155,842
rust
Resolve shorthand projections (`T::A`-style associated type paths) based solely on type, instead of a Def
Right now [`astconv::associated_path_def_to_ty`](https://github.com/rust-lang/rust/blob/dfc5c0f1e8799f47f9033bdcc8a7cd8a217620a5/src/librustc_typeck/astconv.rs#L989-L993) takes a `def::TyParamProvenance` obtained from [either `def::DefTyParam` or `def::DefSelfTy`](https://github.com/rust-lang/rust/blob/dfc5c0f1e8799f47...
A-type-system,E-hard,C-enhancement,A-trait-system,A-associated-items,T-compiler,T-types
low
Major
58,239,096
go
cmd/compile: improve generated type equality code
geneq generates a series of if statements, each returning false if they fail. Creating instead a long conjunction would result in shorter, faster generated code. It might also be worth reordering the tests to place all the ones involving a function call last. It might also be worth trying to prevent some of the spuri...
compiler/runtime
low
Major
58,314,657
You-Dont-Know-JS
"types & grammar": update ch3 to talk about ES6 change to native's prototypes
This section https://github.com/getify/You-Dont-Know-JS/blob/master/types%20&%20grammar/ch3.md#prototypes-as-defaults and the one before it, should be updated with recent ES6 changes to the native prototypes. See: https://esdiscuss.org/topic/array-prototype-change-was-tostringtag-spoofing-for-null-and-undefined
for second edition
medium
Minor
58,389,374
rust
Error messages are odd for delegating traits
This is a more general version of https://github.com/rust-lang/rust/issues/22478. (i.e. probably should be considered to supersede it) ``` rust trait A { fn a(self); } trait B { fn b(self); } impl<T: B> A for T { fn a(self) { B::b(self) } } struct C; fn main() { A::a(C); } ``` Compilin...
A-trait-system,P-medium,E-mentor,T-compiler,E-help-wanted,C-bug
medium
Critical