Commit graph

492 commits

Author SHA1 Message Date
Jesse van den Kieboom 4ea660ac1b Tidy up the commit details 2015-12-23 15:45:15 +01:00
Ignacio Casal Quinteiro 82337a0bd0 Add missing includes
This happens for developing on linux something that is for windows
2015-12-23 08:53:57 +01:00
Jesse van den Kieboom f68ce19609 Increase spacing between author and date 2015-12-22 21:51:06 +01:00
Jesse van den Kieboom 1daf01a93b Dim default avatar image 2015-12-22 21:47:18 +01:00
Jesse van den Kieboom f3b039e4d0 Cleanup properties 2015-12-22 21:47:18 +01:00
Ignacio Casal Quinteiro e46658768b Add application_support_prepare_startup
This is implemented on windows to deal with the console output
of the application
2015-12-22 18:37:36 +01:00
Jesse van den Kieboom 0b774ca381 Add expand_home_dir utility 2015-12-22 09:57:41 +01:00
Jesse van den Kieboom a0d448304d Add platform support for getting user home directory 2015-12-22 09:57:41 +01:00
Jesse van den Kieboom 7d6524c011 Do not color removed/added when nothing removed and nothing added 2015-12-21 22:38:25 +01:00
Jesse van den Kieboom 377563a2ad Check also for GTK_THEME to determine dark theme 2015-12-21 22:33:54 +01:00
Jesse van den Kieboom df2c6cdcf8 Fix dark style of diff-stat widget 2015-12-21 22:33:46 +01:00
Ignacio Casal Quinteiro ffb1622e5a Add platform support methods to get the right dirs 2015-12-21 16:08:26 +01:00
Ignacio Casal Quinteiro 4fc83c3a13 Add a platform support method to get a stream from a fd 2015-12-21 14:53:33 +01:00
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