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
Rico Tzschichholz
5be434997a
References of [GtkChild] fields is handled by GtkBuilder, type must be unowned
2021-02-22 12:50:43 +01:00
Armandas Jarušauskas
de74cbef63
Lane indicator line width set to 0.
2020-07-11 11:03:39 +09:00
Jean-François Fortin Tam
28aeadc8c5
Lower the importance of missing gravatars from "warning" to "debug"
...
Fixes GitLab issue #286
2020-05-27 10:21:19 -04:00
Bo Anderson
67f5cd6925
Fix libgitg compile on macOS
2020-03-30 14:07:18 +00:00
Rostyslav Arkadiev
5aed45af74
Escape subject commit text
...
Fixes #256
2019-11-19 23:59:27 +01:00
Alberto Fanjul
c2594d4802
Revert "Update GtkSourceView dependency"
...
This reverts commit bdba5b756f
.
2019-10-28 23:34:54 +01:00
Gaurav Agrawal
0ed296041d
config for fonts
2019-10-17 05:48:20 +00:00
Alberto Fanjul
306e21a425
Don't ellipsize commit subject
2019-10-16 01:51:07 +02:00
Alberto Fanjul
0e79cd587e
Avoid duplicating Signed-off-by signature
2019-10-16 01:09:45 +02:00
Gaurav Agrawal
4f7d98521b
Support repository being null
...
repository can be null, so is not correct to access to its properties without checking it.
2019-06-21 07:51:44 +00:00
Martin Blanchard
bdba5b756f
Update GtkSourceView dependency
...
fixes 131
2019-06-21 09:37:38 +02:00
Gaurav Agrawal
0340864a1b
Log error on gravatar image retrieve
...
gravatar is retrieved using http get operation, log error if it fails
2019-05-23 08:02:08 +02:00
Gaurav Agrawal
79a10fbf87
Detect links in commit messages
...
Parse subject and body for a commit message and convert urls into links.
It is possible to read custom links config from ./git/config ini file:
example to parse issues and merge request for gitlab:
```
[gitg.custom-link "issues"]
regexp=!([0-9]+)
replacement=https://gitlab.gnome.org/GNOME/gitg/merge_requests/\1
color = orange
[gitg.custom-link "merge.request"]
regexp=#([0-9]+)
replacement=https://gitlab.gnome.org/GNOME/gitg/merge_requests/\1
color = green
```
2019-05-23 07:56:16 +02:00
Alberto Fanjul
90e9ea9666
Polish push action
...
- Avoid to connect to repo, that is managed by push operation
- Add access to ssh socket for flatpak
- Reload repo after push to reflect changes
2019-05-19 22:32:40 +02:00
Alberto Fanjul
1be2990fea
Fix time sort mode
...
Fix topological/time sort mode
Save miss commits on same second until its parents are painted
2019-05-05 12:11:50 +02:00
jonykalavera
f689d8b32d
Do not use arrays as properties
2019-05-02 04:19:49 +02:00
Ignazio Sgalmuzzo
d172282bfa
Add push support
2019-04-24 04:49:41 +02:00
Gaurav Agrawal
d8ba28be76
Fix deprecation set_background
2019-04-05 14:24:09 +02:00
Adwait Rawat
cf61f15ad8
Fix deprecation menu.popup()
2019-04-04 22:47:31 +02:00
Adwait Rawat
96f3fada79
Load font with CSS
...
Avoid use deprecated method to update font
Co-authored-by: Adwait Rawat <adwait.rawat@gmail.com>
Co-authored-by: Gaurav Agrawal <agrawalgaurav1999@gmail.com>
2019-03-08 01:23:31 +01:00
Gaurav Agrawal
51d16acd5f
Respect system fonts
2019-02-26 10:23:58 +00:00
Bilal Elmoussaoui
cc62927f4a
meson: allow dual installation of the application
...
meson: set the schema path correctly
window: fix single quotes
python habits
meson: fix various issues with dual installation
Flatpak: don't enforce the branch for gitg
It causes issues with Gitlab CI as we can't test the build on other branches anymore.
remove .gitignore
2019-01-16 19:53:56 +01:00
Alberto Fanjul
acb73d986b
Show only diffs
2019-01-07 23:48:48 +01:00
Alberto Fanjul
94b76c765e
Fix type on create cursor surface
2019-01-05 10:10:57 +00:00
Alberto Fanjul
1dd1ac8701
Style scheme configurable
...
Add combo in preferences to choose style
Remove dependency from gedit settings
Configure diff source view and files plugin
2019-01-02 22:52:03 +01:00
Alberto Fanjul
41c647fd9c
Collapse only existing lanes
2019-01-02 22:48:00 +01:00
Alberto Fanjul
11c42d75f0
Remove old buildsystem
2018-12-19 23:05:36 +01:00
Rico Tzschichholz
358f5ec7e9
libgitg: Fix mismatch of type-parameter ownership
2018-11-04 20:45:34 +00:00
Ting-Wei Lan
1e13a055a5
build: Fix non-literal format string warnings for clang
...
https://gitlab.gnome.org/GNOME/gitg/issues/160
https://gitlab.gnome.org/GNOME/gitg/issues/161
2018-11-04 20:29:57 +00:00
Alberto Fanjul
f0cd2c8cfa
meson: Install vala header into correct location
2018-11-04 03:33:52 +01:00
Piotr Drąg
287e1053e8
Use Unicode typography in user-visible strings
...
See https://developer.gnome.org/hig/stable/typography.html
Fixes https://gitlab.gnome.org/GNOME/gitg/issues/162
2018-10-29 16:18:58 +01:00
Iñigo Martínez
849f95c336
build: Fix shared library paths in typelib files
...
The GObject Introspection metadata generation by meson uses a custom
target command[0]. This command also needs to specify the shared
library where the symbols in the typelib file can be found.
However, the values used are wrong because the path to the built
shared libraries are specified instead of the name of the
shared libraries themselves.
This has been fixed by specifying the name of the shared libraries.
Fixes #157
[0] http://mesonbuild.com/Vala.html#gobject-introspection
2018-10-28 00:15:12 +02:00
Alberto Fanjul
046945a021
meson: install generated files
2018-10-28 00:06:24 +02:00
Alberto Fanjul
e017371686
meson: remove custom install dirs
2018-10-25 21:22:24 +02:00
Iñigo Martínez
6784aa9f1b
build: Remove autotools
...
To avoid the burden of maintaining multiple build systems, autotools
support has been removed.
2018-10-24 16:41:54 +02:00
Tom Schoonjans
67f2d202d5
libgitg: fix linking on macOS
2018-10-24 08:28:26 +01:00
Adrien Plazas
6dd8b8e009
diff-view: Slide the options up
...
This avoids the options to look like they appear from nowhere and
instead make them look like they come from the commit tool bar bellow.
2018-10-21 08:38:12 +00:00
Alberto Fanjul
1c3a2c82e6
Search repositories ignoring case
2018-10-14 19:13:42 +02:00
Alberto Fanjul
7e17015566
Fix regexp to parse commit message
2018-10-14 18:18:01 +02:00