Daniel Garcia Moreno
c72a36d032
Merge branch 'alatiera/allow_dri' into 'master'
...
Flatpak: allow access to dri
See merge request World/fractal!288
2018-12-03 07:57:43 +00:00
Daniel Garcia Moreno
8e79cb69e8
Merge branch 'kinetic' into 'master'
...
roomhistory: fix strange scroll movement when using a touchpad
See merge request World/fractal!285
2018-12-03 07:57:07 +00:00
Julian Sparber
a08dd93fc8
roomhistory: fix strange scroll movement when using a touchpad
...
This is a workaround for bug #1494 in gtk https://gitlab.gnome.org/GNOME/gtk/issues/1494
2018-12-02 17:59:35 +01:00
Jordan Petridis
4eaf6ddb61
Flatpak: allow access to dri
...
Gtk can really benefit from opengl and access to a gpu
2018-12-02 14:55:39 +02:00
Daniel Garcia Moreno
e7679104a0
Merge branch 'fix_filter' into 'master'
...
api: fix filter for loading old messages
See merge request World/fractal!284
2018-12-02 11:25:57 +00:00
Daniel Garcia Moreno
515392d16b
Merge branch 'alatiera/declare-deps' into 'master'
...
meson: declare the needed dependencies
Closes #214
See merge request World/fractal!286
2018-12-02 11:25:06 +00:00
Jordan Petridis
4abfa58282
meson: declare the needed dependencies
...
close #214
2018-12-02 02:08:31 +02:00
Julian Sparber
12a0ec180c
api: fix filter for loading old messages
2018-11-30 13:01:36 +01:00
Alexandre Franke
c5cb8d7f84
rust: Test booleans properly
...
Pattern matching is an anti-pattern here
`if` is the way to go
2018-11-28 14:21:49 +01:00
Daniel Garcia Moreno
8ee172ef2f
Merge branch 'fmt' into 'master'
...
Fix Rust code formatting and check formatting as part of CI
Closes #369
See merge request World/fractal!282
2018-11-28 08:53:17 +00:00
Zeeshan Ali
2790339bbf
gitlab-ci: Check Rust formatting before building anything
...
It's mainly just `cargo +nightly fmt`.
Just a slightly modified version of script from Jordan Petridis.
Fixes #369 .
2018-11-27 21:15:50 +01:00
Zeeshan Ali
6c1ec03e6b
Fix formatting of all Rust code
...
Rust of `cargo +nightly fmt`.
Fixes #369 .
2018-11-27 21:15:34 +01:00
Daniel Garcia Moreno
86460d02d4
Merge branch 'divider_revealer' into 'master'
...
roomhistory: use revealer to hide NewMessageDivider
See merge request World/fractal!280
2018-11-26 17:08:07 +00:00
Julian Sparber
ae1373b72c
roomhistory: use revealer to hide NewMessageDivider
2018-11-26 15:57:49 +01:00
Daniel Garcia Moreno
2af3a3932d
Merge branch 'positioning' into 'master'
...
roomhistory: use new message divider as entry point for a room (based on !276 )
See merge request World/fractal!278
2018-11-26 08:16:14 +00:00
Daniel Garcia Moreno
a423f8c1b7
Merge branch 'appop_cleanup' into 'master'
...
cleanup: remove unused properties in appop
See merge request World/fractal!277
2018-11-26 08:14:38 +00:00
Daniel Garcia Moreno
f3275eefe8
Merge branch 'old_queue' into 'master'
...
roomhistory: load old messages to history in batch
See merge request World/fractal!276
2018-11-26 08:13:24 +00:00
Daniel Garcia Moreno
1109251356
Merge branch 'dont-chop-avatars' into 'master'
...
avatar: Scale the avatars by the min dimension
Closes #163
See merge request World/fractal!279
2018-11-26 07:58:43 +00:00
Zeeshan Ali
a547ac45ea
avatar: Scale the avatars by the min dimension
...
If we scale the avatars by the dimension that's the minimum (width vs
height), we don't end up chopping the avatar if it's not rectangular.
Fixes #163 .
2018-11-25 23:31:47 +01:00
Julian Sparber
203e319b46
roomhistory: use new message divider as entry point for a room
...
the room history is scrolled to the new message divider so that the user
doesn't need to search for the last read message.
This works for now only if the last seen message is in the first 40
messages fractal downloads.
2018-11-23 15:08:32 +01:00
Julian Sparber
6ae15cd2cc
cleanup: remove unused properties in appop
2018-11-23 12:18:07 +01:00
Julian Sparber
3d7182c531
roomhistory: load old messages to history in batch
...
This improves the performence of old message loading. This passes all
messages from a batch directly to the room history. Also this way the
Internal AppOp loop isn't used and it makes sure that the lazy loading
queue runs only once.
2018-11-23 11:28:56 +01:00
Rafael Fontenelle
fc539a2ce8
Update Brazilian Portuguese translation
2018-11-22 08:48:13 +00:00
Daniel Garcia Moreno
a0fcda1d41
Merge branch 'add_new_divider' into 'master'
...
Add "new message divider"
See merge request World/fractal!273
2018-11-20 13:23:08 +00:00
Daniel Garcia Moreno
ba12ca731c
Merge branch 'space-above-emotes' into 'master'
...
Adds spacing above emotes #235
See merge request World/fractal!274
2018-11-20 13:13:39 +00:00
Tony Skuse
eafdaf7636
adds spacing above emotes #235
2018-11-19 09:33:52 -08:00
Piotr Drąg
3ff143451b
Update Polish translation
2018-11-18 11:50:14 +00:00
Julian Sparber
6c7186d2c0
roomhistory: append new message divider
2018-11-16 17:45:53 +02:00
Julian Sparber
8dc7ec1beb
roomhistory: make new message divider disappear
2018-11-16 16:49:46 +02:00
Julian Sparber
0ca0a8d882
roomhistory: update last viewed mark
2018-11-16 16:49:46 +02:00
Julian Sparber
88e87dcff0
roomhistory: remove old code for new message divider
2018-11-16 16:49:46 +02:00
Julian Sparber
618506b476
roomhistory: add new message divider
...
The message divider is only showen but never removed, one of there
reason is that the receipt field of a Message is not updated correctly.
2018-11-16 16:49:46 +02:00
Daniel Garcia Moreno
408f3da4ac
Merge branch 'add_divider' into 'master'
...
Add day divider
See merge request World/fractal!272
2018-11-16 09:23:34 +00:00
Daniel Garcia Moreno
bf3b2ddb34
Merge branch 'reference' into 'master'
...
roomhistory: cleanup references to MessageBox
See merge request World/fractal!271
2018-11-16 08:51:35 +00:00
Julian Sparber
218bd7e0d6
roomhistory: fix day divider not showing for new messages
2018-11-15 18:10:14 +02:00
Julian Sparber
0b8ef5dadf
messagebox: remove day from timestamp
2018-11-15 17:40:55 +02:00
Julian Sparber
b6cc2f6c1e
roomhistory: localize day divider
2018-11-15 17:19:33 +02:00
Julian Sparber
bbaa3ce6fe
roomhistory: remove lines from day divider
2018-11-15 16:57:09 +02:00
Julian Sparber
3ca758a100
roomhistory: add new day divider
2018-11-15 16:40:14 +02:00
Julian Sparber
dba32fee7c
roomhistory: use enum as Common instead of struct
2018-11-15 15:35:11 +02:00
Julian Sparber
f1d33666f2
roomhistory: cleanup references to MessageBox
...
This removes clones and refactores how room_history keeps track of
messages.
2018-11-15 15:14:07 +02:00
Daniel Garcia Moreno
963c9b0e44
Merge branch 'messagebox' into 'master'
...
messagebox: remove MessageContent from MessageBox
See merge request World/fractal!270
2018-11-15 11:54:49 +00:00
Julian Sparber
02ec8440e4
add debug trait
2018-11-15 13:15:01 +02:00
Julian Sparber
28f7bffa15
messagebox: remove MessageContent from MessageBox
...
The MessageConetent is removed from the MessageBox, because it is not
really needed there and we should try to not make copies of a Message.
This also makes always use of &MessageConetent instead of some times
cloneing it.
2018-11-15 12:43:20 +02:00
Daniel Garcia Moreno
03fae4c636
Revert "Merge branch 'mobile-ui' into 'master'"
...
This reverts merge request !268
2018-11-14 18:05:36 +00:00
Daniel Garcia Moreno
6eff3180ea
Revert "Merge branch 'fix-message-column-panic' into 'master'"
...
This reverts merge request !269
2018-11-14 18:04:33 +00:00
Daniel Garcia Moreno
4e264a3a2e
Merge branch 'fix-message-column-panic' into 'master'
...
uibuilder.rs: Add scroll_widget to uibuilder
See merge request World/fractal!269
2018-11-14 10:26:21 +00:00
Christopher Davis
438e55cb03
uibuilder.rs: Add scroll_widget to uibuilder
...
A component previously used in main_window.ui was moved into
scroll_widget.ui and called from App.ui.builder. However with
the move scroll_widget wasn't added to the rest of the files
in the GtkBuilder used for that call, causing a panic on
startup.
Now uibuilder adds the resource for scroll_widget.ui
2018-11-14 04:33:22 -05:00
Daniel Garcia Moreno
cc81e27c6c
Merge branch 'mobile-ui' into 'master'
...
Basic Mobile UI
See merge request World/fractal!268
2018-11-14 08:56:32 +00:00
Daniel Garcia Moreno
78dc759399
Merge branch 'master' into 'mobile-ui'
...
# Conflicts:
# fractal-gtk/src/app/connect/mod.rs
2018-11-14 08:34:25 +00:00