25 Commits

Author SHA1 Message Date
Clement Lefebvre
8c695048ff 3.0.2 2021-06-25 15:21:37 +01:00
Clement Lefebvre
d82f0664da l10n: Update translations 2021-06-25 15:14:08 +01:00
Clement Lefebvre
3adcd8e10b 3.0.1 2021-06-10 11:04:41 +01:00
Clement Lefebvre
960d56b379 l10n: Update translations 2021-06-10 11:04:15 +01:00
Clement Lefebvre
215f6c7791 3.0.0 2021-06-01 12:56:50 +01:00
Clement Lefebvre
c8e8994410 l10n: Update POT 2021-06-01 12:56:11 +01:00
Justin Schiff
1cd2ed7b4c Use CLAMP macro instead 2021-05-15 13:52:45 -04:00
Justin Schiff
a48dab6ef5 Uses strtol instead of atoi so that we can properly handle errors.
This now handles overflow and underflow correctly, by parsing the string
and then clamping the value between INT_MIN and INT_MAX. `atoi` was
giving us garbage values when the buffer overflowed.

Fixes #408
2021-05-15 13:52:45 -04:00
okaestne
5b769045f0 Fix crashes when no documents (tabs) are open
Two crashes are possible:

1. Fixes #450 (toggle overview map without any open tabs/docs)
2. Pressing ESC (e.g. to close searchbar) without any tabs open
2021-04-30 13:24:57 -04:00
Michael Webster
8ff2d3fd74 i18n: Don't translate gsettings strings.
It's not useful for anything, and only adds more work for
translators.
2021-04-30 12:20:18 -04:00
okaestne
5b7c1d936e Implement #225: Options to render whitespace
Add preferences to enable displaying whitespace (tabs, spaces, nbsp and newlines).
Options allow to choose locations (leading, inside text, trailing) of whitespace to display and to disable rendering of newline chars.
2021-04-30 12:19:18 -04:00
Soapux
423f214a70 Fix permissions 2021-02-22 11:18:08 -05:00
Talkashie
c469e1345c Fix various typos in index.docbook 2021-02-19 10:09:33 -05:00
Clement Lefebvre
ef0979b2d3 2.8.4 2021-01-02 17:36:34 +00:00
Clement Lefebvre
fc80c90843 l10n: Update translations 2021-01-02 17:27:18 +00:00
Eli Schwartz
3940e04530 fixup! cleanup: remove code dropped in commit 67892da099
Also drop function that is now unused once the previous unused code got
removed.
2020-12-14 08:39:04 -05:00
Clement Lefebvre
83597ba864 2.8.3 2020-12-14 08:11:51 +00:00
Clement Lefebvre
7d8538b748 Packaging: Add missing dependency on gir1.2-gtksource-4 2020-12-14 08:11:10 +00:00
Clement Lefebvre
4429a455f4 2.8.2 2020-12-10 12:19:44 +00:00
Clement Lefebvre
2229d826c4 l10n: Update translations 2020-12-10 12:14:08 +00:00
Clement Lefebvre
ba9bcf2244 2.8.1 2020-12-08 10:11:29 +00:00
Clement Lefebvre
10e9a275c8 Remove links in plugin about dialogs
They're all maintained as part of the Xed project, which link is already
present in the main help about dialog.
2020-12-02 16:41:09 +00:00
Clement Lefebvre
18d3ebf460 bracketcompletion: Enable plugin by default
That's typically a feature casual users would't want by default but programmers
would.

Since it only affects programming languages (not plain text), enable it by default.
2020-12-02 16:41:09 +00:00
Eli Schwartz
76b2fcba7b remove never-used variable added in commit 9e805380d4 2020-12-01 20:15:26 -05:00
Eli Schwartz
d41e63a340 cleanup: remove code dropped in commit 67892da099 2020-12-01 20:15:26 -05:00
150 changed files with 41925 additions and 81537 deletions

View File

@@ -167,6 +167,36 @@
<description>Whether xed will ensure that documents always end with a trailing newline.</description>
</key>
<key name="draw-whitespace" type="b">
<default>false</default>
<summary>Draw whitespace</summary>
<description>Whether xed should render whitespace</description>
</key>
<key name="draw-whitespace-leading" type="b">
<default>false</default>
<summary>Draw leading whitespace</summary>
<description>Whether xed should render leading whitespace</description>
</key>
<key name="draw-whitespace-inside" type="b">
<default>false</default>
<summary>Draw whitespace within text</summary>
<description>Whether xed should render whitespace between words and characters</description>
</key>
<key name="draw-whitespace-trailing" type="b">
<default>false</default>
<summary>Draw trailing whitespace</summary>
<description>Whether xed should render trailing whitespace</description>
</key>
<key name="draw-whitespace-newline" type="b">
<default>false</default>
<summary>Draw newline characters</summary>
<description>Whether xed should render newline characters</description>
</key>
</schema>
<schema gettext-domain="@GETTEXT_PACKAGE@" id="org.x.editor.preferences.ui" path="/org/x/editor/preferences/ui/">
@@ -338,7 +368,7 @@
<schema gettext-domain="@GETTEXT_PACKAGE@" id="org.x.editor.plugins" path="/org/x/editor/plugins/">
<key name="active-plugins" type="as">
<default>[ 'docinfo', 'modelines', 'filebrowser', 'spell', 'time' ]</default>
<default>[ 'docinfo', 'modelines', 'filebrowser', 'spell', 'time', 'bracketcompletion' ]</default>
<summary>Active plugins</summary>
<description>List of active plugins. It contains the "Location" of the active plugins. See the .xed-plugin file for obtaining the "Location" of a given plugin.</description>
</key>

72
debian/changelog vendored
View File

@@ -1,3 +1,75 @@
xed (3.0.2) uma; urgency=medium
* l10n: Update translations
-- Clement Lefebvre <root@linuxmint.com> Fri, 25 Jun 2021 15:15:39 +0100
xed (3.0.1) uma; urgency=medium
* l10n: Update translations
-- Clement Lefebvre <root@linuxmint.com> Thu, 10 Jun 2021 11:04:22 +0100
xed (3.0.0) uma; urgency=medium
[ Talkashie ]
* Fix various typos in index.docbook
[ Soapux ]
* Fix permissions
[ okaestne ]
* Implement #225: Options to render whitespace
[ Michael Webster ]
* i18n: Don't translate gsettings strings.
[ okaestne ]
* Fix crashes when no documents (tabs) are open
[ Justin Schiff ]
* Uses strtol instead of atoi so that we can properly handle errors.
* Use CLAMP macro instead
[ Clement Lefebvre ]
* l10n: Update POT
-- Clement Lefebvre <root@linuxmint.com> Tue, 01 Jun 2021 12:56:22 +0100
xed (2.8.4) ulyssa; urgency=medium
[ Eli Schwartz ]
* fixup! cleanup: remove code dropped in commit 67892da099357e24b3fd3c31fa758947b1dfc47a
[ Clement Lefebvre ]
* l10n: Update translations
-- Clement Lefebvre <root@linuxmint.com> Sat, 02 Jan 2021 17:33:30 +0000
xed (2.8.3) ulyssa; urgency=medium
* Packaging: Add missing dependency on gir1.2-gtksource-4
-- Clement Lefebvre <root@linuxmint.com> Mon, 14 Dec 2020 08:11:29 +0000
xed (2.8.2) ulyssa; urgency=medium
* l10n: Update translations
-- Clement Lefebvre <root@linuxmint.com> Thu, 10 Dec 2020 12:14:34 +0000
xed (2.8.1) ulyssa; urgency=medium
[ Eli Schwartz ]
* cleanup: remove code dropped in commit 67892da099357e24b3fd3c31fa758947b1dfc47a
* remove never-used variable added in commit 9e805380d4aa6338ca1b85d06b5dbf60e9fb0cbe
[ Clement Lefebvre ]
* bracketcompletion: Enable plugin by default
* Remove links in plugin about dialogs
-- Clement Lefebvre <root@linuxmint.com> Tue, 08 Dec 2020 10:11:12 +0000
xed (2.8.0) ulyssa; urgency=medium
[ JosephMcc ]

1
debian/control vendored
View File

@@ -32,6 +32,7 @@ Depends: iso-codes,
${shlibs:Depends},
python3,
python3-gi,
gir1.2-gtksource-4,
xapps-common (>= 1.9.0),
zenity
XB-Python-Version: ${python:Versions}

6
debian/copyright vendored
View File

@@ -1,7 +1,7 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xed (old name: mate-text-editor)
Upstream-Contact: Stefano Karapetsas <stefano@karapetsas.com>
Source: http://git.mate-desktop.org/xed/
Upstream-Name: xed
Upstream-Contact: Linux Mint <root@linuxmint.com>
Source: http://github.com/linuxmint/xed/
Files: plugins/docinfo/xed-docinfo-plugin.c
plugins/docinfo/xed-docinfo-plugin.h

View File

@@ -292,7 +292,7 @@
</listitem>
</orderedlist>
<para>Valid types of <replaceable>URI</replaceable> include <literal>http:</literal>, <literal>ftp:</literal>, <literal>file:</literal>, and all of the methods supported by <literal>gvfs</literal>.</para>
<para>Files from some types of URI are opened as read-only, and any changes you make must be saved to a different location. HTTP only allows files to be read. Files opened from FTP are read-only because because not all FTP servers may correctly work with saving remote files.</para>
<para>Files from some types of URI are opened as read-only, and any changes you make must be saved to a different location. HTTP only allows files to be read. Files opened from FTP are read-only because not all FTP servers may correctly work with saving remote files.</para>
</sect2>
<!-- ============= Working with tabs ======================== -->
@@ -350,7 +350,7 @@
</listitem>
<listitem><para>Type the string that you want to find in the <guilabel>Search for</guilabel> field. You can include special characters such as a new line or tab: see <xref linkend="xed-find-escapes"/>.</para>
</listitem>
<listitem><para>Click <guibutton>Find</guibutton> to search the file for the first occurrence of the string after your current cursor position. If <application>&app;</application> finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted.</para>
<listitem><para>Click <guibutton>Find</guibutton> to search the file for the first occurrence of the string after your current cursor position. If <application>&app;</application> finds the string, the application selects the first occurrence of the string. Other occurrences of the string are highlighted.</para>
</listitem>
<listitem><para>To find the next occurrence of the string, click <guibutton>Find</guibutton> or choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Find Next</guimenuitem> </menuchoice>. To find the previous occurrence of the text, choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Find Previous</guimenuitem> </menuchoice>.</para>
</listitem>
@@ -1400,7 +1400,7 @@
</itemizedlist>
</listitem>
</orderedlist>
<para>The amount of space used, and whether tab character or space characters are used, depends on the <guilabel>Tab Stops</guilabel> settings in the Editor Preferences: see <xref linkend="xed-prefs-editor"/>.</para>
<para>The amount of space used, and whether tab characters or space characters are used, depends on the <guilabel>Tab Stops</guilabel> settings in the Editor Preferences: see <xref linkend="xed-prefs-editor"/>.</para>
</sect2>
@@ -1484,12 +1484,12 @@
</sect3>
<sect3 id="xed-modelines-plugin-kate">
<title>Kate Modelines</title>
<para>The first and last ten lines a document are scanned for <application>Kate</application> modelines.</para>
<para>The first and last ten lines of a document are scanned for <application>Kate</application> modelines.</para>
<para>The <application>Kate</application> options for tab-width, indent-width, space-indent, word-wrap and word-wrap-column are supported. For more information, see the <ulink type="http" url="http://www.kate-editor.org">Kate website</ulink>.</para>
</sect3>
<sect3 id="xed-modelines-plugin-vim">
<title>Vim Modelines</title>
<para>The first and last three lines a document are scanned for <application>Vim</application> modelines.</para>
<para>The first and last three lines of a document are scanned for <application>Vim</application> modelines.</para>
<para>The <application>Vim</application> options for et, expandtab, ts, tabstop, sw, shiftwidth, wrap, and textwidth are supported. For more information, see the <ulink type="http" url="http://vimdoc.sourceforge.net/htmldoc/options.html#modeline">Vim website</ulink>.</para>
</sect3>
</sect2>

View File

@@ -1,4 +1,4 @@
project('xed', 'c', version : '2.8.0')
project('xed', 'c', version : '3.0.2')
gnome = import('gnome')
i18n = import('i18n')

View File

@@ -102,5 +102,4 @@ Description[zh_TW]=自動加入關閉用括號。
Description=Automatically adds closing brackets.
Authors=Hrutvik Suthar <steve@istique.net>
Copyright=Copyright @ 2020 Hrutvik Suthar
Website=https://github.com/HrSuthar/xed
Version=1.0

View File

@@ -7,4 +7,3 @@ _Description=Easy file access from the side pane
Icon=system-file-manager
Authors=Jesse van den Kieboom <jesse@icecrew.nl>
Copyright=Copyright © 2006 Jesse van den Kieboom
Website=http://www.mate-desktop.org

View File

@@ -7,6 +7,4 @@ _Description=Join several lines
Icon=gnome-mime-text-x-python
Authors=Steve Frécinaux <steve@istique.net>;André Homeyer;Linux Mint team
Copyright=Copyright @ 2006-2007 Steve Frécinaux, André Homeyer
Website=https://github.com/linuxmint
Builtin=true

View File

@@ -5,4 +5,3 @@ _Name=Modelines
_Description=Emacs, Kate and Vim-style modelines support for xed.
Authors=Steve Frécinaux <steve@istique.net>
Copyright=Copyright © 2005 Steve Frécinaux
Website=http://www.mate-desktop.org

View File

@@ -7,5 +7,4 @@ Description=Adds context menu item to open an URI at the pointer position.
Icon=gtk-open
Authors=Martin Szulecki <opensuse@sukimashita.com>\nJean-Philippe Fleury <contact@jpfleury.net>
Copyright=Copyright © 2007-2008 Martin Szulecki\nCopyright © 2011 Jean-Philippe Fleury
Website=https://github.com/jpfleury/open-uri-context-menu
Builtin=true

View File

@@ -6,5 +6,4 @@ _Description=Sorts a document or selected text.
Icon=gtk-sort-ascending
Authors=Carlo Borreo <borreo@softhome.net>;Lee Mallabone <mate@fonicmonkey.net>;Paolo Maggi <paolo.maggi@polito.it>;Jorge Alberto Torres H. <jorge@deadoak.com>
Copyright=Copyright © 2001 Carlo Borreo\nCopyright © 2002-2003 Lee Mallabone, Paolo Maggi\nCopyright © 2004-2005 Paolo Maggi
Website=http://www.mate-desktop.org
Builtin=true

View File

@@ -6,4 +6,3 @@ _Description=Checks the spelling of the current document.
Icon=gtk-spell-check
Authors=Paolo Maggi <paolo@gnome.org>
Copyright=Copyright © 2002-2005 Paolo Maggi
Website=http://www.mate-desktop.org

View File

@@ -5,4 +5,3 @@ _Name=Tag list
_Description=Provides a method to easily insert commonly used tags/strings into a document without having to type them.
Authors=Paolo Maggi <paolo.maggi@polito.it>
Copyright=Copyright © 2002-2005 Paolo Maggi
Website=http://www.mate-desktop.org

View File

@@ -7,5 +7,4 @@ _Description=Allow controlling the zoom levels of the text
Icon=gnome-mime-text-x-python
Authors=Steve Frécinaux <steve@istique.net>;Linux Mint team
Copyright=Copyright © 2017 by the authors
Website=https://github.com/linuxmint
Builtin=true

View File

@@ -5,4 +5,3 @@ _Name=Insert Date/Time
_Description=Inserts current date and time at the cursor position.
Authors=Paolo Maggi <paolo.maggi@polito.it>;Lee Mallabone <mate@fonicmonkey.net>
Copyright=Copyright © 2002-2005 Paolo Maggi
Website=http://www.mate-desktop.org

View File

@@ -6,4 +6,3 @@ _Description=Removes trailing spaces from lines before saving.
Icon=gtk-cut
Authors=Marty Mills <daggerbot@gmail.com>
Copyright=Copyright © 2015 Marty Mills
Website=http://www.mate-desktop.org

View File

@@ -29,5 +29,4 @@ Name[zh_CN]=单词补全
Description=Predicts the rest of the word after a few characters have been typed.
Authors=Jesse van den Kieboom <jesse@gnome.org>\nIgnacio Casal Quinteiro <icq@gnome.org>\nMickael Albertus <mickael.albertus@gmail.com>
Copyright=Copyright © 2017 Mickael Albertus\n2009 Jesse van den Kieboom
Website=https://github.com/linuxmint/xed
Version=@VERSION@

View File

@@ -5,5 +5,4 @@ _Name=Word Completion
_Description=Predicts the rest of the word after a few characters have been typed.
Authors=Jesse van den Kieboom <jesse@gnome.org>\nIgnacio Casal Quinteiro <icq@gnome.org>\nMickael Albertus <mickael.albertus@gmail.com>
Copyright=Copyright © 2017 Mickael Albertus\n2009 Jesse van den Kieboom
Website=https://github.com/linuxmint/xed
Version=@VERSION@

View File

@@ -103,6 +103,7 @@ ur
vi
wa
xh
zgh
zh_CN
zh_HK
zh_TW

View File

@@ -1,7 +1,6 @@
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
[encoding: UTF-8]
[type: gettext/gsettings]data/org.x.editor.gschema.xml.in
data/xed.appdata.xml.in
data/xed.desktop.in.in
xed/xed-app-activatable.c

1059
po/ab.po

File diff suppressed because it is too large Load Diff

1099
po/af.po

File diff suppressed because it is too large Load Diff

1094
po/am.po

File diff suppressed because it is too large Load Diff

1116
po/ar.po

File diff suppressed because it is too large Load Diff

1071
po/as.po

File diff suppressed because it is too large Load Diff

1085
po/ast.po

File diff suppressed because it is too large Load Diff

1067
po/az.po

File diff suppressed because it is too large Load Diff

2087
po/be.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1116
po/bg.po

File diff suppressed because it is too large Load Diff

1073
po/bn.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1061
po/br.po

File diff suppressed because it is too large Load Diff

1071
po/bs.po

File diff suppressed because it is too large Load Diff

1136
po/ca.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1075
po/crh.po

File diff suppressed because it is too large Load Diff

1122
po/cs.po

File diff suppressed because it is too large Load Diff

1135
po/cy.po

File diff suppressed because it is too large Load Diff

1118
po/da.po

File diff suppressed because it is too large Load Diff

1143
po/de.po

File diff suppressed because it is too large Load Diff

1078
po/dz.po

File diff suppressed because it is too large Load Diff

1161
po/el.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1123
po/eo.po

File diff suppressed because it is too large Load Diff

1369
po/es.po

File diff suppressed because it is too large Load Diff

1122
po/et.po

File diff suppressed because it is too large Load Diff

1143
po/eu.po

File diff suppressed because it is too large Load Diff

1069
po/fa.po

File diff suppressed because it is too large Load Diff

1124
po/fi.po

File diff suppressed because it is too large Load Diff

1148
po/fr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1059
po/ga.po

File diff suppressed because it is too large Load Diff

1081
po/gl.po

File diff suppressed because it is too large Load Diff

1069
po/gu.po

File diff suppressed because it is too large Load Diff

1664
po/he.po

File diff suppressed because it is too large Load Diff

1428
po/hi.po

File diff suppressed because it is too large Load Diff

1120
po/hr.po

File diff suppressed because it is too large Load Diff

1130
po/hu.po

File diff suppressed because it is too large Load Diff

1059
po/hy.po

File diff suppressed because it is too large Load Diff

1155
po/ia.po

File diff suppressed because it is too large Load Diff

1390
po/id.po

File diff suppressed because it is too large Load Diff

1059
po/ie.po

File diff suppressed because it is too large Load Diff

1118
po/is.po

File diff suppressed because it is too large Load Diff

1142
po/it.po

File diff suppressed because it is too large Load Diff

1080
po/ja.po

File diff suppressed because it is too large Load Diff

1059
po/ka.po

File diff suppressed because it is too large Load Diff

1133
po/kab.po

File diff suppressed because it is too large Load Diff

1059
po/kk.po

File diff suppressed because it is too large Load Diff

1074
po/kn.po

File diff suppressed because it is too large Load Diff

1092
po/ko.po

File diff suppressed because it is too large Load Diff

1061
po/ku.po

File diff suppressed because it is too large Load Diff

1059
po/ky.po

File diff suppressed because it is too large Load Diff

1520
po/la.po

File diff suppressed because it is too large Load Diff

1119
po/lt.po

File diff suppressed because it is too large Load Diff

1069
po/lv.po

File diff suppressed because it is too large Load Diff

1071
po/mai.po

File diff suppressed because it is too large Load Diff

1076
po/mg.po

File diff suppressed because it is too large Load Diff

1059
po/mi.po

File diff suppressed because it is too large Load Diff

1073
po/mk.po

File diff suppressed because it is too large Load Diff

1072
po/ml.po

File diff suppressed because it is too large Load Diff

1067
po/mn.po

File diff suppressed because it is too large Load Diff

1071
po/mr.po

File diff suppressed because it is too large Load Diff

1087
po/ms.po

File diff suppressed because it is too large Load Diff

1062
po/my.po

File diff suppressed because it is too large Load Diff

1075
po/nb.po

File diff suppressed because it is too large Load Diff

1059
po/nds.po

File diff suppressed because it is too large Load Diff

1075
po/ne.po

File diff suppressed because it is too large Load Diff

1146
po/nl.po

File diff suppressed because it is too large Load Diff

1072
po/nn.po

File diff suppressed because it is too large Load Diff

1082
po/oc.po

File diff suppressed because it is too large Load Diff

1068
po/or.po

File diff suppressed because it is too large Load Diff

1070
po/pa.po

File diff suppressed because it is too large Load Diff

1139
po/pl.po

File diff suppressed because it is too large Load Diff

1059
po/ps.po

File diff suppressed because it is too large Load Diff

1132
po/pt.po

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More