1
0
mirror of https://github.com/GNOME/gedit synced 2024-07-05 01:48:36 +00:00
Commit Graph

157 Commits

Author SHA1 Message Date
Sébastien Wilmet
25e3e8426f Meson: remove unused variables 2024-06-26 23:51:06 +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
11a44459db Bump version to 48 2024-06-18 18:03:53 +02:00
Sébastien Wilmet
4b5b20b572 Post-release version bump 2024-04-27 17:32:32 +02:00
Sébastien Wilmet
f576114805 Release 47.0 2024-04-27 17:29:08 +02:00
Sébastien Wilmet
d2f20149db Adapt for Tepl -> libgedit-tepl rename 2024-04-25 21:43:43 +02:00
Sébastien Wilmet
b3fab39b33 Window: delegate update_titles() to GeditWindowTitles
GLib 2.76 is required for g_set_str().
2024-03-13 15:04:00 +01:00
Sébastien Wilmet
7f7f5b965b Use TeplSettingsSimpleThemeVariant for the GTK light/dark theme variants
gedit is not fully ready for the 'system' theme variant setting.

The GSettings and the preferences dialog UI for the style/color schemes
(coming from libgedit-gtksourceview) need some work to be able to choose
the one that is set for a light GTK theme, and the one that is set for a
dark GTK theme.

So in the meantime, in order for gedit to be in a releasable state, use
the simplified API from Tepl. Only "force light" and "force dark" are
supported, so gedit doesn't take into account the system setting.

However with some scripting it would be possible to achieve the desired
behavior when the system setting for the GTK theme changes, adapting
automatically the style/color scheme.
2024-03-12 01:00:27 +01:00
Sébastien Wilmet
6d5d067da6 Bump version to 47 2023-12-05 16:00:00 +01:00
Sébastien Wilmet
155a34f087 build: enable -Wshadow CFLAG 2023-10-24 16:00:00 +02:00
Sébastien Wilmet
5a08fe0aef Release 46.1 2023-08-01 16:00:00 +02:00
Sébastien Wilmet
02b0a3ab14 build: run git submodule command only if .git/ dir exists
Thanks to Xi Ruoyao for an initial merge request.
2023-07-25 16:00:00 +02:00
Sébastien Wilmet
1f378da732 build: silence one more warning type
There are currently a lot of these warnings, and fixing them all will
take some time. Basic casts can be done, but it's better to see if
changing one of the variable type (gint <-> guint) would be a better
solution. This needs to look at what the code actually does, what
functions are called, etc.
2023-07-25 16:00:00 +02:00
Sébastien Wilmet
55b8f995e1 build: silence a few warning types
There are a lot of warnings now, silence a few of them. These will be
re-enabled later.
2023-07-25 16:00:00 +02:00
Sébastien Wilmet
8568f162f4 build: add warning CFLAGS
This is the usual snippet that I copy/paste from one project to another.
2023-07-25 16:00:00 +02:00
Sébastien Wilmet
63229a1082 Release 46.0 2023-07-25 16:00:00 +02:00
Sébastien Wilmet
a013aeffb3 build: replace inline_side_panel_switcher option -> headerbar option
The inline_side_panel_switcher is implied by the fact that there is an
headerbar or not.

The GEDIT_HAS_HEADERBAR macroconstant still needs to be used in other
places, to actually create the headerbars or not.
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
8973205805 amtk -> libgedit-amtk
Amtk has been renamed.
2023-07-18 16:00:00 +02:00
Sébastien Wilmet
2161f7183a Bump versions
The gedit API has changed (for the side panel).

And Tepl git main is required for TeplPanel.
2023-07-11 16:00:00 +02:00
Sébastien Wilmet
d3e5288e17 Release 45.0 2023-06-20 16:00:01 +02:00
Sébastien Wilmet
7a05da2532 Post-release version bump 2023-04-25 16:00:00 +02:00
Sébastien Wilmet
7199a6befd Release 45.alpha 2023-04-25 16:00:00 +02:00
Sébastien Wilmet
f124a0fc62 Bump API version from 44 to 45
There has been some API breaks, see the docs.
2023-04-11 16:00:00 +02:00
Sébastien Wilmet
7d2f030eeb build: fix a warning
The warning was:

WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
2023-03-21 16:00:00 +01:00
Sébastien Wilmet
95a438973d build: replace use of deprecated function
'meson.source_root' is deprecated since Meson 0.56.
2023-03-21 16:00:00 +01:00
Matt Turner
0391b45d67 build: Use GNOME module post_install() 2023-03-21 16:00:00 +01:00
Sébastien Wilmet
e15129e637 Bump version 2023-03-21 16:00:00 +01:00
Sébastien Wilmet
4c306b6ee7 build: add inline_side_panel_switcher option
See the comment in meson_options.txt.

If macOS still requires an inline switcher, then we can still keep this
option for testing it on Linux.
2023-01-03 16:00:00 +01:00
Sébastien Wilmet
4442eba6a1 Release 44.1 2023-01-03 16:00:01 +01:00
Sébastien Wilmet
d0169f37ab Release 44.0 2022-12-27 16:00:01 +01:00
Sébastien Wilmet
eacdd4dc7e Bump API version from 43 to 44
There has been a mini API break, see the docs.
2022-11-22 16:00:01 +01:00
Sébastien Wilmet
a58c281dba build: keep API version to 43 for the moment
The gedit 43.x versions have the API version 43.

The API version of gedit only needs to be bumped when there is an API or
ABI break. Which isn't the case for the moment.
2022-11-15 16:00:00 +01:00
Sébastien Wilmet
9c2f865984 build: bump API version to 44
See https://gitlab.gnome.org/GNOME/gedit/-/issues/534
2022-11-08 16:00:00 +01:00
Sébastien Wilmet
eb56b3f8b6 Bump version for 44 development cycle 2022-11-08 16:00:00 +01:00
Sébastien Wilmet
5e7602d489 build: Tepl 6.3 required
Tepl 6.3.x are the development versions (currently git main).
2022-11-08 16:00:00 +01:00
Sébastien Wilmet
549daad83d Release 43.1
For the added comment in the AppData, see:
https://discourse.gnome.org/t/psa-on-version-schemes-for-gnome-components/11172/2

(thanks to Fabian Bornschein for the link)
2022-11-01 16:00:00 +01:00
Sébastien Wilmet
385d0327aa Release 43.0 2022-11-01 16:00:00 +01:00
Sébastien Wilmet
bbc20b15a9 Window: better create open recent menu
Amtk 5.5.2 is needed for
amtk_application_window_create_open_recent_menu_base().

When using amtk_application_window_create_open_recent_menu() (so the
more complete one), it calls g_application_open() which is not suitable
in gedit, because it calls _gedit_cmd_load_files_from_prompt(). From
prompt, if the file doesn't exist, it sets the 'create' param to TRUE,
which creates the file, so it doesn't show a warning infobar if the file
doesn't exist.

When opening a file from the recent menu, we *want* a warning infobar if
the file doesn't exist instead of showing an empty document. (if it
shows an empty document, we may think that the file *exists* and is
empty).
2022-07-21 17:52:01 +02:00
Sébastien Wilmet
65b17ec045 filebrowser: fix use of deprecated g_pattern function
When briefly looking at the API docs of these two functions, it's hard
to know if they are implemented exactly the same.

But when looking at the *implementation* of g_pattern_match(), it just
calls directly g_pattern_spec_match() with the same args.

Tested with printf-debugging, the pattern correctly matches *.la files
(from a built Autotools project).

So everything should be fine, and the feature still works.
2022-07-17 16:20:19 +02:00
Sébastien Wilmet
f8e0a62e74 View: fix use of deprecated Tepl function 2022-07-17 15:34:04 +02:00
Sébastien Wilmet
8411c6832d Bump version to 43.alpha2 2022-07-16 18:41:58 +02:00
Sébastien Wilmet
5164375a72 Revert "Merge branch 'master' into wip/next"
This reverts commit 661db63099, reversing
changes made to a8cb2b57f9.

It is to basically come back to:
commit a8cb2b57f9
the previous version of gedit based on the Tepl library.

The goal is to continue the gedit development (on master), but based on
the Tepl library.
2022-07-15 10:49:56 +02:00
Sébastien Wilmet
4415f48197 Release 43.alpha 2022-07-06 15:37:35 +02:00
Jeremy Bicha
61f737bce2 Release 42.0 2022-04-01 15:38:14 -04:00
Jeremy Bicha
bfbfd6e14d Cherry-pick Re-release 41 as 41.0
Oops. I believe this will work better with Debian's packaging.
2022-02-14 09:26:01 -05:00
Jeremy Bicha
3f6d7e488b Include gedit 41 release info
(cherry picked from commit 0fe9b45b42)

I accidentally approved a merge proposal before I finished pushing the 41 release
2022-02-14 08:48:48 -05:00
Dominique Leuenberger
c6cd8fd0ed build: correct minimal gtk3 version 2021-08-09 09:55:09 +00:00
Jordan Petridis
e2ab1dd687
Bump version to 41.alpha 2021-07-17 00:26:53 +03:00