Commit graph

69 commits

Author SHA1 Message Date
Jesse van den Kieboom 69af086209 Implement selection mode for dash view 2014-07-15 10:04:25 +02:00
Jesse van den Kieboom d4d987fde3 Reflow commit messages in diff view
This aims to reformat commit messages in the diff view to look better
when presented in a GUI such as gitg. Hard-wrapping is undone so that
lines are soft-wrapped naturally in the available space, while trying
to preserve intentional formatting such as lists, indentation and
paragraphs.
2014-07-12 10:55:04 +02:00
Jesse van den Kieboom ed1412628c Added supported diff options for commit diff 2014-07-10 19:56:24 +02:00
Jesse van den Kieboom 89a3c8168e Use tab-size css to control tab width 2014-07-10 19:10:21 +02:00
Jesse van den Kieboom a2f9b535d1 Add setting for diff tab width 2014-07-10 16:27:39 +02:00
Jesse van den Kieboom da4fe47fe8 Make Get Patch button translatable 2014-07-10 14:11:23 +02:00
Jesse van den Kieboom af0f6ac19f Remove use of deprecated margin/padding 2014-07-10 13:56:13 +02:00
Jesse van den Kieboom d3f8af7125 Use named icon instead of stock 2014-07-10 13:24:57 +02:00
Jesse van den Kieboom cf892f0a3d Expose diff view options 2014-07-09 21:47:33 +02:00
Jesse van den Kieboom cf36c0f4fa Implemented basic word diff rendering 2014-07-09 21:47:32 +02:00
Jesse van den Kieboom fd508d8bbd Remove unused avatar.png resource 2014-07-09 21:47:32 +02:00
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 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 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 fbbe5c0617 Use normal pixbuf renderer for sidebar icons 2014-01-06 17:47:11 +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 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 1c36a1eff6 Do not add background dummy in selection 2014-01-02 13:39:20 +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
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