Commit Graph

147 Commits

Author SHA1 Message Date
Adrien Dorsaz
287e925cbc Add shortcuts and buttons to navigate through search results 2024-04-01 21:17:59 +00:00
Christian Hergert
22b322c6ac build: remove use of deprecated python3 module
This can use the non-deprecated python module now that 0.50
is used for the project.
2022-02-04 15:31:55 -08:00
Adwait Rawat
6359ee3eec Added reference action to create branch 2022-01-29 10:51:49 +01:00
Adwait Rawat
be22b5370c Allow to add new remotes 2022-01-29 02:04:09 +01: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
f2c07f0ef6 Add shortcuts for history panels
Allow each element to define its own shortcut
2020-06-06 20:50:36 +00:00
Alberto Fanjul
81cece0ded Activities can process key events
Commit activity uses <kbd>Ctrl</kbd>+<kbd>Enter</kbd> to launch commit dialog
2019-10-29 07:58:46 +01:00
jonykalavera
f689d8b32d Do not use arrays as properties 2019-05-02 04:19:49 +02:00
Alberto Fanjul
86b708ff55 Revert "libgitg-ext/meson.build: Use python module instead of deprecated python3 module"
This breaks compilation in flatpak
2019-04-04 22:46:55 +02:00
Pierre Lejeune
b411949ba3 libgitg-ext/meson.build: Use python module instead of deprecated python3 module 2019-04-04 22:01:06 +02:00
Alberto Fanjul
11c42d75f0 Remove old buildsystem 2018-12-19 23:05:36 +01:00
Alberto Fanjul
f0cd2c8cfa meson: Install vala header into correct location 2018-11-04 03:33:52 +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
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
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
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
Iñigo Martínez
5b6d2cd502 Fix documentation generation
The GitgExt.Activity class is not properly documented due to
missing @return taglet.

This patchs adds the missing taglet allowing documentation to
be generated properly.

https://bugzilla.gnome.org/show_bug.cgi?id=791480
2017-12-11 15:34:18 +01:00
Iñigo Martínez
0c4f0dd4ac build: Set prefix-relative install_dir for pkgconfig
While installing seems to have no issues with absolute paths
for install_dir, the pkgconfig integration in meson does
and create wrong library paths in the .pc file.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-11-15 17:44:00 +01:00
Iñigo Martínez
d56af4d802 build: Follow the new meson porting guidelines
Following the new meson porting guidelines, this patch renames the
build options. The list of changes is as follows:

- Remove the enable prefix from boolean options.
- The character separator from multi-word options has been changed
  to underscore.

The warning compiler options are also removed because meson's
compiler related options should be used.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-11-15 11:19:53 +01:00
Iñigo Martínez
c876e0e255 build: Port to meson build system
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-10-16 13:40:57 +02:00
Jesse van den Kieboom
907b43fdb9 Update history when commit is added without relying on file monitor
https://bugzilla.gnome.org/show_bug.cgi?id=755762
2016-08-18 19:28:36 +02:00
Jesse van den Kieboom
78b3d44c49 Add selectable mode button tooltip
https://bugzilla.gnome.org/show_bug.cgi?id=765537
2016-06-05 11:08:57 +02:00
Ignacio Casal Quinteiro
155ec3e4bd Fix searching in the dash
It seems this was regressed a long time ago. Fix it by removing
the search-enabled property.
2016-02-08 16:38:30 +01:00
Ignacio Casal Quinteiro
3cd321d46b Use the right gio-unix or gio-win32 depending on the platform 2015-12-21 11:20:39 +01:00
Jesse van den Kieboom
bd2e369b88 First step in replacing webkit with standard gtk+ 2015-09-23 08:57:15 +02:00
Jesse van den Kieboom
80360ef458 Add getting references from ref action interface 2015-08-13 20:03:01 +02:00
Jesse van den Kieboom
3ed7a22915 Add convenience constructor for GitgExt.UserQuery 2015-08-13 08:19:29 +02:00
Jesse van den Kieboom
f3fede0912 Add user_query_async to GitgExt.Application 2015-08-13 08:19:29 +02:00
Jesse van den Kieboom
ee1b47cc95 Add get_verified_committer to GitgExt.Application 2015-08-13 08:19:29 +02:00
Jesse van den Kieboom
bf2edae624 Rework notifications 2015-08-13 08:19:29 +02:00
Jesse van den Kieboom
fe18998588 Add checkout branch action
https://bugzilla.gnome.org/show_bug.cgi?id=748573
2015-08-09 21:12:29 +02:00
Jesse van den Kieboom
f4cd34ed2d Add monitoring .git for changes and automatic refresh
https://bugzilla.gnome.org/show_bug.cgi?id=647879
2015-08-09 13:10:35 +02:00
Jesse van den Kieboom
afda626f23 Allow searchable inavailability 2015-08-07 13:07:05 +02:00
Jesse van den Kieboom
52f39454ee Add selectable enabled property 2015-08-07 09:02:51 +02:00
Jesse van den Kieboom
851ec89d26 Fix copyright year 2015-08-05 22:09:30 +02:00
Jesse van den Kieboom
b93ec1d622 Offer to create new repository when adding non git directory
https://bugzilla.gnome.org/show_bug.cgi?id=741110
2015-08-05 22:02:09 +02:00
Jesse van den Kieboom
13cbe9a6c4 Set default on user query actions 2015-08-05 21:13:53 +02:00
Jesse van den Kieboom
dba244de0f Improve support for extension command line arguments 2015-08-05 19:18:26 +02:00
Jesse van den Kieboom
8786f4f068 Rework the dash view implementation
- Make the dash view more self contained
- Move the open and clone menu options in an action bar
- Add cloning authentication/credentials
2015-08-04 17:35:16 +02:00
Ting-Wei Lan
4c185420e8 build: Do not use LDFLAGS to add libraries
Libraries should be added to LIBADD or LDADD, not LDFLAGS.

https://bugzilla.gnome.org/show_bug.cgi?id=753140
2015-08-02 01:14:30 +08:00
Jesse van den Kieboom
228c7f71a9 Remove unneeded [Notify] attribute 2015-07-31 00:54:06 +02:00
Jesse van den Kieboom
172eb33192 Add basic notification infrastructure 2014-12-27 18:23:12 +01:00
Jesse van den Kieboom
6eebf966cb Sort sources on alphabet 2014-12-27 13:42:41 +01:00