Commit graph

954 commits

Author SHA1 Message Date
Piotr Drąg
9017488331 Update Polish translation 2019-01-12 12:42:51 +01:00
Piotr Drąg
f8ed2088f4 Update POTFILES.in 2019-01-09 19:50:12 +01:00
Julian Sparber
8afbc5cd15 attach: use common filechooser widget to attach file 2019-01-08 17:58:04 +01:00
Julian Sparber
985782b3b3 file dialog: add a common filepicker dialog 2019-01-08 17:57:10 +01:00
Daniel Garcia
bd0afef09d Updated Spanish translation 2019-01-08 09:54:43 +01:00
Anders Jonsson
ec53fe1ab9 Update Swedish translation 2019-01-07 22:03:05 +00:00
Alejandro Domínguez
ff7744efc0 Use .unwrap_or_default() instead of .unwrap_or() where possible 2019-01-06 17:48:37 +01:00
Alejandro Domínguez
043e7f5d44 Call String::new() instead of String::from("") or "".to_string() 2019-01-06 17:26:12 +01:00
Alejandro Domínguez
09894a81b6 Fix warning: unused mut 2019-01-06 04:13:33 +00:00
Alejandro Domínguez
280d585a25 Reformat Cargo.toml 2019-01-06 04:13:32 +00:00
Alejandro Domínguez
84b7026b2f Upgrade to Rust 2018 2019-01-06 04:13:32 +00:00
Julian Sparber
4205a6a980 rooms: cache rooms only when the roomlist is cleared 2019-01-05 15:29:15 +00:00
Julian Sparber
78dfdc1e97 room: open default room when avaible 2019-01-02 22:54:18 +01:00
Julian Sparber
0ea988a0f3 refactor: simplify how rooms are added to the roomlist
This removes many clones and loops which where not needed.
2019-01-02 22:54:18 +01:00
Julian Sparber
f32f9cee64 refactor: pass rooms to set_rooms by value 2019-01-02 22:54:18 +01:00
Alexandre Franke
30809bccd1 Update French translation 2018-12-29 18:56:38 +00:00
Jordi Mas
4a8de6a5bb Update Catalan translation 2018-12-29 18:52:25 +01:00
Alexandre Franke
4df848370c Fix mentions of World since we moved 2018-12-28 12:44:30 +01:00
Rafael Fontenelle
4003f6d515 Update Brazilian Portuguese translation 2018-12-25 18:33:55 +00:00
Piotr Drąg
3cbbad2ec5 Update Polish translation 2018-12-24 14:39:43 +01:00
Tobias Bernard
aa9b48cad3 Invite Dialogs: minor visual fixes
- Fix the search results not expanding
- Fix the spacing around the searchbar

The two UI files are identical except for some labels and IDs and should
be merged
2018-12-24 09:53:34 +00:00
Julian Sparber
13ccd74276 roomhistory: fix date format in day divider 2018-12-23 15:43:38 +00: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
Alexandre Franke
899583c34c release: mention header bar in notes 2018-12-19 12:17:31 +00:00
Daniel García Moreno
4af4ff4073 media-viewer: disconnect the keypress signal on unmap
We were storing the signal_id, but we never disconnect that handler so
it worked the first time and then we were getting all key events and
future widgets creation doesn't work.

This patch disconnect the signal just when the widget gets unmapped, as
we create a new widget when we open the media-viewer again.

Fix #402
2018-12-18 19:12:37 +00:00
Piotr Drąg
f6d0b79fa3 Update Polish translation 2018-12-18 18:45:21 +01:00
Alexandre Franke
a8dec5f8bd release: write release notes 2018-12-18 07:41:05 +00:00
Daniel García Moreno
211a15a780 Remove code inside debug_assert macro
Code inside debug_assert! is not called in release mode. In release mode
all the debug_assert! is omitted so the code inside never runs.

https://doc.rust-lang.org/std/macro.debug_assert.html

I've moved all the code inside the debug_assert! call to outside and
assign to a variable so the assert is done in development version but
doesn't affects to the release version at all.
2018-12-17 18:14:08 +00:00
Giovanni Grieco
62f076a1b8 Add Shift+Enter shortcut in shortcuts window
This fixes issue #401
2018-12-15 16:43:18 +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
c0971cdc90 Check if active_room is some to avoid early return
The room order wasn't updated and the room name wasn't bold when you
receive a message without a room selected because if active_room is
None, the `?` operator will return the function and the moveup and
set_bold functions never get called.

Fix #394
2018-12-14 11:25:16 +00:00
Julian Sparber
ab013749e2 sidebar: clenup code for room selection 2018-12-13 18:02:47 +01:00
Julian Sparber
0a686c5eaa sidebar: select room when open it via the notification 2018-12-13 17:41:27 +01:00
Julian Sparber
5ff067eb2e sidebar: unselect row when changing rooms, fix #385 2018-12-13 17:06:38 +01:00
Tobias Bernard
4413d22e3d big emoji: change font size to 3em 2018-12-13 12:45:55 +01:00
Alexandre Franke
93472c1a4a message: catch more emoji combinations 2018-12-13 09:39:56 +00:00
Julian Sparber
61916e3868 App: reenable devel style 2018-12-12 18:53:25 +01:00
Julian Sparber
0ce3e63e33 App: don't allow App::new() to fail 2018-12-12 15:20:43 +01:00
Julian Sparber
4f6d546830 sticker: remove code for sticker #239 2018-12-12 15:20:43 +01:00
Julian Sparber
1d89fdf85d app: show ErrorDialog (if possible) when app fails to start 2018-12-12 15:20:43 +01:00
Julian Sparber
4818ca1e03 ErrorDialog: show dialog on top of current active window 2018-12-12 15:20:43 +01:00
Julian Sparber
6b43f61394 App: store weak pointer to AppOp 2018-12-12 15:20:43 +01:00
Julian Sparber
c910aad9d7 app: add workarond for GTK::Application::present() 2018-12-12 15:20:43 +01:00
Julian Sparber
383d8865f8 autocomplete: close autocomplete popover on esc 2018-12-12 15:20:43 +01:00
Julian Sparber
29a77d6ec6 refactor: Add back action to go to previous view
This uses a store to keep track of the AppStates, so the user can go
back to the previous state by clicking the back button or press Escape.
2018-12-12 15:20:43 +01:00
Julian Sparber
253ed04e90 message: connect image row directly to action
This connects the image row directly to the action to open the media
viewer, this way the action doesn't need to be passed to message.rs.
FIX: button press on images don't close the left click menu
2018-12-12 15:20:43 +01:00
Julian Sparber
0d42618161 refactor App and add WeakApp
This cleans up App and addes the possibility to have a weak reference to
the App. It's heavily inspired by the example application written by
Slomo: https://github.com/sdroege/rustfest-rome18-gtk-gst-workshop
2018-12-12 15:20:43 +01:00
Daniel García Moreno
420e64931a Use letter-avatar from crates.io 2018-12-12 11:34:29 +01:00
Alexandre Franke
35d4beeba9 Merge branch 'wip/big-emojis' into 'master'
message: Make emoji-only messages, big

Closes #367

See merge request World/fractal!291
2018-12-11 17:03:04 +00:00