Skip to content

Commit a2e8933

Browse files
authored
Merge branch 'master' into jeremypw/rework-word-completion/no-unnecessary-reparse
2 parents 41dbff6 + d065ae9 commit a2e8933

File tree

676 files changed

+106421
-47032
lines changed

Some content is hidden

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

676 files changed

+106421
-47032
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
image: ghcr.io/elementary/docker:${{ matrix.version }}
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
- name: Install Dependencies
2323
run: |
2424
apt update
25-
apt install -y exuberant-ctags libeditorconfig-dev libgail-3-dev libgee-0.8-dev libgit2-glib-1.0-dev libgranite-dev libgtk-3-dev libgtksourceview-4-dev libgtkspell3-3-dev libhandy-1-dev libpeas-dev libsoup2.4-dev libvala-dev libvte-2.91-dev meson valac polkitd libpolkit-gobject-1-dev
25+
apt install -y exuberant-ctags libeditorconfig-dev libgail-3-dev libgee-0.8-dev libgit2-glib-1.0-dev libgranite-dev libgtk-3-dev libgtksourceview-4-dev libgtkspell3-3-dev libhandy-1-dev libpeas-2-dev libsoup-3.0-dev libvala-dev libvte-2.91-dev meson valac polkitd libpolkit-gobject-1-dev
2626
- name: Build
2727
env:
2828
DESTDIR: out
@@ -45,15 +45,15 @@ jobs:
4545
fail-fast: false
4646

4747
container:
48-
image: ghcr.io/elementary/flatpak-platform/runtime:8-${{ matrix.configuration.arch }}
48+
image: ghcr.io/elementary/flatpak-platform/runtime:8.2-${{ matrix.configuration.arch }}
4949
options: --privileged
5050

5151
steps:
5252
- name: Checkout
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v6
5454

5555
- name: Build
56-
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.5
56+
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.6
5757
with:
5858
bundle: code.flatpak
5959
manifest-path: io.elementary.code.yml
@@ -71,7 +71,7 @@ jobs:
7171

7272
steps:
7373
- name: Checkout
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@v6
7575

7676
- name: Lint
7777
run: io.elementary.vala-lint -d .

.github/workflows/merge.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
11
name: Gettext Updates
2-
32
on:
43
push:
54
branches: [master]
65

76
jobs:
8-
build:
9-
runs-on: ubuntu-22.04
10-
container:
11-
image: ghcr.io/elementary/docker:next-unstable
7+
gettext_template:
8+
runs-on: ubuntu-latest
129

1310
steps:
14-
- name: Install git
15-
run: |
16-
apt-get update
17-
apt-get install git -y
18-
1911
- name: Clone repository
20-
uses: actions/checkout@v4
12+
uses: actions/checkout@v6
2113
with:
2214
token: ${{ secrets.GIT_USER_TOKEN }}
2315

2416
- name: Update Translation Files
25-
uses: elementary/actions/gettext-template@next
17+
uses: elementary/actions/gettext-template@main
2618
env:
2719
GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }}
2820
GIT_USER_NAME: "elementaryBot"

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release')
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: elementary/actions/release@master
12+
- uses: actions/checkout@v6
13+
- uses: elementary/actions/release@main
1414
env:
1515
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"
1616
GIT_USER_NAME: "elementaryBot"
1717
GIT_USER_EMAIL: "builds@elementary.io"
1818
with:
19-
release_branch: 'odin'
19+
release_branch: 'noble'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ You'll need the following dependencies:
1515
* libgtkspell3-3-dev
1616
* libgranite-dev >= 6.0.0
1717
* libhandy-1-dev >= 0.90.0
18-
* libpeas-dev
19-
* libsoup2.4-dev
18+
* libpeas-2-dev
19+
* libsoup-3.0-dev
2020
* libvala-0.48-dev (or higher)
2121
* libvte-2.91-dev
2222
* valac

data/code.metainfo.xml.in

Lines changed: 111 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.1.2/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.1.2/data/screenshot-dark.png</image>
3636
</screenshot>
3737
</screenshots>
3838

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

7070
<releases>
71+
<release version="8.1.2" date="2025-11-05" urgency="medium">
72+
<description>
73+
<p>Minor updates:</p>
74+
<ul>
75+
<li>The tooltips for C symbols are now more informative</li>
76+
<li>Cloning success is now indicated by toast instead of a dialog</li>
77+
<li>Global search and local search now have the same case sensitivity</li>
78+
<li>Opening a second window no longer results in duplicate project entries in the project chooser</li>
79+
<li>Updated translations</li>
80+
</ul>
81+
</description>
82+
<issues>
83+
<issue url="https://github.com/elementary/code/issues/1628">Git clone success dialog should be a toast</issue>
84+
<issue url="https://github.com/elementary/code/issues/1507">Duplicate projects in dropdown after opening second window from duplicate tab</issue>
85+
<issue url="https://github.com/elementary/code/issues/1277">Global Search case sensitivity behaviour differs from local search</issue>
86+
</issues>
87+
</release>
88+
<release version="8.1.1" date="2025-09-06" urgency="medium">
89+
<description>
90+
<p>Minor updates:</p>
91+
<ul>
92+
<li>The terminal pane is now synchronized with the Terminal app foreground, background and palette settings</li>
93+
<li>The terminal pane is now synchronized with GNOME font and cursor blink settings</li>
94+
<li>Updated translations</li>
95+
</ul>
96+
</description>
97+
<issues>
98+
<issue url="https://github.com/elementary/code/issues/1586">Relies on external Terminal settings keys</issue>
99+
<issue url="https://github.com/elementary/code/issues/457">Exiting process running in terminal leaves terminal useless</issue>
100+
<issue url="https://github.com/elementary/code/issues/276">Listen for changes to Terminal color scheme</issue>
101+
</issues>
102+
</release>
103+
<release version="8.1.0" date="2025-08-01" urgency="medium">
104+
<description>
105+
<p>Improvements:</p>
106+
<ul>
107+
<li>The Project Chooser context menu now includes an option to clone a remote git repository</li>
108+
</ul>
109+
<p>Minor updates:</p>
110+
<ul>
111+
<li>The "Open Folder" action now appears in the Project Chooser context menu</li>
112+
<li>The Vala symbol pane now shows a spinner while loading</li>
113+
<li>The filter in the C symbol pane now works</li>
114+
<li>Updated translations</li>
115+
</ul>
116+
</description>
117+
<issues>
118+
<issue url="https://github.com/elementary/code/issues/1629">Markdown plug: Extending an ordered list at end of document causes infinite loop</issue>
119+
<issue url="https://github.com/elementary/code/issues/1603">8.0.0 FTBFS with GCC 14 (-Wimplicit-function-declaration)</issue>
120+
<issue url="https://github.com/elementary/code/issues/1597">Symbol pane filter should work for C symbols too</issue>
121+
<issue url="https://github.com/elementary/code/issues/1443">Code crashes when deleting lines</issue>
122+
<issue url="https://github.com/elementary/code/issues/740">Blank tooltip on hovering expanded empty folder</issue>
123+
<issue url="https://github.com/elementary/code/issues/385">Do not allow projects to be moved to trash from the sidebar</issue>
124+
<issue url="https://github.com/elementary/code/issues/26">Outline plugin does not indicate when it is loading</issue>
125+
</issues>
126+
</release>
127+
<release version="8.0.0" date="2025-06-20" urgency="medium">
128+
<description>
129+
<p>Improvements:</p>
130+
<ul>
131+
<li>A new gutter is added for adding/removing edit marks that can be navigated between with keyboard shortcuts</li>
132+
<li>Remote branches may now be opened from the "Branch" menu</li>
133+
<li>Options to overwrite or cancel are given when switching branch with uncommitted changes</li>
134+
<li>The network can now be accessed from within the Flatpak</li>
135+
<li>The branch names in the "Branch" submenus are now sorted alphabetically</li>
136+
<li>The extension list now has switches instead of checkboxes in order to provide a larger target</li>
137+
<li>The terminal pane now implements smart copy-paste and follows the "natural-copy-paste" setting of Terminal</li>
138+
<li>The Vala symbol pane now gives more information in the tooltips</li>
139+
</ul>
140+
<p>Minor updates:</p>
141+
<ul>
142+
<li>Launcher actions now have icons</li>
143+
<li>Opening and immediately closing a new document no longer prevents further documents being opened</li>
144+
<li>The Vala symbol pane may only block the UI for a limited time if there are a large number of symbols</li>
145+
<li>The "Open in …" menu is no longer empty when running as Flatpak</li>
146+
<li>The search term now persists until editing or closing the search bar.</li>
147+
<li>No longer allow the parent or child of an open project to be itself opened as a project</li>
148+
<li>The active project dropdown now keeps in sync</li>
149+
<li>Numbered lists are now handled correctly by Markdown plugin</li>
150+
<li>The highlighting plugin now works with selections of more than one word</li>
151+
<li>The "Open in …" menu is now sorted and includes a "Terminal Pane" entry</li>
152+
<li>Folders containing may items now expand faster without blocking the UI</li>
153+
<li>Symbol Pane now always scrolls document to selected symbol</li>
154+
<li>Updated translations</li>
155+
</ul>
156+
</description>
157+
<issues>
158+
<issue url="https://github.com/elementary/code/issues/1575">Sort the branch names in "Branch" menu</issue>
159+
<issue url="https://github.com/elementary/code/issues/1558">Add icons for launcher actions</issue>
160+
<issue url="https://github.com/elementary/code/issues/1536">Cannot open docs after opening and closing a new document</issue>
161+
<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>
162+
<issue url="https://github.com/elementary/code/issues/1519">Sort Apps for "Open in …"</issue>
163+
<issue url="https://github.com/elementary/code/issues/1515">Limit time vala symbol pane takes to parse and display symbols</issue>
164+
<issue url="https://github.com/elementary/code/issues/1511">Open in menu empty when running as Flatpak</issue>
165+
<issue url="https://github.com/elementary/code/issues/1508">Search term disappears unexpectedly when editing text</issue>
166+
<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>
167+
<issue url="https://github.com/elementary/code/issues/1471">Active project dropdown sometimes out of sync on restart</issue>
168+
<issue url="https://github.com/elementary/code/issues/1473">Markdown numbered list auto-completion deletes text</issue>
169+
<issue url="https://github.com/elementary/code/issues/1469">Certain word selections are not highlighted by plugin</issue>
170+
<issue url="https://github.com/elementary/code/issues/1410">Add more information to Symbol plugin tooltips</issue>
171+
<issue url="https://github.com/elementary/code/issues/1408">Move "Open in Terminal Pane" item to the "Open In" menu</issue>
172+
<issue url="https://github.com/elementary/code/issues/1332">Sidebar is slow to expand folders containing moderately many (2000) files first time</issue>
173+
<issue url="https://github.com/elementary/code/issues/1317">Symbol Pane: Does not scroll back to already selected method</issue>
174+
<issue url="https://github.com/elementary/code/issues/1156">ProjectFolder menu: "Branch" option does not show remote branches</issue>
175+
<issue url="https://github.com/elementary/code/issues/677">Improve message when file changes on disk to include moving or renaming</issue>
176+
<issue url="https://github.com/elementary/code/issues/147">Implement natural copy/paste in terminal plug</issue>
177+
</issues>
178+
</release>
179+
71180
<release version="7.4.0" date="2024-10-21" urgency="medium">
72181
<description>
73182
<p>Minor updates:</p>

data/icons/git-symbolic.svg

Lines changed: 4 additions & 0 deletions
Loading

data/io.elementary.code.desktop.in.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Actions=NewWindow;NewFile;
1515
[Desktop Action NewFile]
1616
Name=New File
1717
Exec=@EXEC_NAME@ --new-tab
18+
Icon=document-new
1819

1920
[Desktop Action NewWindow]
2021
Name=New Window
2122
Exec=@EXEC_NAME@ --new-window
23+
Icon=window-new

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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@
106106
<summary>Highlight Matching Brackets</summary>
107107
<description>Whether Code should highlight matching brackets.</description>
108108
</key>
109+
<key name="syntax-highlighting" type="b">
110+
<default>true</default>
111+
<summary>Highlight source code syntax</summary>
112+
<description>Whether Code should apply syntax highlighting to documents.</description>
113+
</key>
109114
<key name="draw-spaces" enum="io.elementary.code.draw-spaces-states">
110115
<default>"For Selection"</default>
111116
<summary>Draw spaces and tabs with symbols</summary>
@@ -162,6 +167,16 @@
162167
<summary>The default build directory's relative path.</summary>
163168
<description>The directory, relative to the project root, at which to open the terminal pane and where to run build commands by default.</description>
164169
</key>
170+
<key name="default-projects-folder" type="s">
171+
<default>''</default>
172+
<summary>The default Projects folder</summary>
173+
<description>The path to the folder below which projects are saved or cloned</description>
174+
</key>
175+
<key name="default-remote" type="s">
176+
<default>''</default>
177+
<summary>The default git remote</summary>
178+
<description>The URL of the remote from where repositories can be cloned, for example https://github.com/elementary/</description>
179+
</key>
165180
<key name="prefer-dark-style" type="b">
166181
<default>false</default>
167182
<summary>Request dark Gtk stylesheet variant</summary>

data/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ endforeach
1616
install_data([
1717
'styles/elementary-dark.xml',
1818
'styles/elementary-light.xml',
19+
'styles/elementary-highcontrast-light.xml',
1920
], install_dir: get_option('datadir') / 'gtksourceview-4' / 'styles')
2021

2122
install_data([

0 commit comments

Comments
 (0)