@b4n @eht16 @sardemff7 Here's an update.
The commits add another script, get-pacman-pkg-deps.py, which just parses the "pactree -g" output (that command outputs a hierarchical dependency graph). The point is to get the dependencies of gtk (2 or 3) right (all of them), in the right order. The right order is necessary so that upon extracting the package files, their post_install commands can be run in the right order.
Again, the post_install commands have to be run, otherwise the gtk bundle is incomplete. One effect of an incomplete bundle is easily visible: gtk's file open dialog outright crashes (easily reproduced with ctrl+o on a geany that runs on an incomplete bundle).
Yes, it's ugly, but I'm not seeing alternative solutions.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/560#issuecomment-170945884
An (old, as in started in 2012) attempt to make the splitwindow plugin more usable. See http://lists.geany.org/pipermail/devel/2013-October/008217.html and around for some details.
This is of course still some kind of hack as it's still a plugin. See #185 for an alternative.
Closes #264, #604, #631, #721.
I PR this because splitwindow seems to get some attention, so it might avoid wasting some people's time reproducing some existing work. Also, it should be pretty usable, and basically requires testing.
Known issues:
* If the system (or GTK) is too slow to switch panes, and the user clicks on the split side with the mouse (which will trigger a pane swap), it'll likely start a selection extension (e.g. as if the button release never fired). For example, I see this on my system when I have like 250 files/tabs open.
This could be avoided easily by not forwarding the PRESS event but only the RELEASE one, but it then means it's not possible to start a selection extension on the split side, even willingly.
* As the panes get split when clicking on it, some mouse operations don't directly work on the split side, i.e. DnD can't be started on the split side directly, or pasting PRIMARY with the mouse on the split side if the source is on either side.
* This PR doesn't fix custom markers not being copied from the non-split view (e.g. customized markers will be displayed with the default styles on the split side, as these are view-specific settings).
But before getting too terrified by these issues, remember that the sides are swapped on any interaction, so the active one is always Geany's (the whole point of these changes). This means that interaction on the split side should basically never happen, but right when swapping panes upon a button press (e.g. when clicking on the split side, while the click will trigger a pane swap the click is first received on the split side, obviously).
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/724
-- Commit Summary --
* splitwindow: Rework the design to swap editor and view on focus
* splitwindow: Add a keybinding to switch focus from one pane to the other
* splitwindow: Fix horizontal scrolling saving
* splitwindow: Fix scrolling swapping with folded lines
* splitwindow: Swap folding too
* splitwindow: Close the document rather than unsplit when closing the tab
* splitwindow: Follow editor tab placement in split notebook
* splitwindow: Add a popup menu to the split notebook
* splitwindow: Remove now useless stock Scintilla popup on the split view
* Merge branch 'master' into splitwindow-refactoring
* splitwindow: Simplify switching code
* Merge branch 'master' into splitwindow-refactoring-m
* Merge branch 'master' into splitwindow-refactoring-m
* splitwindow: Add GTK3 toolbar style snippet
* splitwindow: Don't use Geany internal API
* Merge branch 'master' into splitwindow-refactoring-m
* splitwindow: Fix forwarding the event that triggered a swap on GTK3
* splitwindow: Restore selection upon swapping
* splitwindow: Add some defensive internal state check
* Merge branch 'master' into splitwindow-refactoring-m
* splitwindow: Color the split label according to the modification status
* splitwindow: Remove an outdated FIXME now we depend on GTK >= 2.24
-- File Changes --
M plugins/splitwindow.c (532)
-- Patch Links --
https://github.com/geany/geany/pull/724.patchhttps://github.com/geany/geany/pull/724.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/724
English as she are spoke, "Default symbol sorting mode" (no s) or as @b4n suggested "Default sorting mode" since we do know what if refers to :)
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/581#issuecomment-170707131
@b4n I checked your code and tested your patches and everything looks pretty great. Just pushed the combined patch including your improvements. Thanks!
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/581#issuecomment-170699592
When docutils isn't installed, the configure phase ends with
```
configure: error: Documentation enabled but rst2html not found.
You can explicitly disable building of the HTML manual with --disable-html-docs,
but you then may not have a local copy of the HTML manual.
```
Shouldn't Geany be built without docs in this case without the error? Maybe this is a feature to make sure that the user gets the docs built but at least for me this is a bit annoying and it may discourage users with less experience to try building geany from sources.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/863
With the new proxy plugin support in Geany and eventual update of GeanyPy to use it, we should consider adding support to the build system(s) to allow first-class Python plugins.
A few things that should be considered initially:
- GeanyPy plugins should force `--enable-geanypy`. Or however the dependency is best cared for.
- They should probably be compiled to `.pyc` files on installation, similar to GeanyPy's `.py` files.
- Whether we should have each their directory in `$topsrcdir`, or just install all the plugins found in GeanyPy's `plugins` directory.
- Other stuff I'm sure...
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/297