Commit graph

492 commits

Author SHA1 Message Date
Jesse van den Kieboom f3fa97864a Do not cache has-selection in diff view js 2014-07-01 11:24:33 +02:00
Jesse van den Kieboom 1f9a171c76 Do not use robohash fallback 2014-07-01 11:09:04 +02:00
Jesse van den Kieboom bf247ca6e3 Remove templating engine 2014-07-01 11:03:46 +02:00
Jesse van den Kieboom f1f6d48127 Improve Get patch button style 2014-06-30 23:03:17 +02:00
Jesse van den Kieboom 5e8ec06d9f Update view when changing whitespace setting 2014-06-30 23:02:46 +02:00
Jesse van den Kieboom c9b0d29949 Added ignore-whitespace option for diff 2014-06-30 22:02:23 +02:00
Jesse van den Kieboom 989218fe1a Only call diff_similar if diff not null 2014-06-30 22:01:58 +02:00
Jesse van den Kieboom d742af7951 Use ggit vapi instead of gir 2014-06-30 22:01:30 +02:00
Jesse van den Kieboom 3dafb712a3 Bind history lane collapse settings 2014-06-30 14:21:50 +02:00
Jesse van den Kieboom 82b1e888c4 Set history lane collapse defaults 2014-06-30 14:21:34 +02:00
Jesse van den Kieboom f3b6b394cd Signal when js has been loaded for initial diff 2014-06-29 09:59:33 +02:00
Jesse van den Kieboom d20dadc2c1 Show similarity in diff
Original patch by techlivezh
2014-06-28 09:49:10 +02:00
Jesse van den Kieboom 5d50b67b0c Implement removing repositories from list
https://bugzilla.gnome.org/show_bug.cgi?id=729729
2014-06-25 22:54:44 +02:00
Jesse van den Kieboom 3daef3124c Higlight trailing whitespace
https://bugzilla.gnome.org/show_bug.cgi?id=732233
2014-06-25 19:21:10 +02:00
Jesse van den Kieboom 842a3312b9 Restore commit selection 2014-06-25 16:18:29 +02:00
Jesse van den Kieboom 2904a38928 Reset head tree cache
https://bugzilla.gnome.org/show_bug.cgi?id=728208
2014-06-25 14:53:13 +02:00
Jesse van den Kieboom 7e01fe9d60 Use diff-stat without frame for commit dialog 2014-06-25 14:44:00 +02:00
Jesse van den Kieboom 682b31a609 Use Ggit.Commit.amend to amend 2014-06-24 17:30:08 +02:00
Ignacio Casal Quinteiro 72a95cb848 Fix for changed repository api 2014-06-23 16:34:32 +02:00
Ignacio Casal Quinteiro f255754993 Fix for renamed reflog api 2014-06-23 16:34:32 +02:00
Ignacio Casal Quinteiro a0cd8e41a9 Fix for renamed api 2014-06-23 16:22:32 +02:00
Ignacio Casal Quinteiro a3bc7b2a2d ggit_get_capabilities was renamed to get_features 2014-06-22 23:25:35 +02:00
Jesse van den Kieboom 934a156341 Make lane container ref counted 2014-06-11 14:58:55 +02:00
Jesse van den Kieboom 3579a9db22 Use weak ref to commit in lane list 2014-06-11 14:58:31 +02:00
Jesse van den Kieboom 68cd4a68b3 Run cancel in dispose 2014-06-11 14:56:23 +02:00
Jesse van den Kieboom 0a8aab4557 Remove unneeded GITIGNOREFILES 2014-01-11 03:48:16 +01:00
Jesse van den Kieboom b8111c6656 Install libraries as part of the install-exec rule 2014-01-09 20:00:24 +01:00
Jesse van den Kieboom bf021dcadd Do not assume external gsettings schemas exist
The problem with GSettings is that it errors when a schema is not found
causing the application to abort. We now check for schema existence of
external schemas that we optionally want to use.

https://bugzilla.gnome.org/show_bug.cgi?id=721748
2014-01-08 14:48:40 +01:00
Jesse van den Kieboom d4d999f990 Improve runtime error for non-thread-safe detection
https://bugzilla.gnome.org/show_bug.cgi?id=721664
2014-01-07 00:57:22 +01:00
Jesse van den Kieboom fbbe5c0617 Use normal pixbuf renderer for sidebar icons 2014-01-06 17:47:11 +01:00
Jesse van den Kieboom 29f26670c8 Add handler for mailto: schemes 2014-01-05 21:08:31 +01:00
Jesse van den Kieboom d3dc9dc507 Add mailto: uri scheme to user e-mail 2014-01-05 21:08:09 +01:00
Jesse van den Kieboom 92d891bd4e Fix unstage_patch by reversing applying patch 2014-01-05 20:10:46 +01:00
Jesse van den Kieboom d745b7b992 Separate libgitg and libgitg-ext targets 2014-01-05 17:05:40 +01:00
Jesse van den Kieboom c95c7cfd1e Fixed RTL rendering for GitgDiffStat 2014-01-05 13:20:58 +01:00
Jesse van den Kieboom c1765a6f41 Align english subject to the left for RTL 2014-01-05 00:00:31 +01:00
Jesse van den Kieboom f70d518c2f Decrease width, not x in RTL mode 2014-01-05 00:00:21 +01:00
Jesse van den Kieboom db31d577f9 Correctly implement get_preferred_width 2014-01-04 23:26:07 +01:00
Jesse van den Kieboom 9a8a4687fb Fix sidebar rendering for RTL 2014-01-04 23:21:58 +01:00
Jesse van den Kieboom 9a68ed3a09 Added convenient install targets 2014-01-04 23:14:54 +01:00
Jesse van den Kieboom 04d7b20e7d Fix RTL lane rendering 2014-01-04 23:14:21 +01:00
Jesse van den Kieboom 8c4ce51acd Cleanly specify _LDADD and _LIBADD
This solves problems with .la dependencies and parallel build
2014-01-04 18:25:19 +01:00
Jesse van den Kieboom 107896381d Convenient makefiles to build single components 2014-01-04 16:31:29 +01:00
Jesse van den Kieboom ab581c9584 Group all generating flags 2014-01-04 15:58:04 +01:00
Jesse van den Kieboom 1db34f5ddb Use non-recursive make to build libgitg 2014-01-04 14:00:54 +01:00
Jesse van den Kieboom 79fae4487a Consistently use VALASOURCES 2014-01-03 22:06:38 +01:00
Jesse van den Kieboom c4139fb6e5 Clean generated resource files 2014-01-03 21:13:01 +01:00
Jesse van den Kieboom 60c16f5cfe Added GITIGNOREFILES for vala sources 2014-01-03 21:12:42 +01:00
Jesse van den Kieboom 76b80663bb Add .gir to EXTRA_DIST 2014-01-03 19:49:36 +01:00
Jesse van den Kieboom 484ff0ea47 Cleanup generated typelibs 2014-01-03 19:49:35 +01:00
Jesse van den Kieboom 38e007c11d Namespace make variables 2014-01-03 19:49:33 +01:00
Jesse van den Kieboom 0137e13f25 Do not join thread in destructor 2014-01-03 19:49:33 +01:00
Jesse van den Kieboom 08a9212e17 Remove BUILT_SOURCES and CLEANFILES 2014-01-03 19:49:33 +01:00
Jesse van den Kieboom 9f64f5f804 Remove explicit .la dependencies 2014-01-03 19:49:32 +01:00
Jesse van den Kieboom fba3335ea7 Explicitly specify vapi file to generate
This solves the .vapi file not being distributed automatically
2014-01-03 19:49:32 +01:00
Jesse van den Kieboom b0193abed0 Cleanup use of CFLAGS, CPPFLAGS, LDFLAGS and LIBADD 2014-01-03 19:49:32 +01:00
Jesse van den Kieboom 9ff54154d3 Move libgitg tests to tests/ 2014-01-03 19:49:31 +01:00
Yosef Or Boczko 55b0aab417 Fix some strings to be plural 2014-01-02 19:58:05 +02:00
Yosef Or Boczko 108e5cbba0 Replace '...' with the unicode character '…' 2014-01-02 19:50:28 +02:00
Jesse van den Kieboom 5ebd683917 More robust templating 2014-01-02 15:06:21 +01:00
Jesse van den Kieboom 9b71f69420 Consistent use of space for string continuations 2014-01-02 14:02:58 +01:00
Jesse van den Kieboom d4d1d45952 Show diff type in gutter 2014-01-02 13:59:20 +01:00
Jesse van den Kieboom 21909908d1 Correctly update selection when clearing diff 2014-01-02 13:39:21 +01:00
Jesse van den Kieboom afcc6e6abc Calculate offsets correctly 2014-01-02 13:39:21 +01:00
Jesse van den Kieboom e327c0fa62 Factor out patching and implement unstage_patch 2014-01-02 13:39:20 +01:00
Jesse van den Kieboom 15bf369e62 Implement patchset staging 2014-01-02 13:39:20 +01:00
Jesse van den Kieboom 1c36a1eff6 Do not add background dummy in selection 2014-01-02 13:39:20 +01:00
Jesse van den Kieboom 94ff779311 Remove to_string debug methods 2014-01-02 13:39:20 +01:00
Jesse van den Kieboom e3f3f79156 Move PatchSet to gitg-stage 2014-01-02 13:39:19 +01:00
Jesse van den Kieboom 1b41165437 Compute old offset difference only once 2014-01-02 13:39:19 +01:00
Jesse van den Kieboom 1151d764f7 Coalesce multiple added/removed lines in patch set 2014-01-02 13:39:19 +01:00
Jesse van den Kieboom 71226a5b70 Make stage selection behavior part of diff view widget 2014-01-02 13:39:18 +01:00
Jesse van den Kieboom ebb289140c Store offset and length in row 2014-01-02 13:39:18 +01:00
Jesse van den Kieboom 10484fd811 Add xhr helper 2014-01-02 13:39:17 +01:00
Jesse van den Kieboom a356836779 Add background filler for more consistent diff look 2014-01-02 13:39:17 +01:00
Jesse van den Kieboom 0f595bf0fe Missing newline 2014-01-02 13:39:17 +01:00
Jesse van den Kieboom 282e52af18 Improve stage/unstage button appearance 2014-01-02 13:39:17 +01:00
Jesse van den Kieboom b213b54ac1 Allow selecting lines in diff 2014-01-02 13:39:16 +01:00
Jesse van den Kieboom 7c91a7e3ff Move expand/collapse in separate function 2014-01-02 13:39:16 +01:00
Jesse van den Kieboom 09d8641b1d Move stage button to template 2014-01-02 13:39:16 +01:00
Jesse van den Kieboom b96a7ef4d4 Added line offset and length information in diff 2014-01-02 13:39:15 +01:00
Jesse van den Kieboom 5a98ba3244 Remove request-stage and patch-set from makefile
These were wrongly committed previously in 9cec5818, sorry.
2013-12-31 16:35:26 +01:00
Jesse van den Kieboom 852d3c59c7 Write webkit console to stdout in debug mode 2013-12-28 15:53:17 +01:00
Jesse van den Kieboom 9cec58185a Handle request errors 2013-12-28 15:53:17 +01:00
Jesse van den Kieboom 0129670140 Remove run_after_async 2013-12-27 20:14:43 +01:00
Jesse van den Kieboom bdcecc96b1 Use get_text instead of get_content for text diffs 2013-12-27 16:23:41 +01:00
Techlive Zheng cb2bb2fceb Reduce duplicate stage button code
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:34:14 +08:00
Techlive Zheng fe6b937183 Move expander '<span>' to template
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:34:14 +08:00
Techlive Zheng 641713adf7 Keep CSS selector naming consistency
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:34:13 +08:00
Techlive Zheng 0f07b0fbed Should've been done in commit 312cc37
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:34:13 +08:00
Techlive Zheng 09f442d01b Remove these obsolete css styles
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:34:13 +08:00
Techlive Zheng 1ce3808ad0 Apply 'pre-wrap' only on code
Now, we can indent the html elements in normal '<td>'.

https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:34:06 +08:00
Techlive Zheng 64c30d5f19 Use 'hunk_stats' as class name
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:39 +08:00
Techlive Zheng cf930ae22b Rename 'hunkheader' to 'hunk_header'
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:39 +08:00
Techlive Zheng 7eaaafd491 Rename 'stats' to 'file_stats'
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:39 +08:00
Techlive Zheng 6686a3b9ab Rename 'table_body' to 'file_body'
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:39 +08:00
Techlive Zheng a9562eab3c Rename 'filepath' to 'file_path'
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:25 +08:00
Techlive Zheng ac5edaa4a5 Use '<span>' instead '<div>'
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:03 +08:00
Techlive Zheng 65362c990d Close '<tr>' tag properly
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:03 +08:00
Techlive Zheng 83140557d9 Use jQuery like the rest
https://bugzilla.gnome.org/show_bug.cgi?id=720886
2013-12-24 00:26:03 +08:00
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