| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
* Use Object on dirwatch.
* Renamed dirwatch to DirWatch.
* Fixed bug on dirwatch causing indefinite changes reporting.
* Be less aggresive on treeview watch.
|
|
|
|
* Initial commit to clean up projects; spun off find-file to
its own plugin, removed project limit, removed the concept of a
project maintaining an ordered list of files, and allowed treeview
to see things like hidden files and files not actually in the project.
* Normalizing things, fixed typo.
* Abstracted root project, and made things more in line with current master behaviour.
* Removed unused legacy code, as well as ensured that we use absolute paths.
* Fixed issue with backslahes on linux, will look at windows at some point.
* Removed stray print.
* Removed orphaned function.
* Removed extraneous command.
* Fixed the ability to close project folders.
* Adaptations for project rework.
* Removed superceded function.
* Applied jgm's suggestions.
|
|
|
|
* Add mouse grab
We now also send mouse movement events only to the interested view.
* Add deprecation messages handler
* Make various `View`s respect `on_mouse_left`
* `StatusView`
* `TitleView`
* `TreeView`
* `ToolbarView`
* Fix scrollbar in `TreeView` not updating
We were in some cases sending outdated mouse positions to the scrollbar,
which made it think that the mouse was hovering it.
This also updates the hovered item more responsively during scroll.
|
|
* Make `TreeView` follow the current tab
* Use `TreeView:toggle_expand` in `TreeView:set_selection_to_path`
We can't use `item.expanded` directly because we need to update the
cached tree structure.
|
|
* drop font option since style.font is always used
|
|
* fix Doc contextmenu not registering commands if scale plugin is not found
* fix TreeView contextmenu commands not working if the mouse hovers DocView
* add keyboard navigation to TreeView contextmenu
* fix incorrect contextmenu predicate
|
|
|
|
Impacts `treeview:{rename,new-file,new-folder,open-in-system}`.
Previously those were only available when the mouse was over the
`TreeView`.
They now use the same predicate as `treeview:delete`.
|
|
* Move scrollbar to its own file
* Don't call `Scrollbar` functions if `View` is not scrollable
* Allow horizontal scrolling in `Scrollbar`
* Add horizontal scrollbar to `View`
* Add `root:horizontal-scroll` command with `shift+wheel` keymap
* Prioritize vertical scrollbar hover
* Don't send mouse movement to vertical scrollbar when dragging horizontal one
* Fix clicking on horizontal scrollbar track
* Implement `start` scrollbar alignment
* Add documentation to `Scrollbar`
* Make `DocView` infinitely scrollable horizontally
* Handle horizontal scroll SDL event
|
|
Reviewed by Guldo; should fix things, merging.
|
|
|
|
This avoids performing the `treeview:new-folder` command on ctrl +
double click.
This happens because `ctrl+lclick` (which is the keybinding for
`treeview:new-folder`) is triggered also by ctrl + double click, which
isn't captured by anything else.
|
|
When a command is performed with parameters, those are now passed to the
predicate.
The predicate can then return, after the validity boolean, any other
value that will then be passed to the actual command.
If the predicate only returns the validity boolean, the original
parameters are passed through to the actual command.
This allows predicates to manipulate the received parameters, and allows
them to pass the result of an expensive computation to the actual
command, which won't have to recalculate it.
String and table predicates will now also return `core.active_view`.
|
|
|
|
|
|
|
|
When the max_project_files is set to a higher value than the allowed
system maximum file descriptors, and opening a project directory that
causes dirmonitor to open a watch on a lot of files or directories, at
least on MacOSX it causes all system.* file functions to return nil
(for too many opened files) which breaks the project files scan.
|
|
|
|
|
|
|
|
|
|
|
|
Add options table to `CommandView:enter`
|
|
|
|
|
|
|
|
|
|
* Change to 1 click as per RFC on discord, with 100% in favour.
* Added in the ability to specify as a view name, so it doesn't modify the title, and also fixed a bug where if you clicked *over* the amount of times your config says, it wouldn't regsiter.
* Changed plugin to use keymap.
|
|
|
|
* Change to 1 click as per RFC on discord, with 100% in favour.
* Added in the ability to specify as a view name, so it doesn't modify the title, and also fixed a bug where if you clicked *over* the amount of times your config says, it wouldn't regsiter.
* Changed plugin to use keymap.
|
|
* Allow finer control over transitions
* Add categories to transitions
|
|
|
|
|
|
|
|
|
|
Fix `TreeView` scroll via scrollbar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|