Commit graph

103 commits

Author SHA1 Message Date
Ignacio Casal Quinteiro
306ef8bfa4 Fix for latest api changes in libgit2-glib 2013-07-02 09:18:49 +02:00
Manish Sinha
423da7de8f Implement i18n support in libgitg
Fix #703167 and #699635 by implementing i18n support using gettext.
2013-06-30 12:41:39 +02:00
Jesse van den Kieboom
e649026751 Use AM_CPPFLAGS instead of INCLUDES 2013-06-29 14:48:57 +02:00
Ignacio Casal Quinteiro
c19cfebf4a dashview: use gobject like construction 2013-06-26 09:18:30 +02:00
Ignacio Casal Quinteiro
86e45c8087 dashview: use normal casting instead of "as" 2013-06-26 09:08:36 +02:00
Ignacio Casal Quinteiro
2a3ceafa67 dash view: use a template for the row 2013-06-25 19:24:12 +02:00
Sindhu Sundar
b5644b2499 Renamed references_foreach to references_foreach_name 2013-06-24 18:50:08 +02:00
Ignacio Casal Quinteiro
73695b6b89 Missing indent 2013-06-24 08:09:40 +02:00
Paolo Borelli
159cc171a9 Remove redundant namespacing
Now gtk widgets are in the same Gitg namespace
2013-06-23 21:14:16 +02:00
Ignacio Casal Quinteiro
8252238630 Move files from libgitg-gtk to libgitg 2013-06-23 20:39:59 +02:00
Paolo Borelli
7c160ffa7b Merge CommitModel in a single class
Simplifies hierarchy in preparation for merging libgitg and libgitg-gtk
2013-06-23 17:00:35 +02:00
Sindhu S
efac068cfe Fix diff view for first commit, bug 702259 2013-06-21 17:05:17 +05:30
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