Commit Graph

2199 Commits

Author SHA1 Message Date
Johannes Rieken
f2c2d9c658 tweak URI to keep it compatible with gitlens, fyi @eamodio 2017-09-25 15:52:45 +02:00
Benjamin Pasero
15b1f59905 less use of toResource with filter: file 2017-09-25 14:57:41 +02:00
Joao Moreno
dbffd8ac94 Merge branch 'panel-viewlet' 2017-09-25 14:40:42 +02:00
Joao Moreno
a6db3242c9 override old splitview 2017-09-25 14:39:59 +02:00
Joao Moreno
aafc301865 Merge remote-tracking branch 'origin/master' into panel-viewlet 2017-09-25 14:33:54 +02:00
Johannes Rieken
a60a65d804 Revert "Revert "allow to reuse the same function/context when listening to events""
This reverts commit 4a3dbb6c44.
2017-09-25 14:25:25 +02:00
Johannes Rieken
4a3dbb6c44 Revert "allow to reuse the same function/context when listening to events"
This reverts commit 7cb8ac43e6.
2017-09-25 14:11:32 +02:00
Joao Moreno
cb5e896e96 splitview: fix bad appendChild 2017-09-25 12:47:43 +02:00
Johannes Rieken
7cb8ac43e6 allow to reuse the same function/context when listening to events 2017-09-25 12:40:49 +02:00
Benjamin Pasero
6762612177 show console.log from extension host top frame in dev tools (#34936) 2017-09-25 10:29:37 +02:00
Johannes Rieken
0962b2410d read most of the encoding from stream 2017-09-22 15:10:23 +02:00
Benjamin Pasero
3e9fa59616 Introduce GlobPattern and adopt in DocumentFilter/FileWatcher/FileSearch (#34695)
* introduce IRelativePattern and use in extension API

* 💄

* docs

* introduce RelativePattern

* support RelativePattern also for file watcher

* also make findFiles support RelativePattern

* less type conversion

* add GlobPattern type and remove readonly

* make base a string

* fix setter access to RelativePattern

* fix npe when exclude is undefined

* fix findFiles: pattern seems to be matched against workspace always

* 💄

* clarify glob pattern matching
2017-09-22 13:52:23 +02:00
Johannes Rieken
4970b660bc tweaks for #34449 2017-09-22 10:42:07 +02:00
Johannes Rieken
2428b62701 Given URI impl a more special name... 2017-09-22 10:42:06 +02:00
Johannes Rieken
1da857a441 debt - move more static props out 2017-09-21 10:12:32 +02:00
Johannes Rieken
447fea8845 debt - make vscode.Uri compatibile with URI, declare private ctor 2017-09-21 10:10:19 +02:00
Joao Moreno
b28471d10c splitview: use preferred size in onDidChange 2017-09-21 09:10:26 +02:00
Joao Moreno
1804467caa ViewsViewlet: persistence, dnd 2017-09-20 18:41:57 +02:00
Joao Moreno
bec30f28b0 panelviewlet: dnd 2017-09-20 17:39:06 +02:00
Johannes Rieken
55490528e7 have TrieMap and StringTrieMap for more flex 2017-09-20 16:54:11 +02:00
isidor
93867e4ef2 merge master 2017-09-20 10:08:51 +02:00
Johannes Rieken
54dfbf8c66 fix #34520 2017-09-20 09:54:37 +02:00
João Moreno
ff8954ec2a Merge pull request #34543 from ExUltima/bash-shebang
Replace bash shebang with '#!/usr/bin/env bash" for portability
2017-09-20 08:59:17 +02:00
Joao Moreno
8a1c52c8e1 panelview: animation 2017-09-19 22:04:10 +02:00
Joao Moreno
f5202f1217 wip: ViewsViewlet extends PanelViewlet 2017-09-19 21:24:52 +02:00
Joao Moreno
7a9f035053 Merge branch 'scm-viewlet' 2017-09-19 17:34:58 +02:00
Joao Moreno
3c81d58306 splitview: dont save layout size 2017-09-19 17:20:07 +02:00
Joao Moreno
c1f792ed4c scm: show actions, display focus 2017-09-19 17:12:40 +02:00
isidor
0359e0596f introduce resources.dirname, fixes label in no-tab view 2017-09-19 16:23:32 +02:00
Johannes Rieken
e1d38a3c52 Merge branch 'master' into joh/ftp 2017-09-19 15:40:08 +02:00
Joao Moreno
d7e5744231 scm viewlet: multiselect 2017-09-19 11:44:35 +02:00
Joao Moreno
63cf6afdbf splitview: fix layout code 2017-09-19 11:34:26 +02:00
Keegan Carruthers-Smith
88ed834b9e Fix tests and out of bounds in scorer (#34576)
* Don't sort scores in test

This test was a noop, because sort sorted `scores` as well. After this change,
the test fails. It passes after the following changes:

* hw should be a higher score than just H, since the w appears after a word
  separator.
* Same with ld and L.
* Change target so that L comes before l. The scorer algorithm is greedy, so
  will not match the upper case L otherwise, which is the point of that specific
  case.

* Use correct index for same case bonus

`indexOf` is the index into `target`, while `index` is the correct index into
`query`.

* Return early for query length larger than target
2017-09-19 10:49:32 +02:00
Joao Moreno
f351de8d11 splitview: round sizes 2017-09-19 07:54:06 +02:00
Joao Moreno
c236bf4984 wip: splitview tweaking 2017-09-18 22:20:53 +02:00
Joao Moreno
a260c08a9f splitview: remove exceptions 2017-09-18 21:20:05 +02:00
Joao Moreno
36fff1a2aa PanelViewlet.movePanel 2017-09-18 16:13:43 +02:00
Martin Aeschlimann
4a34d8e511 [json] additionalItems can be a schema (from #34546) 2017-09-18 15:43:13 +02:00
Joao Moreno
1090fc63eb wip: more panelview work, PanelViewlet 2017-09-18 15:25:49 +02:00
Joao Moreno
a29640931a Merge branch 'splitview' into scm-viewlet 2017-09-18 11:32:04 +02:00
Joao Moreno
07cd08c7e5 introduce PanelViewlet 2017-09-18 11:28:49 +02:00
Johannes Rieken
9bc31f1ca6 Merge branch 'master' into joh/ftp 2017-09-18 11:01:12 +02:00
Joao Moreno
3233f1aae0 panelview: hide/show headers 2017-09-18 10:45:46 +02:00
Benjamin Pasero
e58b8568b0 prevent too much work in whenDeleted() 2017-09-18 09:34:37 +02:00
Sandeep Somavarapu
80e2c7a338 Introduce WorkspaceFolder model that wraps information about a workspace folder.
Use WorkspaceFolder instead of URIs in IWorkspaceContextService
2017-09-18 08:52:12 +02:00
Joao Moreno
601f2c9048 splitview: 💄 2017-09-17 21:34:25 +02:00
Joao Moreno
67a7154be6 panelview: dnd background color 2017-09-17 17:05:44 +02:00
Joao Moreno
d522fb67cf panelview: dnd 2017-09-17 16:59:11 +02:00
Joao Moreno
18715a07e3 splitview: moveView 2017-09-17 16:23:47 +02:00
Putta Khunchalee
86dace91a2 replace bash shebang with '#!/usr/bin/env bash" for portability 2017-09-17 21:19:08 +07:00