Skip to content

Commit a62272a

Browse files
authored
Merge branch 'master' into jeremypw/rework-highlight-selection2
2 parents 4c8604f + 833f850 commit a62272a

File tree

633 files changed

+65591
-32431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

633 files changed

+65591
-32431
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
GIT_USER_NAME: "elementaryBot"
1717
GIT_USER_EMAIL: "[email protected]"
1818
with:
19-
release_branch: 'odin'
19+
release_branch: 'noble'

data/code.metainfo.xml.in

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929

3030
<screenshots>
3131
<screenshot type="default">
32-
<image>https://raw.githubusercontent.com/elementary/code/7.4.0/data/screenshot.png</image>
32+
<image>https://raw.githubusercontent.com/elementary/code/8.0.0/data/screenshot.png</image>
3333
</screenshot>
3434
<screenshot>
35-
<image>https://raw.githubusercontent.com/elementary/code/7.4.0/data/screenshot-dark.png</image>
35+
<image>https://raw.githubusercontent.com/elementary/code/8.0.0/data/screenshot-dark.png</image>
3636
</screenshot>
3737
</screenshots>
3838

@@ -68,6 +68,59 @@
6868
<update_contact>contact_AT_elementary.io</update_contact>
6969

7070
<releases>
71+
<release version="8.0.0" date="2025-06-20" urgency="medium">
72+
<description>
73+
<p>Improvements:</p>
74+
<ul>
75+
<li>A new gutter is added for adding/removing edit marks that can be navigated between with keyboard shortcuts</li>
76+
<li>Remote branches may now be opened from the "Branch" menu</li>
77+
<li>Options to overwrite or cancel are given when switching branch with uncommitted changes</li>
78+
<li>The network can now be accessed from within the Flatpak</li>
79+
<li>The branch names in the "Branch" submenus are now sorted alphabetically</li>
80+
<li>The extension list now has switches instead of checkboxes in order to provide a larger target</li>
81+
<li>The terminal pane now implements smart copy-paste and follows the "natural-copy-paste" setting of Terminal</li>
82+
<li>The Vala symbol pane now gives more information in the tooltips</li>
83+
</ul>
84+
<p>Minor updates:</p>
85+
<ul>
86+
<li>Launcher actions now have icons</li>
87+
<li>Opening and immediately closing a new document no longer prevents further documents being opened</li>
88+
<li>The Vala symbol pane may only block the UI for a limited time if there are a large number of symbols</li>
89+
<li>The "Open in …" menu is no longer empty when running as Flatpak</li>
90+
<li>The search term now persists until editing or closing the search bar.</li>
91+
<li>No longer allow the parent or child of an open project to be itself opened as a project</li>
92+
<li>The active project dropdown now keeps in sync</li>
93+
<li>Numbered lists are now handled correctly by Markdown plugin</li>
94+
<li>The highlighting plugin now works with selections of more than one word</li>
95+
<li>The "Open in …" menu is now sorted and includes a "Terminal Pane" entry</li>
96+
<li>Folders containing may items now expand faster without blocking the UI</li>
97+
<li>Symbol Pane now always scrolls document to selected symbol</li>
98+
<li>Updated translations</li>
99+
</ul>
100+
</description>
101+
<issues>
102+
<issue url="https://github.com/elementary/code/issues/1575">Sort the branch names in "Branch" menu</issue>
103+
<issue url="https://github.com/elementary/code/issues/1558">Add icons for launcher actions</issue>
104+
<issue url="https://github.com/elementary/code/issues/1536">Cannot open docs after opening and closing a new document</issue>
105+
<issue url="https://github.com/elementary/code/issues/1521">Uncommitted changes lost without warning if another branch is checked out with the context menu</issue>
106+
<issue url="https://github.com/elementary/code/issues/1519">Sort Apps for "Open in …"</issue>
107+
<issue url="https://github.com/elementary/code/issues/1515">Limit time vala symbol pane takes to parse and display symbols</issue>
108+
<issue url="https://github.com/elementary/code/issues/1511">Open in menu empty when running as Flatpak</issue>
109+
<issue url="https://github.com/elementary/code/issues/1508">Search term disappears unexpectedly when editing text</issue>
110+
<issue url="https://github.com/elementary/code/issues/1494">Code crashes when both a folder and its parent are open as projects and a document present in both is opened</issue>
111+
<issue url="https://github.com/elementary/code/issues/1471">Active project dropdown sometimes out of sync on restart</issue>
112+
<issue url="https://github.com/elementary/code/issues/1473">Markdown numbered list auto-completion deletes text</issue>
113+
<issue url="https://github.com/elementary/code/issues/1469">Certain word selections are not highlighted by plugin</issue>
114+
<issue url="https://github.com/elementary/code/issues/1410">Add more information to Symbol plugin tooltips</issue>
115+
<issue url="https://github.com/elementary/code/issues/1408">Move "Open in Terminal Pane" item to the "Open In" menu</issue>
116+
<issue url="https://github.com/elementary/code/issues/1332">Sidebar is slow to expand folders containing moderately many (2000) files first time</issue>
117+
<issue url="https://github.com/elementary/code/issues/1317">Symbol Pane: Does not scroll back to already selected method</issue>
118+
<issue url="https://github.com/elementary/code/issues/1156">ProjectFolder menu: "Branch" option does not show remote branches</issue>
119+
<issue url="https://github.com/elementary/code/issues/677">Improve message when file changes on disk to include moving or renaming</issue>
120+
<issue url="https://github.com/elementary/code/issues/147">Implement natural copy/paste in terminal plug</issue>
121+
</issues>
122+
</release>
123+
71124
<release version="7.4.0" date="2024-10-21" urgency="medium">
72125
<description>
73126
<p>Minor updates:</p>

data/icons/git-symbolic.svg

Lines changed: 4 additions & 0 deletions
Loading

data/io.elementary.code.gresource.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<gresources>
33
<gresource prefix="/io/elementary/code">
44
<file alias="Application.css" compressed="true">Application.css</file>
5-
<file alias="git.svg" compressed="true" preprocess="xml-stripblanks">icons/48/git.svg</file>
65
<file alias="lang-class-abstract.svg" compressed="true" preprocess="xml-stripblanks">icons/SymbolOutline/abstractclass.svg</file>
76
<file alias="lang-method-abstract.svg" compressed="true" preprocess="xml-stripblanks">icons/SymbolOutline/abstractmethod.svg</file>
87
<file alias="lang-property-abstract.svg" compressed="true" preprocess="xml-stripblanks">icons/SymbolOutline/abstractproperty.svg</file>
@@ -30,8 +29,10 @@
3029
<file alias="scalable/actions/panel-right-symbolic.svg" compressed="true" preprocess="xml-stripblanks">icons/panel-right-symbolic.svg</file>
3130
</gresource>
3231
<gresource prefix="/io/elementary/code/icons">
32+
<file alias="48x48/actions/git.svg" compressed="true" preprocess="xml-stripblanks">icons/48/git.svg</file>
3333
<file alias="48x48/actions/open-project.svg" compressed="true" preprocess="xml-stripblanks">icons/48/open-project.svg</file>
3434
<file alias="scalable/actions/filter-symbolic.svg" compressed="true" preprocess="xml-stripblanks">icons/filter-symbolic.svg</file>
35+
<file alias="scalable/actions/git-symbolic.svg" compressed="true" preprocess="xml-stripblanks">icons/git-symbolic.svg</file>
3536
<file alias="scalable/emblems/emblem-git-modified-symbolic.svg" compressed="true" preprocess="xml-stripblanks">icons/emblem-git-modified-symbolic.svg</file>
3637
<file alias="scalable/emblems/emblem-git-new-symbolic.svg" compressed="true" preprocess="xml-stripblanks">icons/emblem-git-new-symbolic.svg</file>
3738
</gresource>

data/io.elementary.code.gschema.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,16 @@
162162
<summary>The default build directory's relative path.</summary>
163163
<description>The directory, relative to the project root, at which to open the terminal pane and where to run build commands by default.</description>
164164
</key>
165+
<key name="default-projects-folder" type="s">
166+
<default>''</default>
167+
<summary>The default Projects folder</summary>
168+
<description>The path to the folder below which projects are saved or cloned</description>
169+
</key>
170+
<key name="default-remote" type="s">
171+
<default>''</default>
172+
<summary>The default git remote</summary>
173+
<description>The URL of the remote from where repositories can be cloned, for example https://github.com/elementary/</description>
174+
</key>
165175
<key name="prefer-dark-style" type="b">
166176
<default>false</default>
167177
<summary>Request dark Gtk stylesheet variant</summary>

io.elementary.code.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
app-id: io.elementary.code
22
runtime: io.elementary.Sdk # The outline plugin requires libvala which is only in the SDK, not the runtime
3-
runtime-version: '7.1'
3+
runtime-version: '8' # Does not build with version '8.1' for some reason
44
sdk: io.elementary.Sdk
55
command: io.elementary.code
66
finish-args:
@@ -57,7 +57,7 @@ modules:
5757
sources:
5858
- type: git
5959
url: https://gitlab.gnome.org/GNOME/libgit2-glib.git
60-
tag: v1.1.0
60+
tag: v1.2.0
6161
modules:
6262
- name: ssh2
6363
buildsystem: cmake-ninja
@@ -81,7 +81,7 @@ modules:
8181
sources:
8282
- type: git
8383
url: https://github.com/libgit2/libgit2.git
84-
tag: 'v1.5.1'
84+
tag: 'v1.7.2'
8585

8686
- name: editorconfig
8787
buildsystem: cmake-ninja

meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ project(
22
'io.elementary.code',
33
'vala', 'c',
44
meson_version: '>= 0.58.0',
5-
version: '7.4.0'
5+
version: '8.0.0'
66
)
77

88
add_project_arguments([
@@ -34,7 +34,7 @@ granite_dep = dependency('granite', version: '>=6.0.0')
3434
handy_dep = dependency('libhandy-1', version: '>=0.90.0')
3535
gtksourceview_dep = dependency('gtksourceview-4')
3636
peas_dep = dependency('libpeas-2')
37-
git_dep = dependency('libgit2-glib-1.0')
37+
git_dep = dependency('libgit2-glib-1.0', version: '>=1.2.0')
3838
fontconfig_dep = dependency('fontconfig')
3939
pangofc_dep = dependency('pangoft2')
4040
posix_dep = meson.get_compiler('vala').find_library('posix')

plugins/brackets-completion/brackets-completion.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class Scratch.Plugins.BracketsCompletion : Peas.ExtensionBase, Scratch.Se
99
"", " ", "\b", "\r", "\n", "\t", ",", ".", ";", ":"
1010
};
1111

12-
public Object object { owned get; construct; }
12+
public Object object { owned get; set construct; }
1313

1414
private Gee.HashMap<string, string> brackets;
1515
private Gee.HashMap<uint, string> keys;

plugins/detect-indent/detect-indent.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ public class Scratch.Plugins.DetectIndent: Peas.ExtensionBase, Scratch.Services.
22
const int MAX_LINES = 500;
33

44
Scratch.Services.Interface plugins;
5-
public Object object {owned get; construct;}
5+
public Object object {owned get; set construct;}
66

77
public void update_state () {
88
}

plugins/editorconfig/editorconfig.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
public class Scratch.Plugins.EditorConfigPlugin: Peas.ExtensionBase, Scratch.Services.ActivatablePlugin {
2121
Scratch.Services.Interface plugins;
22-
public Object object { owned get; construct; }
22+
public Object object { owned get; set construct; }
2323
private Code.FormatBar format_bar;
2424

2525
public void update_state () { }

0 commit comments

Comments
 (0)