Commit graph

479 commits

Author SHA1 Message Date
Ignacio Casal Quinteiro 2ca8c5d3dc Add win32 platform support code 2015-12-21 14:35:42 +01:00
Ignacio Casal Quinteiro 3cd321d46b Use the right gio-unix or gio-win32 depending on the platform 2015-12-21 11:20:39 +01:00
Jesse van den Kieboom c415a0982c Render gutter separators externally to fill all expanded area 2015-12-21 11:08:05 +01:00
Jesse van den Kieboom c5ce8ba7a2 Expand last diff view to fill parent 2015-12-21 11:08:05 +01:00
Ignacio Casal Quinteiro c1c862b907 sidebar: fixes for new gtk to avoid style context warnings 2015-12-21 09:30:46 +01:00
Ignacio Casal Quinteiro e25ecbc82e Color were swapped on the dark theme 2015-12-21 08:51:03 +01:00
Ignacio Casal Quinteiro 29df9f6a15 Show hunk on the gutter using dots 2015-12-21 08:48:52 +01:00
Ignacio Casal Quinteiro 227a60e185 Make the hunk color like github's one and improve dark version 2015-12-21 08:35:29 +01:00
Jesse van den Kieboom e05d6b67bf Fix updating selection when crossing up 2015-12-21 07:55:22 +01:00
Jesse van den Kieboom 4192eb5f8c Update selection on enter/leave events 2015-12-21 07:55:09 +01:00
Jesse van den Kieboom aad2027ceb Implement generating patchset from selection 2015-12-20 23:03:24 +01:00
Jesse van den Kieboom 8eb368de9e Remove unneeded selection style overrides 2015-12-20 21:33:44 +01:00
Jesse van den Kieboom 146900b2bc Do not move to next line if already at line end 2015-12-20 21:33:32 +01:00
Jesse van den Kieboom 17c3d47e0b Fix getting iter at location 2015-12-20 19:40:41 +01:00
Ignacio Casal Quinteiro b801f79ee0 Fix crash if the cursor surface is null 2015-12-20 19:36:24 +01:00
Ignacio Casal Quinteiro bd32f7cbea Fix build 2015-12-20 19:20:50 +01:00
Jesse van den Kieboom fe148bac39 Do not auto-unexpand diff in diff only mode 2015-12-20 19:10:53 +01:00
Jesse van den Kieboom 36d63f1889 Implement hunk select/deselect 2015-12-20 19:10:32 +01:00
Jesse van den Kieboom 4a8c1fa02c Remove unused state monitoring 2015-12-20 18:41:45 +01:00
Jesse van den Kieboom 98e49eb09e Rework diff selection for improved rubber banding
This changes the behavior to selection being always additive, unless
pressing alt (mod1).
2015-12-20 17:47:22 +01:00
Jesse van den Kieboom 739302b380 Move diff selection handling into separate file 2015-12-20 14:07:35 +01:00
Jesse van den Kieboom 2d09ac2cf0 Only update selection attributes/tag when handle_selection 2015-12-20 13:24:48 +01:00
Jesse van den Kieboom 1c4ea3543e Use theme bg/fg colors for selection 2015-12-20 13:18:29 +01:00
Ignacio Casal Quinteiro 59c2de3044 lines-renderer: use a list instead of a map
The map was actually useless here since were were iterating either
the values or the keys
2015-12-20 12:25:28 +01:00
Jesse van den Kieboom 2f3740d167 Fix diff view styles 2015-12-20 10:34:32 +01:00
Ignacio Casal Quinteiro 1e78dab056 Add missing copyright and modeline 2015-12-19 23:03:02 +01:00
Ignacio Casal Quinteiro 2fe0726b4c Fix build 2015-12-19 23:02:01 +01:00
Jesse van den Kieboom 7c563465d9 Add avatar support on OS X 2015-12-19 21:03:51 +01:00
Ignacio Casal Quinteiro 0e4057e95f diff-view-file: fix the mark position 2015-12-19 13:15:14 +01:00
Ignacio Casal Quinteiro 0734a48c35 Fix lines renderer ranges 2015-12-19 13:13:47 +01:00
Ignacio Casal Quinteiro a242b54466 diff-view-file: restore the diff statistics 2015-12-19 12:38:41 +01:00
Ignacio Casal Quinteiro d59b6b70e0 diff-view-lines-renderer: fix size calculation 2015-12-19 12:28:19 +01:00
Ignacio Casal Quinteiro dec5aed9f7 diff-view-file: show a hand when hovering a hunk 2015-12-19 11:46:59 +01:00
Ignacio Casal Quinteiro 7cfd5a21e8 Have one single source view for all the hunks 2015-12-19 11:29:45 +01:00
Ignacio Casal Quinteiro 2f636af5a2 diff-view: propagate has-selection from the diff view files 2015-12-18 16:08:43 +01:00
Ignacio Casal Quinteiro 888db44f1e diff-view-file: propagate has-selection property 2015-12-18 16:08:43 +01:00
Ignacio Casal Quinteiro dcf6367148 diff-view-hunk: add property to know if there is a selection 2015-12-18 16:08:39 +01:00
Ignacio Casal Quinteiro 6eb157f4e7 Minor style fix 2015-12-18 11:19:02 +01:00
Jesse van den Kieboom 65e3fd2e1c Set normal cursor on diff with handles_selection 2015-12-17 23:42:46 +01:00
Jesse van den Kieboom 2e580e7857 Hide normal selection when handle_selection is true 2015-12-17 23:31:12 +01:00
Ignacio Casal Quinteiro 1c5d5b1017 diff-view: handle dark themes 2015-12-17 09:49:23 +01:00
Jesse van den Kieboom b12d910638 Do not initialise next layer for hidden commits 2015-12-16 23:00:05 +01:00
Ignacio Casal Quinteiro f348fc44dd Improve selection to allow rubber band.
Still several bugs on this that we need to figure out
2015-12-16 10:18:38 +01:00
Ignacio Casal Quinteiro 2b61f0ae7a Handle selection on the commit view 2015-12-15 17:07:58 +01:00
Ignacio Casal Quinteiro da1389b5d9 diff-stat: convert to use style classes
It seems that we cannot use regions anymore since they are deprecated
2015-11-22 19:30:07 +01:00
Jesse van den Kieboom 321310bb23 Bind commit details parent button 2015-11-08 20:54:48 +01:00
Jesse van den Kieboom a88d4d1697 Add Committed by to committer label 2015-11-08 20:54:24 +01:00
Jesse van den Kieboom 7261b8a3e6 Make parent grid orientation vertical 2015-11-08 20:54:03 +01:00
Jesse van den Kieboom d30490b68e Remove unnecessary dependency on platform support 2015-11-08 18:48:51 +01:00
Jesse van den Kieboom 100113393f Set missing scale on committer date 2015-11-08 17:57:00 +01:00