Commit graph

2883 commits

Author SHA1 Message Date
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
Adrien Plazas a1441cd335 commit-paned: Use a GtkActionBar for the commit tool bar
Uses a GtkAction bar rather than a GtkFrame and a GtkBox to implement
the commit tool bar. This better fits the role of this bar, avoids
having double borders on the sides and the bottom, and dropd some custom
styling.
2018-10-16 13:21:06 +02:00
Jordan Petridis daa4530508
CI: Reuse the docs built from the flatpak job 2018-10-15 12:08:16 +03:00
Alberto Fanjul 45fe889adf Add gsetting key to use patience algorithm 2018-10-14 22:15:35 +02:00
Alberto Fanjul 92e8b11b21 Avoid empty css files 2018-10-14 21:59:08 +02:00
Alberto Fanjul f06e5b4fd8 Add standalone mode 2018-10-14 20:12:45 +02: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
Jordan Petridis 04309f63b6
Flatpak: Add enchant 1 as a dependancy module
Up till now enchant 1.6 was included in the GNOME runtime.
From the GNOME 3.30 release and onwards enchant 1 has been replaced
by enchant 2 and thus we need to add it explicitly add it in the
manifest.
2018-10-14 17:52:14 +03:00
Alberto Fanjul 91d2322ef0 gitlabci: Publish docs 2018-10-14 08:59:08 +02:00
Alberto Fanjul 0cfd07f8ab flatpak: build vala to use valadoc without graphviz 2018-10-14 08:53:58 +02:00
Iñigo Martínez 332099260c meson: Fix GTK shortcuts window vala flag
When GTK version 3.19 or higher is used, a custom define is used for
GTK shortcuts window support. This is not working due to a bad
version comparison and the vala flag is not appended.

This has been fixed and is working properly now.
2018-10-10 23:29:26 +02:00
Iñigo Martínez bcac876e05 meson: Remove gitg shared library generation
A shared library is generated for sources in the `gitg` directory.
However, this shared library is neither used nor installed.

Due to this, the generation of this shared library has been removed.
2018-10-10 23:29:26 +02:00
Iñigo Martínez 5a32e34935 meson: Fix valadoc documentation generation
autotools is able to generate documentation by using the `valadoc`
program. However, meson is not able to generate this documentation.

meson build files has been fixed to be able to generate `valadoc`
documentation.
2018-10-10 23:29:26 +02:00
Iñigo Martínez 8e7da995f9 meson: Improve libraries variable naming
Although most of the parameters used for file naming when building
libraries and introspection data can be replaced by variables, the
actual naming can create a lot of confusion.

This naming scheme has been improved by using clearer names and by
also using a prefix in them.
2018-10-10 23:29:26 +02:00
Iñigo Martínez 8b09eb1892 meson: Fix dependencies
Libraries build by gitg expose a number of includes in their public
headers belonging to different libraries. Therefore, these libraries
are indirect dependencies of the library to be built.

With this in mind, these indirect dependencies are also included
when a direct dependency is included, so there is no need to include
them again.

Dependency hierarchy has been fixed and duplicated dependencies
removed.

Created `pkg-config` files requirements have also been fixed.
2018-10-10 23:29:26 +02:00
Iñigo Martínez 99fef67ee9 meson: Remove PACKAGE_VERSION definition
Remove `PACKAGE_VERSION` definition from the `config.h` file as it
is not used at all.
2018-10-10 23:29:26 +02:00
Iñigo Martínez d7c544d97b meson: Move meson declarations
Used meson modules and directory definitions were placed at the end
of the root meson build file. However, this is recommended to be
placed at the start of the file, so they are usable early.

Following meson portng guidelines[0], `source_root()` and
`build_root()` functions have also been replaced.

[0] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
2018-10-10 23:29:26 +02:00
Iñigo Martínez 5375bc4873 meson: Improved linker flag support checks
Since version 0.46, meson has support for checking support for
linker flags[0].

gitg's linker flag support checking has been improved by using
the provided functions.

[0] http://mesonbuild.com/Release-notes-for-0-46-0.html#new-functions-has_link_argument-and-friends
2018-10-10 23:29:26 +02:00
Iñigo Martínez d4b833900b meson: Remove auxiliary variables
Auxiliary variables are used when checking and setting compiler
arguments. These variables are not necessary and have been removed.
2018-10-10 23:29:26 +02:00
Iñigo Martínez fd9f6c4a29 meson: Add trailing commas
Add missing trailing commas that avoids getting noise when another
file/parameter is added and eases reviewing changes[0].

[0] https://gitlab.gnome.org/GNOME/dconf/merge_requests/11#note_291585
2018-10-10 23:29:26 +02:00
Iñigo Martínez 95e96784e5 meson: Remove install_dir for default directories
Some targets that are installed in default directories are using the
`install_dir`, which is not necessary.

The `install_dir` parameter has been removed from those targets that
are installed in their default directories.
2018-10-10 23:29:26 +02:00
Jente Hidskes 268f3209dc Refactor dark theme detection into a function
We need to instance a Gtk.Widget to be able to use `get_style_context`.
Thus, we use the singleton pattern to avoid allocating an object every
time we call `is_theme_dark()`.

Fixes #133.
2018-10-10 20:16:55 +00:00
Alberto Fanjul 1d306388c4 Release version 3.30 2018-10-07 11:06:57 +02:00
Alberto Fanjul 251ff35f01 Tag master as nightly build 2018-10-07 09:59:19 +02:00
Alberto Fanjul 2029f4d747 Update issue tracker url 2018-10-07 09:14:21 +02:00
Alberto Fanjul bbb16e97eb Add Alberto to maintainers 2018-10-07 09:10:07 +02:00
Jiri Grönroos 25b69651d1 Update Finnish translation 2018-08-31 22:47:45 +00:00
Jordan Petridis 07d7e6019b
Flatpak: remove downstream patch from libgit2-glib
This seems to have been merged and no longer needed.
2018-08-10 23:49:52 +03:00
Jordi Mas 8b8f387b11 Update Catalan translation 2018-08-03 23:29:21 +02:00
Jordan Petridis d59ebfd078 Flatpak: Switch runtime to gnome-sdk master 2018-08-02 21:38:24 +00:00
Alberto Fanjul a6f95f4bc5 flatpak: Fix repo urls 2018-07-24 11:29:16 +02:00
Alberto Fanjul 04bdad03bf theme: Detect dark theme with its background color 2018-07-20 19:51:17 +02:00
Alberto Fanjul 177a8cf0cc gitlabci: Fix bundle creation 2018-07-20 01:28:43 +02:00
Alberto Fanjul b5b8d1fa79 Merge branch 'ci' into 'master'
gitlabci: Initial CI setup

Closes #132

See merge request GNOME/gitg!9
2018-07-19 22:58:18 +00:00
Alberto Fanjul 3641dfbb8f gitlabci: Initial CI setup 2018-07-20 00:36:27 +02:00
nick richards 0be1170647 Add OARS metadata 2018-07-19 23:57:10 +02:00
Sam Hewitt 36d8aa36ed update diff symbolic icon 2018-07-19 23:50:16 +02:00
albfan 7db899fb9c flatpak: Add flatpak manifest 2018-07-19 23:31:08 +02:00
Joaquin R 25b16b8a57 Updated Spanish translation 2018-07-19 10:52:51 +02:00
Alberto Fanjul a8112c1989 theme: Detect dark theme with its background color 2018-07-18 18:03:43 +02:00
Alberto Fanjul 2cd45d020c catalog: Fix avaliable objects from catalog 2018-07-18 17:53:17 +02:00
Yuri Myasoedov 3c9b5f5b9c Update Russian translation 2018-07-16 18:01:22 +00:00
Daniel Șerbănescu 9f8739d857 Update Romanian translation 2018-07-01 13:50:39 +00:00
Fabio Tomat 3cf7f33fa3 Update Friulian translation 2018-06-30 08:34:31 +00:00
Stas Solovey af51ecf128 Update Russian translation 2018-06-06 21:10:29 +00:00
Rico Tzschichholz 6acbf4ea1d meson: Use install_man() 2018-06-06 09:02:44 +02:00
Rico Tzschichholz e4c8a10b65 meson: Properly install icons
Use rename kwarg of install_data() and require meson 0.46.0
2018-06-06 08:57:30 +02:00
Rico Tzschichholz c2a4e98c3e Drop default value of non-automatic property for newer vala
https://bugzilla.gnome.org/show_bug.cgi?id=795500
2018-04-24 17:24:56 +02:00
Carles Ferrando Garcia 9c7859381b Update Catalan translation 2018-04-04 18:24:28 +00:00