Commit graph

651 commits

Author SHA1 Message Date
Alberto Fanjul
d7ff282be7 Read config from snapshot on textconv command retrieval 2024-04-27 14:04:30 +02:00
Alberto Fanjul
14a7b06420 fix details on dialog building 2024-04-02 23:56:09 +02:00
Hari Rana
f33fed4a62 diff-view-commit-details: Ignore hyperlinking with certain email prefixes
Related: https://gitlab.gnome.org/GNOME/gitg/-/issues/440
2024-04-01 21:40:42 +00:00
Jean-François Fortin Tam
1335904f82 Use small "Authored by" & "Committed by" labels
Prefix the author name hyperlink,
in a way that harmonizes it with the commiter label.

Use small lettering for those portions to keep them compact,
since they are not that important compared to the names.

Related: https://gitlab.gnome.org/GNOME/gitg/-/issues/440
2024-04-01 21:40:42 +00:00
Jean-François Fortin Tam
6fc9e8cd4e diff-view-commit-details: Dim the committer label
The committer is much less important than the author.
Apply a dimmed style to the commiter's label to make it less intrusive.

Related: https://gitlab.gnome.org/GNOME/gitg/-/issues/440
2024-04-01 21:40:42 +00:00
Jean-François Fortin Tam
d1dbdd1fb5 Combine commit details's metadata rows from 4 to 2
Instead of showing timestamps on their own rows, move them to columns.
This saves vertical space, and avoids avatars being awkwardly aligned.

Closes https://gitlab.gnome.org/GNOME/gitg/-/issues/409

Related: https://gitlab.gnome.org/GNOME/gitg/-/issues/440
2024-04-01 21:40:42 +00:00
Jean-François Fortin Tam
fe1e97719e Hyperlink emails onto names in commit details
Instead of separating email addresses from author / commiter names,
turn them into hyperlinks, reveal the addresses on hover with a tooltip.

This allows for a much more compact and aesthetically-pleasing UI.

Related: https://gitlab.gnome.org/GNOME/gitg/-/issues/440
2024-04-01 21:40:42 +00:00
Jean-François Fortin Tam
67c40f9d50 Use Semi Bold font in commit details subject line
This allows clearly differentiating between the subject line and body.

Using Semi Bold (600) weight also makes it easier to see the subject
among the rest of the UI, without overpowering it, unlike Bold (700).

Co-authored-by: Hari Rana <theevilskeleton@riseup.net>
2024-04-01 21:23:57 +00:00
“claudio-junior”
23afe668e8 added quotation marks in branch name 2024-04-01 21:06:43 +00:00
“claudio-junior”
37dc117809 changed branch text to italic 2024-04-01 21:06:43 +00:00
“claudio-junior”
0e7c408025 added margin and changed branch/folder text to italic 2024-04-01 21:06:43 +00:00
“claudio-junior”
1b13e41937 changed to show real app name 2024-04-01 21:06:43 +00:00
Alberto Fanjul
313e6ce90c control available lanes to paint 2023-03-07 22:22:44 +01:00
Alberto Fanjul
bc03ebb3d2 insert lanes directly in correct order 2023-02-04 10:48:35 +01:00
Alberto Fanjul
71b16b3dfb Honor core.hooksPath property 2023-01-09 04:56:18 +01:00
Alberto Fanjul
49d2b67539 Calculate selected ref on history view 2023-01-08 19:34:04 +00:00
Alberto Fanjul
25fd23996d retrieve correctly the parent window for context menus 2022-10-12 11:45:39 +02:00
Marc Häfner
abd884ffe3 Reuse previous filemode when staging patches
Fixes #190
2022-10-11 23:24:15 +02:00
Adwait Rawat
4ce63eeb37 Allow to sign commits 2022-10-10 22:31:16 +02:00
Gaurav Agrawal
0b35180bec Option to delete sources from disk 2022-10-04 08:43:21 +02:00
Tiago Neto
ce7b4b2d78 customizable datetime format 2022-10-02 22:54:31 +02:00
Alberto Fanjul
2164c6359d honor avatar service settings 2022-10-02 22:54:31 +02:00
Alberto Fanjul
efe545bc75 Deal correctly with stage/unstage of selection on new files 2022-09-01 21:56:29 +02:00
Sonny Piers
da0e21aa13 Do not disable image diff tools
https://gitlab.gnome.org/GNOME/gitg/-/issues/372
2022-07-16 08:38:40 +00:00
Alberto Fanjul
ddda7f14c4 Include conflict status 2022-03-14 07:22:08 +01:00
Alberto Fanjul
66561fef12 Use new set_application_info 2022-02-15 01:12:11 +01:00
Alberto Fanjul
24f383e32f use datetime for visited 2022-02-15 01:11:21 +01:00
Alberto Fanjul
7f8203f2b2 Control errors 2022-02-15 01:10:33 +01:00
Alberto Fanjul
c4cfc2fbe2 Use non deprecated show_uri 2022-02-15 01:09:38 +01:00
Alberto Fanjul
06a085f332 Handle all DiffLineType 2022-02-15 01:08:59 +01:00
Alberto Fanjul
8bece07377 Use timezone constructor 2022-02-15 01:08:22 +01:00
Christian Hergert
39e98e7994 build: fix appleframeworks names
These need to be TitleCased to build on some systems.
2022-02-04 15:06:06 -08:00
Alberto Fanjul
a18a3e17d1 i18n: Clarify unified/splitted diff view toggle 2022-02-01 12:03:20 +01:00
Alberto Fanjul
1bb7cfb4c3 default to text diff if mime type detection fails 2022-01-25 22:22:48 +01:00
Alberto Fanjul
2ba2cf8b68 Fix offset from parsing tags 2022-01-22 13:48:14 +01:00
Alberto Fanjul
8553d941ec Avoid parse html tags from commits 2022-01-22 13:46:22 +01:00
Alberto Fanjul
fa387b5e63 Show diff renderer switch only when diff expanded 2022-01-03 08:58:56 +01:00
Alberto Fanjul
bc2f46f2d8 Manage if there's no textconv config 2021-12-27 13:47:02 +01:00
Alberto Fanjul
098768374e Convert to text using gitattributes config 2021-12-27 11:32:49 +01:00
Xiaoguang Wang
d720f8fbaf Side by side diff text renderers 2021-12-27 10:58:11 +01:00
Alberto Fanjul
9dfef5c1a6 Read setup for smart commits from git config
Allow to use a global config ~/.gitconfig from standard git config
Ignore color in subject (not allowed by Gtk.Label)
2021-12-27 10:10:33 +01:00
Alberto Fanjul
0f41743e01 Show diff stats only on text renderer 2021-11-19 00:29:14 +01:00
Alberto Fanjul
c42e472a57 Put image renderer first on stack 2021-11-18 08:26:12 +01:00
Alberto Fanjul
e1984e38bf Allow to diff images as text if its mime type supports it 2021-11-18 00:45:05 +01:00
Alberto Fanjul
8c3182f8a6 TextView needs to be wrapped in a scroll view 2021-11-09 08:07:12 +01:00
Mahmoud Khalil
b9f102c760 fix libgitg-date test package failure
This commit fixes libgitg-date test package failure by checking on the
values returned from the GLib.MatchInfo.fetch_named method if they
were empty strings as well. According to the documentation here:
https://docs.gtk.org/glib/method.MatchInfo.fetch_named.html
the values returned from this method can be NULL values as well as
empty strings
2021-10-31 22:37:11 +02:00
Carlos Garcia Campos
3fff792633 Use GUri instead of SoupURI
It removes the direct dependency on libsoup so that we don't need to
migrate to libsoup3

Fixes #324
2021-08-29 11:08:04 +00:00
Alberto Fanjul
75e371dcc5 Avoid return null if old or new file fails to load 2021-08-29 08:37:19 +02:00
Rico Tzschichholz
06bbf4da41 Fix inproper usages of silent casts 2021-02-22 13:08:08 +01:00
Rico Tzschichholz
ea7ff7d2a3 Silence -Wincompatible-pointer-types warning 2021-02-22 13:07:30 +01:00