Commit graph

3172 commits

Author SHA1 Message Date
MahmoudKhalil ca07a21850 A Holder Class for DiffView Commits
Currently, the `DiffView` contained only one reference to the selected `commit, which is the
the `commit` to be compared with its parent.

So this Holder Class will manage inserting new commits, and getting the `diff` from the
inserted commits
2020-07-07 11:43:40 +02:00
MahmoudKhalil 8a2206ad4a Emitting the selection_changed signal only after checking the selection count
We only allow the user to only select two commits at a time, this is handled inside the
callback function for changing the selection of the TreeSelection, So we only need
to emit our signal `selection_changed` after we made sure that the selection doesn't
exceed the allowed number

Signed-off-by: MahmoudKhalil <mahmoudkhalil11@gmail.com>
2020-07-05 12:23:26 +02:00
MahmoudKhalil 0286ec88d7 Extending The Commit Class with A .get_diff_with_commit Method To Get The Difference With Another Commit
Currently in gitg, the `Commit` Class only has a `.get_diff` method which get
the difference between it and it's parent(which is usually the commit directly before it),
this extends it with a new method `.get_diff_with_commit` to compare with any commit
and not necessarily the parent

Signed-off-by: MahmoudKhalil <mahmoudkhalil11@gmail.com>
2020-07-04 07:15:07 +02:00
MahmoudKhalil 04a4bd4c2c History View Refactoring for Multiple Selection Support
Signed-off-by: MahmoudKhalil <mahmoudkhalil11@gmail.com>
2020-07-02 06:28:43 +02:00
MahmoudKhalil 30dd1292b7 Handle Popup Menu Bug Introduced After Enabling The Multiple Selection in The Commit List View
This should handle the bug introduced after my last commit for enabling multiple
selections. The Popup Menu now should behave as expected when right click is pressed on a
particular commit

Signed-off-by: MahmoudKhalil <mahmoudkhalil11@gmail.com>
2020-06-30 16:32:03 +02:00
MahmoudKhalil b87e34813d Merge branch 'wip/mahmoudkhalil11/compare-two-non-consecutive-commits' of gitlab.gnome.org:mahmoudkhalil11/gitg into wip/mahmoudkhalil11/compare-two-non-consecutive-commits 2020-06-30 14:42:13 +02:00
MahmoudKhalil dfd3f3b61e Add Support For Multiple Selections in The Commit List View
We can now easily select multiple commits in the commit list view, considering
that we only can select at maximum 2 commits at a time.

Signed-off-by: MahmoudKhalil <mahmoudkhalil11@gmail.com>
2020-06-30 14:41:26 +02:00
Daniel Mustieles 9a7323e736 Updated Spanish translation 2020-06-29 15:55:43 +02:00
MahmoudKhalil e9835559bd Add Support For Multiple Selections in The Commit List View
We can now easily select multiple commits in the commit list view, considering
that we only can select at maximum 2 commits at a time.

Signed-off-by: MahmoudKhalil <mahmoudkhalil11@gmail.com>
2020-06-27 22:51:56 +02:00
Aurimas Černius b9826d236a Updated Lithuanian translation 2020-06-27 17:11:23 +03:00
Yuri Chornoivan 51df83a5b6 Update Ukrainian translation 2020-06-27 12:55:18 +00:00
Florentina Mușat 580f202d92 Update Romanian translation 2020-06-27 10:25:28 +00:00
Armandas Jarušauskas daaf84f8b0 Option to switch to the newly created branch 2020-06-27 08:29:36 +00:00
Boyuan Yang 73ffcae0c7 Update Chinese (China) translation 2020-06-24 00:01:36 +00:00
Florentina Mușat a8b7347b67 Update Romanian translation 2020-06-17 15:26:51 +00:00
Daniel Mustieles 35e8ae6497 Updated Spanish translation 2020-06-16 09:44:24 +02:00
Yuri Chornoivan e58fa1133b Update Ukrainian translation 2020-06-12 12:15:13 +00:00
Daniel Mustieles 4ad8cadb88 Updated Spanish translation 2020-06-12 12:32:42 +02:00
Piotr Drąg b9280421f7 Update POTFILES.in 2020-06-12 12:25:09 +02:00
Armandas Jarušauskas 754cde5e82 Remote branches can be checked out using double-click. 2020-06-12 10:43:15 +02:00
Daniel Mustieles c556f99fd6 Updated Spanish translation 2020-06-09 17:18:58 +02:00
Daniel Mustieles c27bf1c0f1 Updated Spanish translation 2020-06-08 16:09:24 +02:00
Yuri Chornoivan 4b5663a29a Update Ukrainian translation 2020-06-07 05:47:31 +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
Yuri Chornoivan 408f96b830 Update Ukrainian translation 2020-06-06 12:56:12 +00:00
Sabri Ünal 24bcc10a4a Give some button alt key 2020-06-06 02:37:34 +00:00
Sabri Ünal 20f95e66b7 Issue #268 Ctrl+O shortcut does not work 2020-06-06 04:28:54 +02:00
Sabri Ünal 6af6dc4bac Add missing Preferences shortcut 2020-06-06 01:03:27 +00:00
John Flood c3f8106601 Do not follow symlinks on recursive scan 2020-06-06 00:39:18 +02:00
Armandas Jarušauskas fe26f68567 Local branch checkout using double-click. 2020-06-03 19:11:09 +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
Florentina Mușat 1b48c21f79 Update Romanian translation 2020-05-09 17:35:41 +00:00
Andre Klapper 515797ce7c Replace git.gnome.org with gitlab.gnome.org URLs 2020-04-25 13:38:43 +02:00
Andre Klapper 611976d873 Replace projects.gnome.org with wiki.gnome.org URLs 2020-04-25 13:37:27 +02:00
Erez Volk acdf310fbb #227 fix CSS warning on MacOS 2020-04-24 08:31:57 +03:00
Bo Anderson 67f5cd6925 Fix libgitg compile on macOS 2020-03-30 14:07:18 +00:00
Yuri Chornoivan 60d070a612 Update Ukrainian translation 2020-03-26 14:43:12 +00:00
Yuri Chornoivan 06d92f54b9 Update Ukrainian translation 2020-03-21 06:12:13 +00:00
Yuri Chornoivan 624dea4bcd Update Ukrainian translation 2020-03-17 18:18:40 +00:00
Adwait Rawat fa036fd895 fixup! Honor prepare-commit-msg hook 2020-03-08 19:57:47 +09:00
Marek Černocký 3e926df168 Updated Czech translation 2020-03-03 13:32:40 +01:00
Marek Černocký 159740cc36 Updated Czech translation 2020-03-03 12:22:31 +01:00
Milo Casagrande 361753c825 Update Italian translation 2020-03-03 10:44:29 +00:00
Piotr Drąg 2eb1259316 Update Polish translation 2020-03-01 16:07:36 +01:00
Seong-ho Cho 94bd65671c Update Korean translation 2020-02-28 07:56:02 +00:00
Nathan Follens a7e93d67b2 Update Dutch translation 2020-02-27 11:18:40 +00:00
Guillaume Bernard 7fc113b1d6 Update French translation 2020-02-23 12:50:39 +00:00
Jiri Grönroos 770c928f10 Update Finnish translation 2020-02-22 19:33:47 +00:00
Balázs Meskó d032fdd10b Update Hungarian translation 2020-02-17 21:41:40 +00:00
Ask Hjorth Larsen 27e74a4d80 Updated Danish translation 2020-02-13 19:26:55 +01:00