The wrapper crate required >= 1.0 so it didn't build on release.
That made the meson wrapper unnecessary.
On nightly org.gnome.Platform bundles libhandy so it's not needed
as a flatpak manifest module anymore.
Before, the gtk main thread sometimes froze when sending an audio or video
attachment. That was due to trying to get the duration of the audio/video
using gstreamer_editing_services. Now, using gstreamer_pbutils,
that doesn't happen anymore.
Furthermore, when creating an audio player in the room history, the
duration of the audio was displayed as 00:00 until play was hit. Now,
the duration of the audio gets displayed correctly from the moment of the
creation of the player on.
GTK 3.24.7 has fixed the gtk_window_present() not working in Wayland
issue described here: https://gitlab.gnome.org/GNOME/gtk/issues/624.
Since this has been fixed update our minimum GTK version and use the
present() function.
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Previously we were using a script to grab our sources
automatically. However, this was error-prone and meson
didn't actually understand the output.
Now we declare our sources manually. This helps meson
know when to trigger a build based on what files have
changed.
Our workaround for getting meson and cargo working together
included a separate 'release' target that replaced
'ninja dist' so that we could vendor dependencies.
Now we use meson's add_dist_script to vendor the
dependencies as part of 'ninja dist', so we no longer need
the 'release' target.
Allows us to get rid of build.rs, which was only used to
compile resources. static_resource.rs is now created by
meson, and the meson path is used for include_bytes!.
Previously we were using the env! macro to determine
build-time variables like version, app ID, and locale dir.
Instead of relying on env vars, we can create a configuration
file with meson and import it.
This reverts commit 5af0bf1405.
The "console" keyword is introduced in the future meson version 0.48,
I've viewed the warning compiling and I thought that was an old keyword
so I removed it, but Jordan told me that's correct so I'm reverting.
Previously meson would withhold the stdout output, and only
print it once the job was finished. This was a bit problematic
with the current way we wire cargo into meson, cause you have
no output of whats going on till then causing a degraded UX.
With this change output is printed directly to stdout and
behaves as expected.
https://mesonbuild.com/Reference-manual.html#custom_target
New features:
* Use markup for room details
* Direct chat and invite to user id
* Redesign file messages
* Improve notification title format
* Room Topic: Remove the button, use only labels
* MessageMenu: Copy selected text action to menu
* Native file chooser for attachments
Fixes:
* Don't override m.direct on direct room creation
New and improved translations and a lot of code fixes
Changelog:
* Add German translation
* Message right click menu with: view source, reply, copy text and
delete
* Styles for quotes in messages
* Initial sync speed up
New features:
* New audio player widget for audio files
* MediaViewer now loads more images from the server
* MediaViewer with headerbar in full screen
* New avatar async loading and defaults
* New room settings view
* Multiline entry with markdown syntax highlighting
New features:
* Translations support
* Number of members in the room in the members button
* File storage configuration support
* Gold and Silver tags for admins and moderatos