Techlive Zheng
d932a20b6d
Rename to 'table_body'
...
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:03 +08:00
Techlive Zheng
ccb68e1560
Remove obsolete code
...
As well as some format and comment improvements.
2013-12-24 00:24:23 +08:00
Techlive Zheng
d1bfae990c
Improve the code format
...
https://bugzilla.gnome.org/show_bug.cgi?id=720736
2013-12-23 23:01:35 +08:00
Techlive Zheng
a5f53a4bbc
Remove an accident dot
...
https://bugzilla.gnome.org/show_bug.cgi?id=720736
2013-12-23 23:01:25 +08:00
Techlive Zheng
4c5a2f496b
Document why we call 'update_diff()' here
...
https://bugzilla.gnome.org/show_bug.cgi?id=720726
2013-12-23 22:43:36 +08:00
Techlive Zheng
4622d83a28
Don't open WebKit inspector at the start
...
As we are using WebView in both history and commit activties, it is
annoying to see two WebKit inspector windows open when Gitg starts.
https://bugzilla.gnome.org/show_bug.cgi?id=720726
2013-12-23 22:43:10 +08:00
Techlive Zheng
353836aeb6
Rename 's_diffmap' to 's_diff_map'
...
Keep naming consistency.
https://bugzilla.gnome.org/show_bug.cgi?id=720726
2013-12-23 22:42:14 +08:00
Techlive Zheng
2042d88693
Fix round corner on the right side
...
https://bugzilla.gnome.org/show_bug.cgi?id=720734
2013-12-23 17:38:16 +08:00
Techlive Zheng
24a1a86ef0
Show anonymous avatar by default
...
https://bugzilla.gnome.org/show_bug.cgi?id=720734
2013-12-23 17:38:15 +08:00
Jesse van den Kieboom
4267756197
Remove debug log from diff view
2013-12-19 11:22:16 +01:00
Jesse van den Kieboom
09b3c199ae
Fix usage of line content length
2013-11-23 19:20:20 +01:00
Jesse van den Kieboom
3924f9273c
Set minimum icon width to 50px
2013-11-23 19:05:27 +01:00
Jesse van den Kieboom
11dc027474
Do not use GtkStock since it's deprecated
2013-11-23 18:59:00 +01:00
Jesse van den Kieboom
8b84229a3f
Do not force reading index
2013-11-23 14:54:59 +01:00
Jesse van den Kieboom
7e6736524a
Update for new remote callbacks API
2013-11-23 14:54:47 +01:00
Jesse van den Kieboom
9f8b7780c1
Update for new Ggit.Diff API
2013-11-23 14:54:29 +01:00
Sindhu S
f8e2c35cfc
Port jquery to v2.0.3
2013-09-09 19:48:20 +05:30
Sindhu S
e5c30050d0
Fix 'Clone Repository' dialog errors
...
Route 'Clone Repository' dialog errors to new GtkInfobar.
2013-09-07 19:27:59 +05:30
Paolo Borelli
bbb1e68e6a
Turn off WebKit caching
...
Apply kov's suggestions to try to keep WebKit mem usage under control.
It does not seem to help here, but that may be due to my old WK...
Anyway I do not think we want caching, so let's turn it off.
2013-09-02 18:48:04 +02:00
Sindhu S
8bcc579289
Add "Get Patch" button to Diff View
2013-09-02 18:21:10 +05:30
Ignacio Casal Quinteiro
d2db943805
Remove gitg-resources.h
2013-08-30 09:28:25 +02:00
Ignacio Casal Quinteiro
c57e6c6e72
libgitg: fix resources generation
2013-08-21 15:32:36 +02:00
Ignacio Casal Quinteiro
f30727be2d
sidebar: more call to template for a non widget
2013-08-01 14:32:18 +02:00
Ignacio Casal Quinteiro
df9ea7250a
Rename DashView as RepositoryListBox
2013-07-08 21:04:55 +02:00
Ignacio Casal Quinteiro
e894666e48
dash: use new api for filtering
2013-07-08 20:51:38 +02:00
Ignacio Casal Quinteiro
b1d7e26c73
dash: fix sorting of items
2013-07-08 20:34:19 +02:00
Jesse van den Kieboom
d7d87add3c
Added diff stat rendering widget
2013-07-08 11:51:58 +02:00
Paolo Borelli
5cbbb2d9a3
Make the dependency on our vapi files explicit
...
We need to list our own vapi files in BUILT_SOURCES so that at boostrap
make knows it has to first generate these files and then build the main
gitg binary.
2013-07-08 10:27:01 +02:00
Jesse van den Kieboom
a6fe41eaab
Added test for commit message encoding
2013-07-08 07:50:28 +02:00
Jesse van den Kieboom
5780af8905
Added more commit tests
2013-07-07 16:47:21 +02:00
Jesse van den Kieboom
6a0b35aca1
Do not force index changes when amending
2013-07-07 16:47:21 +02:00
Ignacio Casal Quinteiro
9d8801fbe9
Different name for thread in Gitg.Async
2013-07-07 16:52:09 +02:00
Jesse van den Kieboom
060ea3db8b
Added commit tests
2013-07-07 16:14:31 +02:00
Jesse van den Kieboom
b28acda2d7
UTF-8 validate hook output
2013-07-07 16:14:30 +02:00
Jesse van den Kieboom
e6dfaac72b
Allow async thread functions to throw errors
2013-07-07 16:14:30 +02:00
Jesse van den Kieboom
b3c5de18b5
Check cancellable before loading fallback avatar
2013-07-06 16:04:08 +02:00
Jesse van den Kieboom
c5fe703e81
Added robohash fallback for avatar cache
2013-07-06 16:02:56 +02:00
Jesse van den Kieboom
702f1dbc4c
Added Gitg.AvatarCache class to retrieve avatar images
2013-07-06 15:54:35 +02:00
Jesse van den Kieboom
ff9df20900
Move date formatting into Gitg.Date
2013-07-06 15:53:54 +02:00
Jesse van den Kieboom
3b090c7429
Add (amend) in reflog when amending commit
2013-07-06 13:36:55 +02:00
Jesse van den Kieboom
2e2f39ff52
Implemented amend
2013-07-06 13:33:53 +02:00
Jesse van den Kieboom
c695b50836
Time zone is already included in time
2013-07-06 13:19:04 +02:00
Jesse van den Kieboom
2a663d52d0
Correctly set author date in hooks
2013-07-06 12:24:04 +02:00
Paolo Borelli
561f669526
Add modelines to Makefile.am
2013-07-06 12:15:41 +02:00
Paolo Borelli
8a77175b91
Do not link libgitg tests with libgitg-ext
2013-07-06 12:10:30 +02:00
Jesse van den Kieboom
a6644a3c86
Make async class public
2013-07-06 12:04:50 +02:00
Jesse van den Kieboom
3d3c1d47e1
Better alignment of labels in history
2013-07-06 10:24:22 +02:00
Jesse van den Kieboom
6b6be88547
Remove test for index_revert
2013-07-06 10:15:38 +02:00
Jesse van den Kieboom
dfd45efb82
Remove redundant revert_index
2013-07-06 10:14:06 +02:00
Paolo Borelli
bd67a26324
use _HEADERS for headers in Makefile.am
2013-07-06 00:06:58 +02:00
Jesse van den Kieboom
9962c325b9
Temporary fix for null-bytes in hunk header
2013-07-05 20:24:35 +02:00
Jesse van den Kieboom
23bc9feeb7
Added date class
2013-07-05 19:47:30 +02:00
Jesse van den Kieboom
674844f3c5
Properly update reflog after commit
2013-07-05 15:46:00 +02:00
Jesse van den Kieboom
bfc01cfab7
Fix async handling of pre commit hook
2013-07-05 15:45:46 +02:00
Jesse van den Kieboom
f4d7f9ba50
Fill in commit stubs
2013-07-05 13:05:01 +02:00
Jesse van den Kieboom
a591d4cfca
Stub out commit procedure
2013-07-04 10:28:06 +02:00
Jesse van den Kieboom
9799c45eec
Added class for running hooks
2013-07-04 10:22:11 +02:00
Jesse van den Kieboom
28d6535c2f
Implemented reverting index
2013-07-03 19:12:26 +02:00
Jesse van den Kieboom
7c6b1f640e
Add deselected signal
2013-07-03 18:52:42 +02:00
Jesse van den Kieboom
a3c3b5caed
Emit signals when activating rows
2013-07-03 18:52:42 +02:00
Jesse van den Kieboom
a72e3f0dac
Do not emit signals when clearing the model
2013-07-03 18:52:42 +02:00
Jesse van den Kieboom
312f5e12e1
Add convenience stage functions for relative paths
2013-07-03 18:52:42 +02:00
Jesse van den Kieboom
a93c0eddc6
Allow clearing diff view
2013-07-03 18:52:42 +02:00
Jesse van den Kieboom
ef8fa8d652
Fix test for stage property
2013-07-03 17:14:10 +02:00
Jesse van den Kieboom
8f1303dc9e
Also diff new files in commit
2013-07-03 17:14:00 +02:00
Jesse van den Kieboom
a0fc546817
Render stage/unstage buttons in diff view
2013-07-03 16:44:13 +02:00
Jesse van den Kieboom
415b08bc9d
Pass default status options in test
2013-07-03 16:43:22 +02:00
Jesse van den Kieboom
d5095154a0
Add diff_index and diff_workdir convenience methods on stage
2013-07-03 16:42:11 +02:00
Jesse van den Kieboom
1dbeca4fdc
Added sidebar widget
2013-07-03 16:41:51 +02:00
Jesse van den Kieboom
c66b61e969
Get head tree asynchronously
2013-07-03 16:41:22 +02:00
Jesse van den Kieboom
fc4a336468
enum thingie
2013-07-03 16:40:56 +02:00
Jesse van den Kieboom
9034877471
Ref thingie
2013-07-03 16:40:48 +02:00
Jesse van den Kieboom
92e4d71dbe
Allow specifying status options in enumerator
2013-07-03 16:40:30 +02:00
Jesse van den Kieboom
bd371d67dc
Fix some reference bugs
2013-07-03 16:39:34 +02:00
Jesse van den Kieboom
5c1b7f9f0a
Send diff settings in uri
2013-07-03 16:37:58 +02:00
Jesse van den Kieboom
9c08a434ad
Added gitg-assert.vapi to makefile
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
ecdde804b8
Implemented stage, unstage, delete and revert on files
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
ce94520b2e
Fix test name
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
93fe0d68bc
Added assert macros
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
0f6e886bc4
Check if all files were seen
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
c6d97d8c4c
Update for new lookup
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
d67a4820ff
Added async thread convenience class
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
632959b6af
Override repository lookup using generics
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
77742a2792
Added tests for libgitg
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
82e3ff6d2d
Cache stage status files enumerator
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
9c23d9f829
Allow fetching all status files in one time
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
290aba1c2c
Make stage classes objects
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
e088612650
Separated stage status enumerator in separate file
2013-07-03 09:50:58 +02:00
Jesse van den Kieboom
b7306286a3
Initial stage class with enumeration of status files
2013-07-03 09:50:58 +02:00
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
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