1
0
mirror of https://github.com/GNOME/gedit synced 2024-06-30 23:15:01 +00:00
Commit Graph

1828 Commits

Author SHA1 Message Date
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
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
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
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
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
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
6b760557c5 Side panel components: adapt to latest tepl_panel_item_new() API 2024-06-20 12:44:09 +02:00
Sébastien Wilmet
0de7b8fc38 Side panel components: port to new TeplPanel API 2024-06-15 05:35:15 +02:00
Sébastien Wilmet
a5299dc6b9 filebrowser plugin: add some missing g_file_info_has_attribute() checks
Before getting an attribute, check that it is present.

All calls to g_file_info_get_is_backup() should be protected now.

Fixes https://gitlab.gnome.org/GNOME/gedit/-/issues/554
2024-06-05 17:32:44 +02:00
Sébastien Wilmet
d94b2c13b3 Window: keep only one ::active-tab-changed* signal
1) Remove the deprecated signal (no longer used).
2) Rename the ::active-tab-changed-simple signal to
   ::active-tab-changed and adapt the code accordingly.
3) Document the API break.
2024-03-15 10:23:42 +01:00
Sébastien Wilmet
5fd0084999 snippets: don't use deprecated GeditWindow signal 2024-03-15 09:59:57 +01:00
Sébastien Wilmet
6533372b22 Plugins infos: update URL to website 2023-12-05 16:00:03 +01:00
Peter Bittner
aa1ab31114 Add link to reStructuredText plugin 2023-11-12 15:17:33 +00:00
Lukáš Tyrychtr
94fc4ee3ad file-browser-plugin: Mark a string translatable
One placeholder i a GtkEntry was not marked as such.

Fixes #576
2023-08-30 10:23:37 +02:00
Sébastien Wilmet
6fa2371e5d quickhighlight plugin: adapt code for GtkSourceStyle API break 2023-08-08 16:00:00 +02:00
Sébastien Wilmet
2fb58ae78a filebrowser: fix compil warnings [-Wcast-function-type] 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
361dadba7d time: time to fix this compil warning [-Wdiscarded-qualifiers] 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
5bcff1327a spell: fix compil warning [-Wdiscarded-qualifiers] 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
69c1513ba9 filebrowser: fix compil warning [-Wdiscarded-qualifiers] 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
24398be42a spell: fix compil warning [-Wdeclaration-after-statement] 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
ebf60f5b67 modelines: fix compil warning [-Wdeclaration-after-statement] 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
31a688ff23 filebrowser: fix compil warning [-Wdeclaration-after-statement] 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
9e49806f3c modelines: fix compilation warning [-Wold-style-definition] 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
0ce54e8a55 build: small rework for the #define of macOS
Always #define it, and rename to OS_MACOS.

By always having the macroconstant (either set to 0 or 1), we can use
'#if', and with '#if' the config.h always needs to be included.

config.h was not included in gedit-file-bookmarks-store.c, so this
commit normally fixes a bug.
2023-07-25 16:00:00 +02:00
Sébastien Wilmet
ced170fad6 SidePanel: switch to TeplPanel* API 2023-07-11 16:00:00 +02:00
Sébastien Wilmet
572922c13b SidePanel: switch to TeplStack 2023-07-11 16:00:49 +02:00
Sébastien Wilmet
c2eae12157 Window: change how to get side panel and its GtkStack 2023-07-11 16:00:49 +02:00
Sébastien Wilmet
0d5002eb86 Update list-of-gedit-plugins.md
See the relevant commit in the gedit-plugins repo to know the reasons
for the plugin removal.
2023-05-15 20:24:10 +02:00
Sébastien Wilmet
b672cb7cce Update list-of-gedit-plugins.md
See the relevant commit in the gedit-plugins repo to know the reasons
for the plugin removal.
2023-04-25 16:00:00 +02:00
Arjun Suresh
c18ce28b8e filebrowser: fix Invalid cast to GtkWindow
Fixes https://gitlab.gnome.org/GNOME/gedit/-/issues/516
2023-01-17 16:00:01 +01:00
Arjun Suresh
27109b9432 plugin time: Add Keyboard shortcut 2023-01-17 16:00:00 +01:00
Sébastien Wilmet
7301fa50b6 plugins docs: add third-party-plugins.md
See https://gitlab.gnome.org/GNOME/gedit/-/issues/502
2023-01-10 16:00:00 +01:00
Sébastien Wilmet
a7d5ad95ca filebrowser: fix bug to filter text files from binary files on win32
The detection of text vs binary files is still far from perfect on
Windows. This will need more work.

But in the meantime this fixes an obvious logic problem in the code. So
it now works a little better.
2023-01-03 16:00:00 +01:00
Sébastien Wilmet
a273235ec3 filebrowser: don't use gedit_document_is_untitled()
That function is going away (from the gedit API at least).

Tested, still works fine.
2022-11-29 16:00:00 +01:00
Sébastien Wilmet
c26d1b559d docinfo: use tepl_file_get_short_name()
gedit_document_get_short_name_for_display() is going away.
2022-11-29 16:00:01 +01:00
Sébastien Wilmet
e188a616bd quickopen: replace gtk_recent_info_has_group() by has_application()
See commit 1df701b30c

gedit core wants to use gtk_recent_manager_add_item() only, which
doesn't set the group.

While at it, don't hardcode 'gedit' but use g_get_application_name()
instead.
2022-11-22 16:00:00 +01:00
Sébastien Wilmet
291c222b00 file-browser: minor coding style fixes for previous commit
See https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/141
2022-11-15 16:00:01 +01:00