1
0
mirror of https://github.com/GNOME/gedit synced 2024-06-28 14:04:26 +00:00
Commit Graph

13566 Commits

Author SHA1 Message Date
Yuri Chornoivan
ccb84bc1e2 Update Ukrainian translation 2024-06-27 20:43:21 +00:00
Sébastien Wilmet
a5615b22d7 NEWS file: write all news so far 2024-06-27 18:54:04 +02:00
Sébastien Wilmet
a051e2c417 gedit.c: re-enable i18n
The underlying modules (libgedit-*) are still not on l10n.gnome.org or
equivalent. But re-enable i18n anyway, because it is needed in all
cases.

https://gitlab.gnome.org/GNOME/gedit/-/issues/593
2024-06-27 18:36:45 +02:00
Sébastien Wilmet
11be223467 GSettings schema: enable the textsize plugin by default
The textsize plugin is now part of the gedit core plugins, so it can be
enabled by default.

Ideally this should be rewritten in C and be part of libgedit-tepl, and
always enabled in gedit core without a plugin.
2024-06-27 05:58:26 +02:00
Sébastien Wilmet
5bc14181ff plugins: textsize: adapt user manual page 2024-06-27 05:27:51 +02:00
Sébastien Wilmet
42ded7722d plugins: add textsize user manual page, coming from gedit-plugins repo
This is an exact copy of the manual page that was present in the
gedit-plugins git repo.

Some adaptations will be done in a further commit.
2024-06-27 05:17:51 +02:00
Sébastien Wilmet
91043c4a6a plugins: add textsize, coming from the gedit-plugins repo
The textsize/ directory has been copied as-is from the gedit-plugins
repo (after some adaptations in gedit-plugins).

The user manual page will be moved in a follow-up commit.

Fixes https://gitlab.gnome.org/GNOME/gedit/-/issues/482
2024-06-27 05:13:58 +02:00
Sébastien Wilmet
3c7c7c6826 docs: api-breaks: document API break for the bottom panel 2024-06-27 00:31:23 +02:00
Sébastien Wilmet
25e3e8426f Meson: remove unused variables 2024-06-26 23:51:06 +02:00
Sébastien Wilmet
4e26f185e1 Meson: plugins: externaltools: some refactorings 2024-06-26 23:48:50 +02:00
Sébastien Wilmet
c3c3d18375 Meson: plugins: modelines: refactorings 2024-06-26 23:32:44 +02:00
Sébastien Wilmet
d805ab096d Meson: plugins: filebrowser: continue refactorings 2024-06-26 23:25:56 +02:00
Sébastien Wilmet
ce868b41a3 Meson: plugins: filebrowser: refactorings
The refactoring is not finished for this plugin. But commit anyway, to
not end up with an unreadable diff.
2024-06-26 23:12:36 +02:00
Sébastien Wilmet
06f9850352 Meson: plugins: pythonconsole: refactorings 2024-06-26 23:01:18 +02:00
Sébastien Wilmet
445f5297ce Meson: validate-metainfo: add --no-net option
Sometimes I work without internet connection, and I still want ninja
test to succeed.
2024-06-26 22:49:30 +02:00
Sébastien Wilmet
e8abe93985 Meson: plugins: quickhighlight: refactorings 2024-06-26 22:45:12 +02:00
Sébastien Wilmet
fcdfee90c7 Meson: plugins: quickopen: refactorings 2024-06-26 22:38:33 +02:00
Sébastien Wilmet
c656474470 Meson: plugins: snippets: refactorings 2024-06-26 22:32:35 +02:00
Sébastien Wilmet
18c4738050 Update list-of-gedit-plugins.md 2024-06-26 20:18:12 +02:00
Sébastien Wilmet
cfc346bca8 Meson: plugins: time: refactorings 2024-06-26 19:15:54 +02:00
Sébastien Wilmet
16a14da052 Meson: plugins: spell: refactorings 2024-06-26 18:29:17 +02:00
Sébastien Wilmet
753766882b Make gedit work without patches for MINGW-packages
For MS Windows with MSYS2 and MINGW.

MINGW-packages needed to patch gedit.

It is assumed that get_option('libdir') is the default value of the
install_dir keyword argument for the shared_library() Meson function.
(the patch just removed the install_dir line, to take the default
value).

If the code was useful for other Windows downstream distributors, then
an option can be added to meson_options.txt.
2024-06-26 18:14:43 +02:00
Sébastien Wilmet
317d726df9 gedit.c: minor, have shorter license header 2024-06-26 17:58:33 +02:00
Sébastien Wilmet
00b8faa776 Meson: plugins: sort: refactorings 2024-06-26 17:35:47 +02:00
Sébastien Wilmet
8ab66f953a Meson: plugins: docinfo: refactorings 2024-06-26 17:26:18 +02:00
Sébastien Wilmet
c6d8a63bec Meson: add a todo comment 2024-06-26 17:00:14 +02:00
Sébastien Wilmet
e3b95a2bb9 Meson: minor, change description for the pkg-config file 2024-06-26 16:51:42 +02:00
Sébastien Wilmet
2f6622b467 Meson: rename some variables 2024-06-26 16:39:27 +02:00
Sébastien Wilmet
f94d6c934e Meson: improvements in data/ dir
Change the list of plugins that are activated by default:
  - Remove docinfo (document statistics) because it's useful only for
    specific usage.
  - Remove modelines: nowadays an editorconfig file is preferred
    (although gedit doesn't support it).

- Add section titles.
- Simplify and clarify.
2024-06-26 16:28:32 +02:00
Sébastien Wilmet
9d5f42de02 Meson: use appstreamcli to validate the metainfo file
Apparently appstream-util is obsolete.
2024-06-26 16:11:34 +02:00
Sébastien Wilmet
5b0dc58659 Meson: remove implied dep
libgedit-tepl depends on libgedit-amtk. No need to list *all* deps.
2024-06-26 16:06:10 +02:00
Sébastien Wilmet
118a34e193 Meson: don't use join_paths() in the top-level meson.build
The / operator is more convenient.
2024-06-26 16:03:16 +02:00
Sébastien Wilmet
3504c418fc doap: update my email address 2024-06-24 01:32:47 +02:00
Sébastien Wilmet
9bb05965fd commands-file: minor code improvement for _gedit_cmd_file_quit() 2024-06-22 16:45:45 +02:00
Sébastien Wilmet
44022b7dad App: use amtk_action_map_add_action_entries_check_dups() 2024-06-22 16:38:58 +02:00
Sébastien Wilmet
8205d7aab6 App: simplify app_entries values
It's static so it's initialized to zero.
2024-06-22 16:37:51 +02:00
Sébastien Wilmet
28d486e6d5 Window: use amtk_action_map_add_action_entries_check_dups()
For the sanity checks.
2024-06-22 16:01:10 +02:00
Sébastien Wilmet
7aca206a06 Window: cleanup in gedit_window_init()
Remove gedit_debug() stuff, its coverage is anyway incomplete for most
printf-debugging tasks. In general, gedit_debug() calls are going away.

window->priv is initially all zeroed, so no need to assign zero values
to it in init().

Comment formatting.

Alignment with tabs + spaces.
2024-06-22 15:57:54 +02:00
Sébastien Wilmet
9a59d2e062 Window: use a GEDIT_SETTINGS macroconstant 2024-06-22 07:55:46 +02:00
Sébastien Wilmet
38f0740a1b Window: bottom panel: fix hiding the panel when removing last item
Rename also the cb functions.
2024-06-22 07:17:25 +02:00
Sébastien Wilmet
234869970a Window: init_bottom_panel_visibility(): fix it
tepl_panel_simple_get_active_item() can be null even if there are items.
2024-06-22 07:03:17 +02:00
Sébastien Wilmet
e36c40a5ec Window: small code improvements in setup_bottom_panel()
The 'after' flag is not necessary when connecting to the ::notify
signal.
2024-06-22 06:28:58 +02:00
Sébastien Wilmet
9239306296 Window: minor, coding style improvements 2024-06-22 06:19:18 +02:00
Sébastien Wilmet
50170c2c84 Window: fix attribute type to store a signal handler ID 2024-06-22 06:09:40 +02:00
Sébastien Wilmet
2d68ee477b build: change a meson option to buggy_plugins
The externaltools plugin must *not* be enabled on production systems.
2024-06-22 05:40:22 +02:00
Sébastien Wilmet
5d2bfad7e3 Remove GeditNotebookStackSwitcher
Replaced by TeplPanel.
2024-06-21 23:32:59 +02:00
Sébastien Wilmet
775e5210bb externaltools plugin: continue port to TeplPanel
The previous implementation checked the panel visibility before showing
it. But it's easier to just show it: if it is already visible it's
harmless.
2024-06-21 23:24:40 +02:00
Sébastien Wilmet
c8034d31c8 externaltools plugin: port windowactivatable.py to TeplPanel 2024-06-21 23:08:33 +02:00
Sébastien Wilmet
3e8023412c pythonconsole plugin: port to TeplPanel 2024-06-21 22:57:52 +02:00
Sébastien Wilmet
ad471ec953 BottomPanel: port to TeplPanel 2024-06-21 22:57:26 +02:00