[gedit/zbrown/cleanup-recents: 4/6] deteplification: the mega commit




commit 8d626cfcc0e22e3a3b3457f3b1c0a6463e277343
Author: Zander Brown <zbrown gnome org>
Date:   Sat Apr 10 06:06:32 2021 +0100

    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:
    
    https://gitlab.gnome.org/GNOME/amtk/-/commit/34a1171298808e5d9bd50540ee194b8be35bce9d
    https://gitlab.gnome.org/GNOME/tepl/-/commit/457b5c37ebcb2ebb23cae10cd47f1342db45a98e
    
    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

 docs/reference/api-breaks.xml | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/docs/reference/api-breaks.xml b/docs/reference/api-breaks.xml
index f03c35975..76fd820b3 100644
--- a/docs/reference/api-breaks.xml
+++ b/docs/reference/api-breaks.xml
@@ -146,13 +146,6 @@
           <code>gedit_app_get_lockdown()</code> function has been removed.
         </para>
       </listitem>
-      <listitem>
-        <para>
-          The <code>GBOOLEAN_TO_POINTER()</code> and
-          <code>GPOINTER_TO_BOOLEAN()</code> macros have been removed from
-          <code>gedit-utils.h</code>.
-        </para>
-      </listitem>
       <listitem>
         <para>
           The <code>gedit_utils_get_current_workspace()</code>,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]