From 8823327666284c3aff6b25abefd03e773e08789b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sat, 14 Jan 2023 12:12:04 -0800 Subject: [PATCH 1/4] =?UTF-8?q?Appdata=20=E2=86=92=20Metainfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ry.code.appdata.xml.in => code.metainfo.xml.in} | 0 data/meson.build | 14 +++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) rename data/{io.elementary.code.appdata.xml.in => code.metainfo.xml.in} (100%) diff --git a/data/io.elementary.code.appdata.xml.in b/data/code.metainfo.xml.in similarity index 100% rename from data/io.elementary.code.appdata.xml.in rename to data/code.metainfo.xml.in diff --git a/data/meson.build b/data/meson.build index 662a676fce..13e03b524a 100644 --- a/data/meson.build +++ b/data/meson.build @@ -47,13 +47,13 @@ desktop_file = i18n.merge_file( install: true ) -# Translate the AppData file -appstream_file = i18n.merge_file( - input: 'io.elementary.code.appdata.xml.in', - output: '@BASENAME@', - po_dir: join_paths(meson.source_root (), 'po', 'extra'), - install_dir: join_paths(get_option('datadir'), 'metainfo'), - install: true +i18n.merge_file( + input: 'code.metainfo.xml.in', + output: meson.project_name() + '.metainfo.xml', + po_dir: meson.source_root() / 'po' / 'extra', + type: 'xml', + install: true, + install_dir: get_option('datadir') / 'metainfo', ) config_data = configuration_data() From 5ee2846306e69f4d86509dce158948b18cd50ce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sat, 14 Jan 2023 12:18:14 -0800 Subject: [PATCH 2/4] Modernize and re-organize --- data/code.metainfo.xml.in | 206 ++++++++------------------------------ 1 file changed, 42 insertions(+), 164 deletions(-) diff --git a/data/code.metainfo.xml.in b/data/code.metainfo.xml.in index 54a535b444..8c504f785b 100644 --- a/data/code.metainfo.xml.in +++ b/data/code.metainfo.xml.in @@ -1,10 +1,11 @@ - + io.elementary.code + io.elementary.code.desktop CC0-1.0 - elementary GPL-3.0+ + Code The editor that works for you @@ -25,6 +26,41 @@
  • Optional mini-map to make navigating large files easier
  • + + + + https://raw.githubusercontent.com/elementary/code/6.2.0/data/screenshot.png + + + https://raw.githubusercontent.com/elementary/code/6.2.0/data/screenshot-dark.png + + + + + + + io.elementary.code + + + + 648 + + + pointing + keyboard + touch + + + https://elementary.io/ + https://github.com/elementary/code/issues + https://elementary.io/get-involved#funding + https://github.com/elementary/code/discussions/categories/q-a + https://l10n.elementary.io/projects/code + + elementary, Inc. + elementary + contact_AT_elementary.io + @@ -43,6 +79,7 @@ +

    Improvements:

    @@ -66,6 +103,7 @@
    +

    Improvements:

    @@ -88,6 +126,7 @@
    +

    Fixes:

    @@ -106,6 +145,7 @@
    +

    New features:

    @@ -142,167 +182,5 @@
    - - -

    Fixes:

    -
      -
    • Fix empty sidebar layout, ensuring folders can always be added
    • -
    -

    Minor updates:

    -
      -
    • Scroll past the end of a file
    • -
    • More efficiently save and restore window position
    • -
    • Updated translations
    • -
    -
    -
    - - -

    New features:

    -
      -
    • Include Git status in file tooltips
    • -
    • Option for explicit case-sensitive Find
    • -
    -

    Other updates:

    -
      -
    • Correctly show Toggle Comment menu item when no text is selected
    • -
    • Fixed font switch alignment
    • -
    • Updated translations
    • -
    -
    -
    - - -

    New features:

    -
      -
    • New "Close Other Folders" menu item to help clean up your sidebar
    • -
    • Save and restore cyclic search setting
    • -
    -

    Other updates:

    -
      -
    • Add keyboard shortcuts to menu items
    • -
    • Make sidebar folder items not selectable
    • -
    • Center new windows
    • -
    • Updated translations
    • -
    -
    -
    - - -

    New features:

    -
      -
    • Visually deprioritize .gitignored files in project sidebar
    • -
    • Smart cut/copy lines with no active selection
    • -
    • Add a confirmation dialog to the "Restore" action
    • -
    • Add "Open In" menu to the top-level folder in the folder manager
    • -
    • Don't show temporary files in the folder manager
    • -
    • Add brackets completion and auto-indent by default
    • -
    • Zoom terminal plugin with keyboard
    • -
    • Honor global privacy setting when saving and restoring
    • -
    -

    Other updates:

    -
      -
    • Simplify "Draw spaces" preference
    • -
    • Fix the keyboard shortcut for going backwards in search results
    • -
    • Fix opening files from relative paths in Terminal
    • -
    • Fix null file dialog when opening a new window via the dock
    • -
    • Add "=" as a zoom key
    • -
    • Change search entry icon when results aren't found
    • -
    • Enter name of new file before creating it
    • -
    • Updated translations
    • -
    -
    -
    - - -
      -
    • Use Granite.MessageDialog throughout
    • -
    • Include non-text files in sidebar
    • -
    • Fix Remove Current View
    • -
    -
    -
    - - -
      -
    • Fix New Window desktop action behavior
    • -
    • Properly synchronize Ctrl+N key presses with number of new documents spawned
    • -
    • Build system fix for editorconfig dependency
    • -
    • Add Change Branch context menu item
    • -
    • Avoid possible startup crash related to how plugins load
    • -
    • Updated translations
    • -
    -
    -
    - - -
      -
    • Smarter file saving behavior
    • -
    • File saving fixes
    • -
    • Don't add temporary files to tab restore
    • -
    • Updated translations
    • -
    -
    -
    - - -
      -
    • Don't recreate deleted files when restoring session
    • -
    • Restore line wrap preference
    • -
    • Add accel tooltips
    • -
    • Minor bug fixes
    • -
    • Updated translations
    • -
    -
    -
    - -
    - - io.elementary.code - - - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - - elementary, Inc. - https://elementary.io/ - https://github.com/elementary/code/issues - https://elementary.io/get-involved#funding - https://github.com/elementary/code/discussions/categories/q-a - https://l10n.elementary.io/projects/code - contact_AT_elementary.io - - - https://raw.githubusercontent.com/elementary/code/master/data/screenshot.png - - - https://raw.githubusercontent.com/elementary/code/master/data/screenshot-dark.png - -
    From 186bdfc6fbeb1830a569d6cc60679d1eb726c51f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sat, 14 Jan 2023 12:25:01 -0800 Subject: [PATCH 3/4] Update POTFILES --- po/extra/POTFILES | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/extra/POTFILES b/po/extra/POTFILES index f26709f0ca..4dede22362 100644 --- a/po/extra/POTFILES +++ b/po/extra/POTFILES @@ -1,3 +1,3 @@ -data/io.elementary.code.appdata.xml.in +data/code.metainfo.xml.in data/io.elementary.code.desktop.in.in data/code.policy.in.in From afcdaf6af800ec1521a3974ca6ff537ae695792c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sat, 14 Jan 2023 12:29:48 -0800 Subject: [PATCH 4/4] component type --- data/code.metainfo.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/code.metainfo.xml.in b/data/code.metainfo.xml.in index 8c504f785b..853e726cc0 100644 --- a/data/code.metainfo.xml.in +++ b/data/code.metainfo.xml.in @@ -1,6 +1,6 @@ - + io.elementary.code io.elementary.code.desktop CC0-1.0