Commit graph

234 commits

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