sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: load doesn't work for relative paths that go back a folder without "res://"
Labels: enhancement,topic:gdscript,confirmed

**Godot version:**
3.2

**OS/device including version:**
Linux Ubuntu 18.04

**Issue description:**
Using `load` for a relative path doesn't work if you have to go back a folder and don't use "res://". It works if you don't have to go back a folder. The same doesn't happen with `preload`. It doesn't look like an intended behavior.
![image](https://user-images.githubusercontent.com/15899938/73598502-d64a9d80-4517-11ea-9a05-cfbf39d158c8.png)

**Steps to reproduce:**
Create a scene inside a folder. Create another scene inside another folder. Put a script in the root of the first scene. Try to load the second scene with `load("../OtherSceneFolder/OtherScene.tscn)`

**Minimal reproduction project:**
[load_bug.zip](https://github.com/godotengine/godot/files/4143212/load_bug.zip)

I found this ancient issue that states the same problem #5999 (don't know if it is usefull tho).

Of course it is a small problem that have an easy work-around (ensuring that the path starts with res://).

# Edit:
I found out that the work-around only works if the folders are in the root directory. If they are inside another folder it doesn't work even with preload. All code is inside the script of the root node of Main.tscn (Main.gd).

## Folder structure:
![image](https://user-images.githubusercontent.com/15899938/73598755-06477000-451b-11ea-90e1-3889d80b1693.png)


## preload can't load with res://
![image](https://user-images.githubusercontent.com/15899938/73598746-e31cc080-451a-11ea-9446-8f4457d5593d.png)

## preload can load without res://
![image](https://user-images.githubusercontent.com/15899938/73598750-f0d24600-451a-11ea-86a1-e074f7b28f98.png)

## load fails either way:
![image](https://user-images.githubusercontent.com/15899938/73598770-25de9880-451b-11ea-83be-e1be2c89315f.png)

## New minimal reproduction project
[load-bug2-the-return.zip](https://github.com/godotengine/godot/files/4143234/load-bug2-the-return.zip)
Repository: rust
Issue: Initializers of stable constants can call const unstable functions
Labels: A-stability,T-compiler,C-bug,A-const-eval

Crates using `staged_api` are forbidden from calling const unstable functions from stable const functions. However, this restriction [does not extend](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=53d0049a668c92684fd26fc76eafad21) to the initializers of consts or statics. Although unlikely, this could allow for "backdoor stabilization" of various const-eval features. For example, the following would lock in the current implementation of `const_if_match`.

```rust
#![stable(feature = "bar", since = "1.34")]

#![feature(staged_api)]
#![feature(const_if_match)]
#![feature(foo)]

#[rustc_const_unstable(feature = "foo", issue = "0")]
const fn foo() -> i32 {
    if true { 0 } else { 1 }
}

#[stable(feature = "bar", since = "1.34")]
pub const BAR: i32 = foo();
```

If `BAR` were a `const fn` instead of a `const`, that example would be rejected.

```rust
#[rustc_const_stable(feature = "bar", since = "1.34")]
pub const fn bar() -> i32 {
    foo()
}
```

cc @rust-lang/wg-const-eval
Repository: vscode
Issue: [html] HTML breadcrumbs don't work right when optional end tags omitted
Labels: feature-request,html

- VSCode Version: 1.42.0-insider
- OS Version: Linux Mint 19.3

Steps to Reproduce:

1. Create an HTML document. Sprinkle liberally with `<p>`, `<li>` (inside of `<ul>` or `<ol>`, obviously), `<tr>` or `<td>` inside of `<table>`, and any other elements noted in the HTML5 spec as having optional end tags (see https://html.spec.whatwg.org/#syntax-tag-omission).
2. If you closed the various tags above with their end tags (e.g., `</p>`), then run the page through something like HTML Tidy (I am using v5.7.28), passing in the `--omit-optional-tags yes` argument.
3. Open the reformatted file in VSCode and navigate somewhere where there are multiple `<p>` or `<li>` or similar in a row. Note that there will be a breadcrumb for **each** open tag, because VSCode is apparently looking for end tags to close off the element, even though it is not required.

In a complex document, this make VSCode breadcrumbs pretty worthless. Here is an example, before a Tidy reformat, with focus on the third list item element in the fourth paragraph (note breadcrumbs working as expected):

![BeforeReformat](https://user-images.githubusercontent.com/3743601/73599999-2e7da180-4510-11ea-9747-8843a2af2ba8.png)

And here are the breadcrumbs after the Tidy reformat, with focus on the same list item element:

![AfterReformat](https://user-images.githubusercontent.com/3743601/73600004-3d645400-4510-11ea-951b-1b32a983fbb4.png)

Does this issue occur when all extensions are disabled?: Yes
Repository: go
Issue: cmd/compile: it is not possible to prevent FMA with complex values
Labels: NeedsInvestigation,compiler/runtime

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.13.6 linux/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes


### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="on"
GOARCH="arm64"
GOBIN="/home/user/bin"
GOCACHE="/home/user/.cache/go-build"
GOENV="/home/user/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/user"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/user/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/user/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="0"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build515689865=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->
Examine the assembly generated for the code at https://play.golang.org/p/JuTC-BPAIJN with `GOARCH=arm64`


### What did you expect to see?
No FMA/FMS instructions emitted.


### What did you see instead?
```
	0x00ac 00172 (/home/user/c.go:19)	PCDATA	ZR, $5
	0x00ac 00172 (/home/user/c.go:19)	FMOVD	8(R8), F4
	0x00b0 00176 (/home/user/c.go:19)	FMSUBD	F1, F3, F4, F3
	0x00b4 00180 (/home/user/c.go:19)	SCVTFD	R2, F5
	0x00b8 00184 (/home/user/c.go:19)	FADDD	F5, F3, F3
	0x00bc 00188 (/home/user/c.go:19)	FMOVD	F3, (R0)(R6)
	0x00c0 00192 (/home/user/c.go:19)	FMULD	F4, F0, F0
	0x00c4 00196 (/home/user/c.go:19)	FMADDD	F1, F0, F2, F0
	0x00c8 00200 (/home/user/c.go:19)	FMOVD	ZR, F1
	0x00cc 00204 (/home/user/c.go:19)	FADDD	F0, F1, F0
```

No amount of wrapping the operands in `complex128` prevents this AFAICS.
Repository: flutter
Issue: Window properties aren't set on non-main Isolates
Labels: engine,dependency: dart,dependency: android,P2,team-engine,triaged-engine

I have a background Isolate (triggered from android_alarm_manager) where I show a notification. I want to honor the user's 12h/24h formatting preference in the notification, so I check `window.alwaysUse24HourFormat`. However, that doesn't work: it's always false. Same with other values, like `window.textScaleFactor`.
Repository: flutter
Issue: Add ripple effect style of new Android versions
Labels: framework,a: animation,f: material design,a: fidelity,a: quality,c: proposal,P2,team-design,triaged-design

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill our the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case
Ripple effects of flutter app is looking kind of old fashioned in new Android versions.
<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal
As you may know Android 9 introduced new animations, with those new animations we got a new kind of ripple effect animation, if there can be feature in flutter to use the new ripple effects that would look more native on new Android versions.
<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching images showing what you are imagining.

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: flutter
Issue: [video_player] accept stream as input
Labels: c: new feature,p: video_player,package,team-ecosystem,P3,triaged-ecosystem

## Use case

I obtain video data behind protected API (ex google API) and I want to play them in the video player. Sometime I also want to decrypt them if the user chose to encrypt it with his own key for privacy 

## Proposal

What I think of doing is creating an http server and give local address to the network constructor but it seems like too much overhead and not completely secure.

It would be great if we could pipe a stream or even have a kind of callback system to allow fetching of specific range to allow seeking
Repository: godot
Issue: iOS GLES2 Material with VideoRam texture leeds to black screen
Labels: bug,platform:ios,topic:rendering,topic:3d

**Godot version:**
3.1.2 stable
**OS/device including version:**
iPhone 6s, iOS 13.3.1
**Issue description:**
When you have a scene with a material, that uses a texture which is imported in Video Ram mode, the game does not render the scene and shows only a black screen.
**Steps to reproduce:**
- Create a GLES2 scene with a mesh
- Assign a material to the mesh
- Set an png as the texture with was imported in mode "Video Ram"
 
**Minimal reproduction project:**
[ioSGLES2.zip](https://github.com/godotengine/godot/files/4144216/ioSGLES2.zip)
Repository: flutter
Issue: [CircularNotchedRectangle] Add option for convex shape.
Labels: framework,c: proposal,P3,team-framework,triaged-framework

## Use case

A convex shape is an alternative to the current fixed concave circular notch shape. It's just an inverted notch.
For example if you have an non-extended body and a `BottomAppBar` with the notch shape.
The body have a image or map as background. Not you see that the body ends on the bottom app bar. Because the background (e.g. white)is shining through the notch. Now we have to options:

1. Extend the body by setting the attribute `extendBody` of `Scaffold`.
2. Use an inverted notch. (this proposal) Just another shape. Or an option to the existing shape.

## Proposal

It's really simple to invert the notch.

1. Add a boolean option `convex` to the class `CircularNotchedRectangle` in package `flutter/../notched_shape.dart`.

```dart
//class CircularNotchedRectangle extends NotchedShape {
  final bool convex;
  const CircularNotchedRectangle({this.convex = false});
//}
```

2. Change some code (only 3 lines) to invert the path if the convex option is set:

```dart
//class CircularNotchedRectangle extends NotchedShape {
  //@override
  //Path getOuterPath(Rect host, Rect guest) {
    final double p2yA = math.sqrt(r * r - p2xA * p2xA) * (convex ? -1 : 1);
    final double p2yB = math.sqrt(r * r - p2xB * p2xB) * (convex ? -1 : 1);

    //return Path()
    //..
      clockwise: convex,
    //..
    //)
  //}
//}
```

The question is: Do you want options here? If not you have to clone this shape. I prefer the option way. No duplicated code and easy to understand.

[See current source code](https://github.com/flutter/flutter/blob/v1.14.6/packages/flutter/lib/src/painting/notched_shapes.dart)

**Default notch shape (concave) without body extended.**

![concave notch and not extended body](https://user-images.githubusercontent.com/28209992/73610331-4ddf0200-45d6-11ea-8486-570874d8d871.jpg)

**Default notch shape (concave) with body extended.**

![concave notch and extended body](https://user-images.githubusercontent.com/28209992/73610341-5f280e80-45d6-11ea-89ea-3e3046c1dbc7.jpg)

**New optional notch shape (convex) without body extended.**

![convex notch and not extended body](https://user-images.githubusercontent.com/28209992/73610353-6f3fee00-45d6-11ea-82f9-6f128901971f.jpg)
Repository: neovim
Issue: clipboard:  clipboard=unnamed is slow
Labels: enhancement,performance,clipboard,has:plan

probably related to #10993

- Nvim version: `NVIM v0.3.8`
- Operating system/version: ubuntu 19.10
- Terminal name/version:

```
$ cat .bashrc

$ vim -u NONE
```
behaves perfect.

Fresh install of neovim, vim all settings gone but setting.
```
$ cat .init.vim
$ set clipboard=unnamed
$ set clipboard=+unnamedplus
```

### Actual behaviour

NeoVim becomes extremely slow when deleting and undoing.
Should be able to see the difference when deleting characters fast with `x`

### Expected behaviour

Fast deletes.

For now I have settled with copy/pasting using the registry but would love to use the systemclipboard instead.
Repository: excalidraw
Issue: If the main mouse button is being held and visibilitychange is triggered, perform the corresponding onMouseUp action.
Labels: bug

- Create/resize/move an element or drag a scrollbar, and without releasing the mouse button, switch to another tab or window and release the mouse button.
- Return to the excalidraw tab.
- We are still in the mousemove created at a mousedown event even though the mouse button has been released.

edit: 
![screen](https://user-images.githubusercontent.com/53315888/73616003-72ef6700-460e-11ea-93fb-a414710d3cb2.gif)
Repository: godot
Issue: GDScript parse error for const inside functions
Labels: enhancement,topic:gdscript,topic:editor

**Godot version:**

Godot 3.2

**OS/device including version:**

Arch Linux, x86_64

**Issue description:**

Constant declarations aren't being allowed inside functions. I feel like we should be encouraging people to use immutable data where possible and this is preventing that. What you see is the `misplaced: const` error in the script editor.

This seems similar to #8315 with the difference being that one was in script/file scope, not function scope.

**Steps to reproduce:**

Define a const in any function.

![gdscript-func-const-bug](https://user-images.githubusercontent.com/223001/73612196-8fac8000-45b7-11ea-893c-4e77a53e17c2.png)
Repository: youtube-dl
Issue: Add tvark.org
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.01.24. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.01.24**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.tvark.org/?page=media&mediaid=15458
- Single video: https://www.tvark.org/?page=media&mediaid=70594
- Single video: https://www.tvark.org/?page=media&mediaid=121802


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Recently relaunched website with archival material of the history of (mainly) british television.
Repository: rust
Issue: Optimize SpecializedDecoder<Span> and SpecializedEncoder<Span> for CacheDecoder
Labels: C-enhancement,I-compiletime,T-compiler,A-incr-comp

https://github.com/rust-lang/rust/blob/175631311716d7dfeceec40d2587cde7142ffa8c/src/librustc/ty/query/on_disk_cache.rs#L567

https://github.com/rust-lang/rust/blob/175631311716d7dfeceec40d2587cde7142ffa8c/src/librustc/ty/query/on_disk_cache.rs#L780

They each account for about 2.5% of a clean incremental build of libcore.

I don't know how hard it would be to optimize them, but because they are hot, I think it is worth giving it a try.
Repository: rust
Issue: Diagnostic for E0596 points at the wrong borrow?
Labels: C-enhancement,A-diagnostics,A-borrow-checker,T-compiler

I was writing the following function but forgot to put `.as_mut_slice()` rather than `.as_slice()`:

```rust
fn find_closest(input: &str, options: &Vec<&str>) {
    let mut distances: Vec<_> = options
        .iter()
        .map(|_| ("a", 1.)) // actual code removed but types are the same
        .collect();
    distances
        .as_slice()
        .sort_unstable_by(|a, b| a.1.partial_cmp(&b.1).unwrap());
}
```

This produced a `E0596`, with a message that I had trouble with as someone new to Rust:

```
error[E0596]: cannot borrow data in a `&` reference as mutable
  --> src\app.rs:18:5
   |
18 | /     distances
19 | |         .as_slice()
   | |___________________^ cannot borrow as mutable

error: aborting due to previous error
```

When trying to figure out what the compiler was taking issue with, I thought that it meant that it wanted the elements in the Vec to be themselves mutable, which didn't make any sense to me.

I think the diagnostic is referring to the borrow done by the `.sort_unstable_by(F)`, but it is not pointing at it and the current message can be misread as meaning that the `.as_slice()` is borrowing something improperly itself, which it is not.

The diagnostic would be more helpful if it was something like this:

```
error[E0596]: cannot borrow data in a `&` reference as mutable
  --> src\app.rs:18:5
   |
18 | /     distances
19 | |         .as_slice()
20 | |         .sort_unstable_by(|a, b| a.1.partial_cmp(&b.1).unwrap());
   | |_____________^ sort_unstable_by cannot borrow &self as mutable

error: aborting due to previous error
```

```
rustc --version
rustc 1.42.0-nightly (212b2c7da 2020-01-30)
```
Repository: TypeScript
Issue: Make codefix for implementing interfaces work with @implements 
Labels: Suggestion,Awaiting More Feedback

<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->

## Suggestion

Expand code fix `ClassIncorrectlyImplementsInterface` to also work in js when using the `@implements` jsDoc tag. 

Related: #36292 

CC: @sandersn
Repository: flutter
Issue: Keyboard flashes briefly when dismissing multiple dialogs at once
Labels: a: text input,framework,a: quality,f: focus,has reproducible steps,P2,found in release: 3.3,found in release: 3.5,team-framework,triaged-framework

```dart
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: FlatButton(
          child: Text('TAP TO TEST (1/3)'),
          onPressed: () {
            showDialog<void>(
              context: context,
              builder: (BuildContext context) {
                return AlertDialog(
                  content: Column(
                    mainAxisSize: MainAxisSize.min,
                    children: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(20.0),
                        child: TextField(
                          autofocus: true,
                          decoration: InputDecoration(
                            labelText: 'Text field',
                          ),
                        ),
                      ),
                    ],
                  ),
                  actions: <Widget>[
                    FlatButton(
                      child: Text('TAP TO TEST (2/3)'),
                      onPressed: () {
                        showDialog<void>(
                          context: context,
                          builder: (BuildContext context) {
                            return AlertDialog(
                              content: Text('The keyboard is no longer visible. When you dismiss this, no keyboard should appear.'),
                              actions: <Widget>[
                                FlatButton(
                                  child: Text('TAP TO TEST (3/3)'),
                                  onPressed: () {
                                    Navigator.pop(context);
                                    Navigator.pop(context);
                                  },
                                ),
                              ],
                            );
                          },
                        );
                      },
                    ),
                  ],
                );
              },
            );
          },
        ),
      ),
    );
  }
}
```

cc @gspencergoog
Repository: godot
Issue: Objects changing global position after changing parents
Labels: bug,topic:editor

**Godot version:**
3.2 Stable Official (Steam)
**OS/device including version:**
Linux
**Issue description:**
Freshly imported scene objects change transition when changing parents.
For some reason stops happening after some time (maybe after scene save?)

**Steps to reproduce:**
Import dae scene with multiple meshes. Change object hiearchy.

**Minimal reproduction project:**
Made a video. Issue happens at 29th second 
[import issues.zip](https://github.com/godotengine/godot/files/4145879/import.issues.zip)