Commit graph

120 commits

Author SHA1 Message Date
Kévin Commaille
991d563a6b
Release Fractal 4.4.2 2023-03-09 09:34:45 +01:00
Kévin Commaille
f35c4b76dc
chore: Bump version to 4.4.2-beta2 2023-02-22 09:40:13 +01:00
Kévin Commaille
74e380b64e
chore: Bump version to 4.4.2-beta1 2023-02-21 22:39:52 +01:00
Kévin Commaille
bc8cce22cd
chore: Release version 4.4.2-beta 2023-02-21 20:57:21 +01:00
Kévin Commaille
3188c3b7c6
chore: Update Cargo dependencies
Fixes compilation against the 42 and 43 Flatpak GNOME Platforms
2023-02-21 16:07:36 +01:00
Daniel García Moreno
be6501f923 Release 4.4.0 2020-08-07 10:28:36 +02:00
Daniel García Moreno
cb0125acbe Use custom either with custom version number
This is needed to avoid the cargo vendor error:
found duplicate version of package `either v1.5.3

I've just updated the version number of either in our custom fork to
1.5.99 so we've no conflict here.
2020-08-07 10:28:36 +02:00
Daniel García Moreno
06f4e6ed14 Fix dw_media errors 2020-07-30 16:31:16 +00:00
Jonas Platte
0ee41c6897 Upgrade ruma-identifiers to 0.17 and use DeviceId more 2020-07-30 16:31:16 +00:00
Alejandro Domínguez
66a642530f Separate the use of URLs and local paths 2020-07-21 16:39:19 +02:00
Alejandro Domínguez
23641cf436 Remove unused crates 2020-07-10 07:05:56 +00:00
Alejandro Domínguez
2f3532d03d Move as much as possible from fractal-matrix-api to fractal-gtk 2020-06-30 22:01:04 +02:00
Igor Raits
40594922ed
chore: Update ruma-identifiers to 0.16
Signed-off-by: Igor Raits <ignatenko@src.gnome.org>
2020-05-19 09:51:33 +02:00
Alexandre Franke
24b47e3a89 Update bumpalo dependency 2020-05-10 17:38:13 +02:00
Alejandro Domínguez
008e2b3eb8 API: Remove Serialize and Deserialize implementations for Url and Host
The crate `url` already had those serde traits implemented
but they were hidden behind a feature flag.
2020-05-06 23:48:39 +02:00
Daniel García Moreno
946768f1f7 Update all rust dependencies 2020-03-05 09:10:06 +00:00
Alejandro Domínguez
5d495b7563 Update ruma-identifiers and Cargo.lock 2020-02-25 21:58:13 +01:00
Alejandro Domínguez
ed27186dc4 fractal-gtk: Depend on url crate through fractal-matrix-api 2020-02-14 06:01:42 +00:00
sonjita
b6d6e3b2a9 Fix how to get the duration of audio/video
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.
2020-02-10 11:39:37 +01:00
Daniel García Moreno
1dac3f21d4 New release 4.2.2 2019-11-30 10:51:52 +01:00
Alejandro Domínguez
7b4937e4bd API: Use UserId from ruma-identifiers for stronger validation 2019-10-26 19:27:08 +00:00
Daniel García Moreno
9d9bb35d42 New release 4.2.1 2019-09-21 08:58:13 +02:00
Christopher Davis
57945eecad fractal-gtk: Migrate to GtkSourceView4
GtkSourceView3 is no longer updated.
2019-08-10 23:35:12 -07:00
worldofpeace
2778acdc6c Cargo: update .lock file 2019-07-30 14:39:21 -04:00
Daniel García Moreno
65ed458295 Release 4.2.0 2019-07-27 09:30:29 +02:00
Christopher Davis
d4af8fb48e Cargo: Update dependencies
The latest version of the libhandy bindings requires an
update to the latest version of the gtk-rs bindings. This
update comes with a few changes, including the removal of the
`Into<Option<T>` pattern in favor of explicitly using `Some(T)` for options.
2019-07-19 12:59:17 -07:00
Rasmus Thomsen
95ee205a06 Cargo: update .lock file 2019-07-02 08:51:35 +02:00
Christopher Davis
f8092850a6 Cargo: Update secret-service & html2pango
Use the latest versions from crates.io
2019-06-12 11:59:57 -07:00
Christopher Davis
38628c4311 Update gtk-rs stack
Closes https://gitlab.gnome.org/GNOME/fractal/issues/489
2019-06-12 11:59:57 -07:00
Christopher Davis
e3714d13b4 Cargo: update .lock file
This was not regenerated when reverting the gettext commit.
2019-05-01 20:34:11 -04:00
Christopher Davis
839f408255 build: Add 'doc' task
Using raw `cargo doc` lead to a situation where the
documentation tried to generate without being
aware of the resources we need to build.
2019-04-29 12:42:50 +00:00
Christopher Davis
8995697f54 fractal-gtk: Use clap to set verbosity for release builds
By default, a release build of Fractal will only log errors.
A debug build will use the max level for development
purposes.

Running `fractal -v` will get users the same verbosity as
the debug build. Subsequent `-v`s will use increased
verbosity that will include extra info from our dependencies.
2019-03-07 20:59:51 +00:00
Christopher Davis
8f8a2d0a94 fractal-gtk: Use loggerv for log output
Previously we moved from println! to the `log` crate, but `log` requires you to set a logger in order to output anything. `loggerv` is one such logger, with detailed output that tells you exactly where a log comes from.

Closes https://gitlab.gnome.org/GNOME/fractal/issues/430
2019-03-07 20:59:51 +00:00
mairandomness
e8bb1c71e2 add proper type categorization on audio file upload
add duration to

remove unwraps and put early return in place

change branch in flatpak file to master for our master branch

add gstreamer-editing-services dependency

trade match statements for the ? operator

start video upload support

match mime types from the matrix-sdk library

delete meee
2019-02-21 20:59:01 -05:00
Julian Sparber
6aa7230cdf use gspell from crates 2019-02-18 09:25:44 +00:00
Christopher Davis
345c267d9f fractal-gtk: Use HdyDialog for Dialogs
HdyDialog is an adaptive version of GtkDialog that's always modal and adapts to fit the size of the screen if folded with HdyLeaflet. In the process of changing to use HdyDialog the width_request of the dialogs was moved from the window to their HeaderBars.

Related to https://gitlab.gnome.org/GNOME/fractal/issues/377
2019-02-15 12:03:11 -05:00
Christopher Davis
1239698960 dependencies: Remove tree_magic from fractal-matrix-api
tree_magic was also used to get the mime type of uploads. We
can instead use gio::content_type_guess(). We can use it here because we are handling bytes, which is what it requires.
2019-02-14 16:51:34 -05:00
Christopher Davis
4d601d6472 dependencies: Remove tree_magic from fractal-gtk
Fractal crashes when switching to rooms with images due
to an issue with tree_magic. We used tree_magic to sniff out
the mime type, but we can use gio::FileInfo instead.

Related to https://gitlab.gnome.org/GNOME/fractal/issues/37
2019-02-14 16:51:27 -05:00
Christopher Davis
8537c5edc1 Revert "fractal-gtk: Use git version of tree_magic"
This reverts commit dac4e17e28.
The commit traded an inconsistent crash with a consistent freeze.
2019-01-31 16:19:24 -05:00
Christopher Davis
dac4e17e28 fractal-gtk: Use git version of tree_magic
tree_magic did not previously return an Option from `from_filepath`, and used `unwrap()` internally, occasionally causing a crash when we used `is_gif()`.

On git master they have fixed this, so that's what we need to use until they put out a new release.

Related to https://gitlab.gnome.org/GNOME/fractal/issues/37
2019-01-30 00:31:10 -05:00
Christopher Davis
6982765607 fractal-gtk: Use gspell for spellchecking
With the move to GtkSourceView, we no longer had spellcheck
support in Fractal as bindings for GspellTextView were not generated.

Related to https://gitlab.gnome.org/GNOME/fractal/issues/124
2019-01-15 10:33:57 -05:00
Alejandro Domínguez
e3fba68591 Backend: Stop depending on cairo for cache_dir_path() and use directories instead 2019-01-09 21:45:20 +00:00
Alejandro Domínguez
a87d712fe4 Backend: Cairo is unused, don't depend on it 2019-01-09 21:45:20 +00:00
Alejandro Domínguez
84b7026b2f Upgrade to Rust 2018 2019-01-06 04:13:32 +00:00
Alejandro Domínguez
e52fca475c Backend: Use lazy_static! for Regex evaluation. Closes #391 2018-12-29 22:56:12 +01:00
Daniel García Moreno
5c0f17a42c Release 4.0.0 2018-12-22 11:19:34 +01:00
Daniel García Moreno
9a13a32f46 Beta release 3.99.1
See #396
2018-12-20 15:51:59 +01:00
Daniel García Moreno
b4dc4d2b6f Beta release 3.99.0
See #396
2018-12-14 19:46:41 +01:00
Daniel García Moreno
1a91866e17 Update Cargo.lock with cargo update 2018-12-12 11:53:14 +01:00
Zeeshan Ali
8b39ce1f2e fractal-gtk: Bump regex requirement to 1.1.0
We'll need the latest regex in a following patch for emoji matching.
2018-12-09 22:53:21 +01:00