[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/chatty][debian/master] 90 commits: file: Handle missing file errors

Evangelos Ribeiro Tzaras (@devrtz) gitlab at salsa.debian.org
Tue Oct 17 13:16:46 BST 2023



Evangelos Ribeiro Tzaras pushed to branch debian/master at Debian On Mobile / chatty


Commits:
efcc9140 by Mohammed Sadiq at 2023-05-14T13:33:02+00:00
file: Handle missing file errors

It's possible that it failed to read the file.
So handle it and don't assume that g_file_read()
always succeeded.

Closes #783

- - - - -
a29ff756 by Guido Günther at 2023-05-15T14:34:30+00:00
README: Update blurp

Express chatty's focus

- - - - -
0cd715a1 by Guido Günther at 2023-05-15T14:34:30+00:00
d/control: Update blurp

Make it match the README

- - - - -
2cb01b5a by Chris Talbot at 2023-05-16T10:09:48+00:00
Add chatty-pgp

- - - - -
c4d60d33 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
meson: Switch to GTK4

Also, replace libhandy with libadwaita
and remove GTK3 only libraries

- - - - -
08871e72 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
d/control: Update Debian build dependencies

- - - - -
9c453b69 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
ci: Update dependencies

- - - - -
7b3e5418 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
Add gtk3-to-4

This will help change less code to port to GTK4.
We shall then eventually replace this with real
GTK4 API

- - - - -
fec8f1c8 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
Port to GTK4

- - - - -
0e87fc2a by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
Remove libgd

We no longer depend on libgd

- - - - -
ca742fc4 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
contrib: Remove local listmodels

These listmodels are builtin in GTK4, so drop them

- - - - -
0c2f39f5 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
contrib: Add DemoTaggedEntry

- - - - -
be95dfc1 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
side-bar: Use DemoTaggedEntry for search

DemoTaggedEntry behaves like a GdTaggedEntry.  Not perfect,
as it's not a search-entry, but better than a GtkSearchEntry
as it has tags

- - - - -
ce3d613f by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
build: Update flatpak json

- - - - -
dc0b0963 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
application: Don't initialize libadwaita

Since we are using AdwApplication, this is no longer needed

- - - - -
f581a321 by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
gresource: Include icons properly

Including as scalable icons helps them get properly themed when used
in widgets.

This commit also removes symbolic eye icons as we no longer require
them (we now have GtkPasswordEntry in GTK4)

- - - - -
4b926abe by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
style: Fix new chat dialog contact list spacing

Fix the css selector so that the style is properly applied

- - - - -
985e4bae by Mohammed Sadiq at 2023-05-16T18:39:21+05:30
chat-view: Use a different logic to handle scroll on new message

Depending on page size of alone to scroll on new message shall not work.
There could be different reasons for page size change (like the window
resized, etc.).

Handle the case better by forcing scroll when a new message row is added.

- - - - -
f232f6d2 by Vittorio Monti at 2023-05-22T11:47:32+00:00
Update Italian translation
- - - - -
66fe448c by Pablo Correa Gómez at 2023-05-23T06:08:43+00:00
po: update Spanish translation

- - - - -
70aaf6b1 by Anders Jonsson at 2023-05-23T06:33:16+00:00
po: Update Swedish translation

- - - - -
887836d5 by Yuri Chornoivan at 2023-05-23T08:13:09+00:00
po: Update Ukrainian translation

- - - - -
b8b27fe3 by Julian at 2023-05-25T11:10:16+05:30
build: Update Flatpak manifest

- - - - -
901f6833 by Chris Talbot at 2023-05-28T09:31:14-04:00
mmsd: don't append comma to end of user list

- - - - -
cf5ce508 by Chris Talbot at 2023-05-29T04:47:34+00:00
mmsd: Add support for messages that fail to send

- - - - -
a06ea497 by Mohammed Sadiq at 2023-05-29T11:37:11+05:30
window: Add and use action-name to go to previous view

- - - - -
b87f5cf4 by Mohammed Sadiq at 2023-05-29T11:37:11+05:30
window: Move main-view specific code to main-view

Since GTK4 ports, we use action-name for buttons.  And thus it's
easier to use them from other classes too.  So let's move some
code to main-view so that ChattyWindow is less cluttered.

- - - - -
52761121 by Mohammed Sadiq at 2023-05-29T12:08:00+05:30
side-bar: Remove no longer used method

- - - - -
9e35a121 by Mohammed Sadiq at 2023-05-29T13:16:38+05:30
attachements-view: Rename to attachements-bar

This isn't a view at all if considering main-view, which has a different purpose.
So rename to bar to avoid the confusion.

- - - - -
663e6366 by Mohammed Sadiq at 2023-05-29T13:18:25+05:30
attachments-bar: Use GTK4 API to set CSS classes

- - - - -
5e4ef88d by Mohammed Sadiq at 2023-05-29T13:19:52+05:30
attachments-bar: Remove unused header

- - - - -
07a5d423 by Mohammed Sadiq at 2023-05-30T08:04:17+05:30
attachment: Use GFile when passing file arguments

And adapt to changes.

Since GTK4, file-chooser provides direct access to the selected GFile, let's
use it instead of the file path.

- - - - -
12b6d472 by Mohammed Sadiq at 2023-05-30T08:04:17+05:30
utils: Create thumbnail from image GFile

Since we have access to the GFile, let's use it to create the thumbnail

- - - - -
8f633060 by Mohammed Sadiq at 2023-05-30T13:16:09+05:30
attachment: Make set_file() API public

- - - - -
3ceee623 by Mohammed Sadiq at 2023-05-30T13:50:27+05:30
attachments-bar: Use GtkGridView to list files

This helps to list files better as it handles overflow of attachments
and adapts to change of window size without manual intervention.

- - - - -
94ca139d by Mohammed Sadiq at 2023-05-30T19:45:10+05:30
chat-page: Rename from chat-view

So that it's not confused with main-view which serves a different purpose.

- - - - -
e56b0c67 by Mohammed Sadiq at 2023-05-30T19:45:10+05:30
invite-page: Rename from invite-view

So that it's not confused with main-view which serves a different purpose.

- - - - -
a65f43f7 by Mohammed Sadiq at 2023-05-30T19:45:10+05:30
verification-page: Rename from verification-view

So that it's not confused with main-view which serves a different purpose.

- - - - -
1c3a0833 by Mohammed Sadiq at 2023-05-30T19:45:10+05:30
main-view: Rename variable empty_view to empty_page

So that it matches with chat_page, invite_page, etc.

- - - - -
1201aa53 by Pablo Correa Gómez at 2023-05-30T22:12:47+02:00
Update Spanish translation

- - - - -
13e4fefa by Mohammed Sadiq at 2023-06-01T14:14:08+05:30
build: Relax appstream validation

It's hard to keep up being strict.

- - - - -
313ff627 by Julian at 2023-06-01T14:14:08+05:30
Update AppStream data and screenshot

- - - - -
887a19f8 by AsciiWolf at 2023-06-01T22:36:28+02:00
Change AppStream component type to desktop-application

- - - - -
b262e5d1 by Guido Günther at 2023-06-04T02:52:43+00:00
metainfo: Don't wrap <ul> in a paragraph

- - - - -
4355af48 by Yuri Chornoivan at 2023-06-04T03:12:05+00:00
po: Update Ukrainian translation

- - - - -
03dca08e by AsciiWolf at 2023-06-04T04:07:24+00:00
po: Update Czech translation

- - - - -
0cd3b6ef by Mohammed Sadiq at 2023-06-09T14:14:21+05:30
mm-account: Don't add duplicate members to the chat list

- - - - -
72f3d591 by Mohammed Sadiq at 2023-06-09T17:47:26+05:30
mm-account: Fix a memory leak

- - - - -
3dbdd6d1 by Mohammed Sadiq at 2023-06-10T07:38:00+05:30
tests: Fix memory leaks

- - - - -
25f73c26 by Mohammed Sadiq at 2023-06-11T05:52:14+00:00
pp-chat: Fix an invalid free

GtkSortListModel owns the model we pass to it.  So we should
add a ref to avoid a double free.

Likely fixes #580

- - - - -
9eee817b by Mohammed Sadiq at 2023-06-11T05:52:14+00:00
avatar: Properly connect and disconnect signal handlers

The workaround done to unref the item on delete was broken. Fix that
by using a proper callback.

Also, remove other signal handlers on deletion of the item.

- - - - -
9a7e65fe by Mohammed Sadiq at 2023-06-13T08:22:57+00:00
mm-account: Fix a memory leak

- - - - -
70e2ed55 by Mohammed Sadiq at 2023-06-13T08:22:57+00:00
mmsd: Fix some memory leaks

- - - - -
0dcb8ac6 by Chris Talbot at 2023-06-13T10:39:56+00:00
mmsd: adjust MMS times that are in the future

Sometimes MMS times are in the future, and then they stay at the top of
the chat.

- - - - -
1532aa30 by Mohammed Sadiq at 2023-06-19T14:45:52+05:30
window: Don't update chat selection before mapping window

The fold seems to be notified before mapping, resulting the first
item being selected in folded state.  So ensure that the callback
runs after the window is mapped.

- - - - -
a8fb5331 by Mohammed Sadiq at 2023-06-19T14:45:52+05:30
chat-page: Rename an action name

- - - - -
ea658d44 by Mohammed Sadiq at 2023-06-20T15:50:45+05:30
attachments-bar: Update grid margins

We are now showing the bar directly above the message bar.
So, adapt to the changes

- - - - -
fce718d5 by Mohammed Sadiq at 2023-06-20T15:50:45+05:30
attachments-bar: Add an API to get the list-model of files

- - - - -
ea74df1e by Mohammed Sadiq at 2023-06-20T19:16:25+05:30
Add message-bar

- - - - -
0199512a by Mohammed Sadiq at 2023-06-20T19:16:25+05:30
chat-page: Use ChattyMessageBar as message input box

- - - - -
e063268e by Mohammed Sadiq at 2023-06-20T19:16:25+05:30
chat-page: Re-work scrolling logic

Fixes #659

- - - - -
51dc46ac by Mohammed Sadiq at 2023-06-20T19:16:25+05:30
chat-page: Fix scroll to buttom when kinetic scroll is active

Fixes #595

- - - - -
ec4669ec by Vittorio Monti at 2023-06-26T14:16:22+00:00
Update Italian translation
- - - - -
e37b5ee4 by Guido Günther at 2023-06-28T20:39:32+02:00
application: Only add libpurple debug option when building with libpurple support

- - - - -
169fbfa9 by Guido Günther at 2023-06-28T20:40:09+02:00
application: Fix description of `-v`

It's not related to libpurple and can be repeated.

- - - - -
3abc271e by Chris Talbot at 2023-06-29T12:04:44+00:00
chatty-list-row: Add ability to copy number on long press

- - - - -
467de0f5 by Yuri Chornoivan at 2023-06-29T20:42:53+03:00
po: Update Ukrainian translation

- - - - -
a927dcbf by Anders Jonsson at 2023-07-05T11:25:52+02:00
po: Update Swedish translation

- - - - -
26206d36 by Daniel Șerbănescu at 2023-07-06T22:41:09+02:00
po: Update Romanian translation

- - - - -
66dc1876 by Vittorio Monti at 2023-07-10T11:46:26+00:00
Update Italian translation
- - - - -
7998b597 by Chris Talbot at 2023-07-10T12:06:30+00:00
Add chatty-mm-notify

- - - - -
52871e09 by Chris Talbot at 2023-07-10T12:06:30+00:00
mmsd: Add notification if there errors sending/receiving MMSes

- - - - -
fd4ba7be by Yuri Chornoivan at 2023-07-10T22:50:34+03:00
po: Update Ukrainian translation

- - - - -
ca556b7d by Mohammed Sadiq at 2023-07-28T17:43:39+05:30
Update cmatrix

- - - - -
ba2e6fae by Vittorio Monti at 2023-07-31T12:00:55+00:00
Update Italian translation
- - - - -
8ea15baa by Vittorio Monti at 2023-08-01T10:00:35+00:00
Update Romanian translation
- - - - -
f1207cc9 by Mohammed Sadiq at 2023-08-02T12:38:23+00:00
Update changelog and release 0.8.0.rc0

- - - - -
99b3edea by Evangelos Ribeiro Tzaras at 2023-08-15T17:10:17+02:00
New upstream version 0.8.0~rc0
- - - - -
85052d5f by Evangelos Ribeiro Tzaras at 2023-08-15T17:10:40+02:00
Update upstream source from tag 'upstream/0.8.0_rc0'

Update to upstream version '0.8.0~rc0'
with Debian dir f2128b2cf750b74b9d29fa52aff60b974dea3c8a
- - - - -
c0286024 by Evangelos Ribeiro Tzaras at 2023-08-15T17:10:41+02:00
New upstream release

- - - - -
01735fcf by Evangelos Ribeiro Tzaras at 2023-10-15T00:48:46+02:00
d/copyright: Update to include libcmatrix and other new files

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>

- - - - -
98c13677 by Evangelos Ribeiro Tzaras at 2023-10-15T00:52:28+02:00
d/control: Update build deps for GTK4

- - - - -
075444d2 by Evangelos Ribeiro Tzaras at 2023-10-15T00:52:28+02:00
d/control: Update description

- - - - -
735c9a59 by Evangelos Ribeiro Tzaras at 2023-10-15T19:57:16+02:00
Revert "d/rules: Use gsettings memory backend"

The original commit from Guido said:

> We can drop this with the next upstream version.

This reverts commit fbe7f4fcabbf78ae84b6f198bd029c3422d86682.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>

- - - - -
616c0652 by Evangelos Ribeiro Tzaras at 2023-10-15T19:57:59+02:00
d/rules: Update help2man title description

The new description better fits the current development focuses.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>

- - - - -
70c1d268 by Evangelos Ribeiro Tzaras at 2023-10-15T19:58:41+02:00
d/rules: Allow GTK4 based tests to pass

Setting `GTK_A11Y=none`
is the suggested fix for GTK4 related test failures
and resulting FTBFS
when the unit tests don't benefit from a11y support
according to
https://wiki.debian.org/qa.debian.org/FTBFS#A2023-01-14_GTK_4_test_failures

Additionally, we get rid of `GSETTINGS_BACKEND=memory`,
this should be used by default for the tests anyway,
so we don't need to explicitly set it.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>

- - - - -
c1b0033b by Evangelos Ribeiro Tzaras at 2023-10-15T19:58:54+02:00
d/patches: Refresh existing patch

Gbp-Dch: Ignore

- - - - -
423c2206 by Evangelos Ribeiro Tzaras at 2023-10-15T20:00:52+02:00
d/patches: Fix build issues on i386

by using platform independent integer types such as gsize
for buffer sizes, bytes written, etc.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>

- - - - -
9679e0e3 by Evangelos Ribeiro Tzaras at 2023-10-15T20:07:02+02:00
d/patches: Add logging to help diagnose reprotest CI failure

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>

- - - - -
ea57d58a by Evangelos Ribeiro Tzaras at 2023-10-15T20:38:25+02:00
Document and release 0.8.0~rc0-1~exp into experimental

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>

- - - - -


22 changed files:

- .gitlab-ci.yml
- .gitmodules
- − 0001-Remove-java-dep-and-fix-build-issue.patch
- NEWS
- README.md
- data/meson.build
- − data/screenshots/message.png
- + data/screenshots/screenshot.png
- data/sm.puri.Chatty.metainfo.xml.in
- debian/changelog
- debian/control
- debian/copyright
- debian/patches/0001-Disable-clock-test.patch → debian/patches/Disable-clock-test.patch
- + debian/patches/Fix-issues-on-i386-build-by-using-gsize.patch
- debian/patches/series
- + debian/patches/tests-Add-some-logging-to-pgp.c.patch
- + debian/patches/tests-Remove-unused-variable-in-pgp.c.patch
- debian/rules
- meson.build
- po/POTFILES.in
- po/cs.po
- po/es.po


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/chatty/-/compare/bd3608401d2fecc855fa5b66ba8bb4100a0013fa...ea57d58afc35d09262ded74f6fc781c4ebe7f177

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/chatty/-/compare/bd3608401d2fecc855fa5b66ba8bb4100a0013fa...ea57d58afc35d09262ded74f6fc781c4ebe7f177
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20231017/376fdcc4/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list