Skip to content

Release/0.13.1#811

Merged
dantleech merged 73 commits intomasterfrom
release/0.13.1
Aug 25, 2019
Merged

Release/0.13.1#811
dantleech merged 73 commits intomasterfrom
release/0.13.1

Conversation

@dantleech
Copy link
Copy Markdown
Collaborator

No description provided.

dantleech and others added 30 commits December 1, 2018 11:27
* migrate to use config-loader extension

* updates cs

* updates composer

* updates changelog
* all rpc handlers should provide a name

* disables symfony debug as it has a performance penalty

* updates composer

* updated changelog

* fixed handler registry test
* 0.11.0 (#655)

* Load config from config loader (#653)

* migrate to use config-loader extension

* updates cs

* updates composer

* updates changelog

* Lazy handlers (#654)

* all rpc handlers should provide a name

* disables symfony debug as it has a performance penalty

* updates composer

* updated changelog

* fixed handler registry test

* optimise and generate class map on update

* updated composer

* bumped worse-reflection-extension to 0.2.x

* updates changelog

* load config in correct order

* updates composer
I think by "optimied" you meant "optimized".
* adds code transform extension dependency

* moved core code-transform extension to code-transform-extra

* enabled code-transform extension

* removed code transform stuff from extra extension

* adds code-transform to test ruun

* [vim plugin] use absolute path when calling rpc

* removes local repository

* updates composer

* updates code transform integration
…668)

application path is defined differently when phpactor is installed
through composer (as a required package)
* adds what changed

* adds what-changed

* adds what changed
* log errors in application error handler

* adds changelog
* adds new goto definition packages

* replace old goto definition with new extensions

* updates CHANGELOG and composer

* removes redunant trest

* updates composer
* extracted drupal 8 documentation

* fixed completion regression test

* [completion] support $ on static properties

* updates worse reflection and updates completion tests

* updated changelog
* removes unused language-server dependency

* removes old language server handlers

* fixes CS

* updates composer, removes old language server classes
* updates composer lock and adds extension names to config

* use tilde version constaint on ref-finder deps

* various build improvements

- source dependencies test from composer (test all phpactor/* packages)
- adds script to generate a build dashboard for the documentation
- adds build dashboard to documentation
* fixed testdeps script

* test extensions can install

* also show extensions in dashboard

* fixed testdeps script

* add process isolation for extension manager

* dump autoloader after testing deps

* use dev stability for exts
- the code-transform package was casting the SourceCode object to a
string when passing to the code-builder factory, which then used the
string with WorseReflection and lost the original path.
- have now updated the builder extension to be able to accept the new
TextDocument V/O (which WR implements).
camilledejoye and others added 19 commits June 9, 2019 09:12
* Adds a modeline to vim files

* Deletes a forgotten variable declaration

From implementing the 'target' parameter for 'open_file' action

* Adds multi selection list support

OverrideMethodHandler defines its ListInput as accepting a multi selection.
It has no impact for vim's inputlist() but fzf allow to select multiple
items.
The result will be one RPC call for each selected item.
Not the best for performance but phpactor is local so no network lag and
it allows to use existing handlers because they don't have to change.

* ListInput uses immutable approach

* Updates phpactor/rpc-extension

* Updates fzf list to retun an array with multi=true

* OverrideMethodHandler accepts string & array

* Cast methods name into an array
* GH-773: Updated changelog and documentation

* Mention CTRL-A/CTRL-D
* First attempt to resolve the issue

* Avoid polluting the user experience

Adds keepjumps to preserve the jumps and changes lists.
When deleting the lines uses the black hole register.

* Avoid doing the same thing twice

* New strategy to position the cursor after deletion

The previous solution was still problematic because if there is an
insertion after a deletion there is no way to know if this insertion is
a replacement, then the cursor should go back to it's original position,
or a totaly different text, then the cursor has no reason to move.

So I decided to stop thinking of the "deleted line position" and
reasoning about the relative position of the cursor after the deletion.
Working around lines that doesn't exist anymore is the buffer is too
complex so I will work with the lines that were there and didn't change.

After a deletion the cursor go the the next undeleted line.
So if we memorize the relative position of the cursor to this line
before the deletion, we can move it back at the end.

* Adds test for phpactor#_applyTextEdits

* Adds a new test
Fixes #759

```
  phpactor/code-transform 2899a472..77a04d2a

    [2019-06-20 15:45:49] 0eb68c91 Einenlum Delete empty file
    [2019-06-20 16:04:59] f5766b69 Einenlum Generate static methods
```
* GenerateAccessorHandler can ask for a property name

Right know the accessor generator require the offset of the property to
generate an accessor for.
I think it's more practical to have the possibility to generate an
accessor from anywhere in a file juste by gaving phpactor it's name.

So I change the handler to make the offset optional, if not provided it
will return an action asking to choose a property in a list.
Thanks to fzf list we can also generate multiple accessors at once.

If a property name is provided is offset is retrieved using
WorseReflection.

* Fix CompleteTest when there is no suggestions

* Adds and RPC proxy function in vim plugin

* Adds generate_accessor to the context menu

* GenerateAccessorHandler works with new GenerateAccessor

* Removes everything related to offset

* php-cs-fixer ignores tests/Assets

* Git ignores php-cs-fixer cache and custom config

* Provides the cursor position to the handler

* Documentation and CHANGELOG for #778

* Updated composer.lock
Support f.e. built-in PHP classes
* Search for class import candidates using full name

* Use new WordAtOffset constant

* Updated changelog

* Fixed tests

* Remove name argument from _importClass

* Updated composer for text doc 1.1
The "path" response key was wrongly providing the source code, rather
than the path to the source
Introduces Maestro configuration to co-ordinate Phpactor packages.
If relations are found via. the PathFinder then give the user the option
to move these related files relative to the original file.
This seems to prevent the issue where VIM crashes after moving files
* Updates composer. Add support for virtual properites

* Disable memory limit when installing extensions

Prevent memory issue on Travis
The caught exception here is from class-to-file, not the path-finder
library. The path-finder library should catch this exception.
* Adds versions to maestro.json

* Release 0.13.0

* Updated composer json

* Prefer stable

* Update changelog
@dantleech dantleech changed the base branch from develop to master August 25, 2019 09:48
@dantleech dantleech force-pushed the release/0.13.1 branch 2 times, most recently from 4ebcc4b to a7ce909 Compare August 25, 2019 10:17
@dantleech dantleech merged commit 2d2d6bc into master Aug 25, 2019
@dantleech dantleech deleted the release/0.13.1 branch August 25, 2019 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.