Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
8b8ee8754cb7ad722506484737722720732992b6
376
2023-02-06 06:15:40-05:00
-3,600
['d022c0fe2b70e61f7edc264ef5639cdf71e9ceb3']
Improve MarkFlagsMutuallyExclusive example in User Guide (#1904)
[{'old_path': 'user_guide.md', 'new_path': 'user_guide.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -313,8 +313,8 @@ rootCmd.MarkFlagsRequiredTogether("username", "password")\n You can also prevent different flags from being provided together if they represent mutually\n exclusive options such as specifying a...
Go
87ebcd8f9884bfe15a996767ef1636787773a8b7
58
2023-02-08 21:11:53-05:00
-3,600
['8b8ee8754cb7ad722506484737722720732992b6']
Update shell_completions.md (#1907) align documentation with the code : completions.go:452
[{'old_path': 'shell_completions.md', 'new_path': 'shell_completions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -162,16 +162,7 @@ cmd := &cobra.Command{\n }\n ```\n \n-The aliases are not shown to the user on tab completion, but they are accepted as valid nouns by\n-the completion algorithm if entered manua...
Go
a516d4132c811a4101ce6d99ac12671217d1ac37
401
2023-02-13 20:49:03-07:00
25,200
['e839bb342f7914fd1bf62041cebd801292e2ccf8']
Removes stale bot from GitHub action (#1908) Signed-off-by: John McBride <jpmmcbride@gmail.com>
[{'old_path': '.github/workflows/stale.yml', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': '@@ -1,56 +0,0 @@\n-name: Mark stale issues and pull requests\n-\n-on:\n- schedule:\n- - cron: "0 0 * * *"\n-\n-permissions:\n- contents: read\n-\n-jobs:\n- stale:\n-\n- permissions:\n- issues: write...
Go
3daa4b9c36617509a756832a3d0ee2b6f4b8c129
196
2023-02-25 15:57:12-05:00
0
['a516d4132c811a4101ce6d99ac12671217d1ac37']
Add keeporder to shell completion (#1903) This allows programs to request the shell to maintain the order of completions that was returned by the program
[{'old_path': 'bash_completionsV2.go', 'new_path': 'bash_completionsV2.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -101,6 +101,7 @@ __%[1]s_process_completion_results() {\n local shellCompDirectiveNoFileComp=%[5]d\n local shellCompDirectiveFilterFileExt=%[6]d\n local shellCompDirectiveFilterDirs=...
Go
c7300f0bdd22311c9a823ea0ea773bf968100eac
41
2023-03-05 21:07:19-05:00
0
['567ea8ebc9b4385ae671486415cd203fc2a3bab9']
ci: deprecate go 1.16 (#1926)
[{'old_path': '.github/workflows/test.yml', 'new_path': '.github/workflows/test.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,7 +63,6 @@ jobs:\n - ubuntu\n - macOS\n go:\n- - 16\n - 17\n - 18\n - 19\n'}]
Go
fb3652402b30b582975880f652e7ed81343e8312
41
2023-03-05 21:11:33-05:00
0
['c7300f0bdd22311c9a823ea0ea773bf968100eac']
ci: test Golang 1.20 (#1925)
[{'old_path': '.github/workflows/test.yml', 'new_path': '.github/workflows/test.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -43,7 +43,7 @@ jobs:\n \n - uses: actions/setup-go@v3\n with:\n- go-version: '^1.19'\n+ go-version: '^1.20'\n check-latest: true\n c...
Go
9e6b58afc70c60a6b3c8a0138fb25acc734d47e3
41
2023-03-05 21:28:31-05:00
0
['fb3652402b30b582975880f652e7ed81343e8312']
update copyright year (#1927)
[{'old_path': '.github/workflows/test.yml', 'new_path': '.github/workflows/test.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -25,7 +25,7 @@ jobs:\n -v $(pwd):/wrk -w /wrk\n ghcr.io/google/addlicense\n -c 'The Cobra Authors'\n- -y '2013-2022'\n+ -y '2013-2023'\n...
Go
b197a24504fb0c99318ad0f07cb899e6074d315a
34
2023-03-14 08:28:50-04:00
-7,200
['9e6b58afc70c60a6b3c8a0138fb25acc734d47e3']
Update projects_using_cobra.md (#1932) Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
[{'old_path': 'projects_using_cobra.md', 'new_path': 'projects_using_cobra.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,7 @@\n ## Projects using Cobra\n \n - [Allero](https://github.com/allero-io/allero)\n+- [Arewefastyet](https://benchmark.vitess.io)\n - [Arduino CLI](https://github.com/arduino/ardui...
Go
c8a20a16bafa2dc85d304b59b2e677c7f75a73a6
436
2023-03-16 21:03:29-04:00
14,400
['b197a24504fb0c99318ad0f07cb899e6074d315a']
Document suggested layout for subcommands (#1930) Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
[{'old_path': 'user_guide.md', 'new_path': 'user_guide.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -188,6 +188,37 @@ var versionCmd = &cobra.Command{\n }\n ```\n \n+### Organizing subcommands\n+\n+A command may have subcommands which in turn may have other subcommands. This is achieved by using\n+`AddCommand...
Go
45360a55ccccf909b35f4290242bfb8a6bfbef66
448
2023-03-22 18:41:05-04:00
14,400
['c8a20a16bafa2dc85d304b59b2e677c7f75a73a6']
Allow sourcing zsh completion script (#1917) Although it is not the recommended approach, sourcing a completion script is the simplest way to get people to try using shell completion. Not allowing it for zsh has turned out to complicate shell completion adoption. Further, many tools modify the zsh script to allow ...
[{'old_path': 'completions.go', 'new_path': 'completions.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -734,7 +734,7 @@ to enable it. You can execute the following once:\n \n To load completions in your current shell session:\n \n-\tsource <(%[1]s completion zsh); compdef _%[1]s %[1]s\n+\tsource <(%[1]s compl...
Go
4dd4b25de38418174a6e859e8a32eaccca32dccc
448
2023-03-22 18:41:51-04:00
14,400
['45360a55ccccf909b35f4290242bfb8a6bfbef66']
Update main image to better handle dark background (#1883) Fixes #1880 Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com> Co-authored-by: Deleplace <deleplace2015@gmail.com>
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,4 @@\n-![cobra logo](https://cloud.githubusercontent.com/assets/173412/10886352/ad566232-814f-11e5-9cd0-aa101788c117.png)\n+![cobra logo](assets/CobraMain.png)\n \n Cobra is a library for creating powerful mode...
Go
284f4101043c4b1faebde411caec35a7b6e36494
638
2023-04-08 00:47:33-04:00
-7,200
['4dd4b25de38418174a6e859e8a32eaccca32dccc']
Fix typo in fish completions (#1945)
[{'old_path': 'fish_completions.go', 'new_path': 'fish_completions.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -113,7 +113,7 @@ function __%[1]s_clear_perform_completion_once_result\n __%[1]s_debug ""\n __%[1]s_debug "========= clearing previously set __%[1]s_perform_completion_once_result variable =...
Go
988bd76139210bc1d686c7112b4eb5e784365f1f
228
2023-06-16 10:25:30-04:00
25,200
['2246fa82e91dda4486b9466fab691b41b516f747']
test: make fish_completions_test more robust (#1980) Use temporary files instead of assuming the current directory is writable. Also, if creating a temporary file still returns an error, prevent the test from failing silently by replacing `log.Fatal` with `t.Fatal`.
[{'old_path': 'fish_completions_test.go', 'new_path': 'fish_completions_test.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,9 +16,10 @@ package cobra\n \n import (\n \t"bytes"\n+\t"errors"\n \t"fmt"\n-\t"log"\n \t"os"\n+\t"path/filepath"\n \t"testing"\n )\n \n@@ -98,12 +99,12 @@ func TestFishCompletionNoAct...
Go
fdee73b4a0d0be3e233b968ab038866b7cd99772
55
2023-06-19 12:16:18-04:00
-7,200
['988bd76139210bc1d686c7112b4eb5e784365f1f']
powershell: escape variable with curly brackets (#1960) This fixes an issue with program names that include a dot, in our case `podman.exe`. This was caused by the change in commit 6ba7ebbc. Fixes #1853 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
[{'old_path': 'powershell_completions.go', 'new_path': 'powershell_completions.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,7 +47,7 @@ filter __%[1]s_escapeStringWithSpecialChars {\n `+" $_ -replace \'\\\\s|#|@|\\\\$|;|,|\'\'|\\\\{|\\\\}|\\\\(|\\\\)|\\"|`|\\\\||<|>|&\',\'`$&\'"+`\n }\n \n-[scriptblock]...
Go
dcb405a9399ed307eaa0e50f5cb1c290c8979dd4
41
2023-06-20 17:15:36-04:00
-3,600
['cbe4865373c671ff257810b08e9d855aca922cee']
Move documentation sources to site/content (#1428)
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,7 @@ Cobra is a library for creating powerful modern CLI applications.\n \n Cobra is used in many Go projects such as [Kubernetes](https://kubernetes.io/),\n [Hugo](https://gohugo.io), and [GitHub CLI](https://...
Go
c81c46a015b48d9f79c73cc6f528f90eaabb0c7e
132
2023-07-16 12:38:22-04:00
-7,200
['dcb405a9399ed307eaa0e50f5cb1c290c8979dd4']
Add 'one required flag' group (#1952)
[{'old_path': 'completions_test.go', 'new_path': 'completions_test.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2830,6 +2830,104 @@ func TestCompletionForGroupedFlags(t *testing.T) {\n \t}\n }\n \n+func TestCompletionForOneRequiredGroupFlags(t *testing.T) {\n+\tgetCmd := func() *Command {\n+\t\trootCmd := &C...
Go
66b215ba186e6e28ccab74b9022149cc2236d863
41
2023-07-18 09:51:36-04:00
-7,200
['c81c46a015b48d9f79c73cc6f528f90eaabb0c7e']
golangci: enable 'unused' and disable deprecated replaced by it (#1983)
[{'old_path': '.golangci.yml', 'new_path': '.golangci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -19,7 +19,7 @@ linters:\n disable-all: true\n enable:\n #- bodyclose\n- - deadcode\n+ # - deadcode ! deprecated since v1.49.0; replaced by 'unused'\n #- depguard\n #- dogsled\n #- dupl...
Go
60d056d1574d04c859638354bc9cacab70bab296
666
2023-07-20 11:27:44-04:00
-28,800
['66b215ba186e6e28ccab74b9022149cc2236d863']
doc: fix typo, Deperecated -> Deprecated (#2000)
[{'old_path': 'doc/man_docs_test.go', 'new_path': 'doc/man_docs_test.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -150,7 +150,7 @@ func TestGenManSeeAlso(t *testing.T) {\n \t}\n }\n \n-func TestManPrintFlagsHidesShortDeperecated(t *testing.T) {\n+func TestManPrintFlagsHidesShortDeprecated(t *testing.T) {\n \t...
Go
fd865a44e3c48afeb6a6dbddadb8a5519173e029
504
2023-07-23 07:31:55-04:00
-32,400
['60d056d1574d04c859638354bc9cacab70bab296']
minor corrections to unit tests (#2003)
[{'old_path': 'command_test.go', 'new_path': 'command_test.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -438,7 +438,7 @@ func TestFlagLong(t *testing.T) {\n \n \toutput, err := executeCommand(c, "--intf=7", "--sf=abc", "one", "--", "two")\n \tif output != "" {\n-\t\tt.Errorf("Unexpected output: %v", err)\n+\t...
Go
285460dca6152bb86994fa4a9659c24ca4060e2f
41
2023-08-29 10:04:59-04:00
-7,200
['4955da7c11ea14678cbca3a4016bd4b0b1c51f39']
command: temporarily disable G602 due to securego/gosec#1005 (#2022)
[{'old_path': 'command.go', 'new_path': 'command.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -752,7 +752,9 @@ func (c *Command) findNext(next string) *Command {\n \t}\n \n \tif len(matches) == 1 {\n-\t\treturn matches[0]\n+\t\t// Temporarily disable gosec G602, which produces a false positive.\n+\t\t// See h...
Go
c5dacb3ea4512e6766f86907dfa7014ceb9cb041
77
2023-09-07 20:30:51-04:00
-3,600
['285460dca6152bb86994fa4a9659c24ca4060e2f']
ci: test golang 1.21 (#2024)
[{'old_path': '.github/workflows/test.yml', 'new_path': '.github/workflows/test.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -43,7 +43,7 @@ jobs:\n \n - uses: actions/setup-go@v3\n with:\n- go-version: '^1.20'\n+ go-version: '^1.21'\n check-latest: true\n c...
Go
0c72800b8dba637092b57a955ecee75949e79a73
0
2023-09-08 13:29:06-04:00
-32,400
['c5dacb3ea4512e6766f86907dfa7014ceb9cb041']
Customizable error message prefix (#2023)
[{'old_path': 'command.go', 'new_path': 'command.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -181,6 +181,9 @@ type Command struct {\n \t// versionTemplate is the version template defined by user.\n \tversionTemplate string\n \n+\t// errPrefix is the error message prefix defined by user.\n+\terrPrefix string\...
Go
bd4d1655f6655f690f45d281fe698dacb9c7d750
183
2023-09-25 20:04:25-04:00
-10,800
['0c72800b8dba637092b57a955ecee75949e79a73']
feat: add getters for flag completions (#1943)
[{'old_path': 'completions.go', 'new_path': 'completions.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -145,6 +145,25 @@ func (c *Command) RegisterFlagCompletionFunc(flagName string, f func(cmd *Comman\n \treturn nil\n }\n \n+// GetFlagCompletion returns the completion function for the given flag, if available...
Go
95d8a1e45d7719c56dc017e075d3e6099deba85d
48
2023-10-09 08:50:40-04:00
18,000
['bd4d1655f6655f690f45d281fe698dacb9c7d750']
Add notes to doc on preRun and postRun condition (#2041)
[{'old_path': 'command.go', 'new_path': 'command.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -115,6 +115,8 @@ type Command struct {\n \t// * PostRun()\n \t// * PersistentPostRun()\n \t// All functions get the same args, the arguments after the command name.\n+\t// The *PreRun and *PostRun functions will ...
Go
4cafa37bc4bb85633b4245aa118280fe5a9edcd5
652
2023-10-21 20:36:12-04:00
-10,800
['5c962a221e70fd6b12296e5d7075f28b422f98b2']
Allow running persistent run hooks of all parents (#2044) Currently, only one of the persistent pre-runs and post-runs is executed. It is always the first one found in the parents chain, starting at this command. Expected behavior is to execute all parents' persistent pre-runs and post-runs. Dependent projects im...
[{'old_path': 'cobra.go', 'new_path': 'cobra.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -46,6 +46,7 @@ const (\n \tdefaultPrefixMatching = false\n \tdefaultCommandSorting = true\n \tdefaultCaseInsensitive = false\n+\tdefaultTraverseRunHooks = false\n )\n \n // EnablePrefixMatching allows setting automa...
Go
8b1eba47616566fc4d258a93da48d5d8741865f0
448
2023-10-27 06:23:45-04:00
14,400
['4cafa37bc4bb85633b4245aa118280fe5a9edcd5']
Fix linter errors (#2052) When using golangci-lint v1.55.0 some new errors were being reported. Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
[{'old_path': 'command.go', 'new_path': 'command.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1446,6 +1446,7 @@ func (c *Command) UseLine() string {\n \n // DebugFlags used to determine which flags have been assigned to which commands\n // and which persist.\n+// nolint:goconst\n func (c *Command) DebugFlags...
Go
b711e8760b73c6aa1b4aa1bef3a26da5926f175d
448
2023-10-28 16:10:06-04:00
14,400
['8b1eba47616566fc4d258a93da48d5d8741865f0']
Don't complete --help flag when flag parsing disabled (#2061) Fixes #2060 When a command sets `DisableFlagParsing = true` it requests the responsibility of doing all the flag parsing. Therefore even the `--help/-f/--version/-v` flags should not be automatically completed by Cobra in such a case. Without this ...
[{'old_path': 'completions.go', 'new_path': 'completions.go', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -302,9 +302,13 @@ func (c *Command) getCompletions(args []string) (*Command, []string, ShellCompDi\n \n \t// These flags are normally added when `execute()` is called on `finalCmd`,\n \t// however, when doing...
Go
00b68a1c260eaf2b9bcb10a3178d36cec81548ca
448
2023-10-28 16:11:59-04:00
14,400
['b711e8760b73c6aa1b4aa1bef3a26da5926f175d']
Add tests for flag completion registration (#2053) Different problems have been reported about flag completion registration. These two tests are the cases that were not being verified but had been mentioned as problematic. Ref: - https://github.com/spf13/cobra/issues/1320 - https://github.com/spf13/cobra/pull/1...
[{'old_path': 'completions_test.go', 'new_path': 'completions_test.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,7 +17,9 @@ package cobra\n import (\n \t"bytes"\n \t"context"\n+\t"fmt"\n \t"strings"\n+\t"sync"\n \t"testing"\n )\n \n@@ -2040,6 +2042,114 @@ func TestFlagCompletionWorksRootCommandAddedAfterFl...
Go
22953d88453ec9343b4a78b9d67400a3326f3138
647
2023-10-29 12:06:51-06:00
-7,200
['00b68a1c260eaf2b9bcb10a3178d36cec81548ca']
Replace all non-alphanumerics in active help env var program prefix (#1940) * Replace all non-alphanumerics in active help env var program prefix There are other characters besides the dash that are fine in program names, but are problematic in environment variable names. These include (but are not limited to) pe...
[{'old_path': 'active_help.go', 'new_path': 'active_help.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,6 +17,7 @@ package cobra\n import (\n \t"fmt"\n \t"os"\n+\t"regexp"\n \t"strings"\n )\n \n@@ -29,6 +30,8 @@ const (\n \tactiveHelpGlobalDisable = "0"\n )\n \n+var activeHelpEnvVarPrefixSubstRegexp = regex...
Go
890302a35f578311404a462b3cdd404f34db3720
513
2023-11-02 08:15:26-04:00
-7,200
['48cea5c87b5299b68c3f5b7f2c67ea948717276f']
Support usage as plugin for tools like kubectl (#2018) In this case the executable is `kubectl-plugin`, but we run it as: kubectl plugin And the help text should reflect the actual usage of the command. To create a plugin, add the cobra.CommandDisplayNameAnnotation: rootCmd := &cobra.Command{ ...
[{'old_path': 'command.go', 'new_path': 'command.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,7 +30,10 @@ import (\n \tflag "github.com/spf13/pflag"\n )\n \n-const FlagSetByCobraAnnotation = "cobra_annotation_flag_set_by_cobra"\n+const (\n+\tFlagSetByCobraAnnotation = "cobra_annotation_flag_set_by_cob...
Go
a0a6ae020bb3899ff0276067863e50523f897370
448
2023-11-02 11:23:08-04:00
14,400
['890302a35f578311404a462b3cdd404f34db3720']
Improve API to get flag completion function (#2063) The new API is simpler and matches the `c.RegisterFlagCompletionFunc()` API. By removing the global function `GetFlagCompletion()` we are more future proof if we ever move from a global map of flag completion functions to something associated with the command. ...
[{'old_path': 'completions.go', 'new_path': 'completions.go', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -145,8 +145,13 @@ func (c *Command) RegisterFlagCompletionFunc(flagName string, f func(cmd *Comman\n \treturn nil\n }\n \n-// GetFlagCompletion returns the completion function for the given flag, if available...
Go
283e32d8896fb1beb9d07c742ed16fa2c182ee65
219
2023-11-13 11:55:06-05:00
-19,800
['a0a6ae020bb3899ff0276067863e50523f897370']
Add LXC to the list of projects using cobra (#2071)
[{'old_path': 'site/content/projects_using_cobra.md', 'new_path': 'site/content/projects_using_cobra.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,6 +30,7 @@\n - [Kubescape](https://github.com/kubescape/kubescape)\n - [KubeVirt](https://github.com/kubevirt/kubevirt)\n - [Linkerd](https://linkerd.io/)\n+- [...
Go
b40d8e75e8b632a55b8c0ebe763bee2f49452c78
29
2019-02-05 11:15:42-06:00
21,600
['9cd81f73fa90da62a9090fc3e0f6825413e83a1f']
Fix install and possibly Jest
[{'old_path': 'packages/package.json', 'new_path': 'packages/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,19 +1,16 @@\n {\n "scripts": {\n "build:rules": "cd ./rules && yarn build",\n- "postinstall": "ts-node ./scripts/install-packages.ts && yarn build:rules",\n+ "postinstall": "ts-no...
TypeScript
0e7e8086d41f2ef104601ce171f1d2ef04c58986
70
2019-02-05 11:15:45-06:00
21,600
['984420d181275df2dbf7a1554c6ffef4bda7aa70']
Add test for string with wacky chars
[{'old_path': 'packages/server/test/evaluate.test.ts', 'new_path': 'packages/server/test/evaluate.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,6 +11,15 @@ describe("Evaluate", () => {\n \t\texpect(value).toEqual("hi");\n \t}, 100);\n \n+\tit("should compute from string", async () => {\n+\t\tconst sta...
TypeScript
d44a0a3e590405032a4266bca79a2cd4ae7fcc33
29
2019-02-05 11:15:46-06:00
21,600
['0c3ffb301a78f717c1f0e35e53aed4d859a01c04']
FuseBox didn't work out
[{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,3 @@\n-.fusebox\n lib/vscode\n node_modules\n dist\n'}, {'old_path': 'fuse.js', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': '@@ -1,19 +0,0 @@\n-const {\n-\tFuseBox, SassPlugin, CSSPlugin, ...
TypeScript
a06854a937c45f71a09927f2d486f083d964a63d
29
2019-02-05 11:15:46-06:00
21,600
['d128ca6d685a125408f939118bb1934ec5949a63']
Update Node fills due to updated types package
[{'old_path': 'packages/node-browser/src/child_process.ts', 'new_path': 'packages/node-browser/src/child_process.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -161,7 +161,7 @@ function fork(modulePath: string): cp.ChildProcess {\n \t}));\n }\n \n-function spawn(_command: string, _args?: ReadonlyArray<string>, ...
TypeScript
d61873e8daa5547f7ad39286ca988eede48eb83f
70
2019-02-05 11:15:47-06:00
21,600
['a06854a937c45f71a09927f2d486f083d964a63d']
Add commands (#2) * Add remote command execution * Add tests for environment variables and resize * Fix tab spacing, add newlines * Remove extra newline * Add fork
[{'old_path': 'packages/server/package.json', 'new_path': 'packages/server/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,11 +2,14 @@\n "name": "server",\n "dependencies": {\n "express": "^4.16.4",\n+ "node-pty": "^0.8.0",\n "ws": "^6.1.2"\n },\n "devDependenc...
TypeScript
a328204d8044b4d157e06500e7260b9b35dcbe3e
70
2019-02-05 11:15:47-06:00
21,600
['da27bc0f04abd04d4ad8c931079a8e71c5bb1ee0']
Implement fs module (#3) * Implements the fs module * Add stats object * Add not implemented to createWriteStream * Update mkdtemp to use tmp dir * Unexport Stats * Add client web socket for commands and restructure
[{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,11 +5,12 @@\n "license": "TBD",\n "description": "VS Code in the cloud.",\n "scripts": {\n+ "build:rules": "cd ./rules && tsc -p .",\n "vscode:clone": "mkdir -p ./lib && test -d ./lib/vscode || gi...
TypeScript
af29ffd959da5e35eab76a0ae007a1e0b2d47a00
29
2019-02-05 11:15:48-06:00
21,600
['a328204d8044b4d157e06500e7260b9b35dcbe3e']
Move tslint.json Since the rules directory has moved.
[{'old_path': 'packages/tslint.json', 'new_path': 'tslint.json', 'type': <ModificationType.RENAME: 3>, 'diff': ''}]
TypeScript
24a86b81ba7f66a8237fad20f72d0049bc72aeec
29
2019-02-05 11:15:49-06:00
21,600
['14f91686c56926d13ed7cd6a8dc08e155fe41557']
Web socket + fill setup
[{'old_path': 'packages/disposable/package.json', 'new_path': 'packages/disposable/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,4 @@\n {\n "name": "@coder/disposable",\n- "main": "src/disposable.ts"\n+ "main": "src/index.ts"\n }\n'}, {'old_path': None, 'new_path': 'packages/events/packag...
TypeScript
2ff34bc5e2698583076ea37b7acfa156a048148e
29
2019-02-05 11:15:49-06:00
21,600
['24a86b81ba7f66a8237fad20f72d0049bc72aeec']
Client partially loaded Need to resolve the remaining modules and then check and apply any necessary patches.
[{'old_path': 'packages/vscode/src/index.ts', 'new_path': 'packages/vscode/src/index.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,10 +20,6 @@ const load = (): Promise<void> => {\n \t\t\t],\n \t\t});\n \n-\t\tclient.mkDirs.then(() => {\n-\t\t\tresolve();\n-\t\t});\n-\n \t\tconst importTime = time(1500);\n ...
TypeScript
05899b5edfdb8e76d91c93b0342f19deb0087a18
70
2019-02-05 11:15:49-06:00
21,600
['2ff34bc5e2698583076ea37b7acfa156a048148e']
Create initial server layout (#11) * Create initial server layout * Adjust command name to entry * Add @oclif/config as dependency * Implement build process for outputting single binary * Add init message * Remove unused import, add tsconfig.json to .gitignore * Accidently pushed wacky change to outp...
[{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,5 +41,9 @@\n "webpack-cli": "^3.2.1",\n "webpack-dev-server": "^3.1.14",\n "write-file-webpack-plugin": "^4.5.0"\n+ },\n+ "dependencies": {\n+ "node-loader": "^0.6.0",\n+ "webpack-merge": ...
TypeScript
72bf4547d42cb434f956ebda0e0564eb7040439c
29
2019-02-05 11:15:50-06:00
21,600
['05899b5edfdb8e76d91c93b0342f19deb0087a18']
Getting the client to run (#12) * Clean up workbench and integrate initialization data * Uncomment Electron fill * Run server & client together * Clean up Electron fill & patch * Bind fs methods This makes them usable with the promise form: `promisify(access)(...)`. * Add space between tag and title...
[{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,3 +1,4 @@\n-lib/vscode\n+lib/vscode*\n+lib/VSCode*\n node_modules\n dist\n'}, {'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,9 +9,9 @@\n "vscode:c...
TypeScript
d827015b402eadd140ae0ac86e041f291fcabeea
70
2019-02-05 11:15:50-06:00
21,600
['72bf4547d42cb434f956ebda0e0564eb7040439c']
Add shared process active message (#16) * Add shared process active message * Add client function for calling bootstrap fork
[{'old_path': 'packages/protocol/src/browser/client.ts', 'new_path': 'packages/protocol/src/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -155,6 +155,15 @@ export class Client {\n \t\treturn this.doSpawn(modulePath, args, options, true);\n \t}\n \n+\t/**\n+\t * VS Code specific.\n+\t * Forks a m...
TypeScript
811260cc80c6f180aba6aa8b5ba0c859cf7bf2c7
29
2019-02-05 11:15:51-06:00
21,600
['d827015b402eadd140ae0ac86e041f291fcabeea']
Hook up shared process sorta
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,6 @@\n+import { Event } from "@coder/events";\n import { field, logger, time, Time } from "@coder/logger";\n-import { InitData } from "@coder/protocol";\n+import { InitData, IS...
TypeScript
4e6d6f0725b5554faffda91b641190daeb7d1a6f
29
2019-02-05 11:15:51-06:00
21,600
['811260cc80c6f180aba6aa8b5ba0c859cf7bf2c7']
Add ignore-loader dependency and ignore more things
[{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,6 +23,7 @@\n "happypack": "^5.0.1",\n "html-webpack-plugin": "^3.2.0",\n "http-browserify": "^1.7.0",\n+ "ignore-loader": "^0.1.2",\n "mini-css-extract-plugin": "^0.5.0",\n "node-sass":...
TypeScript
4eb9f8721712a2ce5e7d9f1bbf88eca110a81e1a
29
2019-02-05 11:15:51-06:00
21,600
['4e6d6f0725b5554faffda91b641190daeb7d1a6f']
Fix server crashing when sending data on closing/closed socket
[{'old_path': 'packages/server/src/cli.ts', 'new_path': 'packages/server/src/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -117,11 +117,9 @@ export class Entry extends Command {\n \t\tapp.wss.on("connection", (ws, req) => {\n \t\t\tconst id = clientId++;\n \n-\t\t\tws.on("open", () => {\n \t\t\tif (sharedP...
TypeScript
36a2d2614871d82616b27ca9a369cfc5b5ad9113
29
2019-02-05 11:15:52-06:00
21,600
['4eb9f8721712a2ce5e7d9f1bbf88eca110a81e1a']
Get shared process socket path to the environment service
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -42,12 +42,17 @@ export abstract class Client {\n \tprivate tasks: string[] = [];\n \tprivate finishedTaskCount = 0;\n \tprivate readonly loadTime: Time;\n+\tprivate sharedProcessDataP...
TypeScript
a33d69232a15fc67b632fce722a8334138af4795
29
2019-02-05 11:15:52-06:00
21,600
['36a2d2614871d82616b27ca9a369cfc5b5ad9113']
Add log level to logger This is mostly so I can avoid the request logging which pushes out other logs pretty fast.
[{'old_path': 'packages/logger/src/logger.ts', 'new_path': 'packages/logger/src/logger.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,3 +1,13 @@\n+/**\n+ * Log level.\n+ */\n+export enum Level {\n+\tDebug = 0,\n+\tInfo = 1,\n+\tWarn = 2,\n+\tError = 3,\n+}\n+\n /**\n * A field to log.\n */\n@@ -221,12 +231...
TypeScript
86c1c9993e1e9ec98ed330b30ae1900014f452d2
29
2019-02-05 11:15:52-06:00
21,600
['a33d69232a15fc67b632fce722a8334138af4795']
Remove extra spaces in front of logger tags
[{'old_path': 'packages/logger/src/logger.ts', 'new_path': 'packages/logger/src/logger.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -373,7 +373,6 @@ export class Logger {\n \t\t// field2 (type)?: value\n \t\tthis._formatter.tag(options.type.toUpperCase(), options.tagColor);\n \t\tif (this.name && this.nameC...
TypeScript
e7d7ff3733a59c30ff2261461920f8dc2ef023fa
29
2019-02-05 11:15:53-06:00
21,600
['86c1c9993e1e9ec98ed330b30ae1900014f452d2']
Add some debug logging to the shared process
[{'old_path': 'packages/logger/src/logger.ts', 'new_path': 'packages/logger/src/logger.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -246,7 +246,7 @@ export class ServerFormatter extends Formatter {\n */\n export class Logger {\n \n-\tpublic level = Level.Debug;\n+\tpublic level = Level.Info;\n \n \tprivate r...
TypeScript
777f4609573b2a7becdf271c6a55fecf55709b2b
29
2019-02-05 11:15:53-06:00
21,600
['e7d7ff3733a59c30ff2261461920f8dc2ef023fa']
Use options instead of separate tsconfig Negates the need to duplicate the HappyPack config.
[{'old_path': 'packages/server/src/server.ts', 'new_path': 'packages/server/src/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,7 @@ export const createApp = (registerMiddleware?: (app: express.Application) => voi\n \t\t\t\ttry {\n \t\t\t\t\tws.send(data);\n \t\t\t\t} catch (error) {\n-\t\t\t\t\...
TypeScript
cba8196c198748531ff213e97bc69a9384dd70c9
29
2019-02-05 11:15:54-06:00
21,600
['777f4609573b2a7becdf271c6a55fecf55709b2b']
Propagate log level to client
[{'old_path': 'packages/logger/src/logger.ts', 'new_path': 'packages/logger/src/logger.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -260,6 +260,15 @@ export class Logger {\n \t\tif (name) {\n \t\t\tthis.nameColor = hashStringToColor(name);\n \t\t}\n+\t\tthis.info(`Log level: ${process.env.LOG_LEVEL || "info"}...
TypeScript
15bfd157420704c2e9ae0607771f46c785fcd378
29
2019-02-05 11:15:54-06:00
21,600
['cba8196c198748531ff213e97bc69a9384dd70c9']
Implement global storage database channel client Since our channels don't actually go back to the server or anything like that. Could be something to look into though.
[{'old_path': 'packages/vscode/src/fill/storageDatabase.ts', 'new_path': 'packages/vscode/src/fill/storageDatabase.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,15 +1,22 @@\n import { readFile, writeFile } from "fs";\n+import * as path from "path";\n import { promisify } from "util";\n+import { IDisposable ...
TypeScript
8c21abd2f9c566c42f5ce9e1571a7a36ed5a0758
29
2019-02-05 11:15:54-06:00
21,600
['15bfd157420704c2e9ae0607771f46c785fcd378']
Fix Stats class Dates were strings.
[{'old_path': 'packages/protocol/src/browser/modules/fs.ts', 'new_path': 'packages/protocol/src/browser/modules/fs.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -186,7 +186,7 @@ export class FS {\n \t\t\t\t};\n \t\t\t});\n \t\t}, fd).then((stats) => {\n-\t\t\tcallback(undefined!, Stats.fromObject(stats));\n+\t...
TypeScript
8a789ac95778869b22c0b51d4ff2d6d7890ad82f
29
2019-02-05 11:15:55-06:00
21,600
['b1cd5c142f64c600a8d10435f78cce1b07f833d9']
Get boostrap stuff forking They don't run yet but seem to be forking correctly now.
[{'old_path': 'packages/logger/src/logger.ts', 'new_path': 'packages/logger/src/logger.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -260,7 +260,6 @@ export class Logger {\n \t\tif (name) {\n \t\t\tthis.nameColor = hashStringToColor(name);\n \t\t}\n-\t\tthis.info(`Log level: ${process.env.LOG_LEVEL || "info"}`...
TypeScript
4cd6bed8d240aeb42f4a5f8d3cdb0043594cefe9
70
2019-02-05 11:15:56-06:00
21,600
['704a0defc9eb46d5143a36bd8b072d8d24f35c2c']
Add stdio sources (#17)
[{'old_path': 'packages/protocol/src/browser/client.ts', 'new_path': 'packages/protocol/src/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -284,8 +284,18 @@ export class Client {\n \t\t\t\treturn;\n \t\t\t}\n \t\t\tconst data = new TextDecoder().decode(output.getData_asU8());\n-\t\t\tconst stream...
TypeScript
5cb657b4150a1785931f99bfaf425399db6181de
29
2019-02-05 11:15:56-06:00
21,600
['4cd6bed8d240aeb42f4a5f8d3cdb0043594cefe9']
Get forked watcher & searcher working
[{'old_path': 'packages/protocol/src/browser/client.ts', 'new_path': 'packages/protocol/src/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -217,7 +217,7 @@ export class Client {\n \t\tclientMsg.setNewSession(newSess);\n \t\tthis.connection.send(clientMsg.serializeBinary());\n \n-\t\tconst serverP...
TypeScript
6c178d615d170fccf45707493f7aa7fbba1ba55c
70
2019-02-05 11:15:57-06:00
21,600
['ec909bdd0c0e2d70229ba26cbcfa168696ae70b2']
Add createServer (#18)
[{'old_path': 'packages/protocol/src/browser/client.ts', 'new_path': 'packages/protocol/src/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,8 +1,8 @@\n import { ReadWriteConnection, InitData, OperatingSystem, ISharedProcessData } from "../common/connection";\n-import { NewEvalMessage, ServerMes...
TypeScript
e43e7b36e734906bcb99bc17fac6e499c89e894a
29
2019-02-05 11:15:58-06:00
21,600
['536ded2cc5b7744241576cceb6532e81163329b7']
bob it...twist it...patch it
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -73,6 +73,19 @@ index a43d63aa51..4c6df2fcd9 100644\n \t\t\t});\n \t\t});\n \t});\n+diff --git a/src/vs/workbench/node/extensionHostProcess.ts b/src/vs/workbench/node/extensionHostProcess.ts\n+...
TypeScript
c6d35d098a50452bd912b5c5dc2fb564239ee285
29
2019-02-05 11:15:58-06:00
21,600
['e43e7b36e734906bcb99bc17fac6e499c89e894a']
Extension host (#20) * Implement net.Server * Move Socket class into Client This way we don't need to expose anything. * Remove some unused imports * Pass environment variables to bootstrap fork * Add debug log for when socket disconnects from server * Use VSCODE_ALLOW_IO for shared process only *...
[{'old_path': 'packages/ide/src/fill/dialog.ts', 'new_path': 'packages/ide/src/fill/dialog.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -88,7 +88,8 @@ export class Dialog {\n \t\tif (this.options.buttons && this.options.buttons.length > 0) {\n \t\t\tthis.buttons = this.options.buttons.map((buttonText, buttonI...
TypeScript
9b1a635d636cbb7ba28cde0075dceb939df1f0d4
70
2019-02-05 11:15:59-06:00
21,600
['c6d35d098a50452bd912b5c5dc2fb564239ee285']
Add static file serve for resources inside of data-directory (#19)
[{'old_path': 'packages/server/package.json', 'new_path': 'packages/server/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,6 +17,7 @@\n \t\t"@oclif/errors": "^1.2.2",\n \t\t"@oclif/plugin-help": "^2.1.4",\n \t\t"express": "^4.16.4",\n+\t\t"mime-types": "^2.1.21",\n \t\t"nexe": "^2.0.0-rc.34",\n \t\...
TypeScript
b4798d1a481d46b592b1702bdf03c30acd15cf85
70
2019-02-05 11:15:59-06:00
21,600
['9b1a635d636cbb7ba28cde0075dceb939df1f0d4']
Fix syntax highlighting, process spawning, extensions, terminals (#22) * Fix syntax highlighting, process spawning, extensions, terminals * Replace colons in toISOString * Move pathSets included in task
[{'old_path': 'packages/ide/src/fill/os.ts', 'new_path': 'packages/ide/src/fill/os.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,6 +33,16 @@ class OS {\n \t\tthis._tmpdir = data.tmpDirectory;\n \t}\n \n+\tpublic platform(): NodeJS.Platform {\n+\t\tif (navigator.appVersion.indexOf("Win") != -1) {\n+\t\t\tre...
TypeScript
3a88ae5fb28bd3f8b3b829c4727e03a0ebd9fcda
29
2019-02-05 11:15:59-06:00
21,600
['b4798d1a481d46b592b1702bdf03c30acd15cf85']
Get search working and clean up disconnected client (#23) * Use ipc instead of pipe * Run callback passed to child process's send method * It also returns true * Correct send signature * Kill processes when client disconnects
[{'old_path': 'packages/protocol/src/browser/command.ts', 'new_path': 'packages/protocol/src/browser/command.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,8 +30,8 @@ export interface ChildProcess {\n \n \tkill(signal?: string): void;\n \n-\tsend(message: string | Uint8Array, ipc?: false): void;\n-\tsend(me...
TypeScript
20f5d8eeed01d2b7e066e2589f3e9f814d347436
70
2019-02-05 11:16:00-06:00
21,600
['3a88ae5fb28bd3f8b3b829c4727e03a0ebd9fcda']
Add active evals (#25) * Add active evals * Convert type of stats to date or string * Fix generic overloads for run * Lower evaluate timeout * Add comment for createWriteStream
[{'old_path': 'packages/protocol/src/browser/client.ts', 'new_path': 'packages/protocol/src/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,8 +1,9 @@\n import { ReadWriteConnection, InitData, OperatingSystem, ISharedProcessData } from "../common/connection";\n-import { NewEvalMessage, ServerMes...
TypeScript
a0c443d8d3df397411eb3deb9cdaa6c409fb3df4
29
2019-02-05 11:16:00-06:00
21,600
['20f5d8eeed01d2b7e066e2589f3e9f814d347436']
Sometimes an exec has no callback How lonely.
[{'old_path': 'packages/protocol/src/browser/modules/child_process.ts', 'new_path': 'packages/protocol/src/browser/modules/child_process.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,12 +32,14 @@ export class CP {\n \t\t\tif (typeof options === "function") {\n \t\t\t\tcallback = options;\n \t\t\t}\n+\t\t\t...
TypeScript
8654f9cb0622d62dd30b8a8000bb812e56fbc0da
29
2019-02-05 11:16:00-06:00
21,600
['a0c443d8d3df397411eb3deb9cdaa6c409fb3df4']
Fix client not using log dir from shared proc Needed the path set promise to run first. And removed the protocol promise stuff that was hanging around not doing anything useful.
[{'old_path': 'packages/vscode/src/client.ts', 'new_path': 'packages/vscode/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,36 +15,23 @@ import { toLocalISOString } from "vs/base/common/date";\n // import { RawContextKey, IContextKeyService } from "vs/platform/contextkey/common/contextkey";\n impo...
TypeScript
8fc959e2565113c1b340b06f298678398d7c8be2
29
2019-02-05 11:16:01-06:00
21,600
['8654f9cb0622d62dd30b8a8000bb812e56fbc0da']
There once was an unnecessary ISO date string fill
[{'old_path': 'packages/vscode/src/client.ts', 'new_path': 'packages/vscode/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,13 +11,12 @@ import { Client as IDEClient, IURI, IURIFactory } from "@coder/ide";\n \n import { registerContextMenuListener } from "vs/base/parts/contextmenu/electron-main/co...
TypeScript
4a8d11995ba151124ae2883e7fa1fa09d5272b45
29
2019-02-05 11:16:01-06:00
21,600
['8fc959e2565113c1b340b06f298678398d7c8be2']
@ts-ignore-be-gone Spray liberally.
[{'old_path': 'packages/vscode/src/fill/environmentService.ts', 'new_path': 'packages/vscode/src/fill/environmentService.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,5 +9,5 @@ export class EnvironmentService extends environment.EnvironmentService {\n \n }\n \n-// @ts-ignore\n-environment.EnvironmentService...
TypeScript
62b1e0ef00e0a31a14d858712c38ff0b18a6497d
29
2019-02-05 11:16:02-06:00
21,600
['4a8d11995ba151124ae2883e7fa1fa09d5272b45']
Surgical removal of a benign TODO
[{'old_path': 'packages/vscode/src/fill/native-watchdog.ts', 'new_path': 'packages/vscode/src/fill/native-watchdog.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,7 +1,7 @@\n class Watchdog {\n \n \tpublic start(): void {\n-\t\t// TODO: Should it do something?\n+\t\t// No action required.\n \t}\n \n }\n'}]
TypeScript
ebe5e1b1a9a12ecf0049d3c088b96be45c9babf8
29
2019-02-05 11:16:02-06:00
21,600
['62b1e0ef00e0a31a14d858712c38ff0b18a6497d']
Uploader online (#26)
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,28 +1,12 @@\n import { Event } from "@coder/events";\n import { field, logger, time, Time } from "@coder/logger";\n import { InitData, ISharedProcessData } from "@coder/protocol";\n...
TypeScript
bef46391fa0485c0ac6f83d0b523ab380ee43293
29
2019-02-05 11:16:02-06:00
21,600
['ebe5e1b1a9a12ecf0049d3c088b96be45c9babf8']
Enable native clipboard for editor and inputs StackOverflow will be useful again.
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,7 @@ import { InitData, ISharedProcessData } from "@coder/protocol";\n import { retry } from "./retry";\n import { Upload } from "./upload";\n import { client } from "./fill/cl...
TypeScript
e585587e67f047570a7a8a1deca52842c4907d85
29
2019-02-05 11:16:03-06:00
21,600
['6c4e2f9251c949fecd9b662a7207696836ef43b3']
Fix redundant aliases in command palette
[{'old_path': 'packages/vscode/src/client.ts', 'new_path': 'packages/vscode/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,6 @@\n import "./fill/require";\n import * as paths from "./fill/paths";\n+import "./fill/platform";\n import "./fill/storageDatabase";\n import "./fill/windowsService";\...
TypeScript
c594af43960ebf5c212b4d5e0423d83e39811e52
29
2019-02-05 11:16:03-06:00
21,600
['e585587e67f047570a7a8a1deca52842c4907d85']
More exit debugging Papers, please.
[{'old_path': 'packages/protocol/src/node/command.ts', 'new_path': 'packages/protocol/src/node/command.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -161,7 +161,12 @@ export const handleNewSession = (connection: SendableConnection, newSession: New\n \tconnection.send(sm.serializeBinary());\n \n \tprocess.on("e...
TypeScript
d677a2ee378cc11c2fd2af98d8f1b726ca41e5cc
29
2019-02-05 11:16:05-06:00
21,600
['383c44af072cac6442912b6d324fbe75d2ac7f68']
Fix gutter icons from extensions
[{'old_path': 'packages/vscode/src/client.ts', 'new_path': 'packages/vscode/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,6 +5,7 @@ import "./fill/storageDatabase";\n import "./fill/windowsService";\n import "./fill/environmentService";\n import "./fill/vscodeTextmate";\n+import "./fill/codeEdito...
TypeScript
b40722869eb40ee7acd862a381cc3892672101aa
29
2019-02-05 11:16:05-06:00
21,600
['d677a2ee378cc11c2fd2af98d8f1b726ca41e5cc']
Move mouse wheel fix out of patch
[{'old_path': 'packages/vscode/src/client.ts', 'new_path': 'packages/vscode/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,7 @@ import "./fill/windowsService";\n import "./fill/environmentService";\n import "./fill/vscodeTextmate";\n import "./fill/codeEditor";\n+import "./fill/mouseEvent";\n...
TypeScript
a353a59945d02eded39c74e1493ef29ffc35b68d
29
2019-02-05 11:16:06-06:00
21,600
['b40722869eb40ee7acd862a381cc3892672101aa']
Move wheel event change out of patch
[{'old_path': 'packages/vscode/src/fill/dom.ts', 'new_path': 'packages/vscode/src/fill/dom.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,3 +1,6 @@\n+import * as dom from "vs/base/browser/dom";\n+import { IDisposable } from "vs/base/common/lifecycle";\n+\n // Firefox has no implementation of toElement.\n if ...
TypeScript
ec515c0a3f3db41bf062fe6703e076fc8f6df43c
29
2019-02-05 11:16:07-06:00
21,600
['6bb62005cb202177544ee9751fbdba17828812ce']
Skip unsupported actions and menu items Using this to skip the toggle developer tools action since there doesn't seem to be any way to do that from the browser. There might be others we will need to add.
[{'old_path': 'packages/vscode/src/client.ts', 'new_path': 'packages/vscode/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,8 @@ import "./fill/environmentService";\n import "./fill/vscodeTextmate";\n import "./fill/codeEditor";\n import "./fill/mouseEvent";\n+import "./fill/menuRegistry";\n+i...
TypeScript
55f9c81516dab65f3531df27e92be17ea61d9687
29
2019-02-05 11:16:07-06:00
21,600
['ec515c0a3f3db41bf062fe6703e076fc8f6df43c']
Fix markdown CSS being included in main CSS
[{'old_path': 'scripts/webpack.general.config.js', 'new_path': 'scripts/webpack.general.config.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,9 +22,12 @@ module.exports = (options = {}) => ({\n \t\t\t\tloader: "ignore-loader",\n \t\t\t}],\n \t\t}, {\n-\t\t\ttest: /electron-browser.+\\.html$|code\\/electron-...
TypeScript
c80b2fabc321ffccc97116a2304fb0617ea149fa
29
2019-02-05 11:16:08-06:00
21,600
['55f9c81516dab65f3531df27e92be17ea61d9687']
Use inline file-loader for require.toUrl Instead of trying to match on the string, because that string could be anything or change in future versions.
[{'old_path': 'packages/vscode/webpack.config.bootstrap.js', 'new_path': 'packages/vscode/webpack.config.bootstrap.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -27,23 +27,6 @@ module.exports = (env) => {\n \t\t},\n \t\tmodule: {\n \t\t\trules: [{\n-\t\t\t\tloader: "string-replace-loader",\n-\t\t\t\ttest: /\\....
TypeScript
a85af49c58134ac09e6628fa29aa26f9d8da3416
29
2019-02-05 11:16:08-06:00
21,600
['c80b2fabc321ffccc97116a2304fb0617ea149fa']
Explicitly exclude markdown.css Apparently !! doesn't work as advertised (or I don't understand how it's supposed to work).
[{'old_path': 'scripts/webpack.general.config.js', 'new_path': 'scripts/webpack.general.config.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,8 +20,9 @@ module.exports = (options = {}) => ({\n \t\t\t\tmultiple: [{\n \t\t\t\t\t// These will be handled by file-loader. We need the location because\n \t\t\t\t\t...
TypeScript
797efe72fd7cb1eb990f83e4519580c099c4464f
70
2019-02-05 11:16:09-06:00
21,600
['a85af49c58134ac09e6628fa29aa26f9d8da3416']
Fix loading within the CLI (#27) * Fix loading within the CLI * Remove app * Remove promise handle * Fix requested changes
[{'old_path': 'packages/logger/src/logger.ts', 'new_path': 'packages/logger/src/logger.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -272,8 +272,9 @@ export class Logger {\n \t\tif (name) {\n \t\t\tthis.nameColor = hashStringToColor(name);\n \t\t}\n-\t\tif (process.env.LOG_LEVEL) {\n-\t\t\tswitch (process.env....
TypeScript
dc08df5540f3bbd2211ed363b4de3b7f193bdb2b
29
2019-02-05 16:19:47-06:00
21,600
['70ad911641141e3bb120f8219dfa59739844880b']
Fix curly statement newlines rule when prefixed with newlines
[{'old_path': 'rules/src/curlyStatementNewlinesRule.ts', 'new_path': 'rules/src/curlyStatementNewlinesRule.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,8 +5,7 @@ import * as Lint from "tslint";\n * Curly statement newlines rule.\n */\n export class Rule extends Lint.Rules.AbstractRule {\n-\n-\tpublic sta...
TypeScript
e770920be078198e98bd45bed5bffbd831a99cb0
29
2019-02-05 18:09:04-06:00
21,600
['dc08df5540f3bbd2211ed363b4de3b7f193bdb2b']
Remove block padding (blank lines) Also made a rule for it.
[{'old_path': 'packages/disposable/src/disposable.ts', 'new_path': 'packages/disposable/src/disposable.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,3 @@\n export interface IDisposable {\n-\n \tdispose(): void;\n-\n }\n'}, {'old_path': 'packages/events/src/events.ts', 'new_path': 'packages/events/src/e...
TypeScript
94f977845ae9b125e39d59419695ce664f275769
29
2019-02-06 10:16:43-06:00
21,600
['e770920be078198e98bd45bed5bffbd831a99cb0']
Make event listeners never undefined, remove unused func
[{'old_path': 'packages/events/src/events.ts', 'new_path': 'packages/events/src/events.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,14 +5,10 @@ export interface Event<T> {\n }\n \n /**\n- * Emitter typecasts for a single event type\n+ * Emitter typecasts for a single event type.\n */\n export class Emitte...
TypeScript
d705bb11802065791a0e760a8622b748ef2330cf
29
2019-02-06 10:18:59-06:00
21,600
['94f977845ae9b125e39d59419695ce664f275769']
Rename Client -> IdeClient
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,7 +16,7 @@ import { IURIFactory } from "./fill/uri";\n *\n * It also provides task management to help asynchronously load and time code.\n */\n-export abstract class Client {\n+...
TypeScript
1b0a962c0da5517e2d71e89ab056bab96c161153
29
2019-02-06 10:32:58-06:00
21,600
['d705bb11802065791a0e760a8622b748ef2330cf']
Remove loading screen and move require.posix fill
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,11 +23,10 @@ export abstract class IdeClient {\n \tpublic readonly upload = upload;\n \n \tprivate start: Time | undefined;\n-\tprivate readonly progressElement: HTMLElement | unde...
TypeScript
670b13798a40c4bbd0e353ff2a0b9bc9af68064c
29
2019-02-06 10:41:59-06:00
21,600
['1b0a962c0da5517e2d71e89ab056bab96c161153']
Remove URI factory It's not actually used anymore.
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,6 @@ import { upload } from "./upload";\n import { client } from "./fill/client";\n import { clipboard } from "./fill/clipboard";\n import { INotificationService, IProgressServ...
TypeScript
91bd6775c3ba275694b5d03c2e1df41fbd661116
29
2019-02-06 10:49:29-06:00
21,600
['670b13798a40c4bbd0e353ff2a0b9bc9af68064c']
Move node fill implementations to ide package
[{'old_path': 'packages/ide/src/fill/child_process.ts', 'new_path': 'packages/ide/src/fill/child_process.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,10 +1,85 @@\n-import { CP } from "@coder/protocol";\n+import * as cp from "child_process";\n+import { Client, useBuffer } from "@coder/protocol";\n import { ...
TypeScript
ddf96077a3b69daf54697cbee5596dfdb7dd0f63
29
2019-02-06 11:01:15-06:00
21,600
['91bd6775c3ba275694b5d03c2e1df41fbd661116']
Pass builtin extension dir to vscode
[{'old_path': 'packages/vscode/src/client.ts', 'new_path': 'packages/vscode/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,6 +30,15 @@ export class Client extends IdeClient {\n \tprivate readonly windowId = parseInt(new Date().toISOString().replace(/[-:.TZ]/g, ""), 10);\n \tprivate _serviceCollec...
TypeScript
588da0443c695801acbe50c1556eef9689d48d0c
29
2019-02-06 11:53:23-06:00
21,600
['ddf96077a3b69daf54697cbee5596dfdb7dd0f63']
Some cleanup - Use whateverEmitter.event for the onWhatever methods. - Add readonly to a bunch of things. - Remove some redundancy in types. - Move initializations out of the constructor and into the declarations where it was reasonable to do so. - Disable a few no-any violations.
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,5 @@\n-import { Event } from "@coder/events";\n import { field, logger, time, Time } from "@coder/logger";\n-import { InitData, ISharedProcessData } from "@coder/protocol";\n+i...
TypeScript
559bdbc14734fd749a43abacec162a731af740b9
29
2019-02-06 12:00:51-06:00
21,600
['33b4c96a27d19de8449c6cbb2cc5339aad399098']
Mo re spa ci ng
[]
TypeScript
972806b2102c63da67888fafdc699e9f1508298e
29
2019-02-06 12:02:18-06:00
21,600
['559bdbc14734fd749a43abacec162a731af740b9']
Remove no longer used and commented out VSCODE_ALLOW_IO line
[{'old_path': 'packages/server/src/vscode/bootstrapFork.ts', 'new_path': 'packages/server/src/vscode/bootstrapFork.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,9 +33,6 @@ export const requireModule = (modulePath: string, builtInExtensionsDir: string):\n \t\treturn customMod.require(id);\n \t};\n \n-\t// A...
TypeScript
076d80081daf90502b7a70e0494e05e7a8285a70
29
2019-02-06 12:08:31-06:00
21,600
['f034aee26ec22c51e53f17ea19510d6b520105c4']
Use number of cpus - 1 for HappyPack
[{'old_path': 'scripts/webpack.general.config.js', 'new_path': 'scripts/webpack.general.config.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,5 @@\n const path = require("path");\n+const os = require("os");\n const environment = process.env.NODE_ENV || "development";\n const HappyPack = require("happypa...
TypeScript
b4710a1494dd9841d687eeab0434f74d8b0f95a9
29
2019-02-06 13:18:44-06:00
21,600
['428729769b0b6ef95fe8801ffe5f744b770a88a0']
Add back context to patch
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,27 +2,50 @@ diff --git a/src/vs/code/electron-browser/sharedProcess/sharedProcessMain.ts b/s\n index 457818a975..ad45ffe58a 100644\n --- a/src/vs/code/electron-browser/sharedProcess/sharedProce...
TypeScript
5ea1d8b2aa7f35a81e46deb0833e09c003b1b70c
29
2019-02-06 16:45:11-06:00
21,600
['dc1a16ee0b37008e117387cdf8db8826faaf14b9']
Bit of cleanup, some test fixes, moving some funcs
[{'old_path': 'packages/ide/src/fill/electron.ts', 'new_path': 'packages/ide/src/fill/electron.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,8 +13,10 @@ import { clipboard } from "./clipboard";\n \treturn [];\n };\n \n+// This is required to make the fill load in Node without erroring.\n if (typeof documen...
TypeScript
5d0219404838dd3b5306d73b775e30a38d007c0c
29
2019-02-06 16:55:29-06:00
21,600
['5ea1d8b2aa7f35a81e46deb0833e09c003b1b70c']
Throw errors if accessing paths before set
[{'old_path': 'packages/ide/src/client.ts', 'new_path': 'packages/ide/src/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n import { field, logger, time, Time } from "@coder/logger";\n-import { ISharedProcessData } from "@coder/protocol";\n+import { SharedProcessData } from "@coder/protocol";...
TypeScript
499798fc1752d3d2763d06b91d2c675ea164f15b
29
2019-02-06 18:11:31-06:00
21,600
['5d0219404838dd3b5306d73b775e30a38d007c0c']
Wrap shared process in retry
[{'old_path': 'packages/ide/src/fill/notification.ts', 'new_path': 'packages/ide/src/fill/notification.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,20 +41,30 @@ export interface IProgressService {\n }\n \n /**\n- * Temporary notification service.\n+ * Console-based notification service.\n */\n export cla...
TypeScript
e4ff8e1c635f4e9d4788e19bbb6da9522c6d5bf4
29
2019-02-07 13:50:43-06:00
21,600
['86d70ec790bd17faec6c7b842f663319c191733d']
Set shared process log level
[{'old_path': 'packages/server/src/cli.ts', 'new_path': 'packages/server/src/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -115,6 +115,8 @@ export class Entry extends Command {\n \n \t\t\t\tnext();\n \t\t\t});\n+\t\t\t// If we\'re not running from the binary and we aren\'t serving the static\n+\t\t\t// pre...
TypeScript
73762017c83789146e8093aed170472bb2ee903a
29
2019-02-07 14:17:14-06:00
21,600
['e4ff8e1c635f4e9d4788e19bbb6da9522c6d5bf4']
Fix failure due to included files when using vscode's log level enum
[{'old_path': 'packages/logger/src/logger.ts', 'new_path': 'packages/logger/src/logger.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,10 +2,11 @@\n * Log level.\n */\n export enum Level {\n-\tDebug = 0,\n-\tInfo = 1,\n-\tWarn = 2,\n-\tError = 3,\n+\tTrace,\n+\tDebug,\n+\tInfo,\n+\tWarning,\n+\tError,\n }\n...
TypeScript