Commit graph

267 commits

Author SHA1 Message Date
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