- 27 Apr, 2015 1 commit
-
-
Christian Hergert authored
-
- 24 Apr, 2015 6 commits
-
-
Christian Hergert authored
This will restore any of the previously loaded files when restoring the context. ** I'm sorry if this causes a bunch of files to open on you ** ** initially, since we failed to prune them in the past. ** Once you close them (and wait a few seconds for the reclamation to happen), they shouldn't come back. If it gets really annoying, and you want to have a clean slate, just remove everything in ~/.local/share/gnome-builder/drafts/
-
Christian Hergert authored
I think what we want to do long term, when closing with unsaved files is to determine which of these use cases we want. 1) save the changes to a draft, but leave the real file untouched. 2) just save the file to the original file.
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
This gives us the plumbing we need to opportunistically release buffers from the buffer manager when they are no longer viewed. Still work in progress, but this can land as it's own patch.
-
Christian Hergert authored
-
- 08 Apr, 2015 2 commits
-
-
Christian Hergert authored
No need to inherit from IdeObject, the context is inconsequential.
-
Christian Hergert authored
-
- 30 Mar, 2015 1 commit
-
-
Christian Hergert authored
Typically I use LGPL-2.1+ for shared libraries. However, due to the nature of libide being the "guts" of Builder, I do intend for this to be GPL-3.0. Additionally, it simplifies what we can include in the library without worrying about staying LGPL safe. Exceptions will of course be made for upstreaming into libraries such as GtkSourceView. Just ask if you want something in particular.
-
- 27 Mar, 2015 1 commit
-
-
Piotr Drąg authored
-
- 24 Mar, 2015 1 commit
-
-
Christian Hergert authored
-
- 23 Mar, 2015 28 commits
-
-
Christian Hergert authored
This will probably need some fine tuning, but this gets us started.
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
This keeps code paths more similar to the normal file load path.
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
Enforce maximum file size fo 10 Mb for now. You can disable this by setting the IdeBufferManager:file-size-max property to zero in your scripting environment if you need larger files. We can raise this later, but we are not very well suited to open very large files like SQL dumps and files of that nature.
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
We can use the back-forward-list to determine the last insert mark position and restore it when we load the buffer.
-
Christian Hergert authored
Query the global IdeBackForwardList to fetch the most recent insert mark location.
-
Christian Hergert authored
This allows IdeSourceView instances to attach word completion using all buffers loaded in the IdeBufferManager.
-
Christian Hergert authored
-
Christian Hergert authored
This method will return a newly allocated GPtrArray with all of the loaded buffers as elements. Only a reference to the GPtrArray is returned (transfer container), but the container has a reference to the buffers. Simply release with g_ptr_array_unref().
-
Christian Hergert authored
-
Christian Hergert authored
If the IdeFileSettings dictate that we should trim trailing whitespace, then trim whitespace from lines that are marked as modified by the IdeBufferChangeMonitor. Limiting changes to only these lines helps avoid those giant diffs where all you did was trim trailing whitespace.
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-