1
0
mirror of https://github.com/GNOME/gedit synced 2024-07-05 02:03:34 +00:00
Commit Graph

79 Commits

Author SHA1 Message Date
Sébastien Wilmet
9223b7467d flatpak: update 2023-07-25 16:00:00 +02:00
Arjun Suresh
1f5ea4759e flatpak: add gtksourceview to manifest 2023-04-11 16:00:00 +02:00
Matt Turner
0391b45d67 build: Use GNOME module post_install() 2023-03-21 16:00:00 +01:00
Sébastien Wilmet
29bf9b6a63 flatpak: add a small readme.md 2022-12-27 16:00:01 +01:00
Sabri Ünal
40a4e74beb data: Update Flatpak manifest
Fixes: https://gitlab.gnome.org/GNOME/gedit/-/issues/517
2023-01-03 21:47:41 +00:00
Sébastien Wilmet
f7308d173f buildstream: gedit.bst: add appstream-glib build-dep
Required for the validate-appdata test.
2022-11-01 16:00:00 +01:00
Sébastien Wilmet
51a9e5eebd buildstream: add initial set of elements
gedit.bst has been copied and a little adapted from gnome-build-meta.

amtk.bst and tepl.bst have been added and inspired by an earlier version
from gnome-build-meta too.
2022-11-03 22:59:49 +01:00
Sébastien Wilmet
ebd5fa06a5 flatpak: update/improve some comments 2022-08-01 20:58:47 +02:00
Sébastien Wilmet
e019884e75 flatpak: simplify generate-json-manifest.sh
The less the better. A single command goes straight to the point and is
easier to understand, and to modify later on.

If yq is not installed, we get the usual command-not-found error.

When successful, we can then look at the git diff to see if the *.json
file changed.

The set -e is not needed for a single command.

And change a little the yq command, with a link to the project. It
doesn't change the result for the *.json file.

https://gitlab.gnome.org/GNOME/gedit/-/issues/515
2022-08-01 20:31:39 +02:00
Jake Dane
881a7996f6 build-aux/flatpak: generate JSON manifest from YAML manifest 2022-08-01 14:02:21 +00:00
Sébastien Wilmet
7238b06e99 build-aux: remove outdated osx/ subdir
It takes 7.3MB, and it was included in every tarball created with Meson
(with Autotools it was not included I think).

Anyway, it hasn't been updated for a while, and it's easy to find it
back in the git history (hopefully).
2022-07-15 19:33:20 +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
Sebastien Bacher
f068f9775e snap: build using a gtk3 sourceview version 2021-04-13 16:43:51 +02:00
Zander Brown
fa587e033c deteplification: the mega commit
This commit is a reverse patch of a rebased version of gedit with
commits related to tepl/amtk removed

Sébastien Wilmet has stopped development of these libraries, relevant
commits:

34a1171298
457b5c37eb

As a result usage is being dropped in favour simplifing gedit
dependencies, because there are not enough developers, and too many bugs.
Do you prefer a rock-solid text editor? Or a text editor with some shiny
and non-essential dependencies that complicate the build, at the expense
of more bugs?

Tracked at: https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/564

Commits Dropped:
cfeb7cb6c build: add Tepl dependency, second try
872fb4809 Utils: use str truncate functions from Tepl
9a121d523 Utils: deprecate str_end_truncate()
e0e602799 No longer use gedit_utils_str_end_truncate()
657ce9f7a Utils: deprecate str_middle_truncate()
6eefa74c2 No longer use gedit_utils_str_middle_truncate()
169c1594e main: call tepl_init() and tepl_finalize()
ec31f0c22 snap: Fixed build failures by added tepl part
76cf5562d Document: remove metadata implementation
75cdb6a77 Document: second pass to remove metadata implementation
d6b158ca6 App: remove the GeditMetadataManager
6eccd6672 Remove GeditMetadataManager
03929157e build: remove enable-gvfs-metadata option
1dad3bce2 build: remove libxml dependency
8c0825424 metadata: adapt key names for TeplFileMetadata
c2904aa80 Document: metadata: create an internal TeplFile
9c8ede1e2 App: setup Tepl metadata manager
91bc04efc App: remove leftover comment
b39dd0201 Document: use TeplFileMetadata to re-implement set/get_metadata()
494677bfc Utils: use tepl_utils_replace_home_dir_with_tilde()
aaaa28a87 docs: gtk-doc fixxref: fix the path for gtk and add path for tepl
8710e89d8 Remove GeditViewCentering
5e0909c19 ViewFrame: disable overlay scrolling for the GtkScrolledWindow
7c7296b0e Remove overview map: remove from preferences dialog
26899e0ba Remove overview map
27f54a9ae replace-open-button: remove OpenDocumentSelector
504ced5a9 replace-open-button: Window: remove open document popover
3a8c5bbc2 replace-open-button: remove open button UI
abab6529f replace-open-button: re-create a simple Open button
1ee984a41 replace-open-button: re-create simple Open Recent menu button (UI)
f1a58a70b replace-open-button: set Open Recent menu with Amtk
020e0b340 replace-open-button: re-handle the fullscreen mode
4dfd2104e Window: remove dead code (#defines)
0caf371b1 Window: make the code a little clearer wrt fullscreen mode
584aeb202 Window: rename fullscreen_controls -> fullscreen_revealer
75705bf1d Window: some code cleanup wrt fullscreen mode
cf0d62617 Window: simplify setting the state of the fullscreen revealer
8706e5624 Window: fullscreen mode: remove idle function
6361b281c Window: fullscreen mode: remove no longer needed code
8d3e6faf2 Window: fullscreen mode: fix headerbar shown/hidden "stuttering"
a437e5245 Window: fullscreen mode: add comment about the "stuttering" fix
d064c5f88 Window: remove useless #include
15833e5c7 build: list of deps: simplify
007caff57 build: list of deps: simplify version requirements
72dc3a477 build: avoid the use of a variable
4a49c8562 flatpak: update Amtk to 5.0.2
9ab7b0f0a utils: remove GBOOLEAN_TO_POINTER() and GPOINTER_TO_BOOLEAN()
55c5f1423 Utils: deprecate gedit_warning()
cbdd3a85d PreferencesDialog: use tepl_utils_show_warning_dialog()
7a442c766 Utils: deprecate decode_uri(), use the tepl one
bf3d57003 Use tepl_utils_decode_uri()
2e45bb03f io-error-info-bar: remove useless #include's
092411115 io-error-info-bar: use TeplInfoBar for the file_already_open_warning
8ccb4566f io-error-info-bar: file_already_open_warning moved to Tepl
8bfe0559a io-error-info-bar: use TeplInfoBar for no_backup_saving_error
ca582d2c7 io-error-info-bar: fix fixme in no_backup_saving_error
fa1758081 io-error-info-bar: no_backup_saving_error: show also error->message
321eccdd7 io-error-info-bar: no_back_saving_error moved to Tepl
7bb880114 io-error-info-bar: tepl function renamed to have a shorter name
d1a14a063 io-error-info-bar: externally_modified: use TeplInfoBar
bf60cc1af io-error-info-bar: invalid_character: TeplInfoBar + other improvements
44cff9798 io-error-info-bar: externally_modified: remove unneeded code
873ed25f1 io-error-info-bar: externally_modified: further simplify the code
a8a4724fc io-error-info-bar: externally_modified: moved to Tepl
ec8d8c717 io-error-info-bar: invalid_character: moved to Tepl
2aae17c31 flatpak: switch Tepl to Meson
9caaddeda Window: fix RTL bug for Open buttons in the headerbar
82d8c507d View: subclass TeplView
e23569c59 View: deprecate lots of functions, use the TeplView ones
291eb9c8e commands-edit: use TeplView functions
00f8c5e63 Use tepl_view_scroll_to_cursor()
5fdeaee22 Document: deprecate goto_line() and goto_line_offset()
d87bf25ba commands-file: use tepl_view_goto_line*()
fd5500d90 Tab: use tepl_view_goto_line_offset()
3c8a1dcb8 ViewFrame: use tepl_view_goto_line*()
079f9699e pkg-config file: add Tepl as public dep
cf6281d04 docs: document that gedit is in the process of using more Tepl features
9ac62a6fd build: require Tepl 5
3f84484d8 App: port to new Tepl metadata API
9b9fa6c77 Document: port to new Tepl metadata API
491280c04 docs: roadmap: link to new Tepl roadmap
49db2a666 PreferencesDialog: use TeplStyleSchemeChooserWidget to fix several bugs
94c3b70cb PreferencesDialog: improvements to color scheme management
53cfa1715 PreferencesDialog: fix some bugs when (un)installing color schemes
da5b9af9f snap: the tepl build is meson only now
012a07cb7 snap: use the correct option to specify parameters
325aa857c Factory: class skeleton
7b8579770 Factory: implement ::create_metadata_manager_file vfunc
d5a43cece Factory: create it in main() and set it as the TeplAbstractFactory
392545195 App: use tepl_application_handle_metadata()
8b2fa9092 Keep default buttons orientation for TeplInfoBars
efe48bbe8 flatpak: remove uchardet, Tepl no longer depends on it
5e588d978 PreferencesDialog: improve code to install extra style scheme
eada68d97 PreferencesDialog: use GtkFileChooserNative, not GeditFileChooserDialog
55fc5973c FileChooserDialog: remove hide() (now dead code)
4f5a5681b FileChooserDialog: remove add_pattern_filter() (now dead code)
105ca1ded File choosers: remove GeditFileChooserFlags
ff1e9c27c Update Romanian translation
b4a52f479 Merge branch 'master' of gitlab.gnome.org:GNOME/gedit
21d94f23b Remove all the deprecated API
4b5838b1e docs: update path to Amtk docs for the gtk-doc fixxref_args
a4cf3ac57 Use tepl_pango_font_description_to_css()
205bfc855 Window: port to TeplLanguageChooserWidget
ffedbc882 commands-view: port to TeplLanguageChooserDialog
1dc325294 Remove GeditHighlightModeSelector and GeditHighlightModeDialog
e487680b2 Use Tepl 6 (currently 5.99)
ee465ef0c Tab: port to TeplProgressInfoBar
bc992e11e Remove GeditProgressInfoBar, replaced by TeplProgressInfoBar
fa9d6aeaa docs: document the GeditProgressInfoBar removal
bb4ba5543 docs: document that all deprecated APIs have been removed
325351805 GeditDocument: subclass TeplBuffer
8b01acace GeditDocument: remove the ::cursor-moved signal
b938c50f8 Use the TeplBuffer::tepl-cursor-moved signal
6b6a6e595 GeditDocument: bind GtkSourceFile and TeplFile :location properties
f73828fe1 GeditDocument: remove unused instance variable
01d8a1577 flatpak: build amtk from git master, not from an archive
6e78a57c9 GeditDocument: use tepl_file_get_short_name()
49749c38a GeditDocument: remove untitled_number handling
844f6185a Tab: use TeplFile:short-name property notification
49c0c814a GeditDocument: remove the :shortname property
a4670d7ce help: "Untitled Document" -> "Untitled File"
4d4d5d48c Use tepl_buffer_is_untouched()
b0f67d391 GeditDocument: remove is_untouched()
85b007052 GeditDocument: use the TeplFile location in is_untitled()
4df850fb6 View: use TeplSignalGroup
ef0d0ca9b View: minor code changes
284e6c05c View: make set_font() private
6b1e782d9 View: code refactorings for set_font()
ce790b510 View: use tepl_utils_override_font()
79b3e3011 GeditSettings: remove no longer needed code
da4b3e61a GeditSettings: minor code change: removed unused function param
13033affa GeditSettings: rework fonts changes handling, add ::fonts-changed signal
878ceb988 GeditSettings: minor code change, improve get_system_font()
1e89921a3 GeditSettings: add get_selected_font()
9ef4cf7ed View: simplify the code to update the font
3a3de93bd debug: remove DEBUG_METADATA (dead code)
43925dac7 recent: use the TeplFile
2f7c4a691 recent: move some functions to gedit-recent-osx
87b1f50d4 recent-osx: add TODO comment

Brought to you by GitLens, which honesntly has been very useful
unpicking all this and sticking it back together again
2021-04-13 04:53:21 +00:00
Sébastien Wilmet
01d8a15779 flatpak: build amtk from git master, not from an archive
Amtk has been ported to Meson.
2020-11-19 23:37:05 +01:00
Sébastien Wilmet
e2c9b00828 flatpak: update gspell to 1.9.1 2020-11-19 23:34:05 +01:00
Sébastien Wilmet
52acfe2289 flatpak: update libpeas to 1.28.0 2020-11-19 23:30:49 +01:00
Sébastien Wilmet
facd675fc2 flatpak: update deps 2020-09-11 21:48:45 +02:00
Sébastien Wilmet
cc176ec623 flatpak: add an easy way to build a local branch 2020-06-04 15:08:58 +02:00
Andre Klapper
cfeb21e882 Replace broken git clone URL with GNOME Gitlab URL 2020-05-24 19:53:31 +02:00
Sébastien Wilmet
efe48bbe85 flatpak: remove uchardet, Tepl no longer depends on it 2020-05-18 02:42:30 +02:00
etaoin
c2a4567ed0 flatpak: add fallback-x11
https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/92
2020-05-07 14:47:23 +02:00
Sébastien Wilmet
66d25916c5 flatpak: reduce the delta between nightly and stable manifests
Some stuff that come from the stable Flatpak, from Flathub.
2020-05-07 01:30:06 +02:00
Sébastien Wilmet
7f32a11ae2 Remove build-aux/win32/
No longer used, and it was not updated since several years.

It's anyway still available in the git history, if someone wants to
resurrect it.
2020-04-30 21:29:13 +02:00
Sebastien Bacher
012a07cb79 snap: use the correct option to specify parameters 2020-04-30 15:55:01 +02:00
Sebastien Bacher
da5b9af9f8 snap: the tepl build is meson only now 2020-04-30 10:32:26 +02:00
Sébastien Wilmet
cb6949f89b flatpak: add a comment 2020-04-26 15:04:17 +02:00
Sébastien Wilmet
e66279a2e8 flatpak: no longer use dconf
Under Flatpak GSettings detects automatically that dconf is not
available and uses another GSettings backend that respects the sandbox.
2020-04-26 15:00:59 +02:00
Sébastien Wilmet
2aae17c318 flatpak: switch Tepl to Meson 2020-03-29 16:32:25 +02:00
Sébastien Wilmet
7e20fad65d flatpak: remove GtkSourceView, it's now part of the GNOME runtime 2020-03-14 16:52:21 +01:00
Sébastien Wilmet
876ebd644a flatpak: simplify 2020-03-14 16:40:03 +01:00
Sébastien Wilmet
4a49c85625 flatpak: update Amtk to 5.0.2 2020-03-14 16:39:02 +01:00
Sébastien Wilmet
fbb2c44834 flatpak: update gspell to 1.8.3 2020-03-14 16:36:21 +01:00
Sébastien Wilmet
db6919f3f0 flatpak: update GtkSourceView to 4.6.0 2020-03-14 16:33:13 +01:00
Sébastien Wilmet
45a673a01d flatpak: update libpeas to 1.26.0 2020-03-14 16:13:59 +01:00
Ken VanDine
b2d6b92099 snap: Build fixes for handling desktop file and icon patch changes 2019-12-10 11:26:36 -05:00
Sébastien Wilmet
aeddb9b116 build-aux: move win32/ to build-aux/ 2019-12-05 12:06:52 +01:00
Sébastien Wilmet
dbbcb0bb6a build-aux: move osx/ to build-aux/ 2019-12-05 12:05:40 +01:00
Sébastien Wilmet
4bbb5d421f build-aux: move snap to build-aux/
Like the flatpak.
2019-12-05 12:03:39 +01:00
Sébastien Wilmet
53876b3de1 flatpak: the zeitgeist plugin has been removed 2019-11-28 09:30:04 +01:00
Sébastien Wilmet
d766385237 flatpak: build again gedit-plugins, but without the zeitgeist plugin
- The gedit snap also disables the zeitgeist plugin.
- Zeitgeist isn't used a lot.
- To enable the plugin, it would require to bundle the zeitgeist library
  in the flatpak.
- We don't think there is a strong interest from the gedit community to
  keep the zeitgeist plugin working. We will *maybe* remove the
  zeitgeist plugin in the future, to have less code to maintain.
2019-11-08 17:40:01 +01:00
Sébastien Wilmet
81d3465492 flatpak: temporarily disable building the gedit-plugins repo
Just to be sure that the GitLab CI can now build the flatpak, now that
it depends on Tepl.

With gedit-plugins it cannot find the zeitgeist dependency. It was not
bundled in the gedit flatpak manifest before, so I wonder how it worked
before, probably because it was part of the runtime and it is no longer
the case? Do we really need zeitgeist? Are people actually using it?
2019-11-07 14:45:40 +01:00
Sébastien Wilmet
1eed3d481b flatpak: add Tepl dependency
The Tepl build currently fails because of the same issue as:
https://gitlab.gnome.org/GNOME/amtk/issues/1
but applied to Tepl.
2019-11-07 14:45:40 +01:00
Sébastien Wilmet
7dbfdb303a flatpak: add Amtk dependency
gedit now depends on Tepl, and Tepl depends on Amtk.
2019-11-07 14:45:40 +01:00
Sébastien Wilmet
78c68b0fe2 flatpak: add uchardet dependency
gedit now depends on Tepl, and Tepl uses uchardet.
First step to add the Tepl dep.
2019-11-07 14:45:40 +01:00
Sébastien Wilmet
ca8d8fa951 flatpak: remove the *.json manifest, the *.yml manifest is used instead 2019-11-07 14:45:40 +01:00
Sébastien Wilmet
09ab410b61 flatpak: use the Yaml manifest
The Yaml format supports comments, while the JSON format doesn't. And
Yaml is more readable.
2019-11-07 14:45:40 +01:00
Sébastien Wilmet
0504b4789f flatpak: yml: add empty lines to separate sections 2019-11-07 14:45:40 +01:00
Sébastien Wilmet
cb5d5a84e9 flatpak: yml: indent lists
And remove the empty last line.
2019-11-07 14:45:40 +01:00
Sébastien Wilmet
3c5e1e0fe3 flatpak: first pass at converting the manifest to Yaml
I've used: https://www.json2yaml.com/
I've not yet tested to build the manifest with flatpak-builder.
2019-11-07 14:45:40 +01:00