Commit graph

91 commits

Author SHA1 Message Date
Ignacio Casal Quinteiro
1b7a0f428c Mark delegate as owned 2013-06-06 09:21:07 +02:00
Techlive Zheng
cde980872a Use the same color for every long-runing lane
Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-17 13:23:46 +02:00
Techlive Zheng
d3cb803007 Respect the mainline of the merges
Normally the 1st parent of a commit is the branch we're merging _into_,
so if you keep this on the left then you can always read a merge as
right-to-left. Previous it seems to be a bit random.

By comparing the position a 'lane' in the 'lanes', the earier a lane is
created, the more priority it has.

Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-17 13:23:30 +02:00
Sindhu S
006943c323 Better fix for relative time in Gitg
Resolves edge cases of relating to difference in minutes.
Treats minutes and hours in the way for rounding off.
Cleans code readability.
2013-05-15 07:58:14 +05:30
Sindhu S
314471d20f Fix for singular and plural relative time format.
Use TimeSpan class to calculate difference epoch time.
Commits as old as an hour now, read 'An hour ago'.
Commits older than an hour now, read 'N hours ago'.
Commits as old as a day now, read "A day ago".
Commits as older than a day now, read 'N days ago'.
2013-05-14 20:01:48 +05:30
Sindhu S
13795da994 Fix date format in commit history view
If commits are in current calendar year, show date in format
%h %e, %I:%M %P. If commits are not in current calendar year,
show full year (that is, with century) information using %Y.

Add comment on fixing code to make Gitg honour user locales.
https://bugzilla.gnome.org/show_bug.cgi?id=699196
2013-05-10 18:42:52 +05:30
Sindhu S
716fed5384 Fix relative time in history view; bug 698830 2013-04-27 07:38:14 +05:30
Sindhu S
2aaf706e57 Change camel case var timeZone to gitg style 2013-04-23 16:36:40 +05:30
Sindhu S
6eb08ef039 Show commit author's time and zone in commit log and diff view
Remove obsolete code.
2013-04-23 06:47:45 -04:00
Ignacio Casal Quinteiro
825a77af42 Typos 2013-03-25 08:29:37 +01:00
Ignacio Casal Quinteiro
0da037c746 Check libgit2 has been built with threading support 2013-03-25 08:27:25 +01:00
Paolo Borelli
1ec60b3c84 Set header bar title
Set the header title to the current repo name and also refactor code to
avoid duplication with the dash
2013-03-24 12:32:48 +01:00
Ignacio Casal Quinteiro
6531c14d34 Show readable time in the commit list 2013-03-17 18:46:58 +01:00
Garrett Regier
32dca4b5fe Fix vapi generation 2013-03-17 03:01:53 -07:00
Ignacio Casal Quinteiro
cba6d104ca Factor out get_diff method 2013-02-21 17:41:25 +01:00
Ignacio Casal Quinteiro
6ee2438d57 Use header bar 2013-02-20 16:43:11 +01:00
Ignacio Casal Quinteiro
325c1306d9 Fix for api breaks in libgit2-glib 2013-02-13 12:42:20 +01:00
Jesse van den Kieboom
3cbf810bdf Notify changes in commit model repository property 2012-10-30 11:11:33 +01:00
Ignacio Casal Quinteiro
d81a864dbc Use AM_VALAFLAGS 2012-10-17 08:38:37 +02:00
Jesse van den Kieboom
5a1efe6b7f Added wrappers for GgitRef and GgitBranch 2012-10-16 20:26:12 +02:00
Jesse van den Kieboom
c4b196d558 Added sort mode for commit model 2012-07-19 10:27:38 +02:00
Jesse van den Kieboom
eff97b8a12 Automatically select branch in history 2012-07-18 09:35:53 +02:00
Jesse van den Kieboom
2701de49ea Use vapi instead of gir internally 2012-07-12 20:52:07 +02:00
Jesse van den Kieboom
0be3e406b6 Updated BUILT_SOURCES fixing git ignores 2012-07-12 10:13:20 +02:00
Ignacio Casal Quinteiro
aa4432a5b2 Fix critical 2012-07-07 11:58:19 +02:00
Jesse van den Kieboom
6a2410aadd Properly resolve tag objects that point to commits 2012-07-06 19:36:47 +02:00
Jesse van den Kieboom
8a55f23623 Enable vala debugging if requested 2012-07-06 19:36:06 +02:00
Jesse van den Kieboom
53d41e0321 Set sort mode after resetting walker 2012-07-06 18:50:48 +02:00
Jesse van den Kieboom
91a5c8f0ea Fix cancelling logic of commit model 2012-07-06 18:50:47 +02:00
Jesse van den Kieboom
69ad1afc97 Depend on glib 2.32 for threads 2012-07-06 18:50:47 +02:00
Jesse van den Kieboom
33f1075d9a Added GPL license stub in all vala files 2012-07-02 20:02:34 +02:00
Ignacio Casal Quinteiro
f431d764c0 Call ggit_init 2012-05-29 17:57:17 +02:00
Ignacio Casal Quinteiro
4e3601e920 Last element is null and we don't get an error to catch anymore 2012-05-28 22:44:30 +02:00
Jesse van den Kieboom
09fdc390b0 Fix various autotools dependencies for building without installing 2012-05-04 17:10:10 +02:00
Jesse van den Kieboom
431ea91e9d Set correct length after resize 2012-04-25 00:16:26 +02:00
Jesse van den Kieboom
03f8446283 Can't use GLib.SList as property type 2012-04-25 00:01:27 +02:00
Jesse van den Kieboom
e6b79289a4 Call finish walk async callback in idle 2012-04-22 18:41:39 +02:00
Jesse van den Kieboom
a8221e6058 Fixed correct reftype for ref 2012-04-22 18:36:32 +02:00
Jesse van den Kieboom
f94927b42e Do not use Gitg inside namespace 2012-04-22 15:13:24 +02:00
Jesse van den Kieboom
4ad1c3c3ad Added get/set working on ref 2012-04-22 15:12:41 +02:00
Jesse van den Kieboom
b4b57f0821 Added RefState stored in ref 2012-04-22 15:12:31 +02:00
Jesse van den Kieboom
57301f326f Added refs_for_id to repository 2012-04-22 15:12:00 +02:00
Jesse van den Kieboom
69cc534b51 Fix tag and lanes for commit 2012-04-22 15:11:43 +02:00
Jesse van den Kieboom
1c195ec60c Construct lanes while loading commit model 2012-04-22 15:11:21 +02:00
Jesse van den Kieboom
92e5f537af Updates to calculating lanes 2012-04-22 15:11:07 +02:00
Jesse van den Kieboom
654b27ba66 Added r/g/b accessors for color 2012-04-22 15:10:09 +02:00
Jesse van den Kieboom
85cb74a335 Added virtual methods for started, update and finished 2012-04-15 14:58:36 +02:00
Jesse van den Kieboom
92a1cc6696 Set sort mode before setting include/exclude
Setting the sort mode will reset the walker and thus would
undo setting include/exclude
2012-04-15 14:58:36 +02:00
Jesse van den Kieboom
c7adb66718 Added getting/setting include/exlude oids for model 2012-04-15 14:58:36 +02:00
Jesse van den Kieboom
195bf03034 Added setting/getting repository of model 2012-04-15 14:58:36 +02:00